/* USADRIP v2 — riego por goteo
   Sistema visual tomado de la referencia del cliente (Inspiracion/): fondo blanco, tarjetas suaves,
   verde olivo como color de marca de campo, rojo USADRIP solo en el logo y acentos. Familia única: Nunito Sans. */

:root {
  --bg: #ffffff;
  --soft: #f5f5f0;
  --soft-2: #ecebe3;
  --ink: #1d2016;
  --muted: #646a58;
  --line: rgba(29, 32, 22, 0.12);
  --olive: #5b6a2a;
  --olive-700: #4b5822;
  --olive-300: #b7c47a;
  --olive-900: #273117;
  --forest: #121910;
  --red: #b8432c;

  --font: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --m: clamp(16px, 3vw, 40px);
  --sec: clamp(88px, 10vw, 150px);
  --r: 22px;
  --r-lg: 28px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--olive); color: #fff; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
.ico, .btn__ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 400; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: min(1320px, 100% - var(--m) * 2); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Tipografía ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--olive);
}
.label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.label.center { display: flex; justify-content: center; }
.label--light { color: var(--olive-300); }
.h2 { font-size: clamp(2.1rem, 3.8vw, 3.5rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; color: var(--olive); margin-top: 14px; }
.h2--light { color: #fff; }
.muted { color: var(--muted); }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-w > span { display: inline-block; will-change: transform; }

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 54px; padding: 0 7px 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 13.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: transform .5s var(--ease); }
.btn:hover .btn__ico { transform: rotate(45deg) scale(1.06); }
.btn:active { transform: scale(.98); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light .btn__ico { background: var(--olive); color: #fff; }
.btn--light:hover { background: var(--soft); }
.btn--olive { background: var(--olive); color: #fff; }
.btn--olive .btn__ico { background: #fff; color: var(--olive); }
.btn--olive:hover { background: var(--olive-700); }
.btn--glass { padding: 0 26px; color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(255,255,255,.22); }
.btn--outline { border-color: var(--line); background: #fff; }
.btn--outline .btn__ico { background: var(--soft); }
.btn--outline:hover { border-color: var(--olive); }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--olive); }
.link-arrow .ico { transition: transform .4s var(--ease); }
.link-arrow:hover .ico { transform: translate(3px, -3px); }

/* ---------- Precarga ---------- */
.loader {
  position: fixed; inset: 0; z-index: 500; background: var(--forest); color: #fff;
  display: grid; place-items: center; transition: clip-path 1s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__drop svg { width: 64px; height: 64px; fill: var(--red); stroke: none; animation: drip 1.1s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-30px) scale(.6, 1.2); opacity: 0; } 40% { opacity: 1; } 70% { transform: translateY(0) scale(1); } 100% { transform: translateY(0) scale(1.05, .95); opacity: 1; } }
.loader__count { position: absolute; right: var(--m); bottom: 28px; font-size: clamp(3rem, 9vw, 8rem); font-weight: 300; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
html:not(.js) .loader { display: none; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 450; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--olive); pointer-events: none; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .3s, opacity .3s; opacity: 0; mix-blend-mode: normal; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(91,106,42,.18); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Barra ---------- */
.nav { position: fixed; inset: 14px 0 auto; z-index: 100; pointer-events: none; transition: transform .6s var(--ease); }
.nav__bar {
  pointer-events: auto;
  width: min(1320px, 100% - var(--m) * 2); margin-inline: auto; height: 66px; padding: 0 9px 0 10px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  border-radius: 20px; color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  transition: background-color .25s linear, border-color .25s linear, height .5s var(--ease);
}
.nav.is-solid .nav__bar { height: 60px; }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.nav__logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); transition: transform .6s var(--ease); }
.nav__logo img { width: 28px; }
.nav__brand:hover .nav__logo { transform: rotate(-14deg); }
.nav__word { font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.nav__links { position: relative; display: flex; gap: 2px; padding: 5px; }
.nav__links a { position: relative; z-index: 1; padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; transition: color .35s ease; }
.nav__links a.is-pill { color: var(--ink); }
.nav__pill { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: #fff; transition: transform .55s var(--ease), width .55s var(--ease); }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav__quote { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5); font-size: 14px; font-weight: 700; transition: background-color .3s, color .3s; }
.nav__quote:hover { background: #fff; color: var(--ink); }
.nav__count[hidden] { display: none; }
.nav__count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; display: grid; place-items: center; }
.nav__menu { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); transition: transform .4s var(--ease); }
.nav__menu:hover { transform: rotate(90deg); }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--forest); color: #fff; padding: 120px var(--m) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-size: clamp(2.4rem, 7vw, 5rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; transition: color .3s, transform .5s var(--ease); }
.menu nav a:hover { color: var(--olive-300); transform: translateX(12px); }
.menu__foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; color: rgba(255,255,255,.65); font-size: 15px; }
.menu__foot a { color: #fff; font-weight: 700; font-size: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 660px; color: #fff; overflow: hidden; background: var(--forest); }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.18); transform-origin: 50% 70%; will-change: transform; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,16,8,.35) 0%, rgba(12,16,8,0) 26%, rgba(12,16,8,0) 45%, rgba(12,16,8,.72) 100%); }
.hero__content { position: absolute; left: 0; right: 0; bottom: clamp(36px, 7svh, 72px); }
.hero__title { font-size: clamp(2.7rem, 6.6vw, 6.4rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.035em; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .ln > span { display: inline-block; }
.hero__title .hero__kicker { margin-bottom: 18px; font-size: 13px; font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; margin-top: 30px; }
.hero__lead { max-width: 44ch; color: rgba(255,255,255,.86); font-size: 16.5px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { position: absolute; right: var(--m); bottom: clamp(36px, 7svh, 72px); display: grid; justify-items: center; gap: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero__scroll-ring { display: grid; place-items: center; width: 46px; height: 74px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); }
.hero__scroll-ring .ico { animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-8px); opacity: .3; } 50% { transform: translateY(8px); opacity: 1; } }
.hero__place { position: absolute; right: var(--m); top: 110px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 700; }

/* ---------- Propósito ---------- */
.purpose { padding-top: var(--sec); }
.statement { max-width: 1000px; margin: 26px auto 0; text-align: center; font-size: clamp(1.55rem, 2.5vw, 2.35rem); line-height: 1.38; font-weight: 500; letter-spacing: -0.015em; }
.statement .w { opacity: .18; transition: opacity .2s linear; }
.chip-img { display: inline-block; width: 2.3em; height: 1.1em; border-radius: 999px; overflow: hidden; vertical-align: -0.16em; margin: 0 .1em; }
.chip-img img { width: 100%; height: 100%; object-fit: cover; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1060px; margin: 72px auto 0; }
.tcard { position: relative; height: 380px; border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: transform .6s var(--ease); }
.tcard:hover { transform: translateY(-6px); }
.tcard__title { font-size: 21px; font-weight: 700; line-height: 1.2; text-transform: uppercase; letter-spacing: .01em; }
.tcard__text { font-size: 14px; line-height: 1.5; }
.tcard--light { background: var(--soft); }
.tcard--light .tcard__title { color: var(--olive); }
.tcard--light .tcard__text { color: var(--muted); max-width: 26ch; }
.tcard__num { font-size: 64px; font-weight: 400; letter-spacing: -0.04em; line-height: 1; margin-bottom: 10px; }
.tcard--photo { color: #fff; }
.tcard--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tcard--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(10,14,6,.78)); }
.tcard--photo:hover > img { transform: scale(1.06); }
.tcard--photo > *:not(img) { position: relative; z-index: 1; }
.tcard--photo h3 { font-size: 21px; font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.tcard--photo .tcard__text { color: rgba(255,255,255,.85); }
.tcard__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tcard--olive { background: var(--olive); color: #fff; }
.tcard__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #fff; }
.tcard__icon--line { background: transparent; }
.tcard__foot--row { display: flex; align-items: center; gap: 0; }
.tcard__thumb { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; overflow: hidden; color: var(--olive); }
.tcard__thumb img { width: 80%; }
.tcard__thumb--ring { margin-left: -12px; border: 3px solid var(--olive); }
.tcard__foot--row .tcard__text { margin-left: 14px; color: rgba(255,255,255,.85); }

/* ---------- Nosotros ---------- */
.about { padding-top: var(--sec); }
.about__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; max-width: 440px; }
.tags li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--ink); transition: border-color .3s, background-color .3s; }
.tags li:hover { border-color: var(--olive); background: var(--soft); }
.about__intro .h2 { margin-top: 0; }
.about__intro p { margin-top: 26px; max-width: 54ch; font-size: 15.5px; }
.about__media { position: relative; margin-top: 56px; height: clamp(440px, 44vw, 640px); border-radius: var(--r-lg); overflow: hidden; }
.about__media > img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.float-card { position: absolute; left: 28px; bottom: 28px; width: min(380px, calc(100% - 56px)); background: #fff; border-radius: var(--r); padding: 28px; }
.float-card__meta { font-size: 13px; color: var(--muted); }
.float-card h3 { font-size: 20px; font-weight: 700; text-transform: uppercase; margin: 22px 0 10px; letter-spacing: .01em; }
.float-card p:not(.float-card__meta) { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.reveal-img { clip-path: inset(0 0 0 0 round var(--r-lg)); }

/* ---------- Cómo funciona (3D) ---------- */
.story { position: relative; height: 340vh; margin-top: var(--sec); }
.story__pin { position: sticky; top: 0; height: 100svh; padding: 12px; }
.story__panel { position: relative; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 90% at 70% 40%, #1e2a15 0%, var(--forest) 60%); color: #fff; }
.story__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Imagen de respaldo: se ve mientras carga la escena 3D y si el teléfono no logra mostrarla */
.story__panel:not(.is-3d) { background: url(../assets/img/story-poster.webp) 72% 50% / cover no-repeat, radial-gradient(120% 90% at 70% 40%, #1e2a15 0%, var(--forest) 60%); }
.story__panel::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(14,19,10,.92) 0%, rgba(14,19,10,.75) 30%, rgba(14,19,10,0) 52%); }
.story__text, .story__hint { z-index: 1; }
.story__text { position: absolute; left: clamp(24px, 5vw, 72px); top: 50%; transform: translateY(-50%); width: min(430px, 40vw); }
.story__text .h2 { margin: 16px 0 40px; }
.steps { display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 3px 1fr; gap: 20px; opacity: .38; transition: opacity .5s ease; }
.steps li.is-on { opacity: 1; }
.steps__bar { position: relative; background: rgba(255,255,255,.18); border-radius: 3px; overflow: hidden; }
.steps__bar i { position: absolute; inset: 0; background: var(--olive-300); transform-origin: top; transform: scaleY(var(--p, 0)); }
.steps h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: rgba(255,255,255,.72); max-width: 36ch; }
.story__hint { position: absolute; right: 28px; bottom: 24px; font-size: 12.5px; color: rgba(255,255,255,.5); letter-spacing: .04em; }

/* ---------- Líneas ---------- */
.lines { padding-top: var(--sec); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.sec-head__side { max-width: 38ch; font-size: 15px; }
.lines__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 20px; margin-top: 52px; }
.lines__feature { position: relative; min-height: 540px; border-radius: var(--r); overflow: hidden; background: radial-gradient(90% 80% at 50% 45%, #3a4722 0%, var(--olive-900) 70%); }
.lines__feature canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.lines__feature canvas:active { cursor: grabbing; }
.lines__feature figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.chip { display: inline-flex; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.chip--glass { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lines__drag { font-size: 13px; color: rgba(255,255,255,.6); }
.lines__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; padding: 26px; border-radius: var(--r); background: var(--soft); overflow: hidden; transition: background-color .4s ease; }
.lcard:hover { background: var(--soft-2); }
.lcard__icon { position: absolute; left: 26px; top: 26px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--olive); color: #fff; }
.lcard__img { position: absolute; right: -4%; top: -6%; width: 54%; transform: rotate(-8deg); transition: transform .8s var(--ease); filter: drop-shadow(0 18px 18px rgba(20, 24, 12, .18)); }
.lcard:hover .lcard__img { transform: rotate(0) scale(1.07) translate(-4%, 4%); }
.lcard h3 { font-size: 20px; font-weight: 700; }
.lcard p { margin-top: 6px; color: var(--muted); font-size: 14px; max-width: 28ch; }
.lcard__more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--olive); }
.lcard__more .ico { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.lcard:hover .lcard__more .ico { transform: translate(3px, -3px); }

.band { position: relative; margin-top: 64px; border-radius: var(--r); background: var(--olive); color: #fff; padding: 40px 44px; display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; align-items: end; overflow: hidden; }
.band__lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255,255,255,.1); stroke-width: 1.2; pointer-events: none; }
.band__lines path { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: flow 9s linear infinite; }
.band__lines path:nth-child(2) { animation-delay: -3s; } .band__lines path:nth-child(3) { animation-delay: -6s; } .band__lines path:nth-child(4) { animation-delay: -1.5s; } .band__lines path:nth-child(5) { animation-delay: -4.5s; }
@keyframes flow { to { stroke-dashoffset: -1600; } }
.band > *:not(svg) { position: relative; }
.band__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--olive); }
.band__intro p { margin-top: 18px; font-size: 14.5px; color: rgba(255,255,255,.82); max-width: 30ch; }
.band__num { font-size: clamp(2.4rem, 3.6vw, 3.4rem); font-weight: 400; letter-spacing: -0.035em; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.band__stat p:last-child { font-size: 13.5px; color: rgba(255,255,255,.78); }

/* ---------- Destacados ---------- */
.featured { padding-top: var(--sec); }
.featured__box { background: var(--soft); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 56px); }
.frows { margin-top: 44px; }
.frow { display: grid; grid-template-columns: 1fr 1.15fr 1.15fr; gap: 36px; padding: 32px 0; border-top: 1px solid var(--line); }
.frow__left { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.frow__meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.frow__meta .ico { width: 17px; height: 17px; color: var(--olive); }
.frow h3 { font-size: 22px; font-weight: 600; margin-top: 10px; letter-spacing: -0.01em; }
.frow__img { position: relative; height: 230px; border-radius: 18px; background: #fff; overflow: hidden; display: grid; place-items: center; }
.frow__img img { height: 92%; width: auto; transition: transform .9s var(--ease); }
.frow:hover .frow__img img { transform: scale(1.07) rotate(-3deg); }
.frow__desc { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.frow dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.frow dt { color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; font-weight: 700; align-self: center; }
.frow dd { font-weight: 700; text-align: right; }

/* ---------- Catálogo ---------- */
.catalog { padding-top: var(--sec); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 28px; }
.filter { height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; font-weight: 700; transition: background-color .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--olive); }
.filter.is-on { background: var(--olive); border-color: var(--olive); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { background: var(--soft); border-radius: var(--r); padding: 12px 12px 18px; display: flex; flex-direction: column; transition: background-color .3s; }
.pcard[hidden] { display: none; }
.pcard:hover { background: var(--soft-2); }
.pcard__img { position: relative; aspect-ratio: 1 / 0.86; border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.pcard__img--photo img, .frow__img--photo img { width: 100% !important; height: 100% !important; object-fit: cover; }
.pcard__img img { width: 72%; transition: transform .8s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.08) rotate(-4deg); }
.pcard__cat { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--soft); font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: capitalize; }
.pcard__body { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 16px 6px 0; margin-top: auto; }
.pcard h3 { font-size: 16px; font-weight: 700; line-height: 1.25; }
.pcard__spec { font-size: 13px; color: var(--muted); margin-top: 3px; }
.pcard__qty { font-size: 12.5px; font-weight: 700; color: var(--olive); margin-top: 2px; }
.pcard__qty:empty { display: none; }
/* Cantidad: el + se estira en una píldora − n + al agregar */
.qty { flex: none; display: flex; align-items: center; justify-content: flex-end; width: 118px; height: 42px; border-radius: 999px; background: var(--ink); color: #fff; overflow: hidden; transition: width .5s var(--ease), background-color .3s, transform .4s var(--ease); }
.qty button { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: inherit; transition: background-color .2s; }
.qty button:hover { background: rgba(255, 255, 255, .12); }
.qty input { flex: 1; min-width: 0; width: 34px; padding: 0; border: 0; background: transparent; color: #fff; text-align: center; font-weight: 800; font-size: 15px; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty:has(input:focus) { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--olive); }
.qty.is-empty { width: 42px; background: var(--olive); }
.qty.is-empty:hover { transform: rotate(90deg); }
.qty.is-empty .qty__minus, .qty.is-empty input { display: none; }
.grid__more { display: flex; justify-content: center; margin-top: 36px; }
.grid__more[hidden] { display: none; }

/* ---------- Calculadora ---------- */
.calc { padding-top: var(--sec); }
.calc__panel { border-radius: var(--r-lg); background: var(--forest); color: #fff; padding: clamp(28px, 4.5vw, 64px); display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); }
.calc__form { display: grid; gap: 28px; margin-top: 40px; }
.field { display: grid; grid-template-columns: 1fr auto; row-gap: 10px; align-items: baseline; }
.field span { font-size: 15px; color: rgba(255,255,255,.78); }
.field output { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.field input { grid-column: 1 / -1; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(var(--olive-300), var(--olive-300)) 0 / var(--p, 30%) 100% no-repeat, rgba(255,255,255,.16); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.16); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--olive-300); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 5px solid var(--olive-300); transition: transform .25s var(--ease); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.25); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--olive-300); }
.seg { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.08); }
.seg button { flex: 1; height: 44px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.75); font-weight: 700; font-size: 14px; transition: background-color .35s, color .35s; }
.seg button.is-on { background: #fff; color: var(--ink); }
.calc__right { display: grid; gap: 16px; align-content: start; }
.calc__plot { width: 100%; aspect-ratio: 16 / 7; border-radius: 18px; background: #2a2016; }
.res { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.res > div { background: rgba(255,255,255,.06); border-radius: 18px; padding: 18px 20px; }
.res__num { font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.res p:not(.res__num) { font-size: 14px; color: rgba(255,255,255,.85); margin-top: 4px; }
.res small { display: block; font-size: 12.5px; color: rgba(255,255,255,.5); }
.calc__note { font-size: 12.5px; color: rgba(255,255,255,.5); }

/* ---------- Cultivos ---------- */
.crops { padding-top: var(--sec); overflow: hidden; }
.crops__track { display: flex; gap: 22px; margin-top: 48px; padding-left: max(var(--m), (100vw - 1320px) / 2); padding-right: var(--m); width: max-content; will-change: transform; }
.crop { width: clamp(280px, 27vw, 400px); flex: none; }
.crop__img { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; }
.crop__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.crop:hover .crop__img img { transform: scale(1.16); }
.crop__cap { display: flex; flex-direction: column; gap: 2px; padding: 16px 4px 0; }
.crop h3 { font-size: 19px; font-weight: 700; }
.crop span { font-size: 14px; color: var(--muted); }

/* ---------- Opiniones ---------- */
.voices { padding-top: var(--sec); }
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 340px; padding: 30px; border-radius: var(--r); background: var(--soft); transition: transform .6s var(--ease); }
.quote:hover { transform: translateY(-6px); }
.quote__mark { width: 38px; fill: rgba(91,106,42,.28); }
.quote blockquote { font-size: 17px; line-height: 1.55; margin-top: 18px; }
.quote figcaption { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--muted); }
.quote figcaption b { display: block; font-size: 15.5px; color: var(--ink); }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--olive); color: #fff; font-weight: 800; font-size: 14px; }
.quote--olive { background: var(--olive); color: #fff; }
.quote--olive .quote__mark { fill: rgba(255,255,255,.3); }
.quote--olive figcaption, .quote--olive figcaption b { color: rgba(255,255,255,.85); }
.quote--olive figcaption b { color: #fff; }
.quote--olive .avatar { background: #fff; color: var(--olive); }

/* ---------- CTA ---------- */
.cta { padding-top: var(--sec); }
.cta__panel { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--olive); color: #fff; text-align: center; padding: clamp(80px, 9vw, 130px) 24px; }
.cta__panel > *:not(svg):not(.cta__drops) { position: relative; z-index: 1; }
.cta__title { font-size: clamp(2.2rem, 4.6vw, 4.2rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; max-width: 16ch; margin: 0 auto; }
.cta__panel p { max-width: 46ch; margin: 18px auto 34px; color: rgba(255,255,255,.82); }
.cta__drops { position: absolute; inset: 0; pointer-events: none; }
.cta__drops i { position: absolute; top: -40px; width: 8px; height: 12px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: rgba(255,255,255,.35); animation: fall linear infinite; }
@keyframes fall { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(var(--h, 520px)); opacity: 0; } }

/* ---------- FAQ ---------- */
.faq { padding-top: var(--sec); }
.faq .h2 { text-align: center; }
.faq__list { max-width: 860px; margin: 48px auto 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; font-size: 18px; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--soft); color: var(--olive); transition: transform .45s var(--ease), background-color .3s, color .3s; }
.faq__item[open] .faq__ico { transform: rotate(45deg); background: var(--olive); color: #fff; }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 60px 24px 0; color: var(--muted); font-size: 15.5px; max-width: 70ch; }
.faq__ask { max-width: 860px; margin: 32px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 28px; border-radius: var(--r); background: var(--soft); }
.faq__ask h3 { font-size: 18px; font-weight: 700; }
.faq__ask p { font-size: 14.5px; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact { padding-top: var(--sec); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__info { margin-top: 36px; }
.contact__info li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact__info li:last-child { border-bottom: 1px solid var(--line); }
.contact__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--soft); color: var(--olive); }
.contact__info b { display: block; font-size: 15px; margin-bottom: 2px; }
.contact__info a { color: var(--muted); transition: color .3s; }
.contact__info a:hover { color: var(--olive); }
.contact__img { margin-top: 28px; height: 300px; border-radius: var(--r); overflow: hidden; }
.contact__img img { width: 100%; height: 100%; object-fit: cover; }
.form { background: var(--soft); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; }
.form h3 { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.form label { display: grid; gap: 7px; }
.form label span small { font-size: inherit; font-weight: 600; text-transform: none; letter-spacing: 0; }
.form label span { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 0 16px; height: 52px; transition: border-color .3s, box-shadow .3s; }
.form textarea { height: auto; padding: 14px 16px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 4px rgba(91,106,42,.14); }
.form__list { background: #fff; border-radius: 16px; padding: 16px 18px; }
.form__list[hidden] { display: none; }
.form__list-title { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--olive); margin-bottom: 6px; }
.form__list li b { font-weight: 700; color: var(--olive); }
.form__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.form__list li:last-child { border-bottom: 0; }
.form__list button { border: 0; background: var(--soft); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.form__list button .ico { width: 14px; height: 14px; transform: rotate(45deg); }
.form__note { font-size: 12.5px; color: var(--muted); text-align: center; }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form[data-state=sending] button[type=submit] { opacity: .7; pointer-events: none; }
.form[data-state=sent] .form__note { color: var(--olive); font-weight: 700; font-size: 14px; }
.form[data-state=error] .form__note { color: var(--red); font-weight: 700; font-size: 14px; }

/* ---------- Pie ---------- */
.foot { margin-top: var(--sec); background: var(--forest); color: rgba(255,255,255,.7); padding-top: 80px; overflow: hidden; }
.foot__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot__brand .nav__brand { color: #fff; }
.foot__brand p { margin: 20px 0 28px; max-width: 36ch; font-size: 15px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot__col h4 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.foot__col a { transition: color .3s; width: fit-content; }
.foot__col a:hover { color: #fff; }
.foot__word { font-size: 20.5vw; font-weight: 800; line-height: .8; letter-spacing: -0.04em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); margin: 48px 0 -1.2vw; user-select: none; white-space: nowrap; pointer-events: none; position: relative; z-index: 0; }
.foot__top { position: relative; z-index: 1; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; position: relative; }
.foot__bottom a { color: #fff; }

/* ---------- Bandeja ---------- */
.tray { position: fixed; left: 50%; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 12px; padding: 7px 7px 7px 8px; border-radius: 999px; background: rgba(22, 29, 15, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; font-size: 14px; font-weight: 700; transform: translate(-50%, 0); transition: transform .6s var(--ease), opacity .4s; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.tray[hidden] { display: inline-flex; transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }
.tray__count { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 50%; background: var(--red); }
#trayText { line-height: 1.25; white-space: nowrap; }
.tray small { display: block; font-size: 12.5px; font-weight: 600; opacity: .65; }
.tray .btn__ico { background: #fff; color: var(--ink); }

/* ---------- Entradas ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-up] { opacity: 0; transform: translateY(34px); }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__bar { grid-template-columns: 1fr auto; }
  .trio { grid-template-columns: 1fr 1fr; }
  .trio .tcard--olive { grid-column: 1 / -1; height: 300px; }
  .about__head { grid-template-columns: 1fr; }
  .tags { margin-top: 24px; }
  .story__text { width: min(430px, 48vw); }
  .lines__grid { grid-template-columns: 1fr; }
  .lines__feature { min-height: 440px; }
  .band { grid-template-columns: 1fr 1fr; }
  .band__intro { grid-column: 1 / -1; }
  .frow { grid-template-columns: 1fr 1fr; }
  .frow__left { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .calc__panel { grid-template-columns: 1fr; }
  .voices__grid { grid-template-columns: 1fr 1fr; }
  .voices__grid .quote--olive { grid-column: 1 / -1; min-height: 0; }
  .contact { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; }
}

/* ---------- Teléfono ---------- */
@media (max-width: 680px) {
  .story__panel::after { background: linear-gradient(0deg, rgba(14,19,10,.95) 0%, rgba(14,19,10,.8) 40%, rgba(14,19,10,0) 62%); }
  .nav { inset: 10px 0 auto; }
  .nav__bar { height: 60px; border-radius: 18px; }
  .nav__word { font-size: 17px; }
  .nav__quote span { display: none; }
  .nav__quote { width: 44px; padding: 0; justify-content: center; }
  .hero__title { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .hero__title .hero__kicker { font-size: 11px; letter-spacing: .05em; margin-bottom: 14px; }
  .hero__row { margin-top: 20px; gap: 22px; }
  .hero__lead { font-size: 15.5px; }
  .hero__scroll, .hero__place { display: none; }
  .hero__ctas .btn--glass { display: none; }
  .trio { grid-template-columns: 1fr; }
  .tcard { height: 320px; }
  .trio .tcard--olive { height: 320px; }
  .sec-head { flex-direction: column; align-items: start; }
  .about__media { height: 560px; }
  .float-card { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 22px; }
  .story { height: 520vh; }   /* en teléfono un dedazo cruza ~1.5 pantallas: más recorrido = escena más pausada */
  .story__pin { padding: 8px; }
  .story__text { left: 20px; right: 20px; top: auto; bottom: 22px; transform: none; width: auto; }
  .story__text .h2 { font-size: 1.9rem; margin: 10px 0 20px; }
  .steps { gap: 14px; }
  .steps li:not(.is-on) p { display: none; }
  .steps h3 { font-size: 16px; }
  .story__hint { display: none; }
  .lines__cards { grid-template-columns: 1fr; }
  .lcard { min-height: 220px; }
  .lcard__img { width: 42%; }
  .band { grid-template-columns: 1fr 1fr; padding: 28px 24px; }
  .frow { grid-template-columns: 1fr; gap: 20px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard h3 { font-size: 14.5px; }
  .pcard__body { flex-direction: column; align-items: stretch; }
  .qty { align-self: flex-end; width: 100%; height: 38px; justify-content: space-between; }
  .qty button { width: 38px; height: 38px; }
  .qty.is-empty { width: 38px; }
  .pcard__body { padding: 12px 2px 0; }
  .res { grid-template-columns: 1fr 1fr; }
  .crops__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .crop { width: 76vw; scroll-snap-align: start; }
  .voices__grid { grid-template-columns: 1fr; }
  .quote { min-height: 0; }
  .faq__body p { padding-right: 0; }
  .faq__ask { flex-direction: column; align-items: start; }
  .foot__top { grid-template-columns: 1fr; }
  .menu__foot { flex-direction: column; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

/* ---------- Aviso de cookies ---------- */
.cookiebar { position: fixed; left: 16px; bottom: 16px; z-index: 120; width: min(440px, calc(100% - 32px)); display: grid; gap: 14px; padding: 20px 22px; border-radius: var(--r); background: #fff; color: var(--ink); box-shadow: 0 24px 60px -20px rgba(12, 16, 8, .45); transform: translateY(130%); opacity: 0; transition: transform .7s var(--ease), opacity .4s; font-size: 14px; line-height: 1.5; }
.cookiebar.is-in { transform: none; opacity: 1; }
.cookiebar a { color: var(--olive-700); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cookiebar .btn { justify-self: start; height: 44px; padding: 0 22px; }

/* ---------- Páginas legales ---------- */
.page-legal { background: var(--bg); }
.lhead { background: var(--forest); color: #fff; padding: 18px 0; }
.lhead__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lhead .btn { height: 48px; }
.legal { max-width: 860px; padding: clamp(56px, 8vw, 110px) 0 var(--sec); }
.legal__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; color: var(--olive); margin-top: 14px; }
.legal__lead { font-size: 18px; color: var(--ink); margin-top: 16px; }
.legal__date { font-size: 14px; color: var(--muted); margin: 8px 0 40px; }
.legal h2 { font-size: 21px; font-weight: 700; margin: 40px 0 10px; color: var(--ink); }
.legal p, .legal li { color: #3f4436; font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 8px 0 12px; }
.legal a { color: var(--olive-700); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.legal__table { overflow-x: auto; margin-top: 16px; border-radius: 14px; border: 1px solid var(--line); }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--soft); font-weight: 800; }
.lfoot { background: var(--forest); color: rgba(255,255,255,.75); padding: 26px 0; font-size: 14px; }
.lfoot__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lfoot a { color: #fff; }
.lfoot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot__legal a { color: rgba(255,255,255,.8); }
.foot__legal a:hover { color: #fff; }

/* ---------- 404 ---------- */
.e404 { min-height: calc(100svh - 180px); display: grid; place-content: center; justify-items: center; text-align: center; padding: 64px 0; }
.e404__drop { position: relative; width: 120px; height: 160px; display: grid; place-items: center; }
.e404__drop svg { width: 64px; height: 64px; fill: var(--olive); animation: drop404 2.4s var(--ease) infinite; }
.e404__ring { position: absolute; bottom: 8px; width: 110px; height: 22px; border-radius: 50%; border: 2px solid rgba(91,106,42,.35); opacity: 0; animation: ring404 2.4s ease-out infinite; }
.e404__ring--2 { animation-delay: .25s; }
@keyframes drop404 { 0% { transform: translateY(-70px) scale(.7, 1.2); opacity: 0; } 25% { opacity: 1; } 60% { transform: translateY(40px) scale(1); opacity: 1; } 68%, 100% { transform: translateY(46px) scale(1.4, .3); opacity: 0; } }
@keyframes ring404 { 0%, 60% { transform: scale(.2); opacity: 0; } 70% { opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.e404__code { font-size: clamp(5rem, 16vw, 11rem); font-weight: 800; line-height: .9; letter-spacing: -0.05em; color: var(--soft-2); margin-top: 8px; }
.e404__title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 500; letter-spacing: -0.025em; color: var(--olive); margin-top: 10px; }
.e404__lead { max-width: 46ch; margin: 14px auto 32px; color: var(--muted); font-size: 17px; }
.e404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 680px) {
  .lhead .btn span { display: none; }
  .lhead .btn { padding: 0 7px; }
  .cookiebar { left: 12px; bottom: 12px; width: calc(100% - 24px); }
}
.form__legal { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: -6px; }
.form__legal a { color: var(--olive-700); font-weight: 700; text-decoration: underline; }
@media (max-width: 1080px) {
  .lcard { min-height: 280px; }
  .lcard__img { width: 42%; }
}
@media (max-width: 680px) {
  .cookiebar { grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; font-size: 12.5px; line-height: 1.4; }
  .cookiebar .btn { height: 40px; padding: 0 16px; font-size: 12px; }
}

/* ---------- Página de gracias ---------- */
/* Hero: foto a pantalla completa, título grande y una tarjeta de vidrio con lo que se pidió */
.gx-hero { position: relative; display: flex; align-items: flex-end; min-height: max(100svh, 700px); color: #fff; background: var(--forest); overflow: hidden; }
.gx-hero__media { position: absolute; inset: 0; overflow: hidden; }
.gx-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.12); animation: gxzoom 2.6s var(--ease) both; }
.gx-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,16,8,.5) 0%, rgba(12,16,8,.1) 26%, rgba(12,16,8,.28) 52%, rgba(12,16,8,.9) 100%); }
.gx-hero__content { position: relative; z-index: 1; width: min(1320px, 100% - var(--m) * 2); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; padding: 150px 0 clamp(36px, 7svh, 72px); }
.gx-hero__main { max-width: 860px; }
.gx-hero .label--light { margin-top: 26px; text-shadow: 0 1px 14px rgba(10,14,6,.6); }
.gx-title { margin-top: 14px; font-size: clamp(2.7rem, 6.6vw, 6.2rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.035em; }
.gx-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.gx-title .ln > span { display: inline-block; animation: gxrise 1.3s var(--ease) both; }
.gx-title .ln:nth-child(2) > span { animation-delay: .12s; }
.gx-lead { max-width: 52ch; margin-top: 26px; color: rgba(255,255,255,.86); font-size: 17px; animation: gxfade 1.1s .5s var(--ease) both; }
.gx-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: gxfade 1.1s .65s var(--ease) both; }

/* Palomita: el círculo se dibuja, se rellena y la marca aparece */
.gx-check { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.gx-check svg { position: relative; width: 84px; height: 84px; }
.gx-check__circle { fill: rgba(91,106,42,0); stroke: rgba(255,255,255,.9); stroke-width: 2; stroke-dasharray: 190; stroke-dashoffset: 190; animation: gxdraw 1.1s .3s var(--ease) forwards, gxfill .6s 1.1s ease forwards; }
.gx-check__tick { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: gxdraw .7s 1.1s var(--ease) forwards; }
.gx-check__ring { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 2px solid rgba(183,196,122,.7); opacity: 0; animation: gxring 2.8s 1.2s ease-out infinite; }
.gx-check__ring--2 { animation-delay: 1.9s; }

/* Tarjeta de vidrio con el resumen */
.gx-card { width: 300px; padding: 22px 24px; border-radius: var(--r); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.26); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); animation: gxfade 1.1s .8s var(--ease) both; }
.gx-card[hidden] { display: none; }
.gx-card__label { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-300); }
.gx-card__stats { display: flex; gap: 26px; margin-top: 14px; }
.gx-card__stats b { display: block; font-size: 52px; font-weight: 400; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.gx-card__stats span { font-size: 13.5px; color: rgba(255,255,255,.8); }

/* Qué sigue: la manguera une los tres pasos */
.gx-flow { padding-top: var(--sec); }
.gx-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.gx-hose { position: absolute; z-index: 0; left: calc(100% / 6); right: calc(100% / 6); top: 16px; height: 12px; border-radius: 999px; background: var(--forest); overflow: hidden; }
.gx-hose i { position: absolute; inset: 0 50% 0 0; border-radius: inherit; background: var(--olive-300); transform-origin: left; transform: scaleX(0); }
.gx-track.in .gx-hose i { animation: gxflow 1.8s .5s var(--ease) forwards; }
.gx-step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; }
.gx-node { display: grid; place-items: center; align-self: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 3px solid var(--soft-2); color: #fff; }
.gx-node .ico { width: 20px; height: 20px; stroke-width: 2.6; }
.gx-step--done .gx-node { background: var(--olive); border-color: var(--olive); }
.gx-step--now .gx-node { border-color: var(--olive); position: relative; }
.gx-step--now .gx-node::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--olive); animation: gxpulse 2s 1.6s ease-out infinite; }
.gx-step__card { flex: 1; padding: 26px 26px 28px; border-radius: var(--r); background: var(--soft); }
.gx-step--done .gx-step__card { background: var(--olive); color: #fff; }
.gx-step__state { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); }
.gx-step--done .gx-step__state { color: var(--olive-300); }
.gx-step h3 { margin-top: 14px; font-size: 22px; font-weight: 700; line-height: 1.2; }
.gx-step__card > p:last-child { margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 30ch; }
.gx-step--done .gx-step__card > p:last-child { color: rgba(255,255,255,.82); }

/* Lo que pidió */
.gx-list { padding-top: var(--sec); }
.gx-list[hidden] { display: none; }
.gx-grid { margin-top: 48px; }
.gx-pill { flex: none; align-self: end; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }

/* Mientras esperas */
.gx-more { padding-top: var(--sec); }
.gx-more__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.cta__panel p.gx-cta__alt { margin: 22px auto 0; font-size: 14.5px; }
.gx-cta__alt a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Barra */
.gx .nav__links a { transition: background-color .3s, color .3s; }
.gx .nav__links a:hover { background: rgba(255,255,255,.16); }
.gx .nav.is-dark .nav__bar { background: rgba(22,29,15,.86); border-color: rgba(255,255,255,.07); box-shadow: 0 18px 40px -18px rgba(10,14,6,.55); }

/* Entradas: solo se esconde si el script cargó (sin script, todo se ve) */
.gx-js [data-up] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.gx-js [data-up].in { opacity: 1; transform: none; }
.gx-js .gx-more__grid .lcard:nth-child(2) { transition-delay: .08s; }
.gx-js .gx-more__grid .lcard:nth-child(3) { transition-delay: .16s; }
.gx-js .gx-grid .pcard:nth-child(4n+2) { transition-delay: .06s; }
.gx-js .gx-grid .pcard:nth-child(4n+3) { transition-delay: .12s; }
.gx-js .gx-grid .pcard:nth-child(4n+4) { transition-delay: .18s; }

@keyframes gxzoom { from { transform: scale(1.3); } to { transform: scale(1.12); } }
@keyframes gxrise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes gxfade { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes gxdraw { to { stroke-dashoffset: 0; } }
@keyframes gxfill { to { fill: rgba(91,106,42,.92); } }
@keyframes gxring { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(2); opacity: 0; } }
@keyframes gxflow { to { transform: scaleX(1); } }
@keyframes gxflowy { to { transform: scaleY(1); } }
@keyframes gxpulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }

@media (max-width: 980px) {
  .gx-hero__content { grid-template-columns: 1fr; gap: 28px; }
  .gx-card { width: min(100%, 360px); }
  .gx-more__grid { grid-template-columns: 1fr; }
  .gx-more__grid .lcard { min-height: 220px; }
}
@media (max-width: 760px) {
  .gx-hero__content { padding-top: 130px; }
  .gx-title { font-size: clamp(2rem, 8.6vw, 3.4rem); }
  .gx-check, .gx-check svg { width: 68px; height: 68px; }
  .gx-check__ring { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
  .gx-lead { font-size: 16px; }
  .gx-card__stats b { font-size: 44px; }
  /* la manguera pasa a ser vertical */
  .gx-track { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; padding-left: 62px; }
  .gx-hose { left: 16px; right: auto; top: 22px; bottom: 60px; width: 12px; height: auto; }
  .gx-hose i { inset: 0 0 50% 0; transform-origin: top; transform: scaleY(0); }
  .gx-track.in .gx-hose i { animation-name: gxflowy; }
  .gx-step { flex-direction: row; gap: 0; }
  .gx-node { position: absolute; left: -62px; top: 22px; }
  .gx-step__card { padding: 22px; }
  .gx-step h3 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .gx-hero__media img, .gx-title .ln > span, .gx-lead, .gx-hero__ctas, .gx-card { animation: none; }
  .gx-check__circle { animation: none; stroke-dashoffset: 0; fill: rgba(91,106,42,.92); }
  .gx-check__tick { animation: none; stroke-dashoffset: 0; }
  .gx-check__ring, .gx-step--now .gx-node::after { animation: none; }
  .gx-hose i { animation: none !important; transform: none; }
  .gx-js [data-up] { opacity: 1; transform: none; transition: none; }
}
