/* ═══════════════════════════════════════════════════════════════
   ESPACIO INSPIRA — Styles
   Terapias Alternativas · Agencia Lin3a 2026
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Colors – Principal */
  --beige-warm: #C4A882;
  --beige-light: #D4C4A8;
  --cream: #F5F0E8;
  --white-warm: #FDFBF7;
  --wood-honey: #A07850;
  --gold-warm: #C9A96E;
  --charcoal: #2C2C2C;
  --dark: #1A1A1A;

  /* Colors – Extended */
  --sage-soft: #B8C4A8;
  --lavender-muted: #C4B8C8;
  --rose-dust: #C8A8A0;
  --sand: #E8DCC8;

  /* Typography */
  --font-primary: 'Cormorant Garamond', Georgia, serif;
  --font-secondary: 'Jost', 'Helvetica Neue', sans-serif;

  /* Spacing (8pt grid) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;

  /* Layout */
  --container: 1160px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.4s;
  --duration-slow: 0.8s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white-warm);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ─── REVEAL ANIMATION ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: var(--space-sm) 0;
  transition: background var(--duration) var(--ease), padding var(--duration) var(--ease);
}
.nav.scrolled {
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-xs) 0;
  box-shadow: 0 1px 0 rgba(196, 168, 130, 0.15);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--white-warm);
  text-transform: lowercase;
  transition: color var(--duration) var(--ease);
}
.nav.scrolled .nav__logo {
  color: var(--charcoal);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav__links a {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color var(--duration) var(--ease);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-warm);
  transition: width var(--duration) var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav.scrolled .nav__links a { color: var(--charcoal); }
.nav__links a:hover { color: var(--gold-warm); }

.nav__cta {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-warm) !important;
  background: var(--gold-warm);
  padding: 10px 24px;
  border-radius: 100px;
  transition: background var(--duration) var(--ease), transform 0.2s var(--ease);
}
.nav__cta:hover {
  background: var(--wood-honey);
  transform: translateY(-1px);
}
.nav__cta::after { display: none !important; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--white-warm);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav.scrolled .nav__toggle span { background: var(--charcoal); }
.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(26,26,26,0.1) 0%, rgba(26,26,26,0.45) 100%),
    linear-gradient(to bottom, rgba(26,26,26,0.2) 0%, rgba(26,26,26,0.15) 50%, rgba(26,26,26,0.55) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white-warm);
}
.hero__logo {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 84px;
  letter-spacing: 10px;
  text-transform: lowercase;
  margin-bottom: 8px;
  text-shadow: 0 2px 60px rgba(0,0,0,0.3);
}
.hero__tagline {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: var(--space-2xl);
}

/* Hero pill buttons */
.hero__buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}
.hero__pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px 16px 20px;
  border-radius: 100px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  min-width: 220px;
}
.hero__pill--terapias {
  background: rgba(196, 168, 130, 0.3);
  border: 1px solid rgba(253, 251, 247, 0.2);
}
.hero__pill--terapias:hover {
  background: rgba(196, 168, 130, 0.5);
  border-color: rgba(253, 251, 247, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.hero__pill--cursos {
  background: rgba(253, 251, 247, 0.12);
  border: 1px solid rgba(253, 251, 247, 0.15);
}
.hero__pill--cursos:hover {
  background: rgba(253, 251, 247, 0.22);
  border-color: rgba(253, 251, 247, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.hero__pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__pill-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--white-warm);
}
.hero__pill-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}
.hero__pill-text strong {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--white-warm);
  text-transform: uppercase;
}
.hero__pill-text small {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.hero__pill-arrow {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,0.4);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease), stroke var(--duration) var(--ease);
}
.hero__pill:hover .hero__pill-arrow {
  transform: translateX(4px);
  stroke: var(--gold-warm);
}

/* Organic wave */
.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}
.hero__wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ─── ORGANIC WAVE DIVIDERS ──────────────────────────────────── */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg {
  width: 100%;
  height: 64px;
  display: block;
}
.wave-divider--flip { transform: scaleY(-1); }

/* ─── SECTION COMMON ─────────────────────────────────────────── */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}
.section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section__label {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--beige-warm);
  margin-bottom: var(--space-sm);
  display: block;
}
.section__title {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 48px;
  letter-spacing: 2px;
  color: var(--charcoal);
  text-transform: lowercase;
}
.section__divider {
  width: 48px;
  height: 1px;
  background: var(--beige-warm);
  margin: var(--space-md) auto 0;
}
.section__desc {
  max-width: 560px;
  margin: var(--space-md) auto 0;
  text-align: center;
  font-size: 15px;
  color: #888;
  line-height: 1.8;
}

/* ─── ABOUT ──────────────────────────────────────────────────── */
.about {
  background: var(--cream);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.about__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--beige-light);
}
.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--beige-warm);
  text-transform: uppercase;
}
.about__text h3 {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 40px;
  letter-spacing: 1px;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}
.about__text p {
  font-size: 15px;
  color: #777;
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}
.about__text .highlight {
  font-family: var(--font-primary);
  font-style: italic;
  font-size: 20px;
  color: var(--wood-honey);
  margin: var(--space-lg) 0;
  line-height: 1.6;
}

/* ─── SPLIT SECTION ──────────────────────────────────────────── */
.split {
  display: flex;
  min-height: 70vh;
  overflow: hidden;
}
.split__side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-xl);
  cursor: pointer;
  transition: flex var(--duration-slow) var(--ease), background var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.split__side::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.split__side:hover { flex: 1.3; }
.split__side:hover::before { opacity: 1; }
.split__side--terapias {
  background: var(--beige-warm);
}
.split__side--terapias::before {
  background: linear-gradient(135deg, rgba(160,120,80,0.15), transparent);
}
.split__side--cursos {
  background: var(--cream);
}
.split__side--cursos::before {
  background: linear-gradient(135deg, rgba(201,169,110,0.1), transparent);
}
.split__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: transform var(--duration) var(--ease);
}
.split__side:hover .split__icon { transform: scale(1.1); }
.split__side--terapias .split__icon {
  background: rgba(255,255,255,0.2);
  color: var(--white-warm);
}
.split__side--cursos .split__icon {
  background: var(--beige-warm);
  color: var(--white-warm);
}
.split__icon svg { width: 24px; height: 24px; }
.split__title {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 48px;
  letter-spacing: 3px;
  text-transform: lowercase;
  margin-bottom: var(--space-xs);
}
.split__side--terapias .split__title { color: var(--white-warm); }
.split__side--cursos .split__title { color: var(--charcoal); }
.split__count {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.split__side--terapias .split__count { color: rgba(255,255,255,0.6); }
.split__side--cursos .split__count { color: var(--beige-warm); }
.split__arrow {
  margin-top: var(--space-lg);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration) var(--ease);
}
.split__side:hover .split__arrow { transform: translateX(4px); }
.split__side--terapias .split__arrow {
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white-warm);
}
.split__side--cursos .split__arrow {
  border: 1px solid var(--beige-light);
  color: var(--charcoal);
}
.split__arrow svg { width: 16px; height: 16px; }

/* ─── TERAPIAS GRID ──────────────────────────────────────────── */
.terapias-section {
  background: var(--white-warm);
}
.terapias__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.terapia-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(196, 168, 130, 0.1);
}
.terapia-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.terapia-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--beige-warm);
}
.terapia-card__icon svg { width: 22px; height: 22px; }
.terapia-card__name {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.5px;
}
.terapia-card__desc {
  font-size: 14px;
  color: #999;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}
.terapia-card__tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--white-warm);
  color: var(--beige-warm);
}
.terapia-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-top: var(--space-sm);
  transition: gap var(--duration) var(--ease);
}
.terapia-card:hover .terapia-card__cta { gap: 10px; }
.terapia-card__cta svg { width: 14px; height: 14px; }

/* ─── CURSOS ─────────────────────────────────────────────────── */
.cursos-section {
  background: var(--cream);
}
.cursos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.curso-card {
  background: var(--white-warm);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  border: 1px solid rgba(196, 168, 130, 0.08);
}
.curso-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.curso-card__number {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 48px;
  color: var(--beige-light);
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.curso-card__name {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 24px;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}
.curso-card__desc {
  font-size: 14px;
  color: #999;
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-md);
}
.curso-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-warm);
  background: var(--gold-warm);
  padding: 12px 28px;
  border-radius: 100px;
  align-self: flex-start;
  transition: background var(--duration) var(--ease), transform 0.2s var(--ease);
}
.curso-card__cta:hover {
  background: var(--wood-honey);
  transform: translateY(-2px);
}
.curso-card__cta svg { width: 14px; height: 14px; }

/* ─── ESPACIO / GALLERY ──────────────────────────────────────── */
.espacio-section {
  background: var(--white-warm);
}
.espacio__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.espacio__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream);
  cursor: pointer;
  transition: transform var(--duration) var(--ease);
}
.espacio__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.espacio__item:hover { transform: scale(0.98); }
.espacio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}
.espacio__item:hover img { transform: scale(1.05); }

/* ─── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--dark);
  padding: var(--space-3xl) 0;
  text-align: center;
}
.cta-banner__title {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 48px;
  color: var(--cream);
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}
.cta-banner__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-xl);
}
.cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold-warm);
  padding: 16px 40px;
  border-radius: 100px;
  transition: background var(--duration) var(--ease), transform 0.2s var(--ease);
}
.cta-banner__btn:hover {
  background: var(--beige-warm);
  transform: translateY(-2px);
}
.cta-banner__btn svg { width: 18px; height: 18px; }

/* ─── CONTACT ────────────────────────────────────────────────── */
.contacto-section {
  background: var(--cream);
}
.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-xl);
  text-align: center;
}
.contacto__item {
  padding: var(--space-lg);
}
.contacto__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  color: var(--beige-warm);
}
.contacto__icon svg { width: 22px; height: 22px; }
.contacto__label {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--beige-warm);
  margin-bottom: var(--space-xs);
}
.contacto__value {
  font-family: var(--font-primary);
  font-size: 20px;
  color: var(--charcoal);
}
.contacto__value a {
  color: var(--charcoal);
  transition: color var(--duration) var(--ease);
}
.contacto__value a:hover { color: var(--gold-warm); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: var(--space-2xl) 0 var(--space-lg);
  text-align: center;
}
.footer__logo {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 5px;
  color: var(--cream);
  text-transform: lowercase;
  margin-bottom: var(--space-sm);
}
.footer__tagline {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: var(--space-lg);
}
.footer__social {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.footer__social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: border-color var(--duration) var(--ease), color var(--duration) var(--ease);
}
.footer__social a:hover {
  border-color: var(--gold-warm);
  color: var(--gold-warm);
}
.footer__social svg { width: 18px; height: 18px; }
.footer__divider {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto var(--space-md);
}
.footer__credit {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
}
.footer__credit a {
  color: rgba(255,255,255,0.4);
  transition: color var(--duration) var(--ease);
}
.footer__credit a:hover { color: var(--gold-warm); }

/* ─── TESTIMONIOS ────────────────────────────────────────────── */
.testimonios-section {
  background: var(--white-warm);
}
.testimonios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.testimonio-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.testimonio-card__stars {
  font-size: 14px;
  color: var(--gold-warm);
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}
.testimonio-card__text {
  font-family: var(--font-primary);
  font-style: italic;
  font-size: 17px;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.testimonio-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonio-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--beige-warm);
  color: var(--white-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 400;
}
.testimonio-card__name {
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal);
  display: block;
}
.testimonio-card__therapy {
  font-size: 12px;
  color: var(--beige-warm);
  letter-spacing: 1px;
}

/* ─── WHATSAPP FLOAT ─────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ─── LIGHTBOX ───────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 26, 26, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  cursor: pointer;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  object-fit: contain;
}

/* ─── DARK MODE ──────────────────────────────────────────────── */
body.dark-mode {
  --cream: #1E1E1E;
  --white-warm: #141414;
  --charcoal: #E8E0D4;
  --dark: #0A0A0A;
  --beige-light: #3A3530;
  --sand: #2A2520;
}
body.dark-mode .nav.scrolled {
  background: rgba(20, 20, 20, 0.92);
}
body.dark-mode .terapia-card,
body.dark-mode .curso-card,
body.dark-mode .testimonio-card {
  background: #1E1E1E;
  border-color: rgba(196, 168, 130, 0.15);
}
body.dark-mode .about__placeholder {
  color: #666;
}
body.dark-mode .contacto__icon {
  background: #1E1E1E;
}
body.dark-mode .section__desc,
body.dark-mode .terapia-card__desc,
body.dark-mode .curso-card__desc,
body.dark-mode p {
  color: #999;
}
body.dark-mode .footer {
  background: #0A0A0A;
}
body.dark-mode .footer__social a {
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .wave-divider svg[fill="var(--cream)"] {
  fill: #1E1E1E;
}

/* ─── THEME TOGGLE ───────────────────────────────────────────── */
.nav__theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all var(--duration) var(--ease);
  color: var(--white-warm);
  flex-shrink: 0;
}
.nav.scrolled .nav__theme-toggle {
  border-color: var(--beige-light);
  color: var(--charcoal);
}
.nav__theme-toggle:hover {
  border-color: var(--gold-warm);
  transform: scale(1.05);
}

/* ─── COOKIE BANNER ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--cream);
  padding: 20px 24px;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
  animation: slideUp 0.4s var(--ease);
  flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.cookie-banner p a { color: var(--gold-warm); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 8px; }
.cookie-banner__btn {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.cookie-banner__btn--accept {
  background: var(--gold-warm);
  color: var(--dark);
}
.cookie-banner__btn--accept:hover { background: var(--beige-warm); }
.cookie-banner__btn--reject {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
}
.cookie-banner__btn--reject:hover { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); }
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ─── SCROLL TO TOP ──────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 89;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--beige-warm);
  color: var(--white-warm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow);
}
.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--gold-warm);
  transform: translateY(-2px);
}
.scroll-top svg { width: 18px; height: 18px; }

/* ─── ACCESSIBILITY ──────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--gold-warm);
  outline-offset: 2px;
  border-radius: 4px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ─── FOOTER LEGAL ───────────────────────────────────────────── */
.footer__legal {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}
.footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  transition: color var(--duration) var(--ease);
}
.footer__legal a:hover { color: var(--gold-warm); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .terapias__grid { grid-template-columns: repeat(2, 1fr); }
  .espacio__gallery { grid-template-columns: repeat(2, 1fr); }
  .espacio__item:first-child { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 64px;
    --space-4xl: 96px;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white-warm);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
  }
  .nav__links.open { display: flex; }
  .nav__links a {
    font-size: 16px;
    color: var(--charcoal) !important;
  }
  .nav__toggle { display: flex; }

  .hero__logo { font-size: 40px; letter-spacing: 4px; }
  .hero__tagline { font-size: 10px; letter-spacing: 3px; }
  .hero__buttons { flex-direction: column; align-items: center; }
  .hero__pill { min-width: 260px; }
  .hero__wave svg { height: 48px; }

  .section__title { font-size: 36px; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .about__image { max-height: 400px; }

  .terapias__grid { grid-template-columns: 1fr; }
  .cursos__grid { grid-template-columns: 1fr; }

  .espacio__gallery { grid-template-columns: 1fr; }
  .espacio__item:first-child { grid-column: span 1; }

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

  .testimonios__grid { grid-template-columns: 1fr; }

  .cta-banner__title { font-size: 32px; }

  .wa-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
}
