/* ============================================================
   Se Regala Calma · Viaje inmersivo con scroll
   ============================================================ */

:root {
  --ink: #17332F;
  --ink-soft: #445B55;
  --sage: #5F8674;
  --sage-deep: #46675A;
  --sage-light: #D8E2DB;
  --clay: #C98D6F;
  --line: rgba(23, 51, 47, 0.14);
  --paper: #FDFCF8;
  --dark: #142B27;
  --dark-soft: #213B36;
  --cream: #F7F0E4;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --glass: rgba(253, 252, 248, 0.72);
  --glass-strong: rgba(253, 252, 248, 0.86);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: #F4F0E6;
  line-height: 1.65;
  font-size: 17px;
  font-weight: 300;
  overflow-x: hidden;
}

.brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.brand__img {
  width: 150px;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ---------- Lenis ---------- */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

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

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

button {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--sage-light);
  color: var(--ink);
}

/* ---------- 3D canvas (fondo persistente) ---------- */
#scene-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 22% 18%, rgba(143, 174, 156, 0.5), transparent 70%),
    radial-gradient(55% 50% at 80% 30%, rgba(201, 160, 181, 0.42), transparent 72%),
    radial-gradient(50% 45% at 62% 78%, rgba(201, 161, 135, 0.4), transparent 70%),
    radial-gradient(45% 40% at 30% 85%, rgba(166, 184, 201, 0.38), transparent 70%),
    #F4F0E6;
}

main {
  position: relative;
  z-index: 1;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.container--narrow {
  max-width: 820px;
}

.section {
  padding: clamp(72px, 10vw, 120px) 0;
  background: transparent;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 18px;
}

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 16em;
  margin-bottom: 20px;
}

.section__title em {
  font-style: italic;
  color: var(--sage-deep);
}

.section__lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 40em;
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* ---------- Palabras de títulos ---------- */
.t-split .w {
  display: inline-block;
  white-space: pre;
  will-change: transform, opacity;
}

.t-split .w-em {
  font-style: italic;
  color: var(--sage-deep);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible,
.reveal.gsap-done {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex: none;
}

.btn--primary {
  background: var(--sage);
  color: var(--paper);
  box-shadow: 0 10px 26px rgba(95, 134, 116, 0.35);
}

.btn--primary:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--glass-strong);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(10px);
}

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

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  transform: translateY(-2px);
  background: #fff;
}

.btn--ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(253, 252, 248, 0.35);
}

.btn--ghost-light:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ---------- Navegación ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav.is-solid {
  background: rgba(244, 240, 230, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  fill: var(--sage);
}

.brand__text {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand__text em {
  font-style: italic;
  font-weight: 500;
  color: var(--sage-deep);
}

.nav__links {
  display: flex;
  gap: 34px;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--ink);
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

.btn--nav {
  padding: 12px 22px;
  font-size: 0.92rem;
  background: var(--ink);
  color: var(--paper);
}

.btn--nav:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__panel {
  display: none;
  background: var(--paper);
  padding: 20px;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}

.nav__panel.is-open {
  display: flex;
}

.nav__panel a {
  padding: 13px 6px;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
}

.nav__panel a:last-of-type {
  border-bottom: 0;
}

.btn--panel {
  margin-top: 8px;
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Hero: primera escena del viaje ---------- */
.story__line--hero {
  justify-content: center;
  gap: 30px;
  color: var(--cream);
  padding: 0 clamp(20px, 5vw, 40px);
}

.story__line--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 30%, rgba(14, 25, 21, 0.3), rgba(14, 25, 21, 0.55) 78%),
    linear-gradient(180deg, rgba(14, 25, 21, 0.45), rgba(14, 25, 21, 0.24) 55%, rgba(14, 25, 21, 0.42));
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  pointer-events: none;
  filter: saturate(0.88);
  animation: hero-bg-zoom 26s var(--ease) forwards;
  will-change: transform;
}

@keyframes hero-bg-zoom {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.1);
  }
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 16em;
  margin-bottom: 30px;
  color: var(--cream);
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: #A9C4B5;
  position: relative;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.14em;
  background: var(--clay);
  opacity: 0.5;
  z-index: -1;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.btn--hero {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(10, 20, 16, 0.35);
}

.btn--hero:hover {
  background: #fff;
  transform: translateY(-2px);
}

.hero__link {
  font-size: 1.02rem;
  font-weight: 500;
  color: rgba(247, 240, 228, 0.85);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: rgba(247, 240, 228, 0.4);
  transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease);
}

.hero__link:hover {
  color: var(--cream);
  text-decoration-color: var(--cream);
}

/* Nav sobre el hero oscuro (Acto I, sin fondo sólido) */
body[data-chapter="I"] .nav:not(.is-solid) .brand__text,
body[data-chapter="I"] .nav:not(.is-solid) .nav__links a {
  color: var(--cream);
}

body[data-chapter="I"] .nav:not(.is-solid) .nav__links a:hover,
body[data-chapter="I"] .nav:not(.is-solid) .nav__links a.is-active {
  color: #fff;
}

body[data-chapter="I"] .nav:not(.is-solid) .brand__mark {
  fill: #A9C4B5;
}

body[data-chapter="I"] .nav:not(.is-solid) .nav__toggle span {
  background: var(--cream);
}

/* Breathing widget */
.breath {
  position: relative;
  width: 120px;
  height: 120px;
}

.breath__ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(95, 134, 116, 0.55);
  border-radius: 50%;
  animation: breath-ring 9s var(--ease) infinite;
}

.breath__core {
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #9DB9A4, var(--sage) 70%);
  animation: breath-core 9s var(--ease) infinite;
}

.breath__words {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.breath__word {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.breath__word[data-inhale] {
  animation: word-inhale 9s var(--ease) infinite;
}

.breath__word[data-exhale] {
  animation: word-exhale 9s var(--ease) infinite;
}

/* Escena de respiración dentro del viaje */
.story__line--breathe {
  gap: 2px;
}

.story__line .breath__guide {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  text-shadow: none;
}

.story__line--breathe .breath__ring {
  border-color: rgba(95, 134, 116, 0.6);
}

@keyframes breath-ring {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }

  45% {
    transform: scale(1.28);
    opacity: 1;
  }

  90% {
    transform: scale(0.98);
    opacity: 0.45;
  }
}

@keyframes breath-core {

  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.55);
  }

  90% {
    transform: scale(1);
  }
}

@keyframes word-inhale {

  0%,
  10% {
    opacity: 0;
  }

  20%,
  45% {
    opacity: 1;
  }

  55%,
  100% {
    opacity: 0;
  }
}

@keyframes word-exhale {

  0%,
  55% {
    opacity: 0;
  }

  65%,
  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* ---------- La historia: viaje scrolleable ---------- */
.story {
  position: relative;
  height: 600vh;
  background: transparent;
}

.story__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(18, 32, 28, 0.5), rgba(18, 32, 28, 0.18) 60%, transparent 85%);
  pointer-events: none;
}

.story__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.story__line {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 0 8vw;
  text-align: center;
  opacity: 0;
  will-change: transform, opacity;
}

.story__line p {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.1rem, 6vw, 4.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--cream);
  text-shadow: 0 2px 40px rgba(10, 20, 16, 0.5);
}

.story__line .si {
  display: inline-block;
  will-change: transform, opacity;
}

.story__line p,
.story__line .story__subtitle,
.story__line .story__chips,
.story__line .story__scrollcue {
  position: relative;
  z-index: 2;
}

.story__line[data-line="3"] p,
.story__line[data-line="4"] p {
  font-style: normal;
  font-weight: 500;
}

.story__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  will-change: transform, opacity;
}

.story__chip {
  background: rgba(253, 252, 248, 0.14);
  border: 1px solid rgba(247, 240, 228, 0.35);
  backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
}

.story__cta {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(247, 240, 228, 0.45);
  padding: 10px 4px;
}

.story__cta span {
  transition: transform 0.3s var(--ease);
  display: inline-block;
}

.story__cta:hover span {
  transform: translateX(5px);
}

.story__cta:hover {
  text-decoration-color: var(--cream);
}

/* Cierre del viaje: subtítulo + indicador de scroll */
.story__line--final {
  gap: 20px;
}

.story__line .story__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: rgba(247, 240, 228, 0.82);
  text-shadow: 0 2px 30px rgba(10, 20, 16, 0.5);
  margin-top: 4px;
}

.story__scrollcue {
  display: inline-flex;
  animation: scrollcue-bob 2.4s var(--ease) infinite;
}

.story__scrollcue svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: rgba(247, 240, 228, 0.75);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes scrollcue-bob {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(6px);
    opacity: 0.5;
  }
}

/* Flores reales que entran desde el borde inferior (estilo Kage) */
.fg-el {
  position: absolute;
  bottom: clamp(-12px, -2vh, 0);
  width: clamp(220px, 28vw, 400px);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  will-change: opacity, transform;
}

.fg-el--left {
  bottom: 0;
  right: 0;
}

.fg-el--right {
  bottom: 0;
  left: 0;
}

.fg-el img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.9) brightness(0.95);
}

.fg-el--rose img {
  filter: saturate(0.85) sepia(0.45) hue-rotate(-25deg) brightness(1.08);
}

.story__hint {
  position: absolute;
  inset: auto 0 34px 0;
  display: flex;
  justify-content: center;
  opacity: 0;
  will-change: opacity;
}

.story__hint svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: rgba(247, 240, 228, 0.7);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: hint-bob 2.4s var(--ease) infinite;
}

@keyframes hint-bob {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(9px);
    opacity: 0.55;
  }
}

.story__progress {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 2px;
  border-radius: 2px;
  background: rgba(247, 240, 228, 0.25);
  overflow: hidden;
}

#story-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--paper);
  border-radius: 2px;
}

/* ---------- Tarjetas glass ---------- */
.card,
.step,
.quote,
.sign,
.faq__item {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 3vw, 26px);
}

.card {
  border-radius: 20px;
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(23, 51, 47, 0.12);
  border-color: rgba(255, 255, 255, 0.9);
  background: var(--glass-strong);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.card__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--sage-deep);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.42rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 22px;
}

.card__link {
  margin-top: auto;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.card__link span {
  transition: transform 0.3s var(--ease);
}

.card__link:hover span {
  transform: translateX(4px);
}

/* ---------- Pasos ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 26px);
}

.step {
  border-radius: 20px;
  padding: clamp(24px, 2.5vw, 32px);
  position: relative;
  overflow: hidden;
}

.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--sage);
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}

.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.28rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Sobre mí ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.about__media {
  display: flex;
  justify-content: center;
}

.about__frame {
  position: relative;
  width: min(380px, 100%);
}

.about__frame::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  background: var(--sage-light);
  border-radius: 44% 56% 55% 45% / 48% 44% 56% 52%;
  z-index: 0;
}

.about__portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.about__badge {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.about__text .section__title {
  margin-bottom: 18px;
}

.about__text p {
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.about__text strong {
  color: var(--ink);
  font-weight: 600;
}

.about__list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.about__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
  color: var(--ink);
}

.about__list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}

/* ---------- Señales ---------- */
.signs {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: clamp(24px, 4vw, 40px) 0 0;
}

.sign {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 16px;
  padding: 18px 22px;
  font-size: 1.05rem;
}

.sign svg {
  width: 26px;
  height: 26px;
  flex: none;
  fill: none;
  stroke: var(--sage);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signs__cta {
  margin-top: 36px;
  text-align: center;
  display: grid;
  gap: 20px;
  justify-items: center;
}

.signs__cta p {
  color: var(--ink-soft);
  max-width: 30em;
}

/* ---------- Testimonios ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 26px);
}

.quote {
  border-radius: 20px;
  padding: clamp(26px, 3vw, 34px);
  display: flex;
  flex-direction: column;
}

.quote__mark {
  width: 34px;
  height: 34px;
  fill: var(--sage);
  opacity: 0.4;
  margin-bottom: 18px;
}

.quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink);
  flex: 1;
}

.quote figcaption {
  margin-top: 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sage-deep);
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 14px;
}

.faq__item {
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

.faq__item.is-open {
  border-color: var(--sage);
}

.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: 0;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}

.faq__chevron {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--sage-deep);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.faq__item.is-open .faq__panel {
  grid-template-rows: 1fr;
}

.faq__body {
  overflow: hidden;
}

.faq__body p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 44em;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(255, 255, 255, 0.06), transparent 55%),
    var(--dark);
  color: var(--paper);
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
}

.cta__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.4vw, 3.9rem);
  line-height: 1.08;
  margin-bottom: 20px;
}

.cta__sub {
  color: rgba(253, 252, 248, 0.75);
  font-size: 1.14rem;
  max-width: 30em;
  margin: 0 auto 40px;
}

.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.cta__note {
  font-size: 0.86rem;
  color: rgba(253, 252, 248, 0.6);
  max-width: 44em;
  margin: 0 auto;
}

.cta__note strong {
  color: rgba(253, 252, 248, 0.85);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  background: var(--dark-soft);
  color: var(--paper);
  padding: clamp(56px, 8vw, 80px) 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(253, 252, 248, 0.12);
}

.footer__brand .brand__text em {
  color: #A9C4B5;
}

.footer__brand p {
  margin-top: 16px;
  color: rgba(253, 252, 248, 0.65);
  font-size: 0.95rem;
  max-width: 26em;
}

.footer__brand {
  text-align: center;
}

.footer__col h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(253, 252, 248, 0.72);
  font-size: 0.95rem;
  padding: 5px 0;
  transition: color 0.25s var(--ease);
}

.footer__link:hover {
  color: var(--paper);
}

.footer__link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: none;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__bottom {
  margin-top: 28px;
  color: rgba(253, 252, 248, 0.5);
  font-size: 0.85rem;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s var(--ease);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.wa-float:hover {
  transform: scale(1.1);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }

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

  .quotes {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

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

  .about__media {
    order: -1;
  }

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

@media (max-width: 700px) {

  .nav__links,
  .btn--nav {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .cards,
  .steps,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .quotes {
    max-width: none;
  }

  .fg-el {
    width: clamp(130px, 36vw, 210px);
    bottom: clamp(0, 1vh, 12px);
  }

  .hero__cta .btn {
    width: 100%;
  }

  .cta__buttons .btn {
    width: 100%;
  }

  .story {
    height: 500vh;
  }

  .story__line {
    gap: 26px;
    padding: 0 6vw;
  }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .story {
    height: auto;
  }

  .story__scrim,
  .story__progress {
    display: none;
  }

  .story__stage {
    position: static;
    height: auto;
    display: grid;
    gap: 40px;
    padding: clamp(60px, 10vw, 100px) 0;
  }

  .story__line {
    position: static;
    opacity: 1 !important;
    transform: none !important;
    padding: 0 clamp(20px, 5vw, 40px);
  }

  .fg-el {
    position: static;
    width: clamp(90px, 20vw, 140px);
    margin: 28px auto 0;
    opacity: 1;
  }

  .story__line .si {
    transform: none !important;
    opacity: 1 !important;
  }

  .story__line p {
    font-size: clamp(1.7rem, 5vw, 3rem);
    color: var(--ink);
    text-shadow: none;
  }

  .story__line .story__subtitle {
    color: var(--ink-soft);
    text-shadow: none;
  }

  .story__scrollcue svg {
    stroke: var(--sage-deep);
  }

  .story__chips {
    opacity: 1 !important;
    transform: none !important;
  }

  .story__hint {
    display: none;
  }

  .story__line--hero {
    background: none;
    padding: 0 clamp(20px, 5vw, 40px);
  }

  .story__line--hero .hero__bg {
    display: none;
  }

  .story__line--hero::before {
    display: none;
  }

  .story__line--hero .hero__title {
    color: var(--ink);
  }

  .story__line--hero .hero__title em {
    color: var(--sage-deep);
  }

  .story__line--hero .hero__link {
    color: var(--sage-deep);
    text-decoration-color: rgba(70, 103, 90, 0.5);
  }

  .story__chip {
    color: var(--ink);
    border-color: var(--line);
    background: var(--glass-strong);
    backdrop-filter: none;
  }

  .story__cta {
    color: var(--sage-deep);
    text-decoration-color: rgba(70, 103, 90, 0.5);
  }

  .t-split .w {
    opacity: 1 !important;
    transform: none !important;
  }

  .card,
  .step,
  .quote,
  .sign {
    background: var(--glass-strong);
    backdrop-filter: none;
  }
}