/* Ya estás aquí — propuesta v2
   Colores del manual de identidad · movimiento con GSAP + Lenis */
:root {
  --crema: #efe7d2;
  --crema-2: #f6f1e4;
  --papel: #fbf8f0;
  --verde: #255143;
  --verde-osc: #14332a;
  --azul: #2464ce;
  --azul-osc: #1a4fa8;
  --azul-claro: #a9c6ff;
  --tinta: #18261f;
  --tinta-suave: #4a5852;
  --linea: rgba(37, 81, 67, .14);

  --f-display: "League Gothic", "Bebas Neue Pro", Impact, sans-serif;
  --f-text: "Sora", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 28px;

  /* Curvas (Emil Kowalski) */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  margin: 0;
  background: var(--crema-2);
  color: var(--tinta);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
strong { font-weight: 600; }
::selection { background: var(--azul); color: #fff; }
:focus-visible { outline: 3px solid var(--azul-claro); outline-offset: 3px; border-radius: 6px; }

/* Titulares */
.display {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 75;
  font-weight: 400;
  text-transform: uppercase;
  line-height: .98;
  font-size: clamp(60px, 8.6vw, 136px);
  color: var(--verde);
  margin: 0;
}
.display em { font-style: normal; color: var(--azul); }
.display--light { color: var(--crema); }
.display--light em { color: var(--azul-claro); }
.lead { font-size: clamp(16px, 1.25vw, 18px); color: var(--tinta-suave); max-width: 46ch; margin: 0; }

/* Botones */
.btn {
  --bg: var(--verde); --fg: var(--crema-2);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--f-text); text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.btn::before { /* barrido de color al pasar */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--azul); border-radius: inherit;
  transform: translateY(101%); transition: transform 380ms var(--ease-out);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease-out); }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover svg { transform: translateX(3px); }
  .btn--green:hover svg { transform: translateY(3px); }
}
.btn--blue { --bg: var(--azul); }
.btn--blue::before { background: var(--verde); }
.btn--line { --bg: transparent; --fg: var(--verde); box-shadow: inset 0 0 0 1.5px var(--verde); transition: transform 160ms var(--ease-out), color 300ms ease; }
.btn--line::before { background: var(--verde); }
@media (hover: hover) and (pointer: fine) { .btn--line:hover { color: var(--crema-2); } }
.btn > span, .btn > svg { position: relative; }

/* ---------- Intro ---------- */
.intro { display: none; }
.js .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 100;
  background: var(--azul); color: var(--crema);
}
.intro__inner { display: flex; align-items: center; gap: 22px; }
.intro__mark { width: 84px; height: auto; color: var(--crema); }
.intro__word {
  margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 75;
  text-transform: uppercase; font-size: clamp(56px, 9vw, 110px); line-height: 1;
  display: flex; gap: .22em; overflow: hidden; padding-top: .08em;
}
.intro__word span { display: inline-block; }

/* ---------- Progreso ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--azul); transform-origin: left; transform: scaleX(0); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 14px 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  transition: transform 500ms var(--ease-drawer);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav.is-hidden { transform: translateY(-140%); }
.nav__logo { color: var(--azul); display: block; padding: 6px 12px; margin-left: -12px; border-radius: 16px; transition: background-color 300ms ease; }
.nav__logo svg { height: 46px; width: auto; display: block; }
.nav.is-scrolled .nav__logo { background: rgba(251, 248, 240, .92); box-shadow: 0 6px 24px -12px rgba(20, 51, 42, .3); }

.nav__pill {
  position: relative; display: flex; gap: 2px; padding: 6px;
  background: rgba(251, 248, 240, .92);
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--linea), 0 10px 30px -18px rgba(20, 51, 42, .35);
}
.nav__pill a {
  position: relative; z-index: 1;
  padding: 10px 16px; border-radius: 999px;
  font-size: 14px; text-decoration: none; color: var(--verde);
  transition: color 250ms ease;
}
.nav__pill a.is-active { color: var(--crema-2); }
@media (hover: hover) and (pointer: fine) { .nav__pill a:not(.is-active):hover { color: var(--azul); } }
.nav__indicator {
  position: absolute; top: 6px; left: 0; height: calc(100% - 12px); width: 0;
  background: var(--verde); border-radius: 999px; opacity: 0;
  transition: transform 450ms var(--ease-out), width 450ms var(--ease-out), opacity 200ms ease;
}
.nav__cta { min-height: 46px; padding: 0 20px; font-size: 14px; }
.nav__burger { display: none; }

.mmenu { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 120px var(--gutter) 0; }
.hero__title {
  margin: 0;
  font-family: var(--f-display); font-variation-settings: "wdth" 75; font-weight: 400;
  text-transform: uppercase; line-height: 1.04;
  font-size: clamp(64px, 19.4vw, 340px);
  letter-spacing: -.005em;
}
.hero__line { display: block; }
.hero__line--green { color: var(--verde); }
.hero__line--blue { color: var(--azul); }
.hero__line .char { display: inline-block; will-change: transform; }

.hero__row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  margin: clamp(20px, 3vw, 40px) 0 clamp(28px, 4vw, 52px);
}
.hero__lead { margin: 0; max-width: 36ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--tinta-suave); }
.hero__lead strong { color: var(--verde); }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hero__frame {
  position: relative; height: min(88vh, 860px); margin: 0 calc(var(--gutter) * -1);
  overflow: hidden; background: var(--verde);
  clip-path: inset(0 var(--gutter) 0 var(--gutter) round var(--radius));
}
.hero__frame img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 51, 42, .45)); pointer-events: none; }

.stamp {
  position: absolute; right: calc(var(--gutter) + 28px); bottom: 32px; z-index: 2;
  background: var(--crema); color: var(--verde);
  padding: 14px 18px 12px; border-radius: 10px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45);
  rotate: -3deg;
}
.stamp__cp { font-family: var(--f-display); font-size: 48px; line-height: 1; }
.stamp__cp b { font-weight: 400; color: var(--azul); }
.stamp__city { font-size: 11px; line-height: 1.3; font-weight: 600; border-left: 1.5px solid var(--verde); padding-left: 10px; }

.ribbon { position: absolute; pointer-events: none; overflow: visible; z-index: 1; }
.ribbon path { fill: none; stroke: var(--azul); stroke-width: 18; stroke-linecap: round; vector-effect: non-scaling-stroke; }
#heroRibbon { left: 0; right: 0; bottom: 4%; width: 100%; height: 46%; }

/* ---------- Franja ---------- */
.marquee {
  background: var(--azul); color: var(--crema); overflow: hidden;
  padding: 18px 0; margin-top: clamp(48px, 7vw, 96px);
}
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; }
.marquee__track span {
  font-family: var(--f-display); font-variation-settings: "wdth" 75;
  text-transform: uppercase; font-size: clamp(48px, 6vw, 88px); line-height: 1; white-space: nowrap;
}
.marquee__track svg { width: clamp(34px, 4vw, 56px); height: auto; color: var(--crema); flex: none; }

/* ---------- Manifiesto ---------- */
.manifesto { padding: clamp(96px, 14vw, 200px) var(--gutter); }
.manifesto__text {
  margin: 0 auto; max-width: 1180px;
  font-size: clamp(30px, 4.4vw, 68px); line-height: 1.16; letter-spacing: -.025em;
  font-weight: 400; color: var(--verde);
}
.manifesto__text em { font-style: normal; color: var(--azul); }
.inline-img {
  display: inline-block; vertical-align: middle;
  width: 2.1em; height: .92em; margin: -.1em .08em 0;
  border-radius: 999px; overflow: hidden; background: var(--crema);
}
.inline-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Lugares (horizontal) ---------- */
.places { background: var(--papel); overflow: hidden; }
.places__pin { min-height: 100vh; display: flex; align-items: center; }
.places__track {
  display: flex; align-items: center; gap: clamp(16px, 2vw, 28px);
  padding: 96px var(--gutter) 40px; will-change: transform;
}
.places__intro { flex: 0 0 min(420px, 80vw); padding-right: 24px; }
.places__intro p { color: var(--tinta-suave); margin: 22px 0 28px; max-width: 30ch; }
.places__hint {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--verde); color: var(--verde);
  animation: nudge 2.4s var(--ease-in-out) infinite;
}
.places__hint svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes nudge { 0%, 60%, 100% { transform: translateX(0); } 30% { transform: translateX(8px); } }

.place { flex: 0 0 auto; }
.place__img {
  height: min(52vh, 520px); aspect-ratio: 4 / 4.6; border-radius: 22px; overflow: hidden; background: var(--crema);
  transform: translateZ(0);
}
.place--tall .place__img { height: min(60vh, 600px); aspect-ratio: 4 / 5.4; }
.place__img img { width: 118%; max-width: none; height: 100%; object-fit: cover; margin-left: -9%; transition: scale 900ms var(--ease-out); will-change: transform; }
@media (hover: hover) and (pointer: fine) { .place:hover .place__img img { scale: 1.05; } }
.place h3 {
  font-family: var(--f-display); font-variation-settings: "wdth" 75; font-weight: 400;
  text-transform: uppercase; font-size: 40px; line-height: 1; color: var(--verde);
  margin: 18px 0 4px;
}
.place p { margin: 0; color: var(--tinta-suave); font-size: 15px; }

/* ---------- Quédate a… ---------- */
.stay { background: var(--verde-osc); color: var(--crema); }
.stay__pin { position: relative; height: 100vh; overflow: hidden; }
.stay__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  will-change: clip-path, transform;
}
.stay__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 33, 27, .86) 0%, rgba(14, 33, 27, .5) 45%, rgba(14, 33, 27, .1) 100%); }
.stay__copy {
  position: absolute; left: var(--gutter); top: 50%; translate: 0 -50%;
  max-width: min(760px, 90vw);
}
.stay__pre { margin: 0 0 4px; font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; color: var(--azul-claro); }
.stay__slot { height: .86em; overflow: hidden; font-size: clamp(120px, 19vw, 300px); }
.stay__words { display: flex; flex-direction: column; will-change: transform; }
.stay__words span {
  display: block; height: .86em;
  font-family: var(--f-display); font-variation-settings: "wdth" 75;
  text-transform: uppercase; line-height: .9; color: #fff;
}
.stay__subs { position: relative; height: 2em; margin-top: 18px; font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; }
.stay__subs p { position: absolute; inset: 0; margin: 0; }
.stay__subs p:not(:first-child) { opacity: 0; }
.stay__steps { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; display: grid; gap: 10px; }
.stay__steps span { display: block; width: 4px; height: 56px; border-radius: 4px; background: rgba(239, 231, 210, .25); overflow: hidden; position: relative; }
.stay__steps span::after { content: ""; position: absolute; inset: 0; background: var(--crema); transform: scaleY(var(--p, 0)); transform-origin: top; }

/* ---------- Sabores ---------- */
.flavors {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center;
  padding: clamp(96px, 12vw, 180px) var(--gutter);
}
.flavors__media { position: relative; }
.flavors__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.6; }
.flavors__img img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.ribbon--flavors { left: -12%; bottom: -14%; width: 124%; height: 64%; }
.flavors__text .display { margin-bottom: 26px; }
.facts { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--linea); }
.facts li { display: flex; align-items: center; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--linea); color: var(--verde); font-weight: 600; }
.facts li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--azul); flex: none; }

/* ---------- Campaña ---------- */
.campaign {
  background: var(--crema);
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 110px); align-items: center;
  padding: clamp(96px, 12vw, 180px) var(--gutter);
}
.campaign__text .display { margin-bottom: 26px; }
.pillars { display: grid; gap: 12px; margin-top: 36px; }
.pillar {
  display: flex; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 18px;
  background: var(--papel); transition: transform 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .pillar:hover { transform: translateX(6px); } }
.pillar svg { width: 46px; height: 46px; padding: 11px; flex: none; border-radius: 50%; background: #e7eefb; fill: none; stroke: var(--azul); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillar p { margin: 0; font-size: 14px; color: var(--tinta-suave); line-height: 1.45; }
.pillar strong { display: block; color: var(--verde); font-size: 16px; }
.campaign__media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(20, 51, 42, .55); }
.campaign__media img { width: 100%; aspect-ratio: 3 / 2.1; object-fit: cover; will-change: transform; }

/* ---------- Encuesta ---------- */
.survey {
  background: var(--verde); color: var(--crema);
  padding: clamp(96px, 11vw, 160px) var(--gutter);
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 100px); align-items: center;
}
.survey__intro p { max-width: 38ch; margin: 24px 0 0; color: rgba(239, 231, 210, .82); }
.survey__perks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.survey__perks li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(239, 231, 210, .1); font-size: 14px; }
.survey__perks svg { width: 17px; height: 17px; fill: none; stroke: var(--azul-claro); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.quiz {
  position: relative; overflow: hidden;
  background: var(--papel); color: var(--tinta);
  border-radius: 32px; padding: clamp(22px, 3.2vw, 44px);
  min-height: 560px; display: flex; flex-direction: column;
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .6);
}
.quiz__top { display: flex; align-items: center; gap: 14px; min-height: 40px; }
.quiz__back {
  width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--crema); color: var(--verde); display: grid; place-items: center;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.quiz__back[hidden] { display: none; }
.quiz__back:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .quiz__back:hover { background: #e6dcc3; } }
.quiz__back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.quiz__segments { flex: 1; display: flex; gap: 6px; }
.quiz__segments span { flex: 1; height: 5px; border-radius: 5px; background: var(--crema); overflow: hidden; }
.quiz__segments span::after {
  content: ""; display: block; height: 100%; background: var(--azul); border-radius: inherit;
  transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out);
}
.quiz__segments span.is-done::after { transform: scaleX(1); }
.quiz__count { font-size: 13px; color: var(--tinta-suave); font-variant-numeric: tabular-nums; min-width: 3.6em; text-align: right; }

.quiz__stage { flex: 1; display: flex; }
.step { width: 100%; display: flex; flex-direction: column; justify-content: center; padding: 36px 0 6px; }
.step__q {
  font-family: var(--f-display); font-variation-settings: "wdth" 75; font-weight: 400;
  text-transform: uppercase; color: var(--verde);
  font-size: clamp(42px, 4.6vw, 70px); line-height: 1; margin: 0 0 10px;
}
.step__hint { margin: 0 0 26px; color: var(--tinta-suave); font-size: 15px; }
.step__anim { will-change: transform, opacity, filter; }

.options { display: grid; gap: 10px; }
.options--2 { grid-template-columns: 1fr 1fr; }
.opt {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  min-height: 58px; padding: 14px 18px; border-radius: 18px; border: 0;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--linea);
  font: 400 16px/1.3 var(--f-text); color: var(--tinta); cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease, color 250ms ease;
}
.opt::before { /* relleno que barre al seleccionar */
  content: ""; position: absolute; inset: 0; z-index: -1; background: #e9f0fc;
  transform: scaleX(0); transform-origin: left; transition: transform 420ms var(--ease-out);
}
.opt:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .opt:hover { box-shadow: inset 0 0 0 1.5px var(--verde); } }
.opt.is-selected { box-shadow: inset 0 0 0 2px var(--azul); }
.opt.is-selected::before { transform: scaleX(1); }
.opt__key {
  position: relative; width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center; font-size: 13px; font-weight: 600;
  box-shadow: inset 0 0 0 1.5px var(--linea); color: var(--verde);
  transition: background-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}
.opt__key b { font-weight: 600; transition: opacity 200ms ease, transform 300ms var(--ease-out); }
.opt__key svg {
  position: absolute; width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 350ms var(--ease-out) 80ms;
}
.opt.is-selected .opt__key { background: var(--azul); box-shadow: none; }
.opt.is-selected .opt__key b { opacity: 0; transform: scale(.6); }
.opt.is-selected .opt__key svg { stroke-dashoffset: 0; }

.opt--big { flex-direction: column; align-items: flex-start; padding: 22px; gap: 18px; min-height: 170px; }
.opt--big .opt__icon { width: 40px; height: 40px; fill: none; stroke: var(--azul); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .opt--big:hover .opt__icon { transform: translateY(-3px) rotate(-4deg); } }
.opt--big strong { font-size: 19px; display: block; }
.opt--big small { color: var(--tinta-suave); font-size: 13px; }
.opt--big .opt__tick {
  position: absolute; top: 18px; right: 18px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--azul); display: grid; place-items: center;
  opacity: 0; transform: scale(.6); transition: opacity 200ms ease, transform 350ms var(--ease-out);
}
.opt--big .opt__tick svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.opt--big.is-selected .opt__tick { opacity: 1; transform: scale(1); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 0;
  min-height: 46px; padding: 0 18px; border-radius: 999px; border: 0;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--linea);
  font: 400 15px/1 var(--f-text); color: var(--tinta); cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 250ms ease, color 250ms ease, box-shadow 250ms ease, gap 300ms var(--ease-out);
}
.chip svg { width: 0; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: width 300ms var(--ease-out); }
.chip:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .chip:hover { box-shadow: inset 0 0 0 1.5px var(--verde); } }
.chip.is-selected { background: var(--azul); color: #fff; box-shadow: none; gap: 8px; }
.chip.is-selected svg { width: 16px; }

.stars { display: flex; gap: 6px; }
.star { width: 64px; height: 64px; border: 0; background: none; padding: 4px; cursor: pointer; transition: transform 160ms var(--ease-out); }
.star:active { transform: scale(.9); }
.star svg { width: 100%; height: 100%; fill: var(--crema); stroke: var(--verde); stroke-width: 1.1; stroke-linejoin: round; transition: fill 160ms ease, stroke 160ms ease; }
.star.is-on svg, .stars.is-hovering .star.is-preview svg { fill: var(--azul); stroke: var(--azul); }
.stars.is-hovering .star:not(.is-preview) svg { fill: var(--crema); stroke: var(--verde); }
.stars__labels { display: flex; justify-content: space-between; max-width: 344px; font-size: 13px; color: var(--tinta-suave); margin-top: 8px; }
.stars__note { min-height: 26px; margin-top: 16px; font-weight: 600; color: var(--verde); }

.field {
  width: 100%; border: 0; border-bottom: 2px solid var(--linea); background: transparent;
  font: 400 20px/1.4 var(--f-text); padding: 12px 2px; color: var(--tinta); resize: none;
  transition: border-color 250ms ease;
}
.field:focus { outline: none; border-color: var(--azul); }
.field::placeholder { color: #98a39d; }
.field--mini { font-size: 16px; margin-top: 18px; }

.step__foot { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.next {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--verde); color: var(--crema-2);
  font: 600 15px/1 var(--f-text); cursor: pointer; text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 250ms ease, opacity 250ms ease;
}
.next:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .next:hover { background: var(--azul); } }
.next:disabled { opacity: .3; cursor: not-allowed; }
.next svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.skip { background: none; border: 0; font: inherit; font-size: 14px; color: var(--tinta-suave); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 10px 4px; }
.enter-hint { font-size: 13px; color: var(--tinta-suave); }
.enter-hint kbd { font-family: inherit; font-weight: 600; padding: 2px 6px; border-radius: 6px; background: var(--crema); }
.legal { font-size: 12px; color: var(--tinta-suave); margin: 18px 0 0; }

.done .step__q { font-size: clamp(54px, 6.4vw, 96px); }
.done .step__q em { font-style: normal; color: var(--azul); }
.done__check { width: 68px; height: 68px; border-radius: 50%; background: var(--azul); display: grid; place-items: center; margin-bottom: 24px; }
.done__check svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--crema-2); padding: clamp(64px, 8vw, 110px) var(--gutter) 32px; overflow: hidden; }
.footer__big {
  margin: 0 0 clamp(36px, 5vw, 64px);
  font-family: var(--f-display); font-variation-settings: "wdth" 75; text-transform: uppercase;
  font-size: 34.5vw; line-height: .9; color: var(--azul); white-space: nowrap; letter-spacing: -.01em;
}
.footer__big .char { display: inline-block; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 24px; color: var(--azul); }
.footer__brand svg { height: 64px; width: auto; }
.footer__brand p, .footer__gov p { margin: 0; font-size: 13px; color: var(--tinta-suave); line-height: 1.5; }
.footer__gov { display: flex; align-items: center; gap: 20px; }
.footer__gov img { height: 64px; width: auto; mix-blend-mode: multiply; }
.footer__gov p { border-left: 1px solid var(--linea); padding-left: 20px; }
.footer__credits { font-size: 12px; color: #84908a; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--linea); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__pill, .nav__cta { display: none; }
  .nav__burger {
    display: grid; gap: 6px; place-content: center;
    width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--verde); cursor: pointer;
    transition: transform 160ms var(--ease-out);
  }
  .nav__burger:active { transform: scale(.94); }
  .nav__burger span { display: block; width: 18px; height: 2px; background: var(--crema-2); border-radius: 2px; transition: transform 400ms var(--ease-out); }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mmenu {
    display: flex; position: fixed; inset: 0; z-index: 45; background: var(--azul);
    padding: 110px var(--gutter) 40px; align-items: flex-end;
    clip-path: inset(0 0 100% 0); transition: clip-path 600ms var(--ease-drawer); visibility: hidden;
  }
  .mmenu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .mmenu nav { display: flex; flex-direction: column; gap: 2px; }
  .mmenu a {
    font-family: var(--f-display); font-variation-settings: "wdth" 75; text-transform: uppercase;
    font-size: clamp(52px, 14vw, 88px); line-height: 1.02; color: var(--crema); text-decoration: none;
    transform: translateY(40px); opacity: 0; transition: transform 600ms var(--ease-out), opacity 400ms ease;
  }
  .mmenu.is-open a { transform: none; opacity: 1; }
  .mmenu.is-open a:nth-child(2) { transition-delay: 40ms; }
  .mmenu.is-open a:nth-child(3) { transition-delay: 80ms; }
  .mmenu.is-open a:nth-child(4) { transition-delay: 120ms; }
  .mmenu.is-open a:nth-child(5) { transition-delay: 160ms; }
  .mmenu.is-open a:nth-child(6) { transition-delay: 200ms; }
  .mmenu .mmenu__cta { color: var(--azul-claro); }
  body.menu-open .nav__logo { color: var(--crema); background: transparent !important; box-shadow: none !important; }

  .flavors, .campaign, .survey { grid-template-columns: 1fr; }
  .hero__frame { height: 70vh; }
}

/* Móvil: sin fijados ni scroll horizontal forzado */
@media (max-width: 760px) {
  .hero { padding-top: 100px; }
  .hero__title { font-size: clamp(56px, 19vw, 110px); }
  .hero__frame { height: 64vh; min-height: 420px; }
  .stamp { right: calc(var(--gutter) + 14px); bottom: 18px; }
  .stamp__cp { font-size: 38px; }

  .places__pin { min-height: 0; display: block; }
  .places__track {
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: var(--gutter);
    padding: 80px var(--gutter) 72px; align-items: flex-start; flex-wrap: nowrap;
  }
  .places__track::-webkit-scrollbar { display: none; }
  .places__intro { flex-basis: 78vw; scroll-snap-align: start; }
  .place { flex-basis: 76vw; scroll-snap-align: center; }
  .place__img, .place--tall .place__img { height: auto; width: 100%; aspect-ratio: 4 / 5; }

  .stay__pin { height: auto; min-height: 100svh; padding: 96px var(--gutter); }
  .stay__copy { position: relative; left: 0; top: 0; translate: none; }
  .stay__steps { display: none; }
  .stay__shade { background: linear-gradient(180deg, rgba(14, 33, 27, .35), rgba(14, 33, 27, .85)); }
  .stay__pin { display: flex; align-items: flex-end; }

  .options--2 { grid-template-columns: 1fr; }
  .opt--big { min-height: 0; flex-direction: row; align-items: center; }
  .star { width: 54px; height: 54px; }
  .stars__labels { max-width: 294px; }
  .quiz { min-height: 580px; border-radius: 24px; }
  .footer__brand, .footer__gov { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer__gov p { border-left: 0; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .places__hint { animation: none; }
  .btn::before, .opt::before, .mmenu, .mmenu a { transition-duration: 1ms !important; }
}
