/* ==========================================================================
   Luisa Rendón — Espacio terapéutico transpersonal
   Sistema visual: Japandi + Wabi-sabi
   Tonos terrosos, formas orgánicas, tipografía serena, imperfección deliberada.
   ========================================================================== */

:root {
  --cream: #fcfbf8;
  --paper: #f6f1ea;
  --beige: #ede5db;
  --tan: #d4c3b3;
  --taupe: #a99c8f;
  --clay: #b98a68;
  --forest: #2d4a3e;
  --forest-deep: #1a2621;
  --forest-mist: #3f5c50;
  --ink: #33312c;
  --ink-soft: #5c574f;
  --line: #e2d9cc;
  --white: #fffefc;

  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: "Lato", "Helvetica Neue", Arial, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --radius-organic: 63% 37% 41% 59% / 47% 45% 55% 53%;
  --radius-soft: 1.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Textura de grano sutil — wabi-sabi: nada es perfectamente liso */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--forest-deep);
  margin: 0;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

p { margin: 0; }

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--clay);
  display: inline-block;
}

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  padding: 0.95rem 1.9rem;
  border-radius: 100px;
  border: 1px solid var(--btn-bg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s ease, color 0.4s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--forest-deep);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: 0;
}

.btn span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.6rem; line-height: 1; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    box-shadow: 0 12px 28px -12px rgba(26, 38, 33, 0.45);
    transform: translateY(-2px);
  }

  .btn:hover::after { transform: translateY(0%); }

  .btn--outline:hover { --btn-fg: var(--cream); color: var(--cream); }
  .btn--light:hover { color: var(--forest-deep); }
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--forest-deep);
  border-color: var(--forest-deep);
}

.btn--outline::after { background: var(--forest-deep); }

.btn--light {
  --btn-bg: var(--cream);
  --btn-fg: var(--forest-deep);
  border-color: var(--cream);
}
.btn--light::after { background: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
  padding: 0.8rem 0;
  background: rgba(252, 251, 248, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(51, 49, 44, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clay);
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--forest-deep);
  letter-spacing: 0.01em;
  transition: color 0.4s ease;
}

.brand-logo {
  width: 180px;
  height: auto;
  flex-shrink: 0;
}

.logo-svg {
  width: 100%;
  height: 100%;
  color: var(--forest-deep);
  transition: color 0.4s ease;
}

.footer-brand .logo-svg {
  color: var(--white);
  filter: brightness(100);
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 254, 252, 0.1);
  color: var(--white);
  transition: background 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 254, 252, 0.2);
  transform: translateY(-2px);
}

/* Header transparente sobre el hero oscuro de Inicio */
body.has-hero:not(.nav-open) .site-header:not(.is-scrolled) .logo-svg {
  color: var(--cream) !important;
  fill: white !important;
  filter: brightness(100);
}

body.has-hero:not(.nav-open) .site-header:not(.is-scrolled) .brand-word,
body.has-hero:not(.nav-open) .site-header:not(.is-scrolled) .nav-links a,
body.has-hero:not(.nav-open) .site-header:not(.is-scrolled) .nav-toggle span {
  color: var(--cream);
}
body.has-hero:not(.nav-open) .site-header:not(.is-scrolled) .nav-toggle span {
  background: var(--cream);
}
body.has-hero:not(.nav-open) .site-header:not(.is-scrolled) .nav-links a::after {
  background: var(--tan);
}
body.has-hero:not(.nav-open) .site-header:not(.is-scrolled) .nav-cta .btn--outline {
  border-color: rgba(255, 254, 252, 0.6);
  color: var(--cream);
}
body.has-hero:not(.nav-open) .site-header:not(.is-scrolled) .nav-cta .btn--outline::after {
  background: var(--cream);
}
body.has-hero:not(.nav-open) .site-header:not(.is-scrolled) .nav-cta .btn--outline:hover {
  color: var(--forest-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  font-weight: 400;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--clay);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-cta { display: flex; align-items: center; gap: 1.6rem; }
.nav-cta .btn { padding: 0.75rem 1.5rem; font-size: 0.78rem; }

.nav-mobile-cta { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--forest-deep);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s ease;
}

.nav-toggle span:nth-child(1) { width: 26px; }
.nav-toggle span:nth-child(2) { width: 20px; align-self: flex-end; }
.nav-toggle span:nth-child(3) { width: 26px; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 7.5rem;
  padding-bottom: 1.75rem;
  overflow: hidden;
  background: var(--forest-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 38, 33, 0.55) 0%, rgba(26, 38, 33, 0.72) 55%, rgba(26, 38, 33, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero .eyebrow { color: var(--tan); }
.hero .eyebrow::before { background: var(--tan); }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  margin: 1.4rem 0 1.6rem;
  font-weight: 400;
  max-width: 18ch;
}

.hero p.lede {
  font-size: 1.15rem;
  color: rgba(255, 254, 252, 0.86);
  max-width: 46ch;
  line-height: 1.7;
  margin-bottom: 2.4rem;
  font-weight: 300;
}

.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.hero-scroll {
  position: relative;
  z-index: 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 254, 252, 0.7);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-scroll .line {
  width: 1px;
  height: 38px;
  background: rgba(255, 254, 252, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-scroll .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--tan);
  animation: scrollLine 2.2s var(--ease) infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- Secciones genéricas ---------- */
section { position: relative; }

.section {
  padding: var(--space-xl) 0;
}

.section--beige { background: var(--paper); }
.section--tight { padding: var(--space-lg) 0; }

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-top: 1rem;
  line-height: 1.25;
}

.section-head p {
  margin-top: 1.2rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 300;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head p.subheading {
  margin-top: 0.9rem;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 400;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="fade"] { transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.12s; }
[data-reveal-delay="2"] { transition-delay: 0.24s; }
[data-reveal-delay="3"] { transition-delay: 0.36s; }

/* ---------- Pain point / intro ---------- */
@keyframes driftBorder {
  0%, 100% { border-radius: var(--radius-organic); }
  50% { border-radius: 41% 59% 60% 40% / 55% 40% 60% 45%; }
}

.tag-cloud {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.tag-cloud li {
  font-size: 0.88rem;
  color: var(--forest);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s var(--ease), border-color 0.4s ease;
}

.tag-cloud li:hover {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
  transform: translateY(-3px);
}

.question-grid {
  list-style: none;
  margin: var(--space-lg) auto;
  padding: 0;
  max-width: 940px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3rem;
}

.question-grid li {
  position: relative;
  padding: 1.35rem 0 1.35rem 1.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 300;
  text-align: left;
}

.question-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.72rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}

.question-grid li:nth-last-child(-n+2) {
  border-bottom: none;
}

/* ---------- Otras herramientas ---------- */
.tools-row {
  margin-top: 2.4rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 0.7rem;
}

.tools-row .tools-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-right: 0.6rem;
}

.tools-row .tag-cloud {
  margin: 0;
  justify-content: flex-start;
  max-width: none;
  flex: 1;
}

/* ---------- Sobre Luisa ---------- */
.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 480px;
  max-width: 420px;
}

.about-visual .img-a {
  position: relative;
  z-index: 2;
  border-radius: 46% 54% 38% 62% / 54% 44% 56% 46%;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(26, 38, 33, 0.35);
}

.about-visual .img-a img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 4%;
  border: 1px solid var(--clay);
  border-radius: 42% 58% 62% 38% / 40% 62% 38% 60%;
  opacity: 0.4;
  z-index: 1;
  animation: driftBorder 16s ease-in-out infinite;
}

.about-visual::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border: 1px solid var(--clay);
  border-radius: 50%;
  bottom: -26px;
  right: -18px;
  opacity: 0.45;
  z-index: 0;
}

.about-body .eyebrow { margin-bottom: 0.4rem; }
.about-body h1, .about-body h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 1.5rem; line-height: 1.3; }
.about-body p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.85; font-weight: 300; margin-bottom: 1.1rem; }
.about-body p strong { color: var(--forest-deep); font-weight: 700; }
.about-body .signature {
  margin-top: 1.8rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--forest);
  font-style: italic;
}

/* ---------- Servicios ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.process-grid { grid-template-columns: repeat(2, 1fr); }

/* ---------- Manifiesto (texto de apertura) ---------- */
.manifesto {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.manifesto p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 0.85rem;
}

.manifesto p.manifesto-peace {
  margin-top: 0.8rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--forest);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  padding: 2.6rem 2.1rem;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px -28px rgba(26, 38, 33, 0.28);
  border-color: transparent;
}

.service-card .num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--clay);
  letter-spacing: 0.1em;
}

.service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.1rem 0 1.6rem;
  transition: background 0.5s ease, transform 0.5s var(--ease);
}

.service-card:hover .icon { background: var(--forest); transform: rotate(-8deg) scale(1.05); }
.service-card:hover .icon svg { stroke: var(--cream); }

.service-card .icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--forest);
  fill: none;
  stroke-width: 1.4;
  transition: stroke 0.4s ease;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  font-weight: 400;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.75;
  font-weight: 300;
}

/* ---------- Cita / Perspectiva consciente ---------- */
.quote-section {
  position: relative;
  background:
    radial-gradient(60% 80% at 15% 20%, rgba(212, 195, 179, 0.1), transparent),
    radial-gradient(50% 70% at 85% 85%, rgba(185, 138, 104, 0.12), transparent),
    var(--forest-deep);
  color: var(--white);
  overflow: hidden;
}

.quote-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-xl) 1.5rem;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--clay);
  opacity: 0.8;
  margin-bottom: -1.2rem;
}

.quote-inner blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.5;
  font-weight: 400;
  margin: 0 0 2rem;
  text-wrap: balance;
}

.quote-inner cite {
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tan);
}

/* ---------- CTA final ---------- */
.cta-final {
  background: var(--paper);
  text-align: center;
  padding: var(--space-xl) 0;
}

.cta-final h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  max-width: 20ch;
  margin: 0 auto 1.3rem;
}

.cta-final p {
  max-width: 46ch;
  margin: 0 auto 2.4rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.8;
  font-weight: 300;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255, 254, 252, 0.75);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 254, 252, 0.14);
}

.footer-brand .brand-word { color: var(--white); }
.footer-brand p {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 254, 252, 0.6);
  max-width: 30ch;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  margin-bottom: 1.3rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.footer-col a, .footer-col span {
  font-size: 0.92rem;
  color: rgba(255, 254, 252, 0.7);
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-col a:hover { color: var(--tan); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: var(--space-md);
  font-size: 0.8rem;
  color: rgba(255, 254, 252, 0.45);
}

/* ---------- Mi historia (Sobre Luisa) ---------- */
.story-lede-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--forest);
  line-height: 1.5;
  margin-bottom: 1.3rem;
}

.story-question {
  margin-top: 1.6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--forest);
  line-height: 1.4;
}

.story-prose {
  max-width: 620px;
  margin: 0 auto var(--space-sm);
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.9;
  font-weight: 300;
  text-wrap: pretty;
}

.story-line {
  max-width: 600px;
  margin: var(--space-md) auto;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.1vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.5;
}

.story-line--emphasis {
  color: var(--forest);
  font-style: italic;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
}

.story-stack {
  list-style: none;
  margin: var(--space-md) auto;
  padding: 0;
  max-width: 600px;
  text-align: center;
}

.story-stack-line {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.1vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.5;
  padding: 0.3rem 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.story-stack.is-visible .story-stack-line { opacity: 1; transform: translateY(0); }
.story-stack.is-visible .story-stack-line:nth-child(1) { transition-delay: 0.05s; }
.story-stack.is-visible .story-stack-line:nth-child(2) { transition-delay: 0.16s; }
.story-stack.is-visible .story-stack-line:nth-child(3) { transition-delay: 0.27s; }
.story-stack.is-visible .story-stack-line:nth-child(4) { transition-delay: 0.38s; }
.story-stack.is-visible .story-stack-line:nth-child(5) { transition-delay: 0.49s; }
.story-stack.is-visible .story-stack-line:nth-child(6) { transition-delay: 0.60s; }

.story-stack-line--twist {
  color: var(--forest);
  font-style: italic;
}

.story-stack--emphasis .story-stack-line {
  color: var(--forest);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
}

.story-stack--peak {
  max-width: 660px;
}

.story-stack--peak .story-stack-line {
  color: var(--forest);
  font-style: italic;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.4;
}

.story-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 260px;
  margin: var(--space-lg) auto 0;
}

.story-divider span {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.story-divider svg {
  width: 18px;
  height: 18px;
  stroke: var(--clay);
  fill: none;
  stroke-width: 1.3;
  flex-shrink: 0;
}

/* ---------- Página 404 ---------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 6rem;
  background: var(--cream);
}

.error-inner { max-width: 560px; }

.error-page .eyebrow { justify-content: center; }
.error-page .eyebrow::before { display: none; }

.error-page h1 {
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  max-width: 17ch;
  margin: 1.2rem auto 1.1rem;
  line-height: 1.3;
}

.error-page p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
  max-width: 40ch;
  margin: 0 auto 2.2rem;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.error-mark {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 0 auto 1.8rem;
}

.error-ring {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-organic);
  border: 1px solid var(--clay);
  opacity: 0.5;
  animation: driftBorder 14s ease-in-out infinite;
}

.error-path { position: absolute; inset: 0; width: 100%; height: 100%; }

.error-path-line {
  fill: none;
  stroke: var(--forest);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 110;
  stroke-dashoffset: 110;
  animation: drawErrorPath 1.8s var(--ease) 0.3s forwards;
}

.error-path-dot {
  fill: var(--clay);
  opacity: 0;
  animation: fadeInDot 0.5s ease forwards;
}

.error-path-dot { animation-delay: 1.9s; }
.error-path-dot--2 { animation-delay: 2.05s; }
.error-path-dot--3 { animation-delay: 2.2s; }

@keyframes drawErrorPath {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeInDot {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .error-path-line { stroke-dashoffset: 0; animation: none; }
  .error-path-dot { opacity: 1; animation: none; }
}

/* ---------- Placeholder pages (Próximamente) ---------- */
.coming-soon {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 6rem;
  background: var(--paper);
}

.coming-soon-inner { max-width: 560px; }

.coming-soon .eyebrow { justify-content: center; }
.coming-soon .eyebrow::before { display: none; }

.coming-soon h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 1.2rem 0 1.4rem;
}

.coming-soon p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2.2rem;
}

.coming-soon .mark {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.6rem;
  border-radius: var(--radius-organic);
  background: var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: driftBorder 10s ease-in-out infinite;
}

.coming-soon .mark svg { width: 30px; height: 30px; stroke: var(--forest-deep); fill: none; stroke-width: 1.3; }

/* ---------- Botón flotante de WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.75rem;
  bottom: 1.75rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -12px rgba(26, 38, 33, 0.55);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.4s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 34px -10px rgba(26, 38, 33, 0.6);
}

.whatsapp-float-icon {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.whatsapp-float-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--tan);
  opacity: 0.6;
  animation: whatsappPulse 2.6s var(--ease) infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.nav-open .whatsapp-float {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float-ring { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about,
  .intro { grid-template-columns: 1fr; }
  .intro-mark { order: -1; max-width: 340px; margin: 0 auto; }
  .about-visual { min-height: 380px; margin-bottom: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 800px) {
  .nav-links, .nav-cta .btn--outline { display: none; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    background: var(--cream);
    padding: 0 2.2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    z-index: 105;
  }

  .nav-open .nav-links { transform: translateX(0); }

  .nav-links a { font-size: 1.5rem; font-family: var(--font-serif); }

  .nav-mobile-cta { display: block; margin-top: 0.6rem; }
  .nav-mobile-cta .btn {
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.9rem;
  }
  .nav-mobile-cta .btn span { line-height: 1; }

  .nav-open .nav-toggle span { background: var(--forest-deep); }

  .hero h1 { font-size: clamp(2.1rem, 8vw, 2.8rem); }
  .section { padding: var(--space-lg) 0; }

  .tools-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .tools-row .tools-label {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .tools-row .tag-cloud {
    width: 100%;
    justify-content: flex-start;
  }

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

  .question-grid li:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .question-grid li:last-child {
    border-bottom: none;
  }

  .whatsapp-float { right: 1.1rem; bottom: 1.1rem; width: 52px; height: 52px; }

  .story-prose { font-size: 1.02rem; line-height: 1.8; }
  .story-divider { margin-top: var(--space-md); }
}

@media (max-width: 560px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
