@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&family=Manrope:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  /* DARK MODE (Predefinido) - Look Lujoso / Nocturno */
  --bg: #090807;
  --bg-soft: #17120f;
  --surface: rgba(245, 236, 228, 0.05);
  --surface-alt: rgba(245, 236, 228, 0.08);
  --text: #f5e8d2;
  --muted: #a68b6d;
  --brand: #c9ac82;
  --brand-dark: #b49162;
  --accent: #d6b486;
  --accent-soft: #f0d4ae;
  --border: rgba(201, 172, 130, 0.35);
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
  --header-bg-rgb: 9, 8, 7;
  --header-text: #f5e8d2;
  --header-border-color: 255, 255, 255;
}

[data-theme='light'] {
  /* LIGHT MODE - Look Premium 'Champagne & Rose' */
  --bg: #fdfaf5; /* Crema muy suave / Champagne */
  --bg-soft: #f7ede2; /* Beige arena */
  --surface: #ffffff;
  --surface-alt: #fffbf7;
  --text: #3d2b1f; /* Marrón espresso muy oscuro para lectura */
  --muted: #8d735b;
  --brand: #c73a6e; /* Rosa marca vibrante */
  --brand-dark: #a12a56;
  --accent: #e8a5b8; /* Rosa suave */
  --accent-soft: #fde2e9;
  --border: rgba(199, 58, 110, 0.15); /* Borde rosa sutil */
  --shadow: 0 12px 30px rgba(61, 43, 31, 0.08);
  
  /* El Header se mantiene Oscuro/Original para contraste premium */
  --header-bg-rgb: 9, 8, 7;
  --header-text: #ffffff;
  --header-border-color: 255, 255, 255;
}

/* Ajustes específicos para que el Header ignore el modo claro en ciertos elementos */
[data-theme='light'] .site-header .brand,
[data-theme='light'] .site-header .menu a {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

[data-theme='light'] .site-header .brand-logo {
  filter: grayscale(1) brightness(0) invert(1) contrast(1.08) !important;
}

/* Botón de WhatsApp y otros botones tipo 'bestia' en el header/hero 
   mantienen su estilo original (blanco/translúcido) */
[data-theme='light'] .btn-translucent,
[data-theme='light'] .btn-bestia {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  color: #ffffff !important;
}

[data-theme='light'] .btn-bestia:hover {
  color: #111111 !important;
  background: #ffffff !important;
}

/* Ajustes globales de tema */
html, body {
  transition: background-color 0.4s ease, color 0.4s ease;
}

[data-theme='light'] body::before {
  background-image: url("https://images.unsplash.com/photo-1519011985187-444d62641929?q=80&w=2070&auto=format&fit=crop"); /* Imagen de flores/textura clara */
  filter: saturate(0.5) brightness(1.05) opacity(0.15);
}

[data-theme='light'] .panel {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border);
  box-shadow: 0 15px 35px rgba(199, 58, 110, 0.06);
}

[data-theme='light'] .panel .section-title {
  color: var(--brand);
}

[data-theme='light'] .card img {
  border-color: var(--accent);
}

[data-theme='light'] .btn-translucent {
  background: rgba(199, 58, 110, 0.08);
  border-color: var(--brand);
  color: var(--brand);
}

[data-theme='light'] .btn-translucent:hover {
  background: var(--brand);
  color: #fff;
}

[data-theme='light'] .site-header {
  box-shadow: 0 4px 20px rgba(199, 58, 110, 0.05);
}

[data-theme='light'] .site-footer {
  background: #fff url('../img/footer-bg-light.jpg') no-repeat center center fixed; /* Necesitarás una versión clara o dejarla sutil */
  color: var(--text);
}

[data-theme='light'] .site-footer::before {
  background: rgba(253, 250, 245, 0.94);
}

[data-theme='light'] .site-footer-logo {
  filter: none; /* Logo original o oscuro */
}

[data-theme='light'] .site-footer-col a,
[data-theme='light'] .site-footer-brand p,
[data-theme='light'] .site-footer-rights {
  color: var(--text);
}

.theme-toggle {
  background: transparent;
  border: 1px solid rgba(var(--header-border-color), 0.2);
  color: var(--header-text);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(var(--header-border-color), 0.1);
  transform: rotate(15deg) scale(1.1);
  border-color: var(--brand);
}

.theme-toggle ion-icon {
  position: absolute;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Iconos específicos */
.theme-toggle .sun-icon {
  opacity: 1; /* Visible en modo oscuro por defecto */
  transform: rotate(0) scale(1);
}

.theme-toggle .moon-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

/* Estado Light Mode (Cambia a icono de Luna para volver a oscuro) */
[data-theme='light'] .theme-toggle .sun-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme='light'] .theme-toggle .moon-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}


* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.scroll-smooth { scroll-behavior: smooth; }

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.985);
  filter: blur(1.5px);
  transition:
    opacity 0.95s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.95s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.95s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  html,
  .scroll-smooth { scroll-behavior: auto; }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body {
  --parallax-offset: 0px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1604654894610-df490c3d2e0d?q=80&w=2070&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  transform: translateY(var(--parallax-offset));
  filter: saturate(1.1) brightness(0.7);
  opacity: 0.85;
  z-index: -2;
  will-change: transform;
  pointer-events: none;
}

body.page-home {
  background-image: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  --header-alpha: 0;
  background: rgba(var(--header-bg-rgb), var(--header-alpha));
  border-bottom: 1px solid rgba(var(--header-border-color), calc(var(--header-alpha) * 0.32));
  backdrop-filter: blur(calc(var(--header-alpha) * 12.8px));
  box-shadow: 0 8px 24px rgba(8, 6, 4, calc(var(--header-alpha) * 0.42));
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, backdrop-filter .18s ease;
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0 1.25rem; /* Margen de seguridad lateral */
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.6px;
  color: var(--header-text);
  text-decoration: none;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  text-transform: uppercase;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.48);
}

.brand-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: grayscale(1) brightness(0) invert(1) contrast(1.08); /* invert for dark mode */
}

[data-theme=\'light\'] .brand-logo {
  filter: grayscale(1) brightness(0) contrast(1.08); /* keep dark for light mode */

  transition: filter .22s ease, transform .22s ease;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.menu a {
  font-family: "Montserrat", Arial, sans-serif;
  font-style: normal;
  color: var(--header-text);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.84rem;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: color .2s ease, border-color .2s ease, text-shadow .2s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--header-text);
  border-bottom-color: var(--header-text);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 10px;
  background: rgba(20, 14, 10, 0.35);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.hero {
  min-height: clamp(240px, 58vh, 520px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  background-size: cover;
  background-position: center;
  border-bottom: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 9, 0.34) 0%, rgba(15, 12, 9, 0.5) 100%);
}

/* Parallax effect: fondo controlado por JS */
.hero-parallax {
  /* background-attachment: fixed;  <-- Desactivado para permitir control suave JS */
  background-repeat: no-repeat;
  will-change: background-position;
}

@media (max-width: 920px) {
  .hero-parallax {
    background-attachment: scroll;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(3px);
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.hero-inner.hero-inner-no-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero h1 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.4rem, 6vw, 3.9rem);
  line-height: 1.16;
  letter-spacing: 0.12px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.42);
}

.hero-kicker {
  margin: 0 0 .6rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.6px;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.hero p {
  margin: .9rem 0 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.hero .actions {
  margin-top: 1.85rem;
}

.section {
  padding: 3.15rem 0;
}

.section.tight {
  padding: 2rem 0;
}

.section.loose {
  padding: 3.75rem 0;
}

.section-title {
  margin: 0 0 1rem;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.6px;
  font-size: clamp(1.6rem, 2.9vw, 2.2rem);
}

.panel .section-title {
  color: #2f2114;
}

.panel {
  background: rgba(245, 236, 228, 0.88);
  border: 1px solid rgba(30, 22, 15, 0.35);
  border-radius: 16px;
  box-shadow: 0 24px 45px rgba(2, 0, 0, 0.45);
  padding: clamp(1.3rem, 2.1vw, 1.8rem);
  position: relative;
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.panel::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 8px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 224, 171, 0.42) 0%,
    rgba(255, 224, 171, 0.16) 45%,
    rgba(255, 224, 171, 0) 100%
  );
  opacity: 0.42;
  pointer-events: none;
  animation: panel-invite-glow 2.2s ease-in-out infinite;
}

.center-text {
  text-align: center;
  color: var(--muted);
}

.panel p {
  font-size: var(--copy-size);
  line-height: 1.72;
  transition: transform 0.15s ease-in-out;
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .panel:hover {
    box-shadow:
      inset rgba(92, 55, 24, 0.3) 5px 5px 12px,
      inset rgba(255, 255, 255, 0.82) -5px -5px 12px;
    transform: translateY(2px);
    transition:
      box-shadow 0.15s ease-out,
      transform 0.15s ease-out;
  }

  .panel:hover::before {
    box-shadow: none;
    transition: box-shadow 0.15s ease-out;
  }

  .panel:hover::after {
    opacity: 0.62;
  }

  .panel:hover p {
    transform: translateY(1px);
  }
}

@media (hover: none) {
  .panel:active {
    box-shadow:
      inset rgba(92, 55, 24, 0.3) 5px 5px 12px,
      inset rgba(255, 255, 255, 0.82) -5px -5px 12px;
    transform: translateY(2px);
  }

  .panel:active::before {
    box-shadow: none;
  }

  .panel:active::after {
    opacity: 0.6;
  }

  .panel:active p {
    transform: translateY(1px);
  }
}

@keyframes panel-invite-glow {
  0%, 100% {
    opacity: 0.3;
    transform: scaleX(0.96);
  }
  50% {
    opacity: 0.52;
    transform: scaleX(1);
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: transform .22s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.card picture {
  display: block;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(214, 180, 134, 0.95);
  border-radius: 12px;
  padding: 0;
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.2),
    0 20px 40px rgba(0, 0, 0, 0.3);
  transition: box-shadow .22s ease, transform .22s ease;
}

.card:hover img {
  box-shadow:
    0 14px 22px rgba(0, 0, 0, 0.24),
    0 26px 48px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.card h3 {
  margin: 0.62rem 0 0;
  padding: 0;
  text-align: center;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  background: transparent;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

/* Home: force equal image frames to avoid mixed intrinsic ratios */
.page-home .grid-3 .card picture {
  display: block;
}

.page-home .grid-3 .card img {
  width: 100%;
  height: clamp(290px, 31vw, 400px);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.btn {
  display: inline-block;
  font-family: "Manrope", "Segoe UI", sans-serif;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
  font-weight: 700;
  letter-spacing: 0.25px;
  transition:
    transform var(--btn-transition) ease,
    filter var(--btn-transition) ease,
    box-shadow var(--btn-transition) ease,
    color var(--btn-transition) ease,
    background var(--btn-transition) ease;
}

.btn-brand {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  box-shadow: 0 10px 24px rgba(87, 67, 38, 0.24);
}

.btn-brand:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn:active {
  transform: translateY(0);
}

.btn-translucent {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all var(--btn-transition) ease;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.02em;
  font-weight: 700;
}

.btn-translucent:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.btn-bestia {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-bestia::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 0;
  padding-bottom: 120%;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.42s cubic-bezier(0.1, 0, 0.3, 1);
  z-index: -1;
}

.btn-bestia:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn-bestia:hover {
  color: #111111;
  border-color: #ffffff;
}

.actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.narrow {
  max-width: 860px;
  margin-inline: auto;
}

.quote-panel {
  font-style: italic;
  font-size: clamp(1.14rem, 1.5vw, 1.24rem);
  line-height: 1.82;
}

.single-visual img {
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.gallery-8 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-8 .card img {
  aspect-ratio: 1 / 1;
}

.gallery-8 .card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.gallery-8 .card img {
  height: 320px;
  object-fit: contain;
  aspect-ratio: auto;
  background: #120f0c;
  border: 1px solid rgba(214, 180, 134, 0.95);
  border-radius: 12px;
  padding: 0;
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.2),
    0 20px 40px rgba(0, 0, 0, 0.3);
}

.citas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.citas-layout .card img {
  aspect-ratio: 4 / 3;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.contact-grid .panel {
  border: 1px solid rgba(214, 180, 134, 0.95);
}

.social-gold-block {
  background: linear-gradient(135deg, #d8c09a, #b7925d);
  border-radius: 20px;
  box-shadow:
    0 14px 24px rgba(66, 44, 17, 0.16),
    0 28px 50px rgba(66, 44, 17, 0.24);
  padding: 24px 22px;
}

.social-expand-list {
  display: flex;
  position: relative;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 6px;
}

.social-expand-list li {
  position: relative;
  list-style: none;
  width: 60px;
  height: 60px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 60px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
  overflow: hidden;
}

.social-expand-list li::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 60px;
  background: linear-gradient(45deg, var(--i), var(--j));
  opacity: 0;
  transition: 0.5s;
}

.social-expand-list li::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 100%;
  height: 100%;
  border-radius: 60px;
  background: linear-gradient(45deg, var(--i), var(--j));
  transition: 0.5s;
  filter: blur(15px);
  z-index: -1;
  opacity: 0;
}

.social-expand-list li:hover {
  width: 280px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0);
}

.social-expand-list li:hover::before {
  opacity: 1;
}

.social-expand-list li:hover::after {
  opacity: 0.5;
}

.social-expand-list li a {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.social-expand-list .icon {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.75em;
  color: #777;
  transition: 0.5s;
  transition-delay: 0.25s;
}

.social-expand-list li:hover .icon {
  transform: scale(0);
  color: #fff;
  transition-delay: 0s;
}

.social-expand-list .title {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.95em;
  letter-spacing: 0.02em;
  transform: scale(0);
  transition: 0.5s;
  transition-delay: 0s;
  text-align: center;
  padding: 0 10px;
}

.social-expand-list li:hover .title {
  transform: scale(1);
  transition-delay: 0.25s;
}

.site-footer {
  margin-top: 0; /* Eliminado margen superior para unir bloques */
  border-top: 1px solid var(--border);
  position: relative;
  background: #150b07 url('../img/footer-bg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  overflow: hidden;
  z-index: 1;
  min-height: calc(100vh - var(--header-h)); /* Altura total para unir con el menú */
  display: flex;
  flex-direction: column;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 11, 7, 0.88);
  z-index: -1;
}

.site-footer-main {
  padding: 8.5rem 1rem 5.5rem; /* Aumentado padding para bajar logo y links */
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  flex: 1; /* Permite que el contenido principal ocupe el espacio */
}

.site-footer-brand {
  text-align: center;
}

.site-footer-logo {
  width: min(100%, 180px);
  margin: 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Logo en blanco restaurado */
  transition: transform 0.3s ease;
}

.site-footer-logo:hover {
  transform: scale(1.05);
}

.site-footer-line {
  width: 90px;
  height: 2px;
  margin: 0.8rem auto 0.75rem;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.site-footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-style: italic;
}

.site-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.8rem;
}

.site-footer-col {
  display: flex; flex-direction: column; gap: 0.5rem;
}

.site-footer-col a {
  color: #fff;
  text-decoration: none;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color .2s ease, transform .2s ease;
}

.site-footer-col a:hover {
  color: var(--brand);
  transform: translateX(4px);
}

.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.2rem 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.site-footer-rights {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
}

.site-footer-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform var(--btn-transition) ease, filter var(--btn-transition) ease, box-shadow var(--btn-transition) ease;
  background: #444; /* Fallback */
}

/* Colores Vibrantes por Plataforma */
.site-footer-social a[aria-label="WhatsApp"] { background: #25D366; }
.site-footer-social a[aria-label="Instagram"] { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.site-footer-social a[aria-label="Facebook"] { background: #1877F2; }
.site-footer-social a[aria-label="TikTok"] { background: #000000; border: 1px solid rgba(255,255,255,0.2); }

.site-footer-social a:hover {
  transform: translateY(-3px) scale(1.1);
  filter: brightness(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   WHATSAPP POPUP CHAT (LANS STUDIOS STYLE)
   ========================================================================== */
.whatsapp-lans-container {
    position: fixed;
    bottom: 70px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'Montserrat', sans-serif;
    pointer-events: none;
}

.whatsapp-lans-trigger {
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: lans-shake 5s infinite;
    border: none;
    transition: transform var(--btn-transition) ease, box-shadow var(--btn-transition) ease, background-color var(--btn-transition) ease;
    pointer-events: auto;
}

.whatsapp-lans-trigger:hover {
    transform: scale(1.05);
}

.whatsapp-lans-trigger .icon { width: 28px; height: 28px; fill: white; display: flex; align-items: center; justify-content: center; position: relative; }
.whatsapp-lans-trigger .text { font-size: 14px; font-weight: 500; white-space: nowrap; color: white; transition: opacity 0.3s ease; }

.whatsapp-lans-trigger .icon-whatsapp { display: block; width: 100%; height: 100%; }
.whatsapp-lans-trigger .icon-close { display: none; width: 24px; height: 24px; font-size: 30px; font-weight: 300; line-height: 1; }

.whatsapp-lans-trigger.active {
    padding: 14px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    justify-content: center;
}

.whatsapp-lans-trigger.active .icon-whatsapp { display: none; }
.whatsapp-lans-trigger.active .icon-close { display: flex; align-items: center; justify-content: center; }
.whatsapp-lans-trigger.active .text { display: none; }

.whatsapp-lans-popup {
    width: 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    margin-bottom: 15px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    display: flex;
    flex-direction: column;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    pointer-events: none;
}

.whatsapp-lans-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.popup-header { background-color: #25D366; color: white; padding: 20px; position: relative; }
.popup-header .close-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; color: white; font-size: 22px; cursor: pointer; opacity: 0.8; }
.popup-header h3 { margin: 0 0 5px; font-size: 18px; font-weight: 700; color: white; }
.popup-header p { margin: 0; font-size: 13px; opacity: 0.95; line-height: 1.4; color: white; }

.popup-body { padding: 15px; background: #f4f7f9; }
.representative-item { display: flex; align-items: center; gap: 15px; background: white; padding: 12px; border-radius: 8px; text-decoration: none; color: #333; transition: background var(--btn-transition) ease, transform var(--btn-transition) ease, box-shadow var(--btn-transition) ease; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.representative-item:hover { background: #fafafa; transform: translateY(-2px); }
.representative-avatar { width: 50px; height: 50px; border-radius: 50%; background-size: cover; background-position: center; flex-shrink: 0; border: 2px solid #25D366; }
.representative-info .name { display: block; font-weight: 700; font-size: 14px; color: #1a1e23; }
.representative-info .caption { display: block; font-size: 12px; color: #6a737d; margin-top: 2px; }
.popup-footer { padding: 10px 15px; text-align: center; font-size: 12px; color: #999; background: white; }

@keyframes lans-shake {
    0%, 90% { transform: rotate(0); }
    92% { transform: rotate(5deg); }
    94% { transform: rotate(-5deg); }
    96% { transform: rotate(3deg); }
    98% { transform: rotate(-3deg); }
    100% { transform: rotate(0); }
}

.whatsapp-lans-trigger::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50px; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); animation: lans-pulse 2s infinite;
}

@keyframes lans-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-lans-popup { width: calc(100vw - 40px); right: 20px; bottom: 80px; }
    .whatsapp-lans-trigger .text { display: none; }
    .whatsapp-lans-trigger { padding: 14px; border-radius: 50%; }
    .whatsapp-lans-container { bottom: 25px; right: 20px; }
}


.spacer-strip {
  display: none;
}

.citas-layout.no-caption .card {
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  box-shadow:
    0 14px 24px rgba(58, 33, 14, 0.18),
    0 26px 46px rgba(58, 33, 14, 0.27);
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.citas-layout.no-caption .card:hover,
.gallery-8 .card:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 16px 28px rgba(58, 33, 14, 0.2),
    0 32px 56px rgba(58, 33, 14, 0.3);
}

.citas-layout.no-caption .card img {
  width: 100%;
  height: 540px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 10px;
  aspect-ratio: auto;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.citas-layout.no-caption .citas-photo {
  margin: 0;
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 16px;
  overflow: visible;
  z-index: 2;
}

.citas-layout.no-caption .citas-photo::before {
  content: none;
}

.citas-layout.no-caption .citas-photo img {
  width: 100%;
  height: 540px;
  display: block;
  object-fit: contain;
  aspect-ratio: auto;
  background: #120f0c;
  border: 1px solid rgba(214, 180, 134, 0.95);
  border-radius: 12px;
  padding: 0;
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.2),
    0 20px 40px rgba(0, 0, 0, 0.3);
}

.payment-title {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--brand-dark);
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  font-weight: 600;
  letter-spacing: 0.55px;
}

.story-highlight {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: #382919;
  font-size: clamp(1.13rem, 1.5vw, 1.24rem);
  line-height: 1.86;
}

.story-highlight p {
  margin-top: 0;
}

.story-highlight strong {
  color: var(--brand-dark);
}

.payment-tile {
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(214, 180, 134, 0.95);
  border-radius: 14px;
  box-shadow:
    0 14px 24px rgba(58, 33, 14, 0.16),
    0 28px 48px rgba(58, 33, 14, 0.25);
  backdrop-filter: blur(4px);
  padding: 1.35rem 1.1rem 1.45rem;
  position: relative;
  z-index: 2;
}

.payment-tile img {
  width: min(100%, 360px);
  margin-inline: auto;
}

.service-flyer {
  margin: 0 auto;
  text-align: center;
  padding: 3.2rem 1rem;
  color: #fff;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 36px;
  font-weight: 100;
  overflow: hidden;
  animation: bg-service 5s linear infinite;
  border-radius: 16px;
}

.dropping-texts {
  display: inline-block;
  width: 180px;
  text-align: left;
  height: 36px;
  vertical-align: -2px;
  position: relative;
}

.dropping-texts > div {
  font-size: 0;
  opacity: 0;
  margin-left: -30px;
  position: absolute;
  font-weight: 300;
  white-space: nowrap;
  box-shadow: 0 60px 25px -20px rgba(0, 0, 0, 0.5);
}

.dropping-texts > div:nth-child(1) {
  animation: roll-service 5s linear infinite 0s;
}

.dropping-texts > div:nth-child(2) {
  animation: roll-service 5s linear infinite 1s;
}

.dropping-texts > div:nth-child(3) {
  animation: roll-service 5s linear infinite 2s;
}

.dropping-texts > div:nth-child(4) {
  animation: roll2-service 5s linear infinite 3s;
}

@keyframes roll-service {
  0% { font-size: 0; opacity: 0; margin-left: -30px; margin-top: 0; transform: rotate(-25deg); }
  3% { opacity: 1; transform: rotate(0deg); }
  5% { font-size: inherit; opacity: 1; margin-left: 0; margin-top: 0; }
  20% { font-size: inherit; opacity: 1; margin-left: 0; margin-top: 0; transform: rotate(0deg); }
  27% { font-size: 0; opacity: 0.5; margin-left: 20px; margin-top: 100px; }
  100% { font-size: 0; opacity: 0; margin-left: -30px; margin-top: 0; transform: rotate(15deg); }
}

@keyframes roll2-service {
  0% { font-size: 0; opacity: 0; margin-left: -30px; margin-top: 0; transform: rotate(-25deg); }
  3% { opacity: 1; transform: rotate(0deg); }
  5% { font-size: inherit; opacity: 1; margin-left: 0; margin-top: 0; }
  30% { font-size: inherit; opacity: 1; margin-left: 0; margin-top: 0; transform: rotate(0deg); }
  37% { font-size: 1500px; opacity: 0; margin-left: -1000px; margin-top: -800px; }
  100% { font-size: 0; opacity: 0; margin-left: -30px; margin-top: 0; transform: rotate(15deg); }
}

@keyframes bg-service {
  0% { background: #ff0075; }
  3% { background: #0094ff; }
  20% { background: #0094ff; }
  23% { background: #b200ff; }
  40% { background: #b200ff; }
  43% { background: #8bc34a; }
  60% { background: #8bc34a; }
  63% { background: #f44336; }
  80% { background: #f44336; }
  83% { background: #f44336; }
  100% { background: #f44336; }
}

.contact-grid .panel iframe,
.contact-grid .panel img {
  border: 1px solid rgba(214, 180, 134, 0.95);
  border-radius: 12px;
  box-shadow:
    0 10px 20px rgba(79, 49, 20, 0.16),
    0 22px 40px rgba(79, 49, 20, 0.22);
}

.map-open-link {
  margin-top: 0.9rem;
  display: inline-block;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  color: #2f2114;
  text-decoration: none;
  border: 1px solid rgba(214, 180, 134, 0.95);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 245, 231, 0.82);
  transition: background-color var(--btn-transition) ease, border-color var(--btn-transition) ease, filter var(--btn-transition) ease, transform var(--btn-transition) ease;
}

.map-open-link:hover {
  filter: brightness(1.03);
}

.page-home .hero {
  min-height: 100vh;
  min-height: 100svh;
}
.page-servicios .hero,
.page-quienes .hero,
.page-citas .hero,
.page-contacto .hero {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--header-h);
}

.page-home .section-title,
.page-servicios .section-title,
.page-quienes .section-title,
.page-citas .section-title,
.page-contacto .section-title {
  margin-bottom: 1.2rem;
}

.quienes-top-duo-wrap {
  padding-bottom: 1rem;
}

.quienes-top-duo .card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0.55rem;
}

.quienes-top-duo .card img {
  width: 100%;
  height: clamp(300px, 36vw, 430px);
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(207, 176, 140, 0.85);
  box-shadow: 0 16px 30px rgba(78, 47, 16, 0.22);
}

@media (max-width: 920px) {
  .section {
    padding: 2.55rem 0;
  }

  .section.tight {
    padding: 1.45rem 0;
  }

  .section.loose {
    padding: 2.9rem 0;
  }

  .hero-inner {
    width: min(100% - 2rem, var(--max));
    padding: 1rem 0.95rem;
  }

  .page-home .hero {
    min-height: clamp(290px, 60vh, 520px);
  }
  .page-servicios .hero,
  .page-quienes .hero,
  .page-citas .hero,
  .page-contacto .hero {
    min-height: clamp(290px, 60vh, 520px);
    padding-top: var(--header-h);
  }


  .menu-toggle {
    display: inline-flex;
  }

  .brand-logo {
    width: 76px;
    height: 76px;
  }

  .menu {
    display: flex;
    position: absolute;
    top: 64px;
    right: 1rem;
    left: 1rem;
    background: rgba(25, 18, 13, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 0.55rem;
    box-shadow: 0 18px 34px rgba(9, 7, 5, 0.42);
    backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top center;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, max-height .22s ease, visibility .22s ease;
  }

  .menu.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    max-height: 420px;
    pointer-events: auto;
    visibility: visible;
  }

  .menu a {
    padding: 0.6rem 0.55rem;
    border-radius: 8px;
  }

  .menu a.active,
  .menu a:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .grid-2,
  .grid-3,
  .gallery-8,
  .citas-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .citas-layout.no-caption .card img {
    height: 420px;
  }

  .citas-layout.no-caption .citas-photo img {
    height: 420px;
  }

  .gallery-8 .card img {
    height: 260px;
  }

  .page-home .grid-3 .card img {
    height: clamp(300px, 75vw, 440px);
  }

  .service-flyer {
    padding: 2.2rem 0.7rem;
    font-size: clamp(1.35rem, 6vw, 2rem);
  }

  .dropping-texts {
    width: min(86vw, 180px);
    height: 34px;
  }

  .social-expand-list {
    flex-direction: row;
    gap: 15px;
  }

  .social-expand-list li {
    width: 60px;
    height: 60px;
  }

  .social-expand-list li:hover {
    width: 60px;
  }

  .social-expand-list .title {
    display: none;
  }

  .site-footer-main {
    grid-template-columns: 1fr;
    gap: 0.52rem;
    padding: 0.8rem 0.9rem 0.35rem;
  }

  .site-footer-links {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    text-align: center;
  }

  .site-footer-col {
    gap: 0.2rem;
  }

  .site-footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 0.4rem 0.9rem 0.5rem;
  }
}

/* --- Animaciones SPA (View Transitions API) --- */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  animation-name: fade-out-scale;
}

::view-transition-new(root) {
  animation-name: fade-in-scale;
}

@keyframes fade-in-scale {
  from { opacity: 0; filter: blur(4px); transform: scale(0.97); }
  to { opacity: 1; filter: blur(0); transform: scale(1); }
}

@keyframes fade-out-scale {
  from { opacity: 1; filter: blur(0); transform: scale(1); }
  to { opacity: 0; filter: blur(4px); transform: scale(1.03); }
}




/* =========================================================
   VIEW TRANSITIONS (Animaciones fluidas tipo app nativa)
   ========================================================= */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 300ms cubic-bezier(0.4, 0, 0.2, 1) both fade-out, 
             300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-out;
}

::view-transition-new(root) {
  animation: 300ms cubic-bezier(0.4, 0, 0.2, 1) both fade-in,
             300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-in;
}

@keyframes fade-out {
  to { opacity: 0; }
}

@keyframes slide-out {
  to { transform: translateX(-15px); }
  from { transform: translateX(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-in {
  from { transform: translateX(15px); }
  to { transform: translateX(0); }
}

/* --- REVEAL ON SCROLL (TRENDO STYLE) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delays escalonados para grids (staggered reveal) */
.grid-3 .reveal:nth-child(2) { transition-delay: 0.1s; }
.grid-3 .reveal:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* --- PREMIUM LAZY LOADING & REVEAL (TRENDO STYLE) --- */
.card picture, .citas-photo-wrapper {
  display: block;
  background: rgba(201, 172, 130, 0.08); /* Color base champagne sutil */
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* Animaci�n de brillo (Skeleton Shimmer) */
.card picture::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  animation: shimmer 2.2s infinite;
  z-index: 1;
}

.card img, .citas-photo img {
  opacity: 0;
  filter: blur(12px) scale(1.05);
  transition: opacity 1.5s cubic-bezier(0.2, 0.7, 0.2, 1), 
              filter 1.5s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 1.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, filter, transform;
}

.card img.is-loaded, .citas-photo img.is-loaded {
  opacity: 1;
  filter: blur(0) scale(1);
} 
