/* ===========================================================
   Priscila Studio & Spa — Diseño Cinematográfico & Mobile First
   Paleta: Ciruela/violeta del logo + rosa, champagne y oro
   Tipografía: Playfair Display · Texto: Jost · Firma: Allura
   =========================================================== */

:root {
  /* Base nocturna */
  --noche: #1a1020;
  --noche-2: #22152b;

  /* Violeta del logotipo */
  --ciruela-900: #2a1a3e;
  --ciruela: #4e3380;
  --ciruela-500: #6b4fa3;
  --lavanda: #b7a3db;
  --lavanda-claro: #e9e1f5;

  /* Tonos del video & spa */
  --rosa: #e7bfc0;
  --rosa-polvo: #c98f96;
  --champagne: #f1dcc0;
  --oro: #d4a86a;

  /* Neutros & texto */
  --marfil: #fbf6f0;
  --gris: #8b8a8e;
  --texto: rgba(251, 246, 240, 0.92);
  --texto-suave: rgba(251, 246, 240, 0.80);
  --texto-tenue: rgba(251, 246, 240, 0.68);
  --linea: rgba(241, 220, 192, 0.14);
  --linea-fuerte: rgba(241, 220, 192, 0.28);

  --grad-oro: linear-gradient(135deg, #f6e6cf 0%, #e9c3ae 45%, #d29aa0 100%);
  --grad-texto: linear-gradient(100deg, var(--champagne) 0%, var(--rosa) 45%, var(--lavanda) 100%);
  --grad-violeta: linear-gradient(155deg, rgba(124, 92, 180, 0.80) 0%, rgba(78, 51, 128, 0.78) 50%, rgba(42, 26, 62, 0.82) 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --reveal: cubic-bezier(0.16, 1, 0.3, 1);

  --sombra: 0 30px 70px -30px rgba(5, 2, 8, 0.75);
  --sombra-sm: 0 14px 34px -18px rgba(5, 2, 8, 0.6);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Allura', 'Playfair Display', cursive;
}

/* ============ Reset & Base Mobile First ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--noche);
  color: var(--texto);
  line-height: 1.6;
  overflow-x: hidden;
  touch-action: manipulation;
  padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 859px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }
}

body.locked {
  overflow: hidden;
}

::selection {
  background: var(--ciruela);
  color: var(--marfil);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
}

section {
  scroll-margin-top: 70px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.app {
  position: relative;
  z-index: 1;
}

.ico {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ============ Tipografía ============ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--marfil);
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0.75rem 0 0.9rem;
}

h3 {
  font-size: clamp(1.25rem, 3.2vw, 1.55rem);
  line-height: 1.2;
}

h1 em, h2 em, h3 em, .quote em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad-texto);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--champagne);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--oro));
}

.eyebrow.center {
  justify-content: center;
  width: 100%;
}

.eyebrow.center::after {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--oro), transparent);
}

.sec-desc {
  color: var(--texto-suave);
  max-width: 580px;
  font-size: clamp(0.95rem, 2.4vw, 1.04rem);
  font-weight: 300;
  line-height: 1.7;
}

/* ============ Splash Screen ============ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: radial-gradient(120% 90% at 50% 40%, var(--ciruela-900) 0%, var(--noche) 70%);
  display: grid;
  place-items: center;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease);
}

.splash.out {
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}

.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  width: min(72vw, 280px);
  transition: opacity 0.5s, transform 0.8s var(--ease);
}

.splash.out .splash-inner {
  opacity: 0;
  transform: translateY(-40px);
}

.splash-logo {
  width: 100%;
  opacity: 0;
  transform: scale(0.94);
  animation: splashIn 1s var(--reveal) 0.1s forwards;
  filter: drop-shadow(0 10px 30px rgba(107, 79, 163, 0.45));
}

@keyframes splashIn {
  to { opacity: 1; transform: none; }
}

.splash-bar {
  width: 100%;
  height: 1px;
  background: rgba(241, 220, 192, 0.18);
  overflow: hidden;
}

.splash-bar span {
  display: block;
  height: 100%;
  background: var(--grad-oro);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.25s linear;
}

.splash-count {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--champagne);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

/* ============ Barra de Progreso de Lectura ============ */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--ciruela-500), var(--lavanda), var(--champagne));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ============ FONDO GLOBAL (Canvas con Frames + Video Scrub) ============ */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--noche) url('assets/hero-poster.jpg') 68% center/cover no-repeat;
}

.page-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: 62% 45%;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.page-bg canvas.ready {
  opacity: 1;
}

.page-bg > span {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-veil {
  background:
    linear-gradient(90deg, rgba(26, 16, 32, 0.92) 0%, rgba(26, 16, 32, 0.70) 28%, rgba(26, 16, 32, 0.18) 58%, rgba(26, 16, 32, 0) 75%),
    linear-gradient(to top, rgba(26, 16, 32, 0.85) 0%, rgba(26, 16, 32, 0) 32%),
    linear-gradient(to bottom, rgba(26, 16, 32, 0.55) 0%, rgba(26, 16, 32, 0) 18%);
}

@media (max-width: 767px) {
  .page-bg {
    background-position: 70% center;
  }
  .bg-veil {
    background:
      linear-gradient(to top, rgba(26, 16, 32, 0.98) 0%, rgba(26, 16, 32, 0.84) 38%, rgba(26, 16, 32, 0.3) 65%, rgba(26, 16, 32, 0) 80%),
      linear-gradient(to bottom, rgba(26, 16, 32, 0.65) 0%, rgba(26, 16, 32, 0) 18%);
  }
}

.bg-tint {
  opacity: 0;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(78, 51, 128, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(26, 16, 32, 0.38), rgba(22, 13, 28, 0.52));
}

.bg-vignette {
  background: radial-gradient(ellipse 120% 90% at 50% 45%, transparent 55%, rgba(8, 4, 12, 0.6) 100%);
}

.bg-grain {
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Header & Navbar ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: transform 0.55s var(--ease), background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top);
}

.header.scrolled {
  background: rgba(26, 16, 32, 0.65);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom-color: rgba(241, 220, 192, 0.1);
}

.header.hide {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem clamp(1rem, 3vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
  transition: transform 0.4s var(--ease);
}

.brand:hover img {
  transform: scale(1.04) rotate(-1deg);
}

@media (min-width: 768px) {
  .brand img {
    height: 48px;
  }
}

.nav {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--texto-suave);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: var(--marfil);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--champagne);
  transform: translateX(-50%) scale(0);
  transition: transform 0.35s var(--ease);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: translateX(-50%) scale(1);
}

/* Hamburguesa móvil con touch target accesible (46px) */
.menu-btn {
  width: 2.85rem;
  height: 2.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--linea);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s, transform 0.25s;
}

.menu-btn:active {
  transform: scale(0.94);
}

@media (min-width: 900px) {
  .menu-btn {
    display: none;
  }
}

.menu-btn span {
  position: absolute;
  height: 1.5px;
  width: 1.15rem;
  background: var(--marfil);
  border-radius: 999px;
  transition: all 0.35s var(--ease);
}

.menu-btn span:nth-child(1) { transform: translateY(-5px); }
.menu-btn span:nth-child(3) { transform: translateY(5px); width: 0.75rem; margin-left: 0.4rem; }

.menu-btn.open span:nth-child(1) { transform: rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.open span:nth-child(3) { transform: rotate(-45deg); width: 1.15rem; margin-left: 0; }

/* ============ Panel de Menú Móvil (Scrollable & Safe) ============ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
}

@media (min-width: 900px) {
  .menu-overlay {
    display: none;
  }
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 14, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  max-height: 100dvh;
  width: min(88%, 24rem);
  background: radial-gradient(120% 60% at 100% 0%, rgba(107, 79, 163, 0.45), transparent 60%), var(--noche-2);
  border-left: 1px solid var(--linea);
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
  display: flex;
  flex-direction: column;
  padding: calc(1.2rem + env(safe-area-inset-top)) 1.8rem calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.menu-overlay.open {
  pointer-events: auto;
}

.menu-overlay.open .menu-backdrop {
  opacity: 1;
}

.menu-overlay.open .menu-panel {
  transform: translateX(0);
}

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--linea);
  margin-bottom: 1.2rem;
}

.menu-brand img {
  height: 34px;
  width: auto;
}

.menu-close {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--linea);
  color: var(--marfil);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.25s;
}

.menu-close:active {
  transform: scale(0.92);
}

.menu-close .ico {
  width: 1.15rem;
  height: 1.15rem;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: auto;
}

.menu-links a {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.2vh, 1.95rem);
  font-weight: 500;
  color: var(--marfil);
  text-decoration: none;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  transform: translateX(1.5rem);
  transition: all 0.45s var(--ease);
}

.menu-links a span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--oro);
  letter-spacing: 0.12em;
  font-weight: 500;
}

.menu-overlay.open .menu-links a {
  opacity: 1;
  transform: none;
}

.menu-links a:hover, .menu-links a:active {
  color: var(--champagne);
  padding-left: 0.3rem;
}

.menu-bottom {
  margin-top: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--linea);
  opacity: 0;
  transform: translateY(1.5rem);
  transition: all 0.5s var(--ease);
}

.menu-overlay.open .menu-bottom {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
}

.menu-quick-contact {
  margin-bottom: 1.1rem;
}

.menu-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--champagne);
  margin-bottom: 0.35rem;
}

.menu-quick-contact p {
  font-size: 0.82rem;
  color: var(--texto-suave);
  line-height: 1.4;
}

.menu-schedule {
  color: var(--texto-tenue) !important;
  font-size: 0.78rem !important;
  margin-top: 0.2rem;
}

/* ============ Botones Táctiles Ergonómicos ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  overflow: hidden;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  isolation: isolate;
  user-select: none;
  touch-action: manipulation;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.4s, color 0.4s, border-color 0.4s;
}

.btn:active {
  transform: scale(0.97);
}

.btn .ico {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.45s var(--ease);
}

.btn:hover .ico {
  transform: translateX(3px);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn-primary {
  background: var(--grad-oro);
  color: var(--ciruela-900);
  box-shadow: 0 14px 34px -14px rgba(210, 154, 160, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -16px rgba(210, 154, 160, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(251, 246, 240, 0.32);
  color: var(--marfil);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--champagne);
  color: var(--champagne);
}

.btn-light {
  background: var(--marfil);
  color: var(--ciruela);
  font-weight: 600;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.45);
}

.btn-small {
  min-height: 40px;
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ============ Glassmorphism ============ */
.glass {
  background: linear-gradient(160deg, rgba(52, 33, 70, 0.65) 0%, rgba(26, 16, 32, 0.7) 100%);
  border: 1px solid var(--linea);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--sombra-sm);
}

/* ============ HERO (Mobile-First Height & Sticky Container) ============ */
/* En móvil la pista es de 230vh para que el usuario no sienta fatiga en el pulgar */
.hero {
  position: relative;
  height: 200vh;
}

@media (min-width: 768px) {
  .hero {
    height: 260vh;
  }
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.scene {
  position: absolute;
  inset: 0;
  display: flex;
  --in: 1;
  --out: 0;
  opacity: calc(var(--in) * (1 - var(--out)));
  transform: translate3d(0, calc((1 - var(--in)) * 50px - var(--out) * 60px), 0);
  will-change: opacity, transform;
}

.scene-2, .scene-3 {
  --in: 0;
}

/* Escena 1: Titular Principal */
.scene-1 {
  align-items: flex-end;
  padding-bottom: clamp(6.5rem, 15vh, 8.5rem);
  padding-top: 4.5rem;
}

@media (min-width: 768px) {
  .scene-1 {
    align-items: center;
    padding-bottom: 5rem;
  }
}

.scene-1-inner {
  max-width: 1200px;
}

.scene-1-inner > * {
  max-width: 640px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--champagne);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 0 4px rgba(241, 220, 192, 0.18), 0 0 18px var(--champagne);
  animation: glow 2.6s ease-in-out infinite;
}

@keyframes glow {
  50% { box-shadow: 0 0 0 7px rgba(241, 220, 192, 0.06), 0 0 24px var(--champagne); }
}

.scene-1 h1 {
  font-size: clamp(2.3rem, 7.6vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0.85rem 0 0.95rem;
  text-shadow: 0 6px 30px rgba(10, 5, 14, 0.6);
}

.scene-1 h1 span {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin-top: 0.75rem;
  color: rgba(251, 246, 240, 0.94);
  text-shadow: 0 2px 16px rgba(10, 5, 14, 0.7);
}

.lead {
  color: rgba(251, 246, 240, 0.9);
  font-size: clamp(0.98rem, 2.4vw, 1.06rem);
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 1.4rem;
  max-width: 34rem;
  text-shadow: 0 2px 14px rgba(10, 5, 14, 0.7);
}

.hero-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin-top: 1.4rem;
  font-size: 0.84rem;
  color: var(--texto-tenue);
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-meta .ico {
  color: var(--champagne);
  width: 1rem;
  height: 1rem;
}

@media (max-height: 640px) {
  .hero-meta {
    display: none;
  }
}

/* Escena 2: Frase y Manifiesto */
.scene-2 {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.25rem;
}

.scene-2::before {
  content: '';
  position: absolute;
  inset: 15% 5%;
  background: radial-gradient(closest-side, rgba(26, 16, 32, 0.65), transparent);
  z-index: -1;
}

.script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 1;
  color: var(--champagne);
  text-shadow: 0 0 40px rgba(241, 220, 192, 0.35);
  margin-bottom: 0.3rem;
}

.quote {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.2vw, 4.4rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 17ch;
  color: var(--marfil);
}

.quote .w {
  display: inline-block;
  opacity: 0.12;
  transform: translateY(0.15em);
  transition: opacity 0.25s linear, transform 0.4s var(--reveal);
  white-space: pre;
}

.quote .w.em {
  font-style: italic;
  font-weight: 400;
  color: var(--rosa);
}

/* Escena 3: Cifras y Estadísticas Mobile-Optimized */
.scene-3 {
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.scene-3 .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 2vw, 1.25rem);
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.stat {
  text-align: center;
  padding: clamp(0.9rem, 2.8vw, 2.2rem) clamp(0.3rem, 1vw, 1rem);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(52, 33, 70, 0.55), rgba(26, 16, 32, 0.45));
  border: 1px solid var(--linea);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 5.6vw, 4.2rem);
  line-height: 1;
  background: var(--grad-texto);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat > span {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(0.64rem, 1.4vw, 0.85rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texto-suave);
  line-height: 1.3;
}

/* Pie del Hero */
.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem calc(1rem + env(safe-area-inset-bottom));
}

.scene-dots {
  display: flex;
  gap: 0.4rem;
}

.scene-dots i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(251, 246, 240, 0.3);
  transition: width 0.5s var(--ease), background 0.5s;
}

.scene-dots i.on {
  width: 22px;
  background: var(--champagne);
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--texto-tenue);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.scroll-hint .ico {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--champagne);
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.video-scrub {
  width: 140px;
  max-width: 40vw;
  height: 1px;
  background: rgba(251, 246, 240, 0.2);
  overflow: hidden;
}

.video-scrub span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--grad-oro);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ============ Marquesina ============ */
.marquee {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 5vw, 3.6rem) 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
  background: linear-gradient(180deg, rgba(26, 16, 32, 0.4), rgba(26, 16, 32, 0.6));
}

.marquee-row {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 1.15;
  color: var(--marfil);
}

.marquee-row b {
  font-style: normal;
  font-size: 0.4em;
  color: var(--oro);
  font-weight: 400;
}

.marquee-row.outline span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(183, 163, 219, 0.7);
}

/* ============ Secciones Comunes ============ */
.section {
  position: relative;
  padding: clamp(4rem, 8vh, 6rem) 0;
}

.sec-head {
  max-width: 740px;
  margin-bottom: clamp(1.3rem, 3vw, 2.2rem);
}

/* ============ Servicios (Chips & Tarjetas) ============ */
.svc-filter-wrap {
  margin-bottom: 1.8rem;
  position: relative;
}

.svc-chips {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.4rem 0.2rem 0.6rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.svc-chips::-webkit-scrollbar {
  display: none;
}

.svc-chip {
  white-space: nowrap;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--linea);
  color: var(--texto-suave);
  font-size: 0.84rem;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.3s ease;
  user-select: none;
}

.svc-chip:active {
  transform: scale(0.96);
}

.svc-chip.active {
  background: var(--grad-oro);
  color: var(--ciruela-900);
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(210, 154, 160, 0.7);
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.svc {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  transition: transform 0.55s var(--ease), border-color 0.4s, box-shadow 0.55s var(--ease), opacity 0.4s ease;
}

.svc.is-hidden {
  display: none !important;
}

.svc:hover {
  transform: translateY(-5px);
  border-color: var(--linea-fuerte);
  box-shadow: var(--sombra);
}

.svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
  padding-bottom: 1.6rem;
}

.idx {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--oro);
  letter-spacing: 0.06em;
}

.icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(145deg, rgba(183, 163, 219, 0.22), rgba(78, 51, 128, 0.38));
  border: 1px solid rgba(183, 163, 219, 0.32);
  color: var(--lavanda-claro);
  transition: background 0.4s, color 0.4s, transform 0.55s var(--ease), border-color 0.4s;
}

.icon .ico {
  width: 1.35rem;
  height: 1.35rem;
}

.svc:hover .icon, .lz:hover .icon, .contact-item:hover .icon {
  background: var(--grad-oro);
  color: var(--ciruela-900);
  border-color: transparent;
  transform: rotate(-10deg) scale(1.06);
}

.svc h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  margin-bottom: 0.55rem;
}

.svc p {
  color: var(--texto-suave);
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.68;
}

.svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--linea);
  flex-wrap: wrap;
}

.svc-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--champagne);
  transition: transform 0.3s, color 0.3s;
}

.svc-action:hover {
  color: var(--marfil);
  transform: translateX(3px);
}

.svc-feat {
  background: var(--grad-violeta);
  border-color: rgba(183, 163, 219, 0.35);
}

.svc-feat p {
  color: rgba(251, 246, 240, 0.86);
}

.svc-feat .icon {
  background: rgba(251, 246, 240, 0.12);
  border-color: rgba(251, 246, 240, 0.3);
}

.tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--grad-oro);
  color: var(--ciruela-900);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.tag-soft {
  background: rgba(183, 163, 219, 0.2);
  border: 1px solid rgba(183, 163, 219, 0.35);
  color: var(--champagne);
}

/* Banner de verrugas */
.banner {
  margin-top: 1.4rem;
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--lavanda), var(--rosa-polvo));
}

.banner h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  margin: 0.45rem 0 0.3rem;
}

.banner p {
  color: var(--texto-suave);
  font-weight: 300;
  font-size: 0.94rem;
}

/* ============ Resultados & Transformaciones (Showcase con Imágenes) ============ */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.showcase-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform 0.55s var(--ease), border-color 0.4s, box-shadow 0.55s var(--ease);
}

.showcase-card:hover {
  transform: translateY(-5px);
  border-color: var(--linea-fuerte);
  box-shadow: var(--sombra);
}

.showcase-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ciruela-900);
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.showcase-card:hover .showcase-media img {
  transform: scale(1.05);
}

.showcase-badge {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  background: rgba(26, 16, 32, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--linea);
  color: var(--champagne);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.showcase-body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.showcase-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(183, 163, 219, 0.2);
  border: 1px solid rgba(183, 163, 219, 0.35);
  color: var(--champagne);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.showcase-dur {
  font-size: 0.78rem;
  color: var(--texto-tenue);
  letter-spacing: 0.04em;
}

.showcase-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.showcase-card p {
  color: var(--texto-suave);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.68;
  margin-bottom: 1.1rem;
}

.showcase-points {
  list-style: none;
  margin-top: auto;
  display: grid;
  gap: 0.45rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--linea);
}

.showcase-points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--texto-suave);
}

.showcase-points .ico {
  width: 1rem;
  height: 1rem;
  color: var(--champagne);
}

.showcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: var(--champagne);
  font-size: 0.88rem;
  font-weight: 500;
  transition: transform 0.3s, color 0.3s;
}

.showcase-btn:hover {
  color: var(--marfil);
  transform: translateX(4px);
}

/* ============ Láser ============ */
.laser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

@media (min-width: 960px) {
  .laser-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .laser-head {
    position: sticky;
    top: 110px;
  }
}

.steps {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
  position: relative;
  padding-left: 0;
  --fill: 0;
}

.steps::before, .steps::after {
  content: '';
  position: absolute;
  left: 1.15rem;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 1px;
  transform: translateX(-50%);
}

.steps::before {
  background: var(--linea-fuerte);
}

.steps::after {
  background: linear-gradient(var(--champagne), var(--lavanda));
  transform-origin: 50% 0;
  transform: translateX(-50%) scaleY(var(--fill));
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.steps strong {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--noche-2);
  border: 1px solid var(--linea-fuerte);
  color: var(--champagne);
  font-family: var(--font-display);
  font-weight: 500;
  transition: background 0.5s, color 0.5s, border-color 0.5s;
}

.steps li.on strong {
  background: var(--grad-oro);
  color: var(--ciruela-900);
  border-color: transparent;
}

.steps b {
  display: block;
  font-weight: 500;
  color: var(--marfil);
  font-size: 1rem;
}

.steps span {
  color: var(--texto-tenue);
  font-size: 0.88rem;
  font-weight: 300;
}

.laser-cards {
  display: grid;
  gap: 1rem;
}

.lz {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  transition: transform 0.55s var(--ease), border-color 0.4s;
}

.lz:hover {
  transform: translateX(6px);
  border-color: var(--linea-fuerte);
}

.lz h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.lz p {
  color: var(--texto-suave);
  font-size: 0.91rem;
  font-weight: 300;
}

/* ============ Garantías & Seguridad ============ */
.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 600px) {
  .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .guarantee-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.guarantee-card {
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.55s var(--ease), border-color 0.4s, box-shadow 0.55s var(--ease);
}

.guarantee-card:hover {
  transform: translateY(-5px);
  border-color: var(--linea-fuerte);
  box-shadow: var(--sombra);
}

.guarantee-card .icon {
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1.1rem;
}

.guarantee-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.guarantee-card p {
  color: var(--texto-suave);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
}

/* ============ Nosotros (con Fotografía de Cabina) ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

.about-visual {
  position: relative;
  padding: 1rem 0 2rem;
  display: grid;
  place-items: center;
}

.about-card-wrap {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
}

.about-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--sombra);
  border: 1px solid rgba(183, 163, 219, 0.35);
  background: var(--ciruela-900);
}

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.about-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 16, 32, 0.92) 0%, rgba(26, 16, 32, 0.2) 65%, transparent 100%);
}

.about-logo {
  position: absolute;
  bottom: -1.2rem;
  left: 6%;
  right: 6%;
  z-index: 2;
  background: linear-gradient(160deg, #fffdfb, #f4ece6);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem 1rem;
  box-shadow: 0 35px 70px -25px rgba(5, 2, 8, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.about-logo img {
  width: 100%;
}

.script-sm {
  font-family: var(--font-script);
  font-size: 1.85rem;
  color: var(--ciruela);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1;
}

.about-badge {
  position: absolute;
  z-index: 3;
  right: max(2%, calc(50% - 220px));
  top: 0.5rem;
  width: 7.6rem;
  height: 7.6rem;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--grad-oro);
  color: var(--ciruela-900);
  box-shadow: 0 20px 50px -18px rgba(210, 154, 160, 0.85);
}

.about-badge strong {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 600;
}

.about-badge span {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.25;
  margin-top: 0.2rem;
}

.check-list {
  list-style: none;
  margin: 1.6rem 0 2rem;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.96rem;
  color: var(--texto);
}

.check-list .ico {
  width: 1.55rem;
  height: 1.55rem;
  padding: 0.3rem;
  border-radius: 50%;
  background: rgba(183, 163, 219, 0.16);
  border: 1px solid rgba(183, 163, 219, 0.35);
  color: var(--champagne);
  stroke-width: 2;
}

/* ============ Testimonios (Carrusel Móvil / Grid Desktop) ============ */
.center-head {
  text-align: center;
  margin-inline: auto;
}

.center-desc {
  margin-inline: auto;
}

.testimonials-slider-wrap {
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding: 0.4rem 0 1rem;
  }
  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }
  .testimonial-card {
    flex: 0 0 86%;
    max-width: 330px;
    scroll-snap-align: center;
    padding: 1.5rem;
  }
  .testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.6rem;
  }
  .t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(251, 246, 240, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .t-dot.active {
    width: 22px;
    border-radius: 999px;
    background: var(--champagne);
  }
}

@media (min-width: 768px) {
  .testimonials-dots {
    display: none;
  }
}

.testimonial-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.55s var(--ease), border-color 0.4s, box-shadow 0.55s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--linea-fuerte);
  box-shadow: var(--sombra);
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: var(--oro);
}

.star-ico {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
  stroke: none;
}

.review-text {
  font-size: 0.94rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.72;
  color: var(--texto);
  margin-bottom: auto;
}

.review-author {
  border-top: 1px solid var(--linea);
  padding-top: 0.85rem;
}

.review-author strong {
  display: block;
  font-size: 0.94rem;
  color: var(--marfil);
  font-weight: 500;
}

.review-author span {
  display: block;
  font-size: 0.78rem;
  color: var(--champagne);
  margin-top: 0.15rem;
}

/* ============ Promo ============ */
.promo {
  padding: 0 0 clamp(2rem, 5vh, 3rem);
}

.promo-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 6px);
  padding: clamp(1.8rem, 5vw, 3.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--ciruela) 0%, #6d4a8f 42%, var(--rosa-polvo) 100%);
  box-shadow: var(--sombra);
  isolation: isolate;
}

.promo-glow {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  top: -220px;
  left: 30%;
  background: radial-gradient(circle, rgba(241, 220, 192, 0.5), transparent 65%);
  animation: drift 12s ease-in-out infinite alternate;
}

@keyframes drift {
  to { transform: translate(35%, 25%); }
}

.promo-card .eyebrow {
  color: var(--marfil);
}

.promo-card h3 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  margin: 0.55rem 0 0.45rem;
}

.promo-card p {
  color: rgba(251, 246, 240, 0.88);
  font-weight: 300;
  max-width: 46ch;
}

/* ============ FAQ (Preguntas Frecuentes) ============ */
.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 880px;
}

.faq-item {
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.4s, background 0.4s;
}

.faq-item:hover {
  border-color: var(--linea-fuerte);
}

.faq-q {
  list-style: none;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2.4vw, 1.15rem);
  color: var(--marfil);
  font-weight: 500;
  touch-action: manipulation;
  transition: color 0.3s;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q:hover {
  color: var(--champagne);
}

.faq-q .chevron {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--champagne);
  transition: transform 0.4s var(--ease);
  flex: none;
}

.faq-item[open] .faq-q .chevron {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 1.4rem 1.3rem;
  color: var(--texto-suave);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.72;
}

.faq-a strong {
  color: var(--champagne);
  font-weight: 500;
}

/* ============ Contacto & Formulario Móvil ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.contact-items {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  border-radius: var(--radius);
  padding: 0.95rem 1.15rem;
  text-decoration: none;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

a.contact-item:hover, a.contact-item:active {
  transform: translateX(4px);
  border-color: var(--linea-fuerte);
}

.contact-item .icon {
  width: 2.7rem;
  height: 2.7rem;
}

.contact-item .icon .ico {
  width: 1.15rem;
  height: 1.15rem;
}

.contact-item strong {
  display: block;
  font-weight: 500;
  color: var(--marfil);
  font-size: 0.95rem;
}

.contact-item span:not(.icon) {
  display: block;
  color: var(--texto-suave);
  font-size: 0.86rem;
  font-weight: 300;
}

.form {
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
}

.form h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.form-sub {
  color: var(--texto-tenue);
  font-size: 0.88rem;
  margin: 0.25rem 0 1.4rem;
}

.form-grid-2 {
  display: grid;
  gap: 0;
}

@media (min-width: 520px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
}

.form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 1rem;
}

/* 16px en inputs para evitar zoom en iOS */
.form input, .form select, .form textarea {
  font-family: inherit;
  font-size: 16px;
  min-height: 48px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--marfil);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--linea);
  background: rgba(255, 255, 255, 0.04);
  width: 100%;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1dcc0' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1rem;
  padding-right: 2.6rem;
}

.form option {
  color: var(--noche);
  background: var(--marfil);
}

.form input::placeholder, .form textarea::placeholder {
  color: var(--texto-tenue);
}

.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--lavanda);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(183, 163, 219, 0.15);
}

.form textarea {
  min-height: 84px;
}

.form .btn {
  margin-top: 0.3rem;
}

.form small {
  display: block;
  text-align: center;
  color: var(--texto-tenue);
  margin-top: 0.85rem;
  font-size: 0.78rem;
}

/* ============ Footer ============ */
.footer {
  position: relative;
  background: rgba(14, 8, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--linea);
  padding: 2.6rem 0;
  margin-top: clamp(2rem, 6vh, 4rem);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.footer-logo {
  height: 44px;
  width: auto;
}

.footer p {
  color: var(--texto-tenue);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer p span {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--champagne);
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--texto-suave);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--champagne);
}

@media (max-width: 767px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}

/* ============ WhatsApp Flotante (Desktop) ============ */
.whats-float {
  position: fixed;
  right: 1.25rem;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 16px 36px -12px rgba(37, 211, 102, 0.6);
  z-index: 50;
  transition: transform 0.4s var(--ease), opacity 0.4s;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}

.whats-float.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.whats-float .ico {
  width: 1.65rem;
  height: 1.65rem;
  stroke-width: 1.8;
}

.whats-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: pulse 2.6s ease-out infinite;
}

.whats-float.show:hover {
  transform: scale(1.08);
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Ocultar botón flotante solitario en móviles para dar paso al Mobile Dock */
@media (max-width: 859px) {
  .whats-float {
    display: none !important;
  }
}

/* ============ BARRA DE ACCIÓN RÁPIDA MÓVIL (MOBILE FIRST DOCK) ============ */
.mobile-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 65;
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(26, 16, 32, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-top: 1px solid var(--linea);
  box-shadow: 0 -8px 30px rgba(5, 2, 8, 0.7);
  transition: transform 0.4s var(--ease);
}

@media (min-width: 860px) {
  .mobile-dock {
    display: none;
  }
}

.dock-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 48px;
  padding: 0.45rem 0.3rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--marfil);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--linea);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  user-select: none;
  touch-action: manipulation;
  transition: transform 0.2s, background 0.2s;
}

.dock-btn:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.1);
}

.dock-btn .ico {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--champagne);
}

.dock-btn-main {
  flex-direction: row;
  gap: 0.45rem;
  background: var(--grad-oro);
  color: var(--ciruela-900);
  border-color: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 6px 18px -4px rgba(210, 154, 160, 0.75);
}

.dock-btn-main .ico {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--ciruela-900);
}

.dock-btn-main:active {
  transform: scale(0.96);
}

/* ============ Reveal Animations (100% nítido, sin desenfoque) ============ */
[data-hero] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.9s var(--reveal) var(--d, 0ms), transform 1s var(--reveal) var(--d, 0ms);
}

body.loaded [data-hero] {
  opacity: 1;
  transform: none;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.85s var(--reveal) var(--d, 0ms), transform 0.95s var(--reveal) var(--d, 0ms), clip-path 1.1s var(--reveal) var(--d, 0ms);
}

[data-reveal="clip"] {
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 20px, 0);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

[data-reveal="clip"].in {
  clip-path: inset(0 0 0 0);
}

/* =====================================================
   SCROLL NARRATIVO (.fx) — capítulos fijos y texto que
   se "lee" con el scroll. Sin .fx todo queda estático.
   ===================================================== */

/* ---- Titulares que se encienden palabra por palabra ---- */
.split-words .w {
  display: inline-block;
  white-space: pre;
  opacity: 0.12;
  transform: translateY(4px);
  transition: opacity 0.22s ease-out, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.split-words em {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: inherit;
  padding-right: 0;
}

.split-words em .w {
  font-style: italic;
  background: var(--grad-texto);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

/* ---- Estructura común de capítulo fijo ---- */
.fx .chapter {
  position: relative;
  padding: 0;
}

.fx .chapter-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.chapter-meter {
  display: none;
}

.fx .chapter-meter {
  display: block;
  position: absolute;
  left: 50%;
  bottom: clamp(1.4rem, 5vh, 2.6rem);
  width: min(180px, 40vw);
  height: 2px;
  transform: translateX(-50%);
  background: var(--linea);
  border-radius: 2px;
  overflow: hidden;
}

.fx .chapter-meter i {
  display: block;
  height: 100%;
  background: var(--grad-oro);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

@media (max-width: 859px) {
  .fx .chapter-meter {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

/* ---- Manifiesto ---- */
.manifesto {
  padding: clamp(3rem, 8vh, 5rem) 0;
  text-align: center;
}

.fx .manifesto {
  height: 220vh;
}

.manifesto-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.2rem, 3vh, 2rem);
}

.manifesto-inner::before {
  content: '';
  position: absolute;
  inset: -20% -10%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(26, 16, 32, 0.78), transparent);
  pointer-events: none;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5.4vw, 4.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--marfil);
  max-width: 20ch;
  text-wrap: balance;
}

.manifesto-text em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad-texto);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.manifesto-pillars {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0.8rem;
}

.manifesto-pillars li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--linea-fuerte);
  background: rgba(26, 16, 32, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--champagne);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.manifesto-pillars .ico {
  width: 1rem;
  height: 1rem;
}

.fx .m-eyebrow,
.fx .manifesto-pillars li {
  opacity: 0;
}

.fx .manifesto-inner {
  will-change: opacity, transform;
}

/* ---- Resultados: tarjetas que se apilan ---- */
.fx .showcase-grid {
  display: block;
}

.fx .showcase-card {
  --q: 0;
  position: sticky;
  top: calc(84px + var(--i, 0) * 14px);
  margin: 0 auto 10vh;
  max-width: 1000px;
  background: linear-gradient(160deg, #2d1e3d 0%, #1d1226 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform-origin: 50% 0;
  scale: calc(1 - var(--q) * 0.04);
  filter: brightness(calc(1 - var(--q) * 0.22));
  box-shadow: 0 -18px 50px -24px rgba(5, 2, 8, 0.85), var(--sombra-sm);
}

.fx .showcase-card:last-child {
  margin-bottom: 0;
}

@media (min-width: 760px) {
  .fx .showcase-card {
    flex-direction: row;
    min-height: min(420px, 68vh);
  }
  .fx .showcase-media {
    width: 46%;
    flex: none;
    aspect-ratio: auto;
  }
  .fx .showcase-body {
    padding: clamp(1.6rem, 3vw, 2.4rem);
    justify-content: center;
  }
  .fx .showcase-card h3 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
  }
}

@media (max-width: 759px) {
  .fx .showcase-media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 759px) and (max-height: 760px) {
  .fx .showcase-points {
    display: none;
  }
}

/* ---- Garantías: baraja (móvil) / vuelo lateral (escritorio) ---- */
.g-progress {
  display: none;
}

.fx .g-chapter {
  height: 260vh;
}

.fx .g-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 84px;
  padding-bottom: 1.6rem;
}

.fx .g-head {
  margin-bottom: clamp(1rem, 3vh, 1.8rem);
}

.fx .g-deck .guarantee-card {
  --p: 0;
  --d: 0;
  --dim: 0;
  --dir: 1;
  --o: 0;
  opacity: var(--o);
  will-change: translate, rotate, scale, opacity;
}

.fx .g-progress {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(1rem, 3vh, 1.8rem);
  color: var(--texto-tenue);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.fx .g-count b {
  color: var(--champagne);
  font-weight: 500;
}

.fx .g-bar {
  flex: 1;
  max-width: 220px;
  height: 2px;
  background: var(--linea);
  border-radius: 2px;
  overflow: hidden;
}

.fx .g-bar i {
  display: block;
  height: 100%;
  background: var(--grad-oro);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

@media (max-width: 1019px) {
  .fx .g-deck {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    max-width: 520px;
    padding-top: 46px;
  }
  .fx .g-deck .guarantee-card {
    grid-area: 1 / 1;
    background: linear-gradient(160deg, #33224a 0%, #1e1328 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 -10px 40px -18px rgba(5, 2, 8, 0.9), var(--sombra-sm);
    transform-origin: 50% 0;
    translate: 0 calc((1 - var(--p)) * 85vh - var(--d) * 15px);
    rotate: calc((1 - var(--p)) * 8deg * var(--dir));
    scale: calc(1 - var(--d) * 0.05);
    filter: brightness(calc(1 - var(--dim) * 0.45));
  }
}

@media (max-width: 1019px) and (max-height: 780px) {
  .fx .g-head .sec-desc {
    display: none;
  }
}

@media (max-width: 859px) {
  .fx .g-inner {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 1020px) {
  .fx .g-chapter {
    height: 240vh;
  }
  .fx .g-deck .guarantee-card {
    translate: calc((1 - var(--p)) * 60vw) calc((1 - var(--p)) * 28vh);
    rotate: calc((1 - var(--p)) * 14deg);
  }
}

/* ---- Nosotros: la foto se "abre" con el scroll ---- */
.fx .about-photo-frame {
  --c: 1;
  clip-path: inset(calc(var(--c) * 14%) calc(var(--c) * 10%) round var(--radius-xl));
}

.fx .about-photo {
  scale: calc(1 + var(--c) * 0.22);
}

/* ---- Índice lateral de capítulos ---- */
.chapter-nav {
  display: none;
}

@media (min-width: 1100px) {
  .fx .chapter-nav {
    position: fixed;
    z-index: 40;
    left: 1.4rem;
    top: 50%;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transform: translate3d(-12px, -50%, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s var(--reveal), transform 0.8s var(--reveal);
  }
  .fx .chapter-nav.show {
    opacity: 1;
    transform: translate3d(0, -50%, 0);
    pointer-events: auto;
  }
  .chapter-nav a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.3rem 0;
    color: var(--texto-tenue);
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  .chapter-nav i {
    width: 6px;
    height: 6px;
    flex: none;
    border: 1px solid var(--linea-fuerte);
    transition: width 0.5s var(--ease), background 0.4s, border-color 0.4s;
  }
  .chapter-nav span {
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.35s, transform 0.45s var(--reveal);
    background: rgba(26, 16, 32, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
  }
  .chapter-nav a:hover span,
  .chapter-nav a:focus-visible span {
    opacity: 1;
    transform: none;
    color: var(--marfil);
  }
  .chapter-nav a.active i {
    width: 22px;
    background: var(--champagne);
    border-color: var(--champagne);
  }
}

/* Accesibilidad y Reducción de Movimiento */
@media (prefers-reduced-motion: reduce) {
  [data-hero], [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  .split-words .w,
  .m-eyebrow,
  .manifesto-pillars li,
  .g-deck .guarantee-card {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    scale: 1 !important;
    rotate: 0deg !important;
    translate: 0 0 !important;
    transition: none !important;
  }
  .scroll-hint .ico, .whats-float::before, .badge i, .promo-glow {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
  .splash {
    display: none;
  }
}

/* =====================================================
   WOW PACK — micro-interacciones de lujo
   (cursor, spotlight, tilt 3D, shimmer, polvo dorado)
   ===================================================== */

/* ---- Cursor personalizado desactivado: nunca oculta el cursor real ---- */
.cursor-dot, .cursor-ring {
  display: none !important;
}

/* html.has-cursor desactivado para accesibilidad */

.cursor-dot {
  display: none !important;
}

.cursor-ring {
  display: none !important;
}

/* ---- Spotlight + borde luminoso que siguen al puntero ---- */
.svc, .lz, .guarantee-card, .contact-item, .testimonial-card {
  position: relative;
  --mx: 50%;
  --my: 50%;
}

.svc::before, .lz::before, .guarantee-card::before, .contact-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(241, 220, 192, 0.13), transparent 65%);
  transition: opacity 0.5s;
}

.svc > *, .lz > *, .guarantee-card > *, .contact-item > * { position: relative; z-index: 1; }

.svc::after, .lz::after, .guarantee-card::after, .contact-item::after, .testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(241, 220, 192, 0.95), rgba(231, 191, 192, 0.35) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  transition: opacity 0.5s;
}

@media (hover: hover) and (pointer: fine) {
  .svc:hover::before, .lz:hover::before, .guarantee-card:hover::before, .contact-item:hover::before,
  .svc:hover::after, .lz:hover::after, .guarantee-card:hover::after, .contact-item:hover::after, .testimonial-card:hover::after {
    opacity: 1;
  }

  /* ---- Tilt 3D ---- */
  .svc-grid, .testimonials-grid { perspective: 1200px; }
}

.svc, .testimonial-card {
  transition: transform 0.55s var(--ease), border-color 0.4s, box-shadow 0.55s var(--ease), opacity 0.4s ease, rotate 0.35s var(--reveal);
}

/* ---- Botones magnéticos ---- */
.btn {
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.4s, color 0.4s, border-color 0.4s, translate 0.45s var(--reveal);
}

/* ---- Brillo líquido en la palabra clave del titular ---- */
.scene-1 h1 em {
  background: linear-gradient(100deg, var(--champagne) 0%, var(--rosa) 25%, var(--lavanda) 50%, var(--rosa) 75%, var(--champagne) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmerText 7s linear infinite;
}

@keyframes shimmerText {
  to { background-position: -220% 0; }
}

/* ---- Halo respirando en el CTA principal del hero ---- */
@media (hover: hover) and (pointer: fine) {
  .hero-actions .btn-primary { animation: ctaHalo 3.2s ease-in-out infinite; }
}

@keyframes ctaHalo {
  0%, 100% { box-shadow: 0 14px 34px -14px rgba(210, 154, 160, 0.65), 0 0 0 0 rgba(241, 220, 192, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
  50% { box-shadow: 0 18px 44px -12px rgba(210, 154, 160, 0.85), 0 0 0 12px rgba(241, 220, 192, 0), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
}

/* ---- Anillo de texto giratorio en la insignia "25+" ---- */
.badge-ring {
  position: absolute;
  inset: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  overflow: visible;
  pointer-events: none;
  animation: spinRing 30s linear infinite;
}

.badge-ring text {
  font-family: var(--font-body);
  font-size: 6.4px;
  font-weight: 500;
  text-transform: uppercase;
  fill: var(--champagne);
}

@keyframes spinRing { to { transform: rotate(360deg); } }

/* ---- Polvo dorado (canvas dentro del fondo fijo) ---- */
.page-bg canvas.sparkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
  pointer-events: none;
}

/* ---- Fotos de resultados: parallax interno ---- */
.showcase-media { --py: 0px; }

.showcase-media img {
  scale: 1.14;
  translate: 0 var(--py);
}

/* ---- Testimonios: comilla decorativa ---- */
.testimonial-card { overflow: hidden; }

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.15em;
  right: 0.8rem;
  font-family: var(--font-display);
  font-size: 7.5rem;
  line-height: 1;
  pointer-events: none;
  background: var(--grad-texto);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.16;
}

/* ---- FAQ: la respuesta se despliega con elegancia ---- */
.faq-item[open] .faq-a { animation: faqIn 0.55s var(--reveal); }

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.faq-item[open] {
  border-color: var(--linea-fuerte);
  background: linear-gradient(160deg, rgba(78, 51, 128, 0.45) 0%, rgba(26, 16, 32, 0.75) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .scene-1 h1 em, .hero-actions .btn-primary, .badge-ring, .faq-item[open] .faq-a { animation: none; }
  .showcase-media img { scale: 1; translate: none; }
}

/* ---- Ajustes móvil del WOW PACK ---- */
@media (max-width: 767px) {
  /* Sin lavanda en el brillo: sobre la foto pierde contraste y se ve "fantasma" */
  .scene-1 h1 em {
    background: linear-gradient(100deg, var(--champagne) 0%, #f4c9c6 50%, var(--champagne) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
  }
  /* Texto del hero siempre legible sobre el rostro */
  .scene-1 .badge, .scene-1 h1 span, .scene-1 .lead {
    text-shadow: 0 2px 14px rgba(10, 5, 14, 0.85), 0 0 2px rgba(10, 5, 14, 0.6);
  }
  .scene-1 h1 span, .scene-1 .lead { color: rgba(251, 246, 240, 0.9); }
}

/* ---- Legibilidad del hero en móvil: scrim oscuro degradado tras el texto ---- */
@media (max-width: 767px) {
  .scene-1::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 10%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(to bottom,
      rgba(20, 11, 26, 0) 0%,
      rgba(20, 11, 26, 0.55) 16%,
      rgba(20, 11, 26, 0.8) 36%,
      rgba(20, 11, 26, 0.92) 60%,
      rgba(20, 11, 26, 0.97) 100%);
  }
  .scene-1 h1 { text-shadow: 0 2px 18px rgba(10, 5, 14, 0.9); }
  .scene-1 .lead, .scene-1 h1 span { font-weight: 400; }
  .scene-1 .badge { color: var(--marfil); }
}

/* =====================================================
   HERO MÓVIL — composición más limpia y con más impacto
   - Titular más grande (una sola línea)
   - CTA principal protagonista; "Ver servicios" como enlace
   - Indicador de scroll visible por encima del dock inferior
   ===================================================== */
@media (max-width: 767px) {
  .scene-1 {
    padding-top: 4.5rem;
    padding-bottom: calc(9rem + env(safe-area-inset-bottom));
  }

  .scene-1 .badge {
    font-size: 0.66rem;
    letter-spacing: 0.17em;
    gap: 0.5rem;
  }

  .scene-1 h1 {
    font-size: clamp(2.6rem, 11.4vw, 3.5rem);
    line-height: 1.02;
    margin: 0.7rem 0 0.8rem;
  }

  .scene-1 h1 span {
    font-size: clamp(1rem, 4.4vw, 1.2rem);
    margin-top: 0.55rem;
  }

  .scene-1 .lead {
    font-size: 0.93rem;
    line-height: 1.55;
    margin-bottom: 1.15rem;
    max-width: 30rem;
  }

  .hero-actions { gap: 0.2rem; }

  .hero-actions .btn-primary {
    min-height: 54px;
    font-size: 1rem;
    box-shadow: 0 16px 36px -14px rgba(210, 154, 160, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  }

  /* Secundario: enlace elegante en lugar de un segundo botón grande */
  .hero-actions .btn-ghost {
    min-height: 42px;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--champagne);
    font-size: 0.9rem;
    text-decoration: underline;
    text-decoration-color: rgba(241, 220, 192, 0.45);
    text-underline-offset: 6px;
  }

  /* Pie del hero: ahora flota justo encima del dock, no detrás */
  .hero-foot {
    bottom: calc(78px + env(safe-area-inset-bottom));
    padding-bottom: 0.2rem;
    gap: 0.35rem;
  }

  .scroll-hint { font-size: 0.62rem; letter-spacing: 0.3em; }
  .video-scrub { display: none; }
}

/* Pantallas bajitas: priorizar titular y botones */
@media (max-width: 767px) and (max-height: 700px) {
  .scene-1 .lead { display: none; }
  .scene-1 h1 { margin-bottom: 0.9rem; }
}


/* ============ Servicios con foto y duración ============ */
.svc-media {
  position: relative;
  margin: -1.6rem -1.6rem 1.2rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}

.svc:hover .svc-media img {
  transform: scale(1.05);
}

.svc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 10, 36, 0.45) 0%, rgba(20, 10, 36, 0) 40%, rgba(20, 10, 36, 0.35) 100%);
  pointer-events: none;
}

.svc-media .idx,
.svc-media .icon {
  position: absolute;
  z-index: 2;
  top: 0.9rem;
}

.svc-media .idx {
  left: 1.1rem;
  color: var(--marfil);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.svc-media .icon {
  right: 1.1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.svc-dur {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin-bottom: 0.7rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--champagne);
  border: 1px solid var(--linea);
  background: rgba(183, 163, 219, 0.1);
}

.svc-dur .ico {
  width: 0.9rem;
  height: 0.9rem;
}

/* ============ Mapa embebido (tema oscuro) ============ */
.map-embed {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1020;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  /* Invierte el mapa claro de Google a modo oscuro y lo tiñe hacia la paleta ciruela */
  filter: invert(92%) hue-rotate(180deg) saturate(0.55) contrast(0.92) brightness(0.95);
}

/* Velo ciruela sobre el mapa para integrarlo con la página (no bloquea el arrastre) */
.map-embed::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 340px;
  background: rgba(78, 51, 128, 0.28);
  mix-blend-mode: color;
  pointer-events: none;
  z-index: 1;
}

.map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--champagne);
  border-top: 1px solid var(--linea);
  transition: color 0.3s, background 0.3s;
}

.map-link .ico {
  width: 1rem;
  height: 1rem;
}

.map-link:hover {
  color: var(--marfil);
  background: rgba(183, 163, 219, 0.1);
}

@media (max-width: 767px) {
  .map-embed iframe { height: 280px; }
  .map-embed::before { height: 280px; }
}

/* ============ Giroscopio en móvil: tilt 3D, luz y paralaje de foto ============ */
/* .gyro-ready la pone el JS en <html> solo cuando el sensor realmente envía datos */
.gyro-ready .svc-grid, .gyro-ready .testimonials-grid { perspective: 1800px; }

.gyro-ready .svc, .gyro-ready .testimonial-card { will-change: rotate; }

/* El suavizado ya lo hace el JS por frame; la transición corta solo evita saltos */
.gyro-ready .svc.gyro-on, .gyro-ready .testimonial-card.gyro-on {
  transition: transform 0.55s var(--ease), border-color 0.4s, box-shadow 0.55s var(--ease), opacity 0.4s ease, rotate 0.1s linear;
}

/* Brillo y borde luminoso siguen la inclinación */
.gyro-ready .svc.gyro-on::before { opacity: 0.35; }
.gyro-ready .svc.gyro-on::after, .gyro-ready .testimonial-card.gyro-on::after { opacity: 0.4; }

/* La foto se desplaza en sentido contrario a la inclinación (profundidad) */
.gyro-ready .svc.gyro-on .svc-media img {
  scale: 1.08;
  translate: var(--gx, 0px) var(--gy, 0px);
  transition: translate 0.1s linear;
}
