/* Camila Varela · Nutrición
   Canon de bienestar, ejecutado derecho: piso cálido, verde bosque, salvia, fotografía natural.
   Colores muestreados de los comps aprobados (.impeccable/mocks/comp-cocina.png y comp-semana.png). */

:root {
  --ground: #fdfbf7;
  --pale: #eff1e8;
  --card: #ffffff;
  --ink: #233922;
  --ink-2: #1f3a20;
  --wordmark: #223e22;
  --text: #2a2a2b;
  --text-2: #363637;
  --muted: #55575a;
  --card-title: #101011;
  --card-sub: #434446;
  --sage: #5a7453;
  --sage-deep: #4a6244;
  --sage-light: #67815f;
  --disc: #eceee4;
  --disc-2: #dce0d3;
  --tag: #dadec9;
  --caption: #5f6e58;
  --line: #e2e4da;
  --line-strong: #c3cab8;
  --field-line: #848f7c; /* borde de campos: 3.39:1 sobre blanco, 3.27:1 sobre el relleno (mínimo 3:1 para controles) */
  --deep: #1f3a20;
  --deep-2: #284628;
  --on-deep: #f3f1ea;
  --on-deep-muted: #c9d1c0;
  --error: #a3261c;
  /* Soporte: superficies del navegador, relleno de foto mientras carga, detalles de testimonios y campos */
  --selection: #d3dbc6;
  --scrollbar: #b3bca8;
  --photo-fill: #ebe8e2;
  --quote-mark: #a7bd9b;
  --avatar: #3a5a37;
  --placeholder: #6f726b;      /* 4.7:1 sobre el relleno del campo */
  --field-line-hover: #6d7967;

  --font-display: "Nunito", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-text: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-frame: 28px;
  --radius-card: 16px;
  --shadow-float: 0 26px 50px -28px rgb(31 58 32 / .42), 0 2px 8px rgb(31 58 32 / .06);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 2.75vw, 40px);
  --wrap: 1200px;
  --nav-h: 100px;
  --section-y: clamp(88px, 10vw, 144px);
}

/* ---------- Base y superficies del navegador ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
  scrollbar-color: var(--scrollbar) var(--ground);
  accent-color: var(--sage);
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-text);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, picture { display: block; max-width: 100%; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 750;
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
abbr[title] { text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
input, textarea { caret-color: var(--sage); }
::selection { background: var(--selection); color: var(--ink-2); }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--scrollbar); border-radius: 12px; border: 3px solid var(--ground); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--deep); color: var(--on-deep); font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.ico {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico--fill { fill: currentColor; stroke: none; }

.disc {
  display: inline-grid; place-items: center; flex: none;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--disc); color: var(--ink);
}
.disc--chip { width: 44px; height: 44px; background: var(--disc-2); }
.disc--sm { width: 40px; height: 40px; }
.disc--sm .ico { width: 20px; height: 20px; }
.disc--xs { width: 28px; height: 28px; background: var(--disc-2); }
.disc--xs .ico { width: 16px; height: 16px; stroke-width: 2.3; }

/* ---------- Botones y enlaces ---------- */
.btn {
  --bg: var(--sage);
  --bg-hover: var(--sage-deep);
  --fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.55em;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 650 1rem/1.1 var(--font-text);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s, box-shadow .45s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--bg-hover); box-shadow: 0 14px 26px -16px rgb(31 58 32 / .6); }
.btn:focus-visible { outline-offset: 4px; }
.btn--lg { min-height: 56px; padding: 0 1.9em; font-size: 1.0625rem; }
.btn--sm { min-height: 34px; padding: 0 1.5em; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--light { --bg: var(--on-deep); --bg-hover: #fff; --fg: var(--deep); }

.link {
  display: inline-block;
  padding-bottom: 4px;
  color: var(--ink-2);
  font: 600 1.0625rem/1.35 var(--font-text);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
}
.link:hover { animation: underline .8s var(--ease-out); }
@keyframes underline {
  0% { background-size: 100% 1px; background-position: 100% 100%; }
  45% { background-size: 0 1px; background-position: 100% 100%; }
  46% { background-size: 0 1px; background-position: 0 100%; }
  100% { background-size: 100% 1px; background-position: 0 100%; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: transform .55s var(--ease-out), background-color .4s, box-shadow .4s;
}
/* La barra mide siempre 72px; arriba de todo baja 18px (centro a 54px, como en el comp)
   y al scrollear sube a su lugar: solo se anima transform, nunca height ni padding. */
.nav__bar {
  height: 72px;
  padding: 0 clamp(16px, 3.75vw, 52px);
  display: flex; align-items: center; gap: 20px;
  transform: translateY(18px);
  transition: transform .45s var(--ease-out);
}
.nav.is-scrolled { background: rgb(253 251 247 / .96); box-shadow: 0 1px 0 rgb(35 57 34 / .08); }
.nav.is-scrolled .nav__bar { transform: none; }
.nav.is-hidden { transform: translateY(-105%); }
.menu-open .nav { transform: none; background: var(--ground); box-shadow: none; }

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  margin-right: auto;
  color: var(--wordmark); text-decoration: none; white-space: nowrap;
}
.brand__mark { width: 40px; height: 40px; stroke-width: 1.45; }
.brand__name { font: 650 1.5rem/1 var(--font-display); letter-spacing: -0.012em; }
.brand__dot { font: 800 1.1875rem/1 var(--font-display); margin: 0 -.05em 0 .05em; }
.brand__role { font: 650 1.1875rem/1 var(--font-display); }

.nav__links { display: flex; gap: clamp(22px, 3.3vw, 42px); margin-right: clamp(16px, 3vw, 40px); }
.nav__links a {
  position: relative; padding: 10px 0;
  color: var(--text-2); font: 500 .9375rem/1 var(--font-text); text-decoration: none;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .5s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__links a.is-current { color: var(--ink); }
.nav__cta { min-height: 42px; padding: 0 1.75em; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px; margin-right: -6px;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  place-items: center;
}
.nav__burger { position: relative; display: block; width: 22px; height: 12px; }
.nav__burger span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 999px; background: var(--ink);
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.nav__burger span:first-child { top: 0; }
.nav__burger span:last-child { top: 10px; }
.nav__toggle[aria-expanded="true"] .nav__burger span:first-child { top: 5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger span:last-child { top: 5px; transform: rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; gap: 28px;
  padding: 92px var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: var(--ground);
  overflow-y: auto;
  opacity: 0; transform: translateY(-10px);
  transition: opacity .35s, transform .5s var(--ease-out);
}
.sheet.is-open { opacity: 1; transform: none; }
.sheet__links { display: grid; }
.sheet__links a {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  font: 750 clamp(1.75rem, 8vw, 2.4rem)/1.1 var(--font-display); letter-spacing: -0.02em;
}
.sheet__meta { color: var(--muted); font-size: .9375rem; }

@media (max-width: 959.98px) {
  :root { --nav-h: 68px; }
  .nav__bar { height: 64px; transform: translateY(2px); }
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .nav__cta { min-height: 40px; padding: 0 1.3em; font-size: .9375rem; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 1.25rem; }
  .brand__dot, .brand__role { font-size: 1rem; }
}
@media (max-width: 599.98px) { .nav__cta { display: none; } }
@media (max-width: 359.98px) { .brand__dot, .brand__role { display: none; } }

/* ---------- Hero ---------- */
.hero { --hero-inset: clamp(16px, 2.75vw, 40px); padding-top: var(--nav-h); }
.hero__stage {
  position: relative;
  display: grid; grid-template-areas: "stack";
  margin: 0 var(--hero-inset);
  height: clamp(440px, min(calc(100vh - 227px), calc((100vw - 2 * var(--hero-inset)) / 2.05)), 880px);
  height: clamp(440px, min(calc(100svh - 227px), calc((100vw - 2 * var(--hero-inset)) / 2.05)), 880px);
}
.hero__frame {
  grid-area: stack;
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-frame);
  background: var(--photo-fill);
}
.hero__media { position: absolute; inset: 0; transform-origin: 62% 50%; }
.hero__still, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 50%;
}
.hero__video { opacity: 0; transition: opacity 1.4s var(--ease-out); }
.hero__video.is-playing { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgb(250 248 244 / .84) 0%, rgb(250 248 244 / .66) 27%,
    rgb(250 248 244 / .26) 45%, rgb(250 248 244 / 0) 59%);
}
.hero__pause {
  position: absolute; left: 20px; bottom: 20px; z-index: 4;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgb(255 255 255 / .86); color: var(--ink);
  box-shadow: 0 6px 16px -8px rgb(31 58 32 / .4);
  transition: background-color .3s, transform .4s var(--ease-out);
}
.hero__pause:hover { background: #fff; transform: scale(1.06); }
.hero__pause .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.hero__pause .ico--play { display: none; fill: currentColor; stroke: none; }
.hero__pause.is-paused .ico--play { display: block; }
.hero__pause.is-paused .ico--pause { display: none; }

.hero__copy {
  grid-area: stack; align-self: center; z-index: 2;
  max-width: min(980px, 62%);
  padding: 4px 0 0 clamp(24px, 2.9vw, 44px);
}
/* 11.9em: entra "entrar en tu semana real." (11.3em) pero no "Comer bien tiene que entrar" (12.6em),
   así el corte del comp sale solo, sin <br> (SplitText respeta un <br> aunque esté oculto). */
.hero__title {
  max-width: 11.9em;
  font-size: clamp(2.75rem, 4.3vw, 5rem);
  font-weight: 770;
  line-height: 1.03;
  letter-spacing: -0.022em;
  text-wrap: initial;
}
.hero__lead { margin-top: 22px; max-width: 33em; font-size: 1.0625rem; line-height: 1.65; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 34px; margin-top: 28px; }

.booking {
  grid-area: stack; align-self: end; justify-self: end; z-index: 3;
  width: 348px; margin: 0 13px 13px 0;
  display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 16px;
  padding: 16px 20px 16px 16px;
  background: var(--card); border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
}
.booking .disc { margin-top: 2px; }
.booking .disc .ico { width: 22px; height: 22px; }
.booking__body { display: grid; justify-items: start; }
.booking__title { font: 650 1.1875rem/1.25 var(--font-text); color: var(--card-title); letter-spacing: -0.008em; }
.booking__sub { margin-top: 4px; font-size: .8125rem; line-height: 1.4; color: var(--card-sub); }
.booking__cta { justify-self: center; margin-top: 12px; }

.goals {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 28px clamp(16px, 3.8vw, 52px) 32px;
}
.goal {
  position: relative; flex: 0 1 auto;
  display: inline-flex; align-items: center; gap: 14px;
  height: 66px; padding: 0 38px 0 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--text);
  font: 500 1rem/1.2 var(--font-text); white-space: nowrap;
  cursor: pointer;
  transition: border-color .3s, background-color .3s, box-shadow .45s var(--ease-out);
}
.goal .disc { transition: background-color .35s, color .35s; }
.goal__arrow {
  position: absolute; right: 13px; top: 50%;
  width: 18px; height: 18px; margin-top: -9px;
  color: var(--sage-deep); stroke-width: 2;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .3s, transform .45s var(--ease-out);
}
.goal:hover { border-color: var(--sage); background: var(--card); box-shadow: 0 12px 26px -18px rgb(31 58 32 / .5); }
.goal:hover .disc, .goal:focus-visible .disc { background: var(--sage); color: #fff; }
.goal:hover .goal__arrow, .goal:focus-visible .goal__arrow { opacity: 1; transform: none; }

@media (max-width: 1279.98px) {
  .goals {
    justify-content: flex-start; gap: 10px;
    padding: 24px var(--hero-inset) 28px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--hero-inset);
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  }
  .goals::-webkit-scrollbar { display: none; }
  .goal { flex: none; scroll-snap-align: start; height: 58px; }
}

/* Hero apilado: copy arriba, foto abajo (tablet y celular) */
@media (max-width: 1099.98px) {
  .hero__stage { display: flex; flex-direction: column; height: auto; }
  .hero__copy { order: -1; align-self: stretch; max-width: 760px; padding: 28px 0 32px; }
  .hero__title { font-size: clamp(2.375rem, 6.6vw, 3.75rem); }
  .hero__frame { aspect-ratio: 16 / 9; }
  .hero__scrim { display: none; }
  .booking { position: relative; z-index: 3; margin: -60px 16px 0 auto; width: min(360px, calc(100% - 32px)); }
}
@media (max-width: 767.98px) {
  .hero__copy { padding: 18px 2px 26px; }
  .hero__title { font-size: clamp(2.125rem, 9.4vw, 2.75rem); line-height: 1.05; }
  .hero__lead { margin-top: 16px; font-size: 1rem; }
  .hero__actions { margin-top: 22px; gap: 14px 26px; }
  .hero__frame { aspect-ratio: 4 / 5; border-radius: 24px; }
  .hero__still { object-position: 50% 50%; }
  .hero__video { object-position: 71% 50%; }
  .hero__pause { left: auto; right: 14px; top: 14px; bottom: auto; }
  .booking { align-self: stretch; margin: -72px 10px 0; width: auto; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .booking .disc { width: 44px; height: 44px; }
  .booking__body { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
  .booking__title { font-size: 1.0625rem; grid-column: 1; }
  .booking__sub { grid-column: 1; }
  .booking__cta { grid-column: 2; grid-row: 1 / span 2; margin: 0; min-height: 44px; padding: 0 1.2em; }
}

/* ---------- Semana ---------- */
.semana { padding: var(--section-y) 0 clamp(64px, 7vw, 104px); }
.semana__head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: end; gap: 20px 64px;
  margin-bottom: clamp(36px, 4.4vw, 60px);
}
.semana__head h2 { font-size: clamp(2.125rem, 4.2vw, 3.6rem); max-width: 14ch; }
.semana__head p { justify-self: end; max-width: 40ch; }

.semana__body { padding: 0 var(--gutter); }
.semana__strip {
  display: grid; grid-template-columns: minmax(0, 1.78fr) minmax(0, 8.5fr);
  gap: 11px; align-items: center;
  max-width: 1680px; margin: 0 auto;
}
.semana__portrait { margin: 0; overflow: hidden; border-radius: 20px; aspect-ratio: .62; background: var(--photo-fill); }
.semana__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.semana__days {
  list-style: none;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) minmax(0, 1.25fr);
  gap: 11px; align-items: center;
}
.day {
  position: relative;
  padding: 14px 7px 7px;
  border-radius: var(--radius-card);
  background: rgb(255 255 255 / .74);
  box-shadow: 0 1px 2px rgb(35 57 34 / .04), 0 16px 30px -24px rgb(35 57 34 / .35);
  text-align: center;
}
.day__name { margin-bottom: 14px; font: 700 1.25rem/1 var(--font-display); color: var(--ink); letter-spacing: -0.01em; }
.day__photo { position: relative; margin: 0; overflow: hidden; border-radius: 12px; aspect-ratio: .55; background: var(--photo-fill); }
.day__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.day--mie .day__photo img { object-position: 40% 50%; }
.day--dom .day__photo img { object-position: 58% 55%; }
.day__photo figcaption {
  position: absolute; left: 6px; right: 6px; bottom: 6px;
  padding: 8px 6px; border-radius: 10px;
  background: rgb(255 255 255 / .95); color: var(--ink);
  font: 650 .75rem/1.25 var(--font-text);
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .5s var(--ease-out);
}
@media (hover: hover) {
  .day:hover .day__photo img { transform: scale(1.07); }
  .day:hover figcaption { opacity: 1; transform: none; }
}
.day--dom {
  top: -12px;
  padding: 14px 9px 12px;
  background: var(--card);
  box-shadow: var(--shadow-float);
}
.day--dom .day__photo { aspect-ratio: .6; }
.day__tag {
  display: inline-block; margin-top: 12px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--tag); color: var(--ink-2);
  font: 650 .875rem/1 var(--font-text);
}
.semana__caption {
  display: grid; grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  align-items: center; gap: 18px;
  max-width: 600px; margin: clamp(28px, 3.4vw, 44px) auto 0;
}
.semana__caption p { font: 500 .875rem/1 var(--font-text); color: var(--caption); }
.semana__rule { height: 1px; background: var(--line-strong); transform-origin: 100% 50%; }
.semana__rule:last-child { transform-origin: 0 50%; }
.semana__leaf { display: grid; margin: 14px auto 0; width: 34px; height: 34px; }
.semana__leaf .ico { width: 18px; height: 18px; stroke-width: 2.5; color: var(--sage-deep); }

@media (max-width: 1099.98px) {
  .semana__head { grid-template-columns: 1fr; }
  .semana__head p { justify-self: start; }
  .semana__body { padding: 0; }
  .semana__strip {
    display: flex; gap: 12px; align-items: stretch;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    padding: 16px var(--gutter) 20px;
    scrollbar-width: none;
  }
  .semana__strip::-webkit-scrollbar { display: none; }
  .semana__portrait { flex: 0 0 min(40vw, 230px); aspect-ratio: auto; scroll-snap-align: start; }
  .semana__days { display: flex; gap: 12px; }
  .day { flex: 0 0 min(44vw, 210px); scroll-snap-align: start; top: 0; }
  .day--dom { flex-basis: min(50vw, 240px); }
  .day__photo { aspect-ratio: .7; }
  .day--dom .day__photo { aspect-ratio: .7; }
  .day__photo figcaption {
    position: static; opacity: 1; transform: none;
    padding: 10px 4px 4px; background: none; color: var(--muted);
    font-size: .8125rem;
  }
}

/* ---------- Método ---------- */
.metodo { background: var(--pale); padding: var(--section-y) 0; }
.metodo__head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end; gap: 20px 64px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.metodo__head h2 { font-size: clamp(2.125rem, 3.8vw, 3.25rem); max-width: 16ch; }
.metodo__head p { justify-self: end; max-width: 42ch; }
.metodo__body {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 7vw, 112px); align-items: start;
}
.steps { position: relative; }
.steps__track {
  position: absolute; left: 27px; top: 28px; bottom: 40px; width: 2px;
  border-radius: 999px; background: rgb(35 57 34 / .12); overflow: hidden;
}
.steps__progress { position: absolute; inset: 0; background: var(--sage); transform-origin: 50% 0; transform: scaleY(0); }
:root:not(.motion) .steps__progress { transform: none; }
.steps__list { list-style: none; }
.step {
  display: grid; grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 clamp(20px, 2.4vw, 36px);
  padding-bottom: clamp(44px, 5.4vw, 72px);
}
.step:last-child { padding-bottom: 0; }
.step__n {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: var(--ground);
  font: 750 1.0625rem/1 var(--font-display); color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: background-color .5s, color .5s, border-color .5s;
}
.step.is-active .step__n, :root:not(.motion) .step__n { background: var(--sage); border-color: var(--sage); color: #fff; }
.step__body { padding-top: 13px; }
.step h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.step__body p { margin-top: 12px; max-width: 46ch; }

.chat {
  position: sticky; top: max(96px, calc(50vh - 250px));
  justify-self: end; width: 100%; max-width: 440px; margin: 0;
  overflow: hidden; border-radius: 24px; background: var(--card);
  box-shadow: 0 46px 90px -52px rgb(31 58 32 / .5), 0 2px 10px rgb(31 58 32 / .06);
}
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--deep); color: var(--on-deep); }
.chat__avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.chat__head b { display: block; font: 700 1rem/1.25 var(--font-text); }
.chat__head span { font-size: .8125rem; color: var(--on-deep-muted); }
.chat__log {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  height: 372px; padding: 18px 16px 14px;
  background: #f2f0e9;
}
.chat__msgs { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.msg {
  position: relative; max-width: 84%;
  padding: 9px 12px 21px;
  border-radius: 16px;
  color: #1d1f1c; font-size: .9375rem; line-height: 1.42;
  box-shadow: 0 1px 1px rgb(31 58 32 / .06);
}
.msg--in { align-self: flex-start; background: var(--card); border-top-left-radius: 5px; }
.msg--out { align-self: flex-end; background: #dde6d2; border-top-right-radius: 5px; }
.msg time {
  position: absolute; right: 10px; bottom: 5px;
  font-size: .6875rem; line-height: 1; color: #5a6056;
  font-variant-numeric: tabular-nums;
}
.msg--out time { right: 30px; }
.msg__read { position: absolute; right: 9px; bottom: 3px; width: 17px; height: 17px; stroke-width: 1.9; color: var(--sage-deep); }
.chat__typing {
  display: none; align-self: flex-start; gap: 4px;
  padding: 13px 14px; border-radius: 16px; border-top-left-radius: 5px;
  background: var(--card); box-shadow: 0 1px 1px rgb(31 58 32 / .06);
}
.chat__typing.is-on { display: inline-flex; }
.chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa391; animation: typing 1.1s infinite ease-in-out; }
.chat__typing span:nth-child(2) { animation-delay: .15s; }
.chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__cap { padding: 12px 18px 16px; font-size: .8125rem; color: var(--muted); }

/* ---------- La carta ---------- */
.carta { padding: var(--section-y) 0; }
.carta__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.carta__head { position: sticky; top: 120px; }
.carta__head h2 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.carta__head p { margin-top: 20px; max-width: 34ch; }
.carta__head .carta__pay { margin-top: 14px; color: var(--muted); font-size: .9375rem; }
.carta__link { margin-top: 28px; }
.carta__list {
  list-style: none; padding: 10px 0;
  border-radius: 28px; background: var(--card);
  box-shadow: 0 1px 0 rgb(35 57 34 / .04), 0 40px 80px -56px rgb(31 58 32 / .35);
}
.item {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px;
  padding: 26px clamp(22px, 3vw, 40px);
}
.item::before {
  content: ""; position: absolute; top: 0; height: 1px;
  left: clamp(22px, 3vw, 40px); right: clamp(22px, 3vw, 40px);
  background: var(--line); transform-origin: 0 50%;
}
.item:first-child::before { display: none; }
.item h3 { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); font-weight: 720; letter-spacing: -0.012em; }
.item__name p { margin-top: 4px; font-size: .9375rem; color: var(--muted); }
.item__price {
  font: 760 clamp(1.375rem, 2vw, 1.75rem)/1 var(--font-display);
  color: var(--ink); letter-spacing: -0.015em; white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}
.item__price--quote { font: 700 1rem/1 var(--font-text); color: var(--muted); letter-spacing: 0; }
.pill {
  display: inline-block; padding: 10px 16px; border-radius: 999px;
  background: var(--disc-2); color: var(--ink-2);
  font: 700 .9375rem/1 var(--font-text); letter-spacing: 0;
}

/* ---------- Mercado ---------- */
.mercado { position: relative; padding: 0 var(--gutter); margin-bottom: var(--section-y); }
.mercado__frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius-frame);
  aspect-ratio: 16 / 9; max-height: 88vh; width: 100%;
  background: var(--photo-fill);
}
.mercado__frame picture, .mercado__img { width: 100%; height: 100%; }
.mercado__img { object-fit: cover; object-position: 60% 15%; }
.mercado__card {
  position: absolute; left: calc(var(--gutter) + clamp(20px, 3vw, 48px)); bottom: clamp(20px, 3vw, 48px);
  width: min(390px, calc(100% - 2 * var(--gutter) - 40px));
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: 24px; background: var(--card);
  box-shadow: var(--shadow-float);
}
.mercado__card h2 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
.mercado__card ul { list-style: none; margin-top: 18px; }
.mercado__card li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--line);
  font-weight: 600; color: var(--text);
}
@media (max-width: 767.98px) {
  .mercado__frame { aspect-ratio: 4 / 5; max-height: none; border-radius: 24px; }
  .mercado__img { object-position: 50% 50%; }
  .mercado__card { position: relative; left: auto; bottom: auto; width: auto; margin: -64px 12px 0; }
}

/* ---------- Sobre mí ---------- */
.about { padding-bottom: var(--section-y); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.about__photo { margin: 0; overflow: hidden; border-radius: var(--radius-frame); aspect-ratio: 4 / 5; background: var(--photo-fill); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.about__copy h2 { margin-bottom: 24px; font-size: clamp(2.5rem, 5vw, 4.25rem); }
.about__copy > p { max-width: 50ch; }
.about__copy > p + p { margin-top: 16px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 470px; margin: 36px 0 28px; }
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 20px 22px; border-radius: var(--radius-card); background: var(--pale); }
.stats dt { font-size: .9375rem; color: var(--muted); }
.stats dd {
  margin: 0; color: var(--ink);
  font: 800 clamp(2.5rem, 4vw, 3.25rem)/1 var(--font-display); letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.creds { list-style: none; display: grid; gap: 12px; margin-bottom: 36px; }
.creds li { display: flex; align-items: center; gap: 12px; font-weight: 600; }

/* ---------- Testimonios ---------- */
.voces { background: var(--deep); color: var(--on-deep); padding: var(--section-y) 0; overflow: hidden; }
.voces h2 { max-width: 15ch; margin-bottom: clamp(40px, 5vw, 72px); color: var(--on-deep); font-size: clamp(2.125rem, 4.2vw, 3.6rem); }
.voces__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; }
.voz {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 340px; margin: 0;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid rgb(243 241 234 / .07); border-radius: 24px;
  background: var(--deep-2);
}
.voz:nth-child(2) { margin-top: 56px; }
.voz:nth-child(3) { margin-top: 112px; }
.voz blockquote { margin: 0; }
.voz blockquote p { color: var(--on-deep); font: 650 clamp(1.25rem, 1.7vw, 1.5rem)/1.4 var(--font-display); letter-spacing: -0.01em; }
.voz blockquote p::before {
  content: "“"; display: block; margin-bottom: 14px;
  color: var(--quote-mark); font: 800 4.5rem/.7 var(--font-display);
}
.voz figcaption { display: flex; align-items: center; gap: 12px; margin-top: 32px; color: var(--on-deep-muted); font-size: .9375rem; }
.voz figcaption b { display: block; color: var(--on-deep); font-weight: 700; }
.voz__initials {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--avatar); color: var(--on-deep);
  font: 750 .875rem/1 var(--font-display); letter-spacing: .02em;
}

/* ---------- Preguntas ---------- */
.faq { padding: var(--section-y) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head h2 { max-width: 14ch; font-size: clamp(2.125rem, 3.8vw, 3.25rem); }
.faq__head p { margin: 20px 0 16px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  color: var(--ink); font: 700 clamp(1.0625rem, 1.5vw, 1.25rem)/1.35 var(--font-display); letter-spacing: -0.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--disc); color: var(--ink);
  transition: transform .5s var(--ease-out), background-color .3s, color .3s;
}
.faq__icon .ico { width: 18px; height: 18px; stroke-width: 2; }
.faq__list summary:hover .faq__icon { background: var(--disc-2); }
.faq__list details[open]:not(.is-closing) .faq__icon { transform: rotate(45deg); background: var(--sage); color: #fff; }
.faq__a { overflow: hidden; }
.faq__a p { max-width: 62ch; padding: 0 64px 26px 0; }

/* ---------- Turno ---------- */
.turno { background: var(--pale); padding: var(--section-y) 0; }
.turno__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.turno h2 { max-width: 13ch; font-size: clamp(2.125rem, 4.2vw, 3.6rem); }
.turno__lead { max-width: 40ch; margin: 20px 0 36px; font-size: 1.125rem; }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; font-style: normal; }
.contact > div { display: flex; align-items: flex-start; gap: 14px; }
.contact b { display: block; margin-bottom: 4px; color: var(--ink); font: 700 1rem/1.3 var(--font-display); }
.contact p { font-size: .9375rem; line-height: 1.55; }
.contact a { color: var(--ink-2); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.contact a:hover { text-decoration-color: var(--sage); }
.turno__online { margin-top: 28px; color: var(--ink); font-weight: 650; }

.turno__card {
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 28px; background: var(--card);
  box-shadow: 0 50px 100px -64px rgb(31 58 32 / .45), 0 2px 10px rgb(31 58 32 / .05);
}
.field { margin: 0 0 20px; }
.field label, .field legend { display: block; margin-bottom: 8px; color: var(--ink); font: 650 .9375rem/1.3 var(--font-text); }
.field input, .select select {
  width: 100%; height: 54px; padding: 0 18px;
  border: 1px solid var(--field-line); border-radius: 14px;
  background: #fcfbf8; color: var(--text);
  font-size: 1rem;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field input::placeholder { color: var(--placeholder); }
.field input:hover, .select select:hover { border-color: var(--field-line-hover); }
.field input:focus, .select select:focus { outline: none; border-color: var(--sage); background: #fff; box-shadow: 0 0 0 4px rgb(90 116 83 / .18); }
.field input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 4px rgb(163 38 28 / .12); }
.field__err { margin-top: 8px; color: var(--error); font-size: .875rem; font-weight: 650; }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.select select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; }
.field--modo { min-width: 0; margin-bottom: 28px; padding: 0; border: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: #f0f1e9; }
.segmented label { position: relative; margin: 0; cursor: pointer; }
.segmented input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segmented label > span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 6px 12px; border-radius: 12px;
  color: var(--text-2); font: 600 .9375rem/1.2 var(--font-text); text-align: center;
  transition: background-color .3s, color .3s, box-shadow .35s var(--ease-out);
}
.segmented .ico { width: 18px; height: 18px; }
@media (max-width: 419.98px) { .seg__more { display: none; } }
.segmented input:checked + span { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--sage), 0 8px 18px -12px rgb(31 58 32 / .4); }
.segmented input:focus-visible + span { outline: 2px solid var(--sage-deep); outline-offset: 2px; }
.form__fine { margin-top: 14px; text-align: center; color: var(--muted); font-size: .8125rem; }

.done { padding: 28px 8px; text-align: center; }
.done:focus { outline: none; }
.done__icon svg {
  width: 76px; height: 76px; margin: 0 auto 20px;
  fill: none; stroke: var(--sage); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.done__icon circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 1s var(--ease-out) forwards; }
.done__icon path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .6s .55s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { margin-bottom: 10px; font-size: 2rem; }
.done p { max-width: 34ch; margin: 0 auto 22px; }

/* ---------- Footer ---------- */
.foot { padding: clamp(64px, 8vw, 104px) 0 32px; background: var(--deep); color: var(--on-deep-muted); }
.foot__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid rgb(243 241 234 / .12);
}
.brand--light { margin-right: 0; color: var(--on-deep); }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 32px; padding: 36px 0; font-size: .9375rem; }
.foot__cols p + p { margin-top: 12px; }
.foot__nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 32px; align-content: start; }
.foot__nav a { color: var(--on-deep); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.foot__nav a:hover { background-size: 100% 1px; }
.foot__legal p { font-size: .875rem; }
.foot__legal strong { color: var(--on-deep); }
.foot__copy { padding-top: 24px; border-top: 1px solid rgb(243 241 234 / .12); font-size: .8125rem; }
.foot :focus-visible { outline-color: var(--on-deep); }

/* ---------- Botón flotante ---------- */
.fab {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 18px;
  border-radius: 999px; background: var(--deep); color: #fff;
  font: 700 1rem/1 var(--font-text); text-decoration: none;
  box-shadow: 0 18px 34px -16px rgb(31 58 32 / .65);
  transition: transform .6s var(--ease-out), opacity .4s, background-color .3s;
}
.fab svg { width: 22px; height: 22px; fill: currentColor; }
.fab:hover { background: #2b4d2b; }
/* Con JS arranca escondido y aparece recién fuera del hero, el formulario y el pie (sin JS queda siempre visible). */
.js .fab:not(.is-on) { transform: translateY(150%); opacity: 0; pointer-events: none; }

/* ---------- Responsive de secciones ---------- */
@media (max-width: 959.98px) {
  .metodo__head, .carta__grid, .faq__grid, .turno__grid, .about__grid, .metodo__body { grid-template-columns: 1fr; }
  .metodo__head p { justify-self: start; }
  .chat { position: relative; top: 0; justify-self: start; }
  .carta__head, .faq__head { position: static; }
  .about__photo { max-width: 560px; }
  .voces__grid { grid-template-columns: 1fr; }
  .voz:nth-child(2), .voz:nth-child(3) { margin-top: 0; }
  .voz { min-height: 0; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__legal { grid-column: 1 / -1; }
}
@media (max-width: 599.98px) {
  .contact { grid-template-columns: 1fr; }
  .item { grid-template-columns: 1fr; gap: 10px; padding-block: 22px; }
  .faq__a p { padding-right: 0; }
  .foot__cols { grid-template-columns: 1fr; }
  .fab span { display: none; }
  .fab { width: 56px; padding: 0; justify-content: center; }
}

/* ---------- Estados iniciales del movimiento (solo con JS y sin reduced-motion) ---------- */
.motion .nav__bar > * { opacity: 0; }
.motion .hero__title { visibility: hidden; }
.motion .hero__lead, .motion .hero__actions, .motion .booking, .motion .goal { opacity: 0; }
.motion .hero__frame { clip-path: inset(3% 2.4% 3% 2.4% round 40px); }

.motion .item::before { transform: scaleX(0); transition: transform 1.2s var(--ease-out) calc(var(--i, 0) * 80ms + 200ms); }
.motion .carta__list.is-in .item::before { transform: scaleX(1); }

/* ---------- Lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .done__icon circle, .done__icon path { stroke-dashoffset: 0; }
}
