/* ============================================================
   Nutrivivencia — sistema de diseño
   Referencia visual: theclass.com
   (paleta bone/sand, serif de peso ligero con interlínea
   cerrada, botones pastilla, tarjetas arena, grano de film)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Superficies */
  --bone:        #F8F7F2;   /* fondo base */
  --cream:       #FFFDF1;   /* sección alterna, más cálida */
  --sand:        #E9E7DA;   /* tarjetas */
  --sand-deep:   #D3CFB4;   /* acentos, bordes fuertes */
  --clay:        #8C7A6B;   /* washes de foto */
  --clay-deep:   #5E5147;

  /* Tinta */
  --ink:         #2B2422;
  --ink-70:      rgba(43, 36, 34, .70);
  --ink-50:      rgba(43, 36, 34, .50);
  --ink-30:      rgba(43, 36, 34, .30);
  --ink-12:      rgba(43, 36, 34, .12);
  --ink-06:      rgba(43, 36, 34, .06);

  /* Tipografía */
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Escala display — interlínea 1.0, como la referencia */
  --d1: clamp(3rem,   9vw, 7.5rem);
  --d2: clamp(2.5rem, 6.5vw, 5rem);
  --d3: clamp(2rem,   4.5vw, 3.25rem);
  --d4: clamp(1.5rem, 3vw, 2.25rem);
  --lead: clamp(1.25rem, 2.4vw, 1.875rem);

  /* Ritmo */
  --gut: clamp(1.25rem, 5vw, 2.5rem);
  --sec: clamp(4.5rem, 11vw, 9rem);
  --max: 1320px;
  --measure: 62ch;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--ink-12); margin: 0; }
::selection { background: var(--sand-deep); color: var(--ink); }

/* Grano de film sobre todo el documento */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 200; opacity: .038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. Tipografía ---------- */
.display   { font-family: var(--serif); font-weight: 300; line-height: 1.0; letter-spacing: -.01em; }
.d1 { font-size: var(--d1); }
.d2 { font-size: var(--d2); }
.d3 { font-size: var(--d3); line-height: 1.06; }
.d4 { font-size: var(--d4); line-height: 1.12; }

.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--lead);
  line-height: 1.28;
  max-width: 24ch;
}
.lead--wide { max-width: 34ch; }

.body   { font-size: 1rem; line-height: 1.65; color: var(--ink-70); max-width: var(--measure); }
.body--lg { font-size: 1.0625rem; }
.body + .body { margin-top: 1.1em; }
.body strong { color: var(--ink); font-weight: 500; }

.label {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 400;
}
.label--ink { color: var(--ink); }
.label--light { color: rgba(255,255,255,.72); }

.serif-em { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--cream { background: var(--cream); }
.section--sand  { background: var(--sand); }
.section--ink   { background: var(--ink); color: var(--bone); }
.section--ink .body { color: rgba(248,247,242,.72); }
.section--ink .label { color: rgba(248,247,242,.5); }

.grid { display: grid; gap: var(--gut); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* Cabecera de sección: etiqueta a la izquierda, contenido a la derecha */
.sec-head { display: grid; grid-template-columns: 200px 1fr; gap: var(--gut); align-items: start; }
.sec-head__body { max-width: 46ch; }

.stack   { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--s, 1rem); }
.s-xs { --s: .5rem; } .s-sm { --s: .875rem; } .s-md { --s: 1.5rem; }
.s-lg { --s: 2.25rem; } .s-xl { --s: 3.5rem; }

.rule { border-top: 1px solid var(--ink-12); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- 5. Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .875rem; font-weight: 500;
  line-height: 1; padding: .8125rem 1.25rem;
  border-radius: 9999px; border: 1px solid transparent;
  background: var(--ink); color: var(--bone);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--clay-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink-30); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--light { background: var(--bone); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--lg { font-size: 1rem; padding: 1.0625rem 1.75rem; }
.btn--block { display: flex; justify-content: center; width: 100%; }

/* Enlace con subrayado animado */
.link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .9375rem; font-weight: 500;
  padding-bottom: .3rem;
  border-bottom: 1px solid var(--ink-30);
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.link:hover { border-color: var(--ink); gap: .75rem; }
.link__arrow { font-family: var(--mono); font-size: .8em; }

/* ---------- 6. Header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr__in {
  max-width: var(--max); margin-inline: auto;
  padding: 1.125rem var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.hdr__logo {
  font-family: var(--serif); font-size: 1.375rem; font-weight: 400;
  letter-spacing: .01em; line-height: 1;
}
/* Logo como imagen (solo en el header; el del footer sigue siendo texto).
   El <a> pasa a flex para que no quede el descender line de la imagen inline. */
.hdr .hdr__logo { display: flex; align-items: center; }
.hdr__logo img {
  display: block; height: 1.75rem; width: auto;
  transition: filter .4s var(--ease);
}
.hdr__nav { display: flex; align-items: center; gap: 1.75rem; }
.hdr__nav a {
  position: relative;
  font-size: .875rem; font-weight: 450; opacity: .78;
  transition: opacity .25s var(--ease);
}
.hdr__nav a:hover, .hdr__nav a[aria-current="page"] { opacity: 1; }
/* Sección actual: regla de 1px, del mismo lenguaje que .rule y .mobnav__item.
   currentColor la adapta sola al header claro sobre hero y al header con scroll. */
.hdr__nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: currentColor;
}
.hdr__right { display: flex; align-items: center; gap: 1.25rem; }

/* Sobre hero oscuro */
.hdr--over { color: #fff; }
.hdr--over .btn { background: var(--bone); color: var(--ink); }
/* El logo pasa a blanco pleno sobre el hero, igual que el resto del header.
   Un solo archivo para los dos estados: no hay dos PNG que mantener en sync. */
.hdr--over .hdr__logo img { filter: brightness(0) invert(1); }
/* Con scroll */
.hdr--stuck {
  background: rgba(248,247,242,.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--ink-12);
  color: var(--ink);
}
.hdr--stuck .btn { background: var(--ink); color: var(--bone); }

/* Menú móvil */
.hdr__burger { display: none; width: 26px; height: 14px; position: relative; }
.hdr__burger span {
  position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.hdr__burger span:nth-child(1) { top: 0; }
.hdr__burger span:nth-child(2) { bottom: 0; }
body.nav-open .hdr__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .hdr__burger span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }

.mobnav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bone); color: var(--ink);
  padding: 6rem var(--gut) var(--gut);
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
body.nav-open .mobnav { opacity: 1; visibility: visible; transform: none; }
body.nav-open { overflow: hidden; }
.mobnav a.mobnav__item {
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1.15; font-weight: 300;
  display: block; padding-block: .35rem;
  border-bottom: 1px solid var(--ink-12);
}
/* En el menú móvil cada ítem ya tiene su regla, así que la sección actual
   se marca con la itálica serif — el mismo recurso de énfasis que .serif-em. */
.mobnav a.mobnav__item[aria-current="page"] {
  font-style: italic; font-weight: 400;
  border-bottom-color: var(--ink-30);
}

/* ---------- 7. Hero ---------- */
.hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero--short { min-height: 72svh; }
.hero .hero__media { position: absolute; inset: 0; z-index: 0; }
/* Doble velo sobre la foto: uno lateral, que oscurece el lado donde vive el
   texto y deja respirar la imagen a la derecha, y uno vertical, que sostiene
   el pie de la sección. Subir el primer valor de cada gradiente = más oscuro. */
.hero .hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(30,24,20,.68) 0%, rgba(30,24,20,.42) 50%, rgba(30,24,20,.06) 82%),
    linear-gradient(180deg, rgba(30,24,20,.46) 0%, rgba(30,24,20,.14) 40%, rgba(30,24,20,.76) 100%);
}
/* En pantallas angostas el texto ocupa todo el ancho: el velo se vuelve
   vertical y parejo, porque no hay un lado libre que preservar. */
@media (max-width: 720px) {
  .hero .hero__media::after {
    background: linear-gradient(180deg, rgba(30,24,20,.62) 0%, rgba(30,24,20,.46) 45%, rgba(30,24,20,.82) 100%);
  }
}
.hero__in { position: relative; z-index: 1; width: 100%; padding-block: clamp(3rem, 7vw, 5rem); }
.hero__title { max-width: 15ch; text-wrap: balance; }
.hero__sub { max-width: 42ch; color: rgba(255,255,255,.86); font-size: 1.0625rem; line-height: 1.6; }
.hero__meta { color: rgba(255,255,255,.7); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Hero claro, sin foto */
.hero-type { padding-top: clamp(9rem, 18vw, 13rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }

/* ---------- 8. Placeholder de fotografía ---------- */
/* Cada bloque .photo es un hueco para foto real.
   El texto de .photo__note es el brief de la toma: borralo al reemplazar. */
.photo {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255,253,241,.55) 0%, rgba(255,253,241,0) 55%),
    linear-gradient(155deg, var(--clay) 0%, var(--clay-deep) 55%, #3E362F 100%);
}
.photo--sand {
  background:
    radial-gradient(110% 80% at 75% 15%, #FFFDF1 0%, rgba(255,253,241,0) 60%),
    linear-gradient(150deg, var(--sand) 0%, var(--sand-deep) 100%);
}
.photo--warm {
  background:
    radial-gradient(100% 80% at 30% 20%, #E7D9C6 0%, rgba(231,217,198,0) 60%),
    linear-gradient(160deg, #C4AC93 0%, #8C7A6B 100%);
}
.photo::before {
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.photo__note {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font-family: var(--mono); font-size: .625rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.28); border-radius: 3px;
  padding: .3rem .5rem; max-width: 22ch; line-height: 1.45;
}
.photo--sand .photo__note { color: var(--ink-50); border-color: var(--ink-30); }
.hero .photo__note { left: auto; right: 1rem; top: 5rem; bottom: auto; }
.r-16-9 { aspect-ratio: 16/9; } .r-4-5 { aspect-ratio: 4/5; }
.r-1-1  { aspect-ratio: 1/1; }  .r-3-4 { aspect-ratio: 3/4; }

/* ---------- 9. Tarjetas ---------- */
.card {
  background: var(--sand); border: 1px solid rgba(248,247,242,.9);
  border-radius: 4px; padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
a.card:hover { background: var(--sand-deep); transform: translateY(-3px); }
.card--open { background: transparent; border-color: var(--ink-12); }

/* Puertas de entrada (home) */
.door { display: flex; flex-direction: column; min-height: 380px; }
.door__media { flex: 1; margin: -1px -1px 1.5rem; border-radius: 3px 3px 0 0; min-height: 200px; }
.door__foot { margin-top: auto; padding-top: 1.5rem; }

/* Numeradas */
.num {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em;
  color: var(--ink-50); display: block; margin-bottom: 1rem;
}

/* ---------- 10. Verbatims ---------- */
.quote-row { display: flex; gap: 1.5rem; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.quote-track { display: flex; gap: 1.5rem; flex: 0 0 auto; animation: slide 46s linear infinite; }
.quote-row:hover .quote-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-100% - 1.5rem)); } }
.quote {
  flex: 0 0 auto; background: var(--cream); border: 1px solid var(--ink-12);
  border-radius: 9999px; padding: .875rem 1.5rem;
  font-family: var(--serif); font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-style: italic; font-weight: 400; white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .quote-track { animation: none; }
  .quote-row { flex-wrap: wrap; mask-image: none; }
}

/* ---------- 11. Acordeón ---------- */
.acc { border-top: 1px solid var(--ink-12); }
.acc__item { border-bottom: 1px solid var(--ink-12); }
.acc__item > summary {
  list-style: none; cursor: pointer; padding: 1.375rem 0;
  display: flex; align-items: baseline; justify-content: space-between; gap: 2rem;
  font-size: 1.0625rem; font-weight: 450;
  transition: color .25s var(--ease);
}
.acc__item > summary::-webkit-details-marker { display: none; }
.acc__item > summary:hover { color: var(--clay-deep); }
.acc__item > summary::after {
  content: "+"; font-family: var(--mono); font-size: 1.125rem;
  color: var(--ink-50); transition: transform .35s var(--ease); flex: 0 0 auto;
}
.acc__item[open] > summary::after { transform: rotate(45deg); }
.acc__body { padding-bottom: 1.5rem; max-width: 58ch; color: var(--ink-70); line-height: 1.65; }
.acc__body p + p { margin-top: .9em; }

/* ---------- 12. Listas ---------- */
.ticks li, .crosses li {
  position: relative; padding-left: 1.75rem; line-height: 1.6;
  color: var(--ink-70);
}
.ticks li + li, .crosses li + li { margin-top: .75rem; }
.ticks li::before, .crosses li::before {
  position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: .875rem; color: var(--ink-50);
}
.ticks li::before { content: "—"; }
.crosses li::before { content: "×"; }

.steps { counter-reset: st; }
.steps__item { display: grid; grid-template-columns: 88px 1fr; gap: var(--gut); padding-block: clamp(1.75rem, 4vw, 2.75rem); border-top: 1px solid var(--ink-12); }
.steps__item:last-child { border-bottom: 1px solid var(--ink-12); }
.steps__n { font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; color: var(--ink-50); padding-top: .5rem; }

/* ---------- 13. Franja de datos ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink-12); border-radius: 4px; overflow: hidden; }
.facts__i { padding: clamp(1.25rem, 3vw, 2rem); border-right: 1px solid var(--ink-12); }
.facts__i:last-child { border-right: 0; }
.facts__v { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; font-weight: 300; margin-top: .4rem; }

/* ---------- 14. Formularios ---------- */
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-50); }
.input, .textarea, .select {
  font: inherit; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--ink-30);
  padding: .625rem 0; border-radius: 0;
  transition: border-color .3s var(--ease);
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-bottom-color: var(--ink); }
.textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .8125rem; color: var(--ink-50); line-height: 1.5; }
.form-note--ok  { color: var(--ink); font-weight: 500; }
.form-note--err { color: #A3372B; font-weight: 500; }
.section--ink .form-note--ok  { color: var(--bone); }
.section--ink .form-note--err { color: #E8A99E; }
/* Trampa antispam: invisible para personas, visible para robots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.form-done { font-family: var(--serif); font-size: var(--lead); line-height: 1.3; font-weight: 300; }
.inline-form { display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; }
.inline-form .field { flex: 1 1 260px; }
.section--ink .input { color: var(--bone); border-bottom-color: rgba(248,247,242,.35); }
.section--ink .input:focus { border-bottom-color: var(--bone); }
.section--ink .field label, .section--ink .form-note { color: rgba(248,247,242,.55); }

/* ---------- 15. Footer ---------- */
.ftr { background: var(--ink); color: var(--bone); padding-block: clamp(3.5rem, 8vw, 6rem) 2.5rem; }
.ftr a { opacity: .72; transition: opacity .25s var(--ease); }
.ftr a:hover { opacity: 1; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--gut); }
.ftr__manifesto { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.25; font-weight: 300; max-width: 26ch; }
.ftr__col li + li { margin-top: .7rem; }
.ftr__col li a { font-size: .9375rem; }

/* Los dos canales por los que se escribe llevan su glifo: en una lista de
   texto plano el ojo no los distingue del resto de los enlaces. El ícono va
   como máscara sobre currentColor, así hereda el color y la opacidad del
   footer y no hay que repetir SVG en cada página. */
.ftr__soc { display: inline-flex; align-items: center; gap: .6rem; }
.ftr__soc::before {
  content: ''; width: 1.05em; height: 1.05em; flex: none;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}
.ftr__soc--wa { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z%22/%3E%3C/svg%3E"); }
.ftr__soc--ig { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.741 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.741 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.259 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405a1.441 1.441 0 01-2.88 0 1.44 1.44 0 012.88 0z%22/%3E%3C/svg%3E"); }
.ftr__bottom {
  margin-top: clamp(3rem, 7vw, 5rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(248,247,242,.16);
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(248,247,242,.5);
}
.ftr__bottom a { color: inherit; }

/* ---------- 16. Landing (sin navegación) ---------- */
.lp-hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,247,242,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-12);
}
.lp-hdr__in {
  max-width: var(--max); margin-inline: auto; padding: .875rem var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.lp-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: var(--ink); color: var(--bone);
  padding: .75rem var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.lp-bar--on { transform: none; }
.lp-bar__meta { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(248,247,242,.6); }

/* Marcador de dato pendiente */
.tbd {
  font-family: var(--mono); font-size: .85em;
  background: rgba(212,163,115,.22); border-bottom: 1px dashed rgba(140,122,107,.6);
  padding: 0 .2em; border-radius: 2px; white-space: nowrap;
}

/* ---------- 17. Revelado al hacer scroll ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1000px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts__i:nth-child(2) { border-right: 0; }
  .facts__i:nth-child(-n+2) { border-bottom: 1px solid var(--ink-12); }
}
@media (max-width: 860px) {
  .hdr__nav { display: none; }
  .hdr__burger { display: block; }
  .sec-head { grid-template-columns: 1fr; gap: 1rem; }
  .g-2, .g-3 { grid-template-columns: 1fr; }
  .steps__item { grid-template-columns: 1fr; gap: .75rem; }
  .steps__n { padding-top: 0; }
  .lead { max-width: 30ch; }
}
@media (max-width: 640px) {
  /* En pantallas chicas el CTA vive en el menú: liberamos la barra */
  .hdr__right > .btn { display: none; }
  .hdr .hdr__logo img { height: 1.5rem; }
  .lp-hdr__in .btn { font-size: .8125rem; padding: .625rem 1rem; }
}
@media (max-width: 560px) {
  .g-4 { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts__i { border-right: 0; border-bottom: 1px solid var(--ink-12); }
  .facts__i:last-child { border-bottom: 0; }
  .hero { min-height: 88svh; }
}
