/* ═══════════════════════════════════════════════════════════════
   PSICOLOGÍA HUMANIZADA — style.css
   Fraunces + DM Sans · Modo claro / oscuro
═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   1. DESIGN TOKENS — CSS Variables
───────────────────────────────────────── */
:root {
  /* Dark mode (default) */
  --bg:           #09090F;
  --bg-subtle:    #0F0F1A;
  --bg-surface:   #13131F;
  --bg-elevated:  #1A1A2A;
  --border:       rgba(255,255,255,0.07);
  --border-soft:  rgba(255,255,255,0.04);

  --text:         #EDE8E0;
  --text-muted:   #7A7590;
  --text-soft:    #B0A8C0;

  --accent:       #9B7FD4;       /* violeta neural */
  --accent-glow:  rgba(155,127,212,0.25);
  --accent-light: #C4A8FF;
  --gold:         #C9A84C;
  --gold-soft:    rgba(201,168,76,0.15);

  --light-on:     #FFE566;       /* lucecita encendida */
  --light-glow:   rgba(255,229,102,0.5);

  /* Cálido — para doodles y detalles humanos */
  --warm:         #E8998D;
  --warm-soft:    rgba(232,153,141,0.16);
  --warm-line:    rgba(232,153,141,0.55);

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;
  --space-2xl: 12rem;

  /* Layout */
  --container: 1280px;
  --nav-h:     72px;
  --radius:    12px;
  --radius-lg: 24px;

  /* Transitions */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --t-fast:    0.2s;
  --t-med:     0.4s;
  --t-slow:    0.8s;
}

[data-theme="light"] {
  --bg:           #FAF8F5;
  --bg-subtle:    #F3EFE8;
  --bg-surface:   #EDEAE2;
  --bg-elevated:  #E5E0D6;
  --border:       rgba(0,0,0,0.08);
  --border-soft:  rgba(0,0,0,0.04);

  --text:         #1A1620;
  --text-muted:   #7A7080;
  --text-soft:    #4A4560;

  --accent:       #7B5EA7;
  --accent-glow:  rgba(123,94,167,0.15);
  --accent-light: #9B7FD4;
  --gold:         #8B6B2E;
  --gold-soft:    rgba(139,107,46,0.1);

  --light-on:     #888;          /* lucecita apagada en light */
  --light-glow:   transparent;

  --warm:         #D97D6F;
  --warm-soft:    rgba(217,125,111,0.10);
  --warm-line:    rgba(217,125,111,0.5);
}

/* ─────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--t-slow) var(--ease), color var(--t-slow) var(--ease);
}

body.is-loading {
  overflow: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

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

::selection {
  background: var(--accent);
  color: #fff;
}

/* ─────────────────────────────────────────
   4. LOADER
───────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.loader-brain {
  width: 64px;
  color: var(--accent);
  animation: loader-pulse 2s ease-in-out infinite;
}

.loader-brain .brain-light {
  fill: var(--light-on);
  filter: drop-shadow(0 0 6px var(--light-glow));
  animation: light-blink 1.2s ease-in-out infinite;
}

@keyframes loader-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.05); opacity: 0.8; }
}

@keyframes light-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.loader-progress {
  width: 160px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--accent-glow);
}

.loader-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────
   5. TIPOGRAFÍA — Sistema editorial
───────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-light);
}

/* ─────────────────────────────────────────
   6. LAYOUT
───────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
}

.section-counter {
  position: absolute;
  bottom: var(--space-lg);
  right: clamp(1.5rem, 5vw, 5rem);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--border);
  font-weight: 300;
}

/* ─────────────────────────────────────────
   7. BOTONES
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.8em;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.btn:hover::after { opacity: 1; }

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--t-med) var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 0 50px var(--accent-glow);
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text-soft);
  backdrop-filter: blur(8px);
}

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

.btn--large {
  padding: 1.1em 2.4em;
  font-size: 1rem;
}

/* ─────────────────────────────────────────
   8. NAVEGACIÓN
───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background var(--t-med) var(--ease), backdrop-filter var(--t-med), box-shadow var(--t-med);
}

.site-header.is-scrolled {
  background: rgba(9,9,15,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
}

[data-theme="light"] .site-header.is-scrolled {
  background: rgba(250,248,245,0.85);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 3.5rem);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-brain-svg {
  width: 100%;
  height: 100%;
  color: var(--text);
  transition: color var(--t-med);
}

/* Lucecita del logo — dark mode ON */
.brain-light-glow {
  fill: var(--light-on);
  filter: drop-shadow(0 0 4px var(--light-glow));
  transition: fill 0.6s var(--ease), filter 0.6s var(--ease);
  animation: brain-glow-pulse 2.5s ease-in-out infinite;
}

.brain-light-core {
  fill: white;
  transition: opacity 0.6s var(--ease);
}

.light-rays {
  color: var(--light-on);
  opacity: 1;
  transition: opacity 0.6s var(--ease);
  animation: rays-pulse 2.5s ease-in-out infinite;
}

/* Light mode — lucecita apagada */
[data-theme="light"] .brain-light-glow {
  fill: var(--border);
  filter: none;
  animation: none;
}

[data-theme="light"] .brain-light-core {
  opacity: 0.3;
}

[data-theme="light"] .light-rays {
  opacity: 0;
}

@keyframes brain-glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 4px var(--light-glow)) drop-shadow(0 0 10px var(--light-glow));
    opacity: 1;
  }
  50% {
    filter: drop-shadow(0 0 8px var(--light-glow)) drop-shadow(0 0 20px rgba(255,229,102,0.7));
    opacity: 0.85;
  }
}

@keyframes rays-pulse {
  0%, 100% { opacity: 0.9; }
  50%       { opacity: 0.4; }
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-primary {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
}

.logo-secondary {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-soft);
  padding: 0.4em 0.9em;
  border-radius: 100px;
  transition: color var(--t-fast), background var(--t-fast);
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--text);
  background: var(--border-soft);
}

.nav-link--cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.5em 1.2em;
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav-link--cta:hover {
  box-shadow: 0 0 35px var(--accent-glow);
  transform: translateY(-1px);
}

/* Controles nav */
.nav-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Toggle dark/light */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem;
  border-radius: 100px;
  transition: background var(--t-fast);
}

.theme-toggle:hover {
  background: var(--border-soft);
}

.toggle-track {
  width: 40px;
  height: 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  position: relative;
  display: flex;
  align-items: center;
  transition: background var(--t-med) var(--ease);
}

[data-theme="light"] .toggle-track {
  background: var(--accent);
  border-color: transparent;
}

.toggle-thumb {
  width: 16px;
  height: 16px;
  background: var(--text-muted);
  border-radius: 50%;
  position: absolute;
  left: 2px;
  transition: transform var(--t-med) var(--ease), background var(--t-med);
}

[data-theme="light"] .toggle-thumb {
  transform: translateX(18px);
  background: white;
}

.toggle-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-width: 48px;
  transition: color var(--t-fast);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background var(--t-fast);
  position: relative;
  z-index: 101; /* encima del nav-mobile */
}

.nav-hamburger:hover { background: var(--border-soft); }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med);
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
  z-index: 99;
}

.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.nav-mobile-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 300;
  color: var(--text-muted);
  transition: color var(--t-fast), transform var(--t-fast);
  letter-spacing: -0.01em;
}

.nav-mobile-link:hover {
  color: var(--text);
  transform: translateX(8px);
}

.nav-mobile-link--cta {
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  color: var(--accent-light) !important;
}

/* ─────────────────────────────────────────
   9. HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-spline {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Fondo cálido, sutil — visible solo el instante antes de que cargue el 3D */
  background:
    radial-gradient(60% 50% at 78% 30%, rgba(139,127,231,0.14), transparent 70%),
    radial-gradient(45% 40% at 15% 75%, rgba(212,175,120,0.10), transparent 70%);
}

.hero-spline iframe {
  pointer-events: none;
  will-change: auto;
  /* la escena 3D no siempre cubre el 100% del ancho en pantallas angostas
     (deja un filo del fondo propio del embed) — se agranda un poco y se
     recorta con el overflow:hidden del .hero para que no se note */
  transform: scale(1.18);
  transform-origin: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 70% at 60% 50%, transparent 0%, var(--bg) 75%),
    linear-gradient(to right, var(--bg) 0%, transparent 50%);
  pointer-events: none;
}

[data-theme="light"] .hero-overlay {
  background:
    radial-gradient(ellipse 70% 70% at 60% 50%, transparent 0%, var(--bg) 80%),
    linear-gradient(to right, var(--bg) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  max-width: 720px;
  padding-top: var(--nav-h);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(16px);
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 1em;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-soft);
}

.eyebrow-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--accent);
}

.eyebrow-badge--warm {
  border-color: var(--warm-line);
  color: var(--text);
}

.eyebrow-badge--warm svg {
  color: var(--warm);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.headline-line {
  display: block;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px);
}

.headline-italic {
  font-style: italic;
  color: var(--accent-light);
}

.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.5rem, 5vw, 5rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}

@keyframes scroll-drop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-scroll-hint span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

/* Contador sección */
.hero-counter {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.5rem, 5vw, 5rem);
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--border);
  opacity: 0;
}

/* ─────────────────────────────────────────
   10. SOBRE MÍ
───────────────────────────────────────── */
.sobre-mi {
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.sobre-mi-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

/* Foto */
.sobre-mi-visual {
  position: relative;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  max-width: 400px;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0.5;
}

.placeholder-inner svg {
  width: 80px;
  height: auto;
}

.placeholder-inner p {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.photo-accent-line {
  position: absolute;
  left: -1.5rem;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

/* Credencial flotante */
.sobre-credential {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.credential-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--accent-light);
  line-height: 1;
}

.credential-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Texto */
.sobre-paragraphs p {
  color: var(--text-soft);
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
  line-height: 1.75;
}

.sobre-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: var(--space-md) 0;
}

.badge {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.4em 1em;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-soft);
  background: var(--bg-surface);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}

.badge:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-glow);
}

.sobre-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  padding-bottom: 0.2em;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast), border-color var(--t-fast), gap var(--t-fast);
}

.sobre-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t-med) var(--ease);
}

.sobre-cta:hover {
  color: var(--accent-light);
  border-color: var(--accent);
  gap: 0.9rem;
}

.sobre-cta:hover svg {
  transform: translateX(4px);
}

/* ─────────────────────────────────────────
   11. SERVICIOS — Fullwidth rows
───────────────────────────────────────── */
.servicios {
  padding: var(--space-xl) 0;
  position: relative;
}

.servicios-header {
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  margin-bottom: var(--space-lg);
}

.servicios-rows {
  display: flex;
  flex-direction: column;
}

.servicio-row {
  position: relative;
  border-top: 1px solid var(--border);
  overflow: hidden;
  transition: background var(--t-med) var(--ease);
  cursor: default;
}

.servicio-row:last-child {
  border-bottom: 1px solid var(--border);
}

.servicio-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-glow);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  pointer-events: none;
}

.servicio-row:hover::before {
  opacity: 1;
}

.servicio-row-inner {
  display: grid;
  grid-template-columns: 80px 1fr auto auto 60px;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 5vw, 5rem);
  position: relative;
  z-index: 1;
  transition: transform var(--t-med) var(--ease);
}

.servicio-row:hover .servicio-row-inner {
  transform: translateX(8px);
}

.servicio-index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 300;
  opacity: 0.5;
}

.servicio-content {
  flex: 1;
}

.servicio-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  transition: color var(--t-fast);
}

.servicio-row:hover .servicio-title {
  color: var(--accent-light);
}

.servicio-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 380px;
}

.servicio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
  max-width: 240px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.3em 0.85em;
  border-radius: 100px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  transition: all var(--t-fast);
}

.servicio-row:hover .tag {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-glow);
}

.servicio-cta {
  display: flex;
  align-items: center;
  justify-content: center;
}

.servicio-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--t-med) var(--ease);
}

.servicio-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--t-med) var(--ease);
}

.servicio-row:hover .servicio-link {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 0 20px var(--accent-glow);
}

.servicio-row:hover .servicio-link svg {
  transform: translateX(2px) translateY(-2px);
}

/* Ilustración hover */
.servicio-visual {
  position: absolute;
  right: clamp(80px, 12vw, 160px);
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  width: 160px;
  height: 160px;
  opacity: 0;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  pointer-events: none;
  z-index: 0;
}

.servicio-illustration {
  width: 100%;
  height: 100%;
  color: var(--accent);
}

.servicio-row:hover .servicio-visual {
  opacity: 0.3;
  transform: translateY(-50%) scale(1);
}

.servicio-row--alt {
  background: var(--bg-subtle);
}

/* ─────────────────────────────────────────
   12. PROCESO
───────────────────────────────────────── */
.proceso {
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.proceso-header {
  margin-bottom: var(--space-xl);
}

.proceso-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.proceso-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-md);
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  transition: all var(--t-med) var(--ease);
  position: relative;
  z-index: 1;
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

.proceso-step:hover .step-icon {
  background: var(--accent-glow);
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: scale(1.05);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Conector */
.proceso-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  align-self: center;
  margin-top: -3.5rem;
  flex-shrink: 0;
  opacity: 0.3;
}

/* ─────────────────────────────────────────
   13. TESTIMONIOS
───────────────────────────────────────── */
.testimonios {
  padding: var(--space-xl) 0;
  position: relative;
}

.testimonios-header {
  margin-bottom: var(--space-lg);
}

/* El wrapper NO tiene overflow — solo posición */
.testimonios-wrapper {
  position: relative;
  width: 100%;
}

/* El clip SÍ tiene overflow hidden */
.testimonios-track-clip {
  width: 100%;
  overflow: hidden;
}

/* El track se mueve con transform via JS */
.testimonios-track {
  display: flex;
  gap: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Cada card ocupa exactamente el ancho del clip */
.testimonio {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  /* SIN opacity/transform — no queremos GSAP aquí */
}

.testimonio::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.12;
  position: absolute;
  top: 1rem;
  left: 2rem;
  pointer-events: none;
}

.testimonio-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.testimonio-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonio-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-light);
  flex-shrink: 0;
}

.testimonio-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  font-style: normal;
  display: block;
}

.testimonio-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.15rem;
}

/* Controles */
.testimonios-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.testimonios-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--t-fast);
}

.testimonios-btn svg {
  width: 18px;
  height: 18px;
}

.testimonios-btn:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-glow);
}

.testimonios-progress-wrap {
  flex: 1;
  max-width: 200px;
}

.testimonios-progress-track {
  height: 1px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.testimonios-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s var(--ease);
  box-shadow: 0 0 6px var(--accent-glow);
}

/* ─────────────────────────────────────────
   14. CTA BAND
───────────────────────────────────────── */
.cta-band {
  padding: var(--space-xl) 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-band-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.cta-band-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cta-band-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.cta-band-headline em {
  font-style: italic;
  color: var(--accent-light);
}

.cta-band-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────
   15. CONTACTO
───────────────────────────────────────── */
.contacto {
  padding: var(--space-xl) 0;
  position: relative;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.contacto-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contacto-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contacto-icon svg {
  width: 18px;
  height: 18px;
}

.contacto-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.15rem;
}

.contacto-value {
  font-size: 0.975rem;
  color: var(--text);
  transition: color var(--t-fast);
}

a.contacto-value:hover {
  color: var(--accent-light);
}

/* WhatsApp CTA */
.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--t-med) var(--ease);
  margin-top: var(--space-md);
}

.whatsapp-cta:hover {
  border-color: #25D366;
  background: rgba(37,211,102,0.05);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.1);
}

.whatsapp-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: #25D366;
}

.whatsapp-cta-title {
  display: block;
  font-weight: 500;
  font-size: 0.975rem;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.whatsapp-cta-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.whatsapp-cta .btn-arrow {
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform var(--t-med) var(--ease), color var(--t-fast);
}

.whatsapp-cta:hover .btn-arrow {
  transform: translateX(4px);
  color: #25D366;
}

/* Contacto visual card */
.contacto-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.contacto-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 500;
}

.contacto-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 8px rgba(37,211,102,0.5);
  animation: dot-pulse 2s ease-in-out infinite;
}

.contacto-map-placeholder {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
}

.contacto-map-placeholder svg {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.map-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contacto-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────
   16. FOOTER REVEAL
───────────────────────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.footer-reveal-wrap {
  overflow: hidden;
  padding: var(--space-lg) clamp(1.5rem, 5vw, 5rem) 0;
  pointer-events: none;
  user-select: none;
}

.footer-reveal-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 0.88;
}

.footer-reveal-text span {
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 18rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--border);
  transform: translateY(100%);
  display: block;
  transition: color var(--t-slow) var(--ease);
}

[data-theme="light"] .footer-reveal-text span {
  color: rgba(0,0,0,0.05);
}

.footer-content {
  position: relative;
  z-index: 1;
  padding: var(--space-lg) clamp(1.5rem, 5vw, 5rem) var(--space-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-soft);
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--t-fast);
}

.footer-social a img {
  width: 16px;
  height: 16px;
  opacity: 0.6;
  transition: opacity var(--t-fast);
  /* En light mode invertir para que se vea oscuro */
}

[data-theme="light"] .footer-social a img {
  filter: invert(1);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.footer-social a:hover img {
  opacity: 1;
}

.footer-nav-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-list a, .footer-nav-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--t-fast), transform var(--t-fast);
  display: block;
}

.footer-nav-list a:hover {
  color: var(--text);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer-bottom a {
  color: var(--accent-light);
  transition: color var(--t-fast);
}

.footer-bottom a:hover {
  color: var(--text);
}

/* ─────────────────────────────────────────
   17. GSAP — Estado inicial de reveals
───────────────────────────────────────── */
[data-gsap-reveal],
[data-gsap-service],
[data-gsap-step] {
  opacity: 0;
  transform: translateY(40px);
}

/* Testimonios NO usan opacity 0 — el GSAP global los taparía */
.testimonio {
  opacity: 1 !important;
  transform: none !important;
  box-sizing: border-box !important;
  min-width: 100% !important;
  flex: 0 0 100% !important;
}

.nav-hamburger {
  position: relative;
  z-index: 101;
}

/* ─────────────────────────────────────────
   18. RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .sobre-mi-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-lg);
  }

  .servicio-row-inner {
    grid-template-columns: 60px 1fr auto 50px;
  }

  .servicio-tags {
    display: none;
  }

  .proceso-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
  }

  .proceso-connector {
    display: none;
  }

  .proceso-step {
    flex: 0 0 calc(50% - var(--space-sm));
  }

  .contacto-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --space-xl: 5rem;
  }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .toggle-label { display: none; }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-scroll-hint,
  .hero-counter {
    display: none;
  }

  /* ── Sobre mí ── */
  .sobre-mi-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .sobre-mi-visual {
    max-width: 280px;
    margin: 0 auto;
  }

  .photo-frame {
    max-width: 100%;
    aspect-ratio: 3/4;
    min-height: 320px;
  }

  .photo-placeholder {
    min-height: 320px;
  }

  .sobre-credential {
    right: 0;
    bottom: -1rem;
  }

  /* ── Servicios — simplificar a 1 col limpia ── */
  .servicio-row-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem clamp(1rem, 4vw, 2rem);
  }

  .servicio-index { display: none; }
  .servicio-tags  { display: none; }
  .servicio-visual { display: none; }

  .servicio-title {
    font-size: 1.4rem;
  }

  .servicio-desc {
    display: block; /* mostrar en móvil, más info */
    font-size: 0.85rem;
    max-width: 100%;
  }

  .servicio-cta {
    align-self: flex-end;
  }

  /* ── Proceso ── */
  .proceso-step {
    flex: 0 0 100%;
  }

  /* ── Testimonios ── */
  .testimonios-track {
    gap: 0;
  }

  .testimonio {
    padding: 1.5rem;
  }

  .testimonio-text {
    font-size: 1rem;
  }

  /* ── Footer ── */
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-overlay {
    background: linear-gradient(to bottom, transparent 40%, var(--bg) 85%),
                linear-gradient(to right, var(--bg) 0%, transparent 80%);
  }

  .btn--large {
    padding: 0.9em 1.8em;
    font-size: 0.9rem;
  }

  .footer-reveal-text span {
    font-size: clamp(4rem, 20vw, 8rem);
  }
}

/* Mapa embed */
.contacto-map-embed {
  overflow: hidden;
  line-height: 0;
}

.contacto-map-embed iframe {
  filter: grayscale(30%) contrast(1.05);
  transition: filter var(--t-med);
}

[data-theme="dark"] .contacto-map-embed iframe {
  filter: grayscale(60%) invert(90%) hue-rotate(180deg) contrast(0.85) brightness(0.85);
}

.contacto-map-embed:hover iframe {
  filter: none;
}

.contacto-map-placeholder { display: none; }
.map-label { display: none; }
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

/* ─────────────────────────────────────────
   20. REDUCED MOTION
───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-line { animation: none; }
  .brain-light-glow { animation: none; }
  .light-rays { animation: none; }
}

/* ═══════════════════════════════════════════
   PHOTO SLIDER + LIGHTBOX
═══════════════════════════════════════════ */

/* ── Slider ── */
.photo-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  max-width: 400px;
  cursor: pointer;
}

.photo-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

.photo-slide .photo-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  display: block;
}

.photo-slider:hover .photo-slide .photo-real {
  transform: scale(1.03);
}

/* Flechas del slider */
.photo-prev,
.photo-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
  opacity: 0;
  transition: opacity var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.photo-prev { left: 0.75rem; }
.photo-next { right: 0.75rem; }

.photo-prev svg,
.photo-next svg { width: 18px; height: 18px; }

.photo-slider:hover .photo-prev,
.photo-slider:hover .photo-next {
  opacity: 1;
}

.photo-prev:hover { background: var(--accent); transform: translateY(-50%) scale(1.1); }
.photo-next:hover { background: var(--accent); transform: translateY(-50%) scale(1.1); }

/* Hint ampliar */
.photo-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.8);
  opacity: 0;
  transition: opacity var(--t-fast);
  pointer-events: none;
  z-index: 2;
}

.photo-hint svg { width: 12px; height: 12px; }

.photo-slider:hover .photo-hint { opacity: 1; }

/* Dots */
.photo-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  opacity: 0;
  transition: opacity var(--t-fast);
}

.photo-slider:hover .photo-dots { opacity: 1; }

/* cuando hay hint, los dots suben un poco */
.photo-slider:hover .photo-dots {
  bottom: 3.5rem;
}

.photo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background var(--t-fast), transform var(--t-fast);
}

.photo-dot.active {
  background: white;
  transform: scale(1.3);
}

/* Línea decorativa */
.photo-accent-line {
  position: absolute;
  left: -1.5rem;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.lightbox.is-open .lightbox-backdrop { opacity: 1; }

.lightbox-img-wrap {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 600px);
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s var(--ease);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.lightbox.is-open .lightbox-img-wrap {
  transform: scale(1);
  opacity: 1;
}

.lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

/* Botones lightbox */
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background var(--t-fast), transform var(--t-fast);
  opacity: 0;
  transition: opacity 0.4s 0.1s var(--ease), background var(--t-fast), transform var(--t-fast);
}

.lightbox-close svg { width: 18px; height: 18px; }
.lightbox.is-open .lightbox-close { opacity: 1; }
.lightbox-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.4s 0.15s var(--ease), background var(--t-fast);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }
.lightbox.is-open .lightbox-prev,
.lightbox.is-open .lightbox-next { opacity: 1; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--accent); }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s 0.2s var(--ease);
}

.lightbox.is-open .lightbox-counter { opacity: 1; }

/* Responsive */
@media (max-width: 768px) {
  .photo-slider {
    max-width: 100%;
    aspect-ratio: 4/5;
  }

  .photo-prev,
  .photo-next,
  .photo-hint,
  .photo-dots {
    opacity: 1 !important; /* siempre visible en touch */
  }

  .photo-dots { bottom: 1rem; }
  .photo-slider:hover .photo-dots { bottom: 1rem; }
  .photo-hint { display: none; } /* en móvil no hace falta el hint */

  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* ═══════════════════════════════════════════
   DOODLES HUMANOS — trazos a mano, cálidos
   Decoran sin competir con el contenido.
═══════════════════════════════════════════ */
.doodle {
  position: absolute;
  color: var(--warm-line);
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.doodle--flor {
  width: 34px; height: 34px;
  animation: doodle-twinkle 3.6s ease-in-out infinite;
}

.doodle--heart {
  width: 32px; height: 32px;
  animation: doodle-float 5s ease-in-out infinite;
}

.doodle--spiral {
  width: 42px; height: 42px;
  animation: doodle-float 6s ease-in-out infinite 0.4s;
}

.doodle--underline {
  width: 110px; height: 16px;
}

@keyframes doodle-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(-4deg); }
}

@keyframes doodle-twinkle {
  0%, 100% { opacity: 0.6; transform: scale(0.92) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.08) rotate(8deg); }
}

/* Posicionamiento por contexto (desktop) */
.hero-content { position: relative; }
.hero .doodle--flor-1  { top: -2.6rem; left: -0.5rem; }
.hero .doodle--heart-1 { top: 0.4rem; right: -2.6rem; }

.sobre-mi-text { position: relative; }
.sobre-mi .doodle--underline-1 { left: 0; top: -0.6rem; }
.sobre-mi .doodle--spiral-1    { right: -2.4rem; bottom: 2.4rem; }

.servicios-header { position: relative; }
.servicios .doodle--flor-1 { top: -1.6rem; right: 1rem; }

.proceso-header { position: relative; }
.proceso .doodle--spiral-1 { top: -1.8rem; left: 2rem; }

.testimonios-header { position: relative; }
.testimonios .doodle--heart-1 { top: -1.4rem; right: 3rem; }

.cta-band-inner { position: relative; }
.cta-band .doodle--flor-1 { top: -1.2rem; left: 8%; }
.cta-band .doodle--underline-1 { bottom: -0.6rem; right: 6%; }

.contacto-info { position: relative; }
.contacto-info .doodle--spiral-1 { top: -2rem; left: -0.4rem; }

/* Mobile — visibles pero reposicionados para no chocar con el layout centrado */
@media (max-width: 768px) {
  .doodle--flor  { width: 30px; height: 30px; }
  .doodle--heart { width: 28px; height: 28px; }
  .doodle--spiral { width: 36px; height: 36px; }
  .doodle--underline { width: 90px; height: 14px; }

  .hero .doodle--flor-1  { top: -2.2rem; left: 0.5rem; }
  .hero .doodle--heart-1 { top: -2.2rem; right: 0.5rem; }

  .sobre-mi .doodle--underline-1 { left: 50%; transform: translateX(-50%); top: -1rem; }
  .sobre-mi .doodle--spiral-1    { right: 0.5rem; bottom: auto; top: -1.8rem; }

  .servicios .doodle--flor-1 { top: -1.2rem; right: 0.5rem; }
  .proceso .doodle--spiral-1 { top: -1.4rem; left: 0.5rem; }
  .testimonios .doodle--heart-1 { top: -1rem; right: 1rem; }

  .cta-band .doodle--flor-1 { top: -0.6rem; left: 4%; }
  .cta-band .doodle--underline-1 { bottom: -0.4rem; right: 4%; }

  .contacto-info .doodle--spiral-1 { top: -1.6rem; left: auto; right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .doodle--flor, .doodle--heart, .doodle--spiral { animation: none; }
}

/* ═══════════════════════════════════════════
   MARQUEE — "Un acompañamiento para cada momento"
   Carrusel infinito: fotos + íconos de especialidades
   hechos a mano. 100% CSS (sin JS) = liviano y fluido.
═══════════════════════════════════════════ */
.marquee-section {
  padding: var(--space-lg) 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.marquee-header {
  text-align: center;
  margin-bottom: var(--space-md);
  padding: 0 var(--space-sm);
}

.marquee-header .section-eyebrow { justify-content: center; }


.marquee-viewport {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: stretch;
  gap: var(--space-md);
  width: max-content;
  will-change: transform;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-drag: none;
}

.marquee-track.is-dragging {
  cursor: grabbing;
}

.marquee-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 168px;
  height: 200px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med);
}

.marquee-card:hover {
  border-color: var(--warm-line);
}

/* Card tipo foto */
.marquee-card--photo {
  padding: 0;
  overflow: hidden;
}

.marquee-card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card tipo especialidad (ícono hecho a mano) */
.marquee-card--especialidad {
  padding: 1.2rem;
  text-align: center;
}

.marquee-icon {
  width: 46px;
  height: 46px;
  color: var(--warm);
  margin-bottom: 0.2rem;
}

.marquee-card-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
}

@media (max-width: 768px) {
  .marquee-card { width: 130px; height: 160px; }
  .marquee-icon { width: 36px; height: 36px; }
  .marquee-card-label { font-size: 0.75rem; }
  .marquee-track { gap: var(--space-sm); }
}

/* prefers-reduced-motion: el autoplay se desactiva desde JS;
   el arrastre manual sigue funcionando igual. */

/* ═══════════════════════════════════════════
   LOTTIE — slots opcionales
   Se activan solos cuando data-lottie-src tiene un link.
═══════════════════════════════════════════ */
.proceso-header { display: flex; flex-direction: column; }

.proceso-lottie {
  display: none;
  width: 180px;
  height: 180px;
  align-self: flex-end;
  margin-top: -3rem;
}

.proceso-lottie.is-active { display: block; }

.cta-band { position: relative; }

.cta-band-lottie {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.cta-band-lottie.is-active { display: block; }

@media (max-width: 768px) {
  .proceso-lottie { width: 120px; height: 120px; align-self: center; margin-top: 0; }
}

.footer-brand { display: flex; flex-direction: column; }

.footer-reveal-wrap {
  position: relative;
}

.footer-lottie {
  display: none;
  position: absolute;
  top: 50%;
  right: clamp(1.5rem, 8vw, 8rem);
  transform: translateY(-50%);
  width: clamp(220px, 22vw, 420px);
  height: clamp(220px, 22vw, 420px);
  opacity: 0.9;
}

.footer-lottie.is-active { display: block; }

@media (max-width: 900px) {
  .footer-lottie {
    position: static;
    transform: none;
    width: 150px;
    height: 150px;
    margin: 0.5rem auto 0;
  }
}

/* ═══════════════════════════════════════════
   PHOTO MARQUEE — solo fotos de Camila
   Diseño distinto al marquee de especialidades:
   cards grandes en zigzag, caption cálida, scroll
   en sentido opuesto (derecha) y más lento.
═══════════════════════════════════════════ */
.photo-marquee-section {
  padding: var(--space-lg) 0;
  overflow: hidden;
  position: relative;
}

.photo-marquee-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  padding: 0 var(--space-sm);
}

.photo-marquee-header .section-eyebrow { justify-content: center; }

.photo-marquee-viewport {
  position: relative;
  padding: 1.5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.photo-marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: max-content;
  animation: photo-marquee-scroll 40s linear infinite reverse;
  will-change: transform;
}

.photo-marquee-viewport:hover .photo-marquee-track,
.photo-marquee-viewport:focus-within .photo-marquee-track {
  animation-play-state: paused;
}

@keyframes photo-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.photo-marquee-card {
  flex: 0 0 auto;
  position: relative;
  width: 220px;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--warm-line);
  transform: translateY(0);
  transition: transform var(--t-med) var(--ease);
}

.photo-marquee-card--offset {
  transform: translateY(-1.4rem);
}

.photo-marquee-card:hover {
  transform: translateY(-0.6rem);
}

.photo-marquee-card--offset:hover {
  transform: translateY(-2rem);
}

.photo-marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .photo-marquee-card { width: 160px; height: 220px; }
  .photo-marquee-card--offset { transform: translateY(-1rem); }
  .photo-marquee-track { animation-duration: 30s; gap: var(--space-sm); }
}

@media (prefers-reduced-motion: reduce) {
  .photo-marquee-track { animation: none; overflow-x: auto; }
}

/* ═══════════════════════════════════════════
   DOODLES GRANDES DE FONDO
   Rosa (Servicios) y corazón (Proceso), mismo
   estilo a mano que los doodles chicos, pero
   grandes y de fondo — versión mobile (centrada,
   tamaño del contenedor) y versión desktop (más
   chica, en una esquina, bien sutil).
═══════════════════════════════════════════ */
.doodle-bg {
  display: block;
  position: absolute;
  color: var(--warm-line);
  pointer-events: none;
  z-index: 0;
  opacity: 0.1;
}

/* Desktop — esquina, discreta, no compite con el contenido */
.doodle-bg--rose {
  top: 6%;
  right: 3%;
  width: clamp(220px, 22vw, 340px);
  height: auto;
}

.doodle-bg--heart {
  bottom: 5%;
  left: 3%;
  width: clamp(240px, 24vw, 360px);
  height: auto;
}

.servicios,
.proceso {
  overflow: hidden;
}

/* Asegura que el contenido quede por encima del doodle de fondo */
.marquee-viewport,
.proceso .container,
.servicios .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .doodle-bg { opacity: 0.16; }
  .servicios { overflow: hidden; }

  .doodle-bg--rose {
    top: 50%;
    left: 50%;
    right: auto;
    width: 70vw;
    max-width: 320px;
    height: auto;
    transform: translate(-50%, -50%);
  }

  .doodle-bg--heart {
    top: 50%;
    left: 50%;
    bottom: auto;
    width: 85vw;
    max-width: 380px;
    height: auto;
    transform: translate(-50%, -50%);
  }

  /* Asegura que el contenido quede por encima del doodle */
  .marquee-viewport,
  .proceso .container,
  .servicios .container {
    position: relative;
    z-index: 1;
  }
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.footer-credit-icon {
  width: 15px;
  height: 15px;
  color: var(--warm);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   UN MINUTO PARA TI — PAUSA INTERACTIVA
═══════════════════════════════════════════ */
.pause-experience {
  --pause-color: #9b7fd4;
  --pause-color-soft: rgba(155, 127, 212, 0.2);
  --pause-color-faint: rgba(155, 127, 212, 0.08);
  position: relative;
  padding: clamp(6rem, 10vw, 10rem) 0;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(118deg, transparent 46%, var(--pause-color-faint) 100%),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg-surface) 54%, var(--bg)));
  transition: --pause-color 0.7s ease;
}

.pause-experience[data-mood="ansiedad"] {
  --pause-color: #e8998d;
  --pause-color-soft: rgba(232, 153, 141, 0.22);
  --pause-color-faint: rgba(232, 153, 141, 0.09);
}

.pause-experience[data-mood="cansancio"] {
  --pause-color: #87a7c4;
  --pause-color-soft: rgba(135, 167, 196, 0.22);
  --pause-color-faint: rgba(135, 167, 196, 0.09);
}

.pause-experience[data-mood="tristeza"] {
  --pause-color: #8793d8;
  --pause-color-soft: rgba(135, 147, 216, 0.22);
  --pause-color-faint: rgba(135, 147, 216, 0.09);
}

.pause-experience[data-mood="confusion"] {
  --pause-color: #b38bd5;
  --pause-color-soft: rgba(179, 139, 213, 0.22);
  --pause-color-faint: rgba(179, 139, 213, 0.09);
}

.pause-experience[data-mood="pausa"] {
  --pause-color: #a995e8;
  --pause-color-soft: rgba(169, 149, 232, 0.22);
  --pause-color-faint: rgba(169, 149, 232, 0.09);
}

.pause-container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.pause-copy .section-title {
  margin-top: var(--space-sm);
}

.pause-intro {
  max-width: 560px;
  margin-top: var(--space-md);
  color: var(--text-soft);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.pause-moods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: var(--space-md);
}

.pause-mood {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  background: color-mix(in srgb, var(--bg-surface) 76%, transparent);
  font-size: 0.88rem;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.pause-mood:hover {
  color: var(--text);
  border-color: var(--pause-color);
  transform: translateY(-2px);
}

.pause-mood:focus-visible,
.pause-start:focus-visible {
  outline: 2px solid var(--pause-color);
  outline-offset: 4px;
}

.pause-mood[aria-pressed="true"] {
  color: var(--text);
  border-color: var(--pause-color);
  background: var(--pause-color-soft);
  box-shadow: 0 8px 30px var(--pause-color-faint);
}

.pause-mood-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  color: var(--pause-color);
  transition: color 0.6s ease;
}

.pause-note {
  margin-top: var(--space-md);
  max-width: 520px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.pause-stage {
  --pause-progress: 0%;
  position: relative;
  min-height: 620px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid color-mix(in srgb, var(--pause-color) 30%, var(--border));
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  background:
    linear-gradient(145deg, var(--pause-color-faint), transparent 45%),
    var(--bg-surface);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.2);
  transition: border-color 0.7s ease, background 0.7s ease;
}

.pause-stage-top,
.pause-guidance,
.pause-start {
  position: relative;
  z-index: 2;
}

.pause-stage-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pause-step {
  color: var(--pause-color);
  transition: color 0.6s ease;
}

.pause-visual {
  position: relative;
  z-index: 1;
  width: min(72vw, 340px);
  height: 290px;
  margin: 1rem auto;
  display: grid;
  place-items: center;
}

.pause-aura {
  position: absolute;
}

.pause-aura {
  transition: border-color 0.7s ease, background 0.7s ease, transform 1s var(--ease);
}

.pause-aura--back {
  inset: 12% 0 10%;
  border-radius: 30% 70% 35% 65% / 62% 32% 68% 38%;
  background: linear-gradient(115deg, var(--pause-color-soft), transparent 68%);
  opacity: 0.42;
  transform: rotate(-8deg);
  animation: pause-idle-back 9s ease-in-out infinite;
}

.pause-aura--front {
  inset: 22% 10%;
  border-radius: 66% 34% 58% 42% / 38% 64% 36% 62%;
  background: linear-gradient(135deg, var(--pause-color-faint), transparent 72%);
  box-shadow: inset 24px -18px 50px var(--pause-color-faint);
  transform: rotate(10deg);
  animation: pause-idle-front 7s ease-in-out infinite;
}

.pause-lottie {
  position: relative;
  z-index: 1;
  width: min(100%, 220px);
  height: 275px;
  opacity: 0.92;
  filter: saturate(0.82) contrast(0.96);
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.8s var(--ease);
}

.pause-lottie svg {
  width: 100% !important;
  height: 100% !important;
  overflow: visible;
}

.pause-stage.is-running .pause-lottie {
  opacity: 1;
  filter: saturate(0.94) contrast(1);
  transform: translateY(-2px) scale(1.025);
}

.pause-guidance {
  min-height: 86px;
  text-align: center;
}

.pause-guidance-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  color: var(--text);
  line-height: 1.2;
}

.pause-guidance-text {
  max-width: 440px;
  margin: 0.55rem auto 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pause-start {
  width: 100%;
  min-height: 54px;
  margin-top: 1.25rem;
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  overflow: hidden;
  border: 1px solid var(--pause-color-soft);
  border-radius: 999px;
  color: var(--text);
  background: var(--pause-color-faint);
  font-weight: 500;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast), opacity var(--t-fast);
}

.pause-start::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pause-progress);
  background: var(--pause-color-soft);
  transition: width 0.12s linear;
}

.pause-start > * {
  position: relative;
  z-index: 1;
}

.pause-start svg {
  width: 18px;
  height: 18px;
  transition: transform var(--t-fast);
}

.pause-start:not(:disabled):hover {
  border-color: var(--pause-color);
  background: var(--pause-color-soft);
  transform: translateY(-2px);
}

.pause-start:not(:disabled):hover svg {
  transform: translateX(4px);
}

.pause-start:disabled {
  cursor: default;
  opacity: 0.48;
}

.pause-stage.is-running .pause-aura--front {
  animation: pause-aura-breathe 8s ease-in-out infinite;
}

.pause-stage.is-running .pause-aura--back {
  animation: pause-aura-drift 8s ease-in-out infinite;
}

.pause-stage.is-running .pause-start svg {
  display: none;
}

@keyframes pause-idle-back {
  0%, 100% { transform: translate3d(-5px, 4px, 0) rotate(-8deg) scale(0.96); }
  50% { transform: translate3d(8px, -5px, 0) rotate(-4deg) scale(1.04); }
}

@keyframes pause-idle-front {
  0%, 100% { transform: translate3d(5px, -2px, 0) rotate(10deg) scale(0.97); }
  50% { transform: translate3d(-7px, 5px, 0) rotate(6deg) scale(1.03); }
}

@keyframes pause-aura-breathe {
  0%, 100% { transform: scale(0.9) rotate(10deg); opacity: 0.42; }
  50% { transform: scale(1.12) rotate(4deg); opacity: 1; }
}

@keyframes pause-aura-drift {
  0%, 100% { transform: scale(0.94) rotate(-8deg); opacity: 0.55; }
  50% { transform: scale(1.06) rotate(-2deg); opacity: 0.9; }
}

@media (max-width: 900px) {
  .pause-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .pause-copy {
    text-align: center;
  }

  .pause-intro,
  .pause-note {
    margin-left: auto;
    margin-right: auto;
  }

  .pause-moods {
    justify-content: center;
  }

  .pause-stage {
    width: min(100%, 620px);
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .pause-experience {
    padding: 5rem 0;
  }

  .pause-moods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pause-mood {
    justify-content: center;
    padding-inline: 0.65rem;
    font-size: 0.8rem;
  }

  .pause-mood:last-child {
    grid-column: 1 / -1;
  }

  .pause-stage {
    min-height: 560px;
    padding: 1.25rem;
    border-radius: 1.5rem;
  }

  .pause-visual {
    width: min(74vw, 270px);
    height: 250px;
  }

  .pause-lottie {
    width: 184px;
    height: 230px;
  }

  .pause-stage-top {
    font-size: 0.58rem;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pause-aura,
  .pause-stage.is-running .pause-aura--front,
  .pause-stage.is-running .pause-aura--back {
    animation: none;
  }
}
