:root {
  --rf-vino: #4A0A1C;
  --rf-vino-medio: #7A1028;
  --rf-carmesi: #C41A3D;
  --rf-carmesi-claro: #E2445F;
  --rf-oro: #F2B54E;
  --rf-oro-claro: #FFDB8E;
  --rf-fondo: #FFF5F2;
  --rf-tinta: #2A1118;
  --rf-gris: #6E5157;
  --rf-cristal: rgba(255, 255, 255, 0.55);
  --rf-cristal-fuerte: rgba(255, 255, 255, 0.72);
  --rf-borde: rgba(255, 255, 255, 0.75);
  --rf-sombra: 0 20px 50px -25px rgba(74, 10, 28, 0.35);
  --rf-degradado: linear-gradient(110deg, var(--rf-carmesi) 0%, #E2603F 50%, var(--rf-oro) 100%);
  --rf-titulo: 'Sora', system-ui, sans-serif;
  --bs-body-font-family: 'DM Sans', system-ui, sans-serif;
  --bs-body-color: var(--rf-tinta);
  --bs-body-bg: var(--rf-fondo);
  --bs-link-color-rgb: 196, 26, 61;
  --bs-link-hover-color-rgb: 122, 16, 40;
}

html {
  scroll-padding-top: 110px;
}

body {
  background: linear-gradient(160deg, #FFF8F4 0%, #FDEBEA 45%, #FFF1DE 100%);
  min-height: 100vh;
  line-height: 1.7;
}

::selection {
  background: var(--rf-oro-claro);
  color: var(--rf-vino);
}

.fondo {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.burbuja {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  transition: translate 0.6s ease-out;
  animation: flotar 18s ease-in-out infinite alternate;
}

.burbuja-carmesi {
  width: 520px;
  height: 520px;
  top: -140px;
  left: -120px;
  background: var(--rf-carmesi-claro);
}

.burbuja-oro {
  width: 460px;
  height: 460px;
  top: 20%;
  right: -140px;
  background: var(--rf-oro);
  animation-delay: -6s;
}

.burbuja-vino {
  width: 380px;
  height: 380px;
  bottom: -120px;
  left: 30%;
  background: #B0325A;
  opacity: 0.35;
  animation-delay: -10s;
}

.burbuja-rosa {
  width: 300px;
  height: 300px;
  top: 55%;
  left: -80px;
  background: #FFB3A7;
  animation-delay: -3s;
}

@keyframes flotar {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -30px) scale(1.12); }
}

.cristal {
  background: var(--rf-cristal);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--rf-borde);
  box-shadow: var(--rf-sombra), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.barra {
  max-width: 1240px;
  border-radius: 50rem;
  padding: 0.45rem 0.4rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.barra-activa {
  background: var(--rf-cristal-fuerte);
  box-shadow: 0 16px 40px -22px rgba(74, 10, 28, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.logo {
  object-fit: cover;
  border-radius: 50%;
  background: var(--rf-vino);
  box-shadow: 0 6px 16px -8px rgba(196, 26, 61, 0.8);
}

.marca {
  font-family: var(--rf-titulo);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--rf-vino);
}

.texto-degradado {
  background: var(--rf-degradado);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.menu-cristal .nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--rf-gris);
  padding: 0.5rem 0.9rem !important;
  border-radius: 50rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-cristal .nav-link:hover {
  color: var(--rf-vino);
  background: rgba(255, 255, 255, 0.6);
}

.menu-cristal .nav-link.active {
  color: #fff;
  background: var(--rf-degradado);
  box-shadow: 0 8px 18px -10px rgba(196, 26, 61, 0.9);
}

.boton-icono {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.boton-carmesi {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--rf-carmesi);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--rf-vino-medio);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--rf-vino);
  --bs-btn-active-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 196, 26, 61;
  background-image: var(--rf-degradado);
  background-size: 180% 100%;
  background-position: 0 0;
  box-shadow: 0 10px 24px -12px rgba(196, 26, 61, 0.9);
  font-weight: 600;
  transition: background-position 0.4s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.boton-carmesi:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
}

.boton-cristal {
  --bs-btn-color: var(--rf-vino);
  --bs-btn-bg: rgba(255, 255, 255, 0.6);
  --bs-btn-border-color: var(--rf-borde);
  --bs-btn-hover-color: var(--rf-carmesi);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.9);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: var(--rf-carmesi);
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.boton-cristal:hover {
  transform: translateY(-2px);
}

.navbar-toggler.boton-cristal {
  color: var(--rf-vino);
  font-size: 1.35rem;
}

.boton-grande {
  padding: 0.8rem 1.5rem;
  font-size: 0.98rem;
  word-break: break-all;
}

.seccion-inicio {
  padding-top: 130px;
}

.seccion {
  padding: 4.5rem 0;
}

.panel {
  border-radius: 2rem;
}

.pastilla {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--rf-carmesi);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50rem;
  padding: 0.4rem 0.9rem;
  box-shadow: 0 6px 14px -10px rgba(74, 10, 28, 0.5);
}

.pastilla i {
  color: var(--rf-oro);
}

.pastilla-carmesi {
  background: var(--rf-carmesi);
  border-color: var(--rf-carmesi);
  color: #fff;
}

.pastilla-carmesi i {
  color: var(--rf-oro-claro);
}

.titulo-heroe {
  font-family: var(--rf-titulo);
  font-weight: 800;
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--rf-vino);
}

.lema {
  font-family: var(--rf-titulo);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.4;
  color: var(--rf-vino-medio);
}

.texto {
  font-size: 1.02rem;
  color: #4B2C33;
}

.texto strong {
  color: var(--rf-carmesi);
}

.texto-grande {
  font-size: 1.15rem;
  color: var(--rf-tinta);
}

.texto-claro {
  color: rgba(255, 255, 255, 0.88);
}

.titulo-seccion {
  font-family: var(--rf-titulo);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--rf-vino);
}

.titulo-medio {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  max-width: 26ch;
}

.titulo-tarjeta {
  font-family: var(--rf-titulo);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--rf-vino);
}

.titulo-claro {
  color: #fff;
}

.foto {
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
}

.foto img {
  transition: transform 0.8s ease;
}

.tarjeta:hover .foto img,
.marco-cristal:hover .foto img {
  transform: scale(1.04);
}

.marco-cristal {
  padding: 0.75rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--rf-borde);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--rf-sombra);
}

.insignia-flotante {
  position: absolute;
  z-index: 2;
  border-radius: 1rem;
  padding: 0.7rem 1rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--rf-vino);
  background: rgba(255, 255, 255, 0.68);
  animation: vaiven 5s ease-in-out infinite alternate;
}

.insignia-flotante i {
  font-size: 1.15rem;
  color: var(--rf-carmesi);
}

.insignia-arriba {
  top: 2rem;
  left: -1.25rem;
}

.insignia-abajo {
  bottom: 2rem;
  right: -1.25rem;
  animation-delay: -2.5s;
}

@keyframes vaiven {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

.ratio-4x5 {
  --bs-aspect-ratio: 125%;
}

.ratio-3x2 {
  --bs-aspect-ratio: 66.6667%;
}

.cristal-interno {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-left: 4px solid var(--rf-carmesi);
  border-radius: 1.25rem;
}

.icono-cristal {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  background: var(--rf-degradado);
  box-shadow: 0 10px 20px -12px rgba(196, 26, 61, 0.9);
}

.icono-oro {
  background: rgba(255, 255, 255, 0.15);
  color: var(--rf-oro-claro);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.mosaico-tema {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  padding: 0.9rem 0.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rf-vino);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.mosaico-tema i {
  font-size: 1.3rem;
  color: var(--rf-carmesi);
}

.mosaico-tema:hover {
  transform: translateY(-3px);
  background: #fff;
}

.tarjeta {
  --bs-card-bg: transparent;
  border-radius: 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -28px rgba(74, 10, 28, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tarjeta-tinta {
  background: linear-gradient(155deg, rgba(122, 16, 40, 0.88) 0%, rgba(74, 10, 28, 0.92) 100%);
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.lista-enfoque li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
}

.lista-enfoque i {
  color: var(--rf-oro);
  font-size: 1.1rem;
}

.galeria {
  top: 110px;
}

.galeria img {
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.6s ease, transform 0.9s ease;
}

.galeria img.activa {
  opacity: 1;
  transform: scale(1);
}

.acordeon-cristal {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: transparent;
  --bs-accordion-btn-bg: rgba(255, 255, 255, 0.55);
  --bs-accordion-active-bg: rgba(255, 255, 255, 0.85);
  --bs-accordion-active-color: var(--rf-carmesi);
  --bs-accordion-btn-color: var(--rf-vino);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(196, 26, 61, 0.2);
  --bs-accordion-border-radius: 1.25rem;
  --bs-accordion-inner-border-radius: 1.25rem;
  --bs-accordion-body-padding-x: 1.5rem;
  --bs-accordion-body-padding-y: 1.25rem;
}

.acordeon-cristal .accordion-item {
  margin-bottom: 1rem;
  border-radius: 1.25rem !important;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
  box-shadow: 0 14px 30px -24px rgba(74, 10, 28, 0.5);
}

.acordeon-cristal .accordion-button {
  font-family: var(--rf-titulo);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.15rem 1.5rem;
  border-radius: 1.25rem !important;
}

.acordeon-cristal .accordion-button i {
  font-size: 1.3rem;
  color: var(--rf-carmesi);
}

.acordeon-cristal .accordion-button:not(.collapsed) {
  box-shadow: none;
  border-radius: 1.25rem 1.25rem 0 0 !important;
}

.acordeon-cristal .accordion-body {
  font-size: 1.02rem;
  color: #4B2C33;
  background: rgba(255, 255, 255, 0.6);
}

.revelar {
  opacity: 0;
  transform: translateY(30px);
}

.revelar.visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (max-width: 1199.98px) {
  .barra {
    border-radius: 1.5rem;
  }

  .navbar-collapse {
    padding: 0.75rem 0 0.25rem;
  }

  .menu-cristal .nav-link {
    margin-bottom: 0.15rem;
  }
}

@media (max-width: 991.98px) {
  .galeria {
    position: relative;
    top: 0;
  }

  .galeria.ratio-4x5 {
    --bs-aspect-ratio: 66.6667%;
  }

  .insignia-arriba {
    left: 1.25rem;
  }

  .insignia-abajo {
    right: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .seccion-inicio {
    padding-top: 110px;
  }

  .seccion {
    padding: 3rem 0;
  }

  .panel,
  .tarjeta {
    border-radius: 1.4rem;
  }

  .marca {
    font-size: 0.95rem;
  }

  .burbuja {
    filter: blur(55px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .burbuja,
  .insignia-flotante {
    animation: none;
  }

  .revelar {
    opacity: 1;
    transform: none;
  }

  .foto img,
  .galeria img,
  .tarjeta {
    transition: none;
  }
}
