/* =====================================================================
   EnerScope · Landing one-page
   Sistema visual extraído del logo + patrones del pitch:
   - Paleta: verde de marca del deck, tratada con restricción tipo Apple (mucho blanco)
   - Tipografía real del deck: League Spartan (display) + DM Sans (cuerpo)
   - Sin ornamentos: sólo un halo verde tenue en las secciones oscuras
   - Fotos/marca recortadas en círculo
   - Pasos 01–04 como badge circular blanco con número verde
   1. Tokens
   2. Reset & base
   3. Utilities (container, section, deco circles, buttons, media-circle, reveal)
   4. Components
   5. Media queries
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* --- Verde de marca (deck) tratado con restricción tipo Apple --- */
  --charcoal:      #17211a;   /* texto near-black con leve tinte verde */
  --charcoal-deep: #0a1d12;   /* fin de gradientes oscuros */
  --forest:        #0F4429;   /* verde profundo — fondos dark y números grandes */
  --forest-deep:   #0a2f1c;
  --green:         #16794A;   /* verde de marca — acción y acentos */
  --green-bright:  #2f9e5f;
  --lime:          #A8D65E;   /* lima del deck — acentos mínimos */
  --lime-soft:     #C6E48C;

  --cream:       #FBF8F1;     /* blanco cálido (no stark) — secciones claras */
  --cream-2:     #F1ECDE;     /* superficie cálida — separa de las secciones blancas */
  --white:       #ffffff;

  /* --- Acento / acción: verde de marca, sin naranja --- */
  --orange:      #16794A;     /* alias mantenido; ahora es verde */
  --orange-dark: #0F5836;

  --ink:         #17211a;     /* texto sobre claro */
  --ink-soft:    #5c6660;     /* texto secundario */
  --cream-dim:   rgba(251, 248, 241, 0.74); /* texto secundario sobre oscuro */
  --hairline:    #e6e3d8;     /* borde fino cálido */

  /* Radios contenidos */
  --radius-sm: 12px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-pill: 980px;

  --shadow-sm: 0 1px 2px rgba(18, 30, 22, 0.05), 0 6px 20px rgba(18, 30, 22, 0.06);
  --shadow:    0 6px 16px rgba(18, 30, 22, 0.07), 0 20px 48px rgba(18, 30, 22, 0.10);
  --shadow-lg: 0 12px 28px rgba(18, 30, 22, 0.10), 0 32px 70px rgba(18, 30, 22, 0.16);
  --shadow-orange: none;

  --font-head: "League Spartan", "Segoe UI", system-ui, sans-serif; /* fuente real del deck */
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;        /* fuente real del deck */

  --nav-h: 72px;
  --maxw: 1160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 36px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.005em;
  font-weight: 700;
}

::selection { background: var(--lime); color: var(--charcoal-deep); }

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--charcoal); color: var(--cream);
  padding: 10px 16px; border-radius: var(--radius-sm);
  z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

/* ---------- 3. UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 11vw, 128px);
}
.section--light   { background: var(--cream); color: var(--ink); }
.section--surface { background: var(--cream-2); color: var(--ink); }
.section--dark {
  background: linear-gradient(180deg, var(--forest) 0%, #103f24 55%, var(--charcoal-deep) 100%);
  color: var(--cream);
}

/* --- Halo decorativo muy sutil: sólo en secciones oscuras --- */
.section::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  width: clamp(280px, 40vw, 560px);
  aspect-ratio: 1;
  top: clamp(-220px, -16vw, -120px);
  right: clamp(-180px, -14vw, -100px);
  background: radial-gradient(circle at 40% 40%, rgba(47, 158, 95, 0.35), transparent 70%);
  opacity: 0;
}
.section::after { content: none; }
.section--dark::before { opacity: 0.5; }

/* Contenido siempre por encima de los círculos */
.section > .container { position: relative; z-index: 1; }

.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--left { margin-inline: 0; }
.section__title { font-size: clamp(1.7rem, 5.6vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
.section__lead {
  margin-top: 16px;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 60ch;
}
.section--dark .section__lead { color: var(--cream-dim); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--lime); }

/* Buttons — pill; primary en verde de marca (blanco sobre oscuro) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn--sm { padding: 8px 18px; font-size: 0.9rem; }
.btn--lg { padding: 15px 34px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* Primary: verde de marca sobre claro; blanco sobre oscuro (estilo Apple) */
.btn--primary {
  background: var(--green);
  color: #fff;
}
.btn--primary:hover { background: var(--orange-dark); }
.btn--primary:active { transform: scale(0.98); }

.section--dark .btn--primary,
.hero .btn--primary {
  background: #fff;
  color: var(--forest);
}
.section--dark .btn--primary:hover,
.hero .btn--primary:hover { background: rgba(255, 255, 255, 0.88); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }

.btn--outline {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--hairline);
}
.btn--outline:hover { border-color: var(--green); background: var(--green); color: #fff; }

/* Media recortada en círculo — placeholder suave para foto */
.media-circle {
  position: relative;
  width: min(320px, 72vw);
  aspect-ratio: 1;
  margin-inline: auto;
}
.media-circle__inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background-image:
    url("../img/context-lng.jpg"),
    linear-gradient(155deg, var(--green) 0%, var(--forest-deep) 100%);
  background-size: cover;
  background-position: 52% 42%;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-lg);
}
/* caption del círculo de media */
.media-circle__cap {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }

/* Brand badge — logo con fondo crema tratado como círculo (patrón del pitch) */
.brand-badge {
  display: inline-grid;
  place-items: center;
  background: var(--cream);
  border-radius: 50%;
  padding: 6px;
  box-shadow: var(--shadow-sm);
}
.brand-badge img { border-radius: 50%; }
.brand-badge--hero {
  padding: 14px;
  box-shadow: 0 26px 64px -26px rgba(0, 0, 0, 0.55);
}

/* ---------- 4. COMPONENTS ---------- */

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav.is-scrolled {
  background: rgba(251, 248, 241, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav__brand { display: inline-flex; align-items: center; gap: 12px; }
.nav__wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--cream);
  transition: color .3s var(--ease);
}
.nav.is-scrolled .nav__wordmark { color: var(--charcoal); }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--cream);
  opacity: 0.92;
  transition: color .25s var(--ease), opacity .25s var(--ease);
}
.nav__links a:not(.btn):hover { opacity: 1; }
.nav.is-scrolled .nav__links a:not(.btn) { color: var(--ink); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), background-color .3s var(--ease);
}
.nav.is-scrolled .nav__toggle span { background: var(--charcoal); }

/* Hero */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: calc(var(--nav-h) + 40px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    /* Para usar una foto de yacimiento, descomentá la línea siguiente y sumá una capa
       de color encima (ej: linear-gradient(rgba(12,31,20,.78), rgba(12,31,20,.78))):
    url("../img/hero-bg.jpg") center / cover no-repeat, */
    radial-gradient(ellipse 75% 55% at 50% 0%, rgba(47, 158, 95, 0.18), transparent 68%),
    radial-gradient(ellipse 90% 65% at 50% 110%, rgba(11, 31, 20, 0.5), transparent 74%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero__title {
  font-size: clamp(2.7rem, 11vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
}
.hero__tagline {
  font-size: clamp(1.05rem, 3.6vw, 1.7rem);
  font-weight: 400;
  color: var(--cream-dim);
  max-width: 24ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 12px;
}

/* Stats — sin card: número grande + label, mucho aire (estilo Apple) */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 48px);
}
.stat {
  padding-top: 20px;
  border-top: 2px solid var(--forest);
}
.stat__value {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--forest);
  white-space: nowrap;
}
.stat__unit { font-size: 0.42em; font-weight: 600; color: var(--ink-soft); white-space: normal; }
.stat__label { display: block; margin-top: 10px; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.45; }

/* Split (pullquote + círculo de media en Contexto) */
.split { display: grid; gap: clamp(36px, 6vw, 64px); }

.pullquote {
  margin-top: clamp(48px, 7vw, 80px);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  border-left: 5px solid var(--green);
  padding-left: clamp(20px, 4vw, 36px);
  max-width: 26ch;
}
.split .pullquote { margin-top: 0; }
.pullquote em { color: var(--orange); font-style: normal; }
.pullquote--center {
  border-left: 0;
  border-top: 5px solid var(--green);
  padding-left: 0;
  padding-top: 28px;
  margin-inline: auto;
  text-align: center;
  max-width: 32ch;
}

/* Chain of value */
.chain {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.chain__node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--charcoal);
}
.chain__icon {
  flex: none;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
}
.chain__icon svg { width: 24px; height: 24px; }

.how-today__title {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 24px;
}
.how-today__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.mini-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mini-card h4 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; color: var(--charcoal); }
.mini-card p { color: var(--ink-soft); font-size: 0.96rem; }
.how-today__closing {
  margin-top: 28px;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--charcoal);
}
.how-today__closing strong { color: var(--orange); }

/* Solución · layers */
.layers {
  display: grid;
  gap: 26px;
  margin-bottom: clamp(56px, 8vw, 88px);
}
.layers__nodes { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-tag {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--cream-2);
  border: 1px solid var(--hairline);
  color: var(--forest);
}
.layers__stack { display: grid; gap: 16px; }
.layer-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--green);
}
.layer-card:nth-child(2) { border-left-color: var(--forest); }
.layer-card:nth-child(3) { border-left-color: var(--lime); }
.layer-card__k {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.layer-card h4 { font-size: 1.18rem; font-weight: 700; margin: 6px 0; color: var(--charcoal); }
.layer-card p { color: var(--ink-soft); font-size: 0.96rem; }

/* Steps · timeline — número en badge circular blanco, dígito verde (patrón del pitch) */
.steps__title { font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight: 700; margin-bottom: 34px; }
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  position: relative;
}
.timeline__step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.timeline__step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.timeline__num {
  display: inline-grid;
  place-items: center;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: var(--green);
  margin-bottom: 16px;
}
.timeline__step h4 { font-size: 1.18rem; font-weight: 700; color: var(--charcoal); margin-bottom: 6px; }
.timeline__step p { color: var(--ink-soft); font-size: 0.96rem; }

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.benefit-card:hover { transform: translateY(-8px) scale(1.015); box-shadow: var(--shadow-lg); }
.benefit-card__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--forest), var(--green));
  color: var(--cream);
  margin-bottom: 22px;
}
.benefit-card__icon svg { width: 28px; height: 28px; }
.benefit-card h3 { font-size: 1.32rem; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.benefit-card p { color: var(--ink-soft); }

/* Audience */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: clamp(48px, 7vw, 72px);
}
.audience-card {
  background: rgba(253, 246, 228, 0.06);
  border: 1px solid rgba(253, 246, 228, 0.16);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(4px);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.audience-card:hover { transform: translateY(-6px); background: rgba(253, 246, 228, 0.11); }
.audience-card h3 { font-size: 1.28rem; font-weight: 700; color: var(--cream); margin-bottom: 10px; }
.audience-card p { color: var(--cream-dim); font-size: 0.98rem; }

.logos__label {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 20px;
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  align-items: center;
}
.logos__row li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  letter-spacing: -0.01em;
  color: var(--cream);
  opacity: 0.62;
  transition: opacity .25s var(--ease);
}
.logos__row li:hover { opacity: 1; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card__name { font-size: 1.55rem; font-weight: 700; color: var(--charcoal); }
.price-card__desc { color: var(--ink-soft); font-size: 0.96rem; }
.price-card__features { display: grid; gap: 10px; margin-block: 4px; }
.price-card__features li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: 0.98rem;
}
.price-card__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.9);
}
.price-card .btn { margin-top: auto; }

.price-card--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(140deg, var(--green), var(--orange)) border-box;
  box-shadow: var(--shadow-lg);
}
.price-card__badge {
  position: absolute;
  top: -15px;
  left: 30px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-orange);
}
.price-card--featured .price-card__features li::before { background: var(--orange); }

.price-card--dark {
  background: linear-gradient(160deg, var(--charcoal) 0%, var(--forest-deep) 130%);
  border-color: transparent;
  color: var(--cream);
}
.price-card--dark .price-card__name { color: var(--cream); }
.price-card--dark .price-card__desc { color: var(--cream-dim); }
.price-card--dark .price-card__features li { color: var(--cream); }
.price-card--dark .price-card__features li::before { background: var(--lime); box-shadow: inset 0 0 0 3px rgba(27, 34, 39, 0.55); }

/* Contact */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 6vw, 64px);
}
.contact__meta { margin-top: 26px; display: grid; gap: 8px; }
.contact__meta a {
  color: var(--cream);
  border-bottom: 1px solid rgba(253, 246, 228, 0.3);
  padding-bottom: 2px;
  transition: border-color .25s var(--ease);
}
.contact__meta a:hover { border-color: var(--lime); }

.contact__form {
  background: rgba(253, 246, 228, 0.06);
  border: 1px solid rgba(253, 246, 228, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  display: grid;
  gap: 18px;
  backdrop-filter: blur(6px);
}
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--cream);
}
.field input,
.field textarea {
  font: inherit;
  color: var(--cream);
  background: rgba(27, 34, 39, 0.4);
  border: 1px solid rgba(253, 246, 228, 0.22);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(253, 246, 228, 0.4); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(27, 34, 39, 0.55);
}
.field--error input,
.field--error textarea { border-color: var(--orange); }
.contact__note { font-size: 0.92rem; color: var(--cream-dim); min-height: 1.2em; }
.contact__note.is-ok { color: var(--lime); font-weight: 600; }

/* Footer */
.footer { padding-block: 48px; }
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.footer__links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--cream-dim);
  transition: color .2s var(--ease);
}
.footer__links a:hover { color: var(--cream); }
.footer__legal { color: var(--cream-dim); font-size: 0.88rem; }

/* ---------- 5. MEDIA QUERIES ---------- */
@media (min-width: 620px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .how-today__grid { grid-template-columns: repeat(3, 1fr); }
  .chain { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card--featured { transform: scale(1.05); }
  .price-card--featured:hover { transform: scale(1.05) translateY(-6px); }

  .split { grid-template-columns: 1.15fr 0.85fr; align-items: center; }

  .layers { grid-template-columns: 260px 1fr; align-items: start; }
  .layers__nodes { flex-direction: column; align-items: flex-start; position: sticky; top: calc(var(--nav-h) + 24px); }

  /* Chain: fila horizontal con conector */
  .chain { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .chain__node { flex-direction: column; text-align: center; gap: 14px; border-radius: 0; margin-inline: 8px; }
  .chain__node:first-child { border-top-left-radius: var(--radius); border-bottom-left-radius: var(--radius); margin-left: 0; }
  .chain__node:last-child { border-top-right-radius: var(--radius); border-bottom-right-radius: var(--radius); margin-right: 0; }
  .chain__node::after {
    content: "";
    position: absolute;
    right: -20px; top: 46px;
    width: 24px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 12px);
    z-index: 2;
  }
  .chain__node:last-child::after { display: none; }

  /* Timeline horizontal con línea conectora */
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .timeline::before {
    content: "";
    position: absolute;
    top: 61px; left: 6%; right: 6%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--lime) 0 8px, transparent 8px 16px);
    z-index: 0;
  }
  .timeline__step { z-index: 1; }

  .contact__inner { grid-template-columns: 1fr 1fr; align-items: center; }
}

@media (max-width: 899px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--cream);
    padding: 18px clamp(20px, 5vw, 40px) 26px;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform .35s var(--ease);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a:not(.btn) { color: var(--ink) !important; padding: 12px 4px; border-bottom: 1px solid var(--hairline); }
  .nav__links .btn { margin-top: 12px; }
  .nav.is-open,
  .nav.is-open.is-scrolled { background: var(--cream); box-shadow: var(--shadow-sm); }
  .nav.is-open .nav__wordmark { color: var(--charcoal); }
  .nav.is-open .nav__toggle span { background: var(--charcoal); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .media-circle { margin-top: 8px; }
  .media-circle__cap { font-size: 0.76rem; }
}

/* ---------- Ajuste fino para celular ---------- */
@media (max-width: 600px) {
  h1, h2, h3, h4 { overflow-wrap: break-word; }

  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .hero__inner { gap: 18px; }

  /* CTAs a ancho completo, más fáciles de tocar */
  .hero__cta { width: 100%; flex-direction: column; gap: 10px; }
  .hero__cta .btn { width: 100%; }

  .section__head { margin-bottom: 32px; }
  .section__lead { font-size: 1rem; }

  /* Pull-quote: menos sangría, no se come el ancho */
  .pullquote {
    font-size: clamp(1.2rem, 5.6vw, 1.6rem);
    padding-left: 16px;
    border-left-width: 4px;
    max-width: none;
  }
  .pullquote--center { padding-left: 0; }

  /* Círculo de media: caption puede envolver y no desborda */
  .media-circle { width: min(280px, 82vw); }
  .media-circle__cap {
    white-space: normal;
    text-align: center;
    width: max-content;
    max-width: 88vw;
    bottom: -22px;
  }

  /* Cards y timeline: un poco menos de padding interno */
  .stat__value { font-size: clamp(1.7rem, 7.5vw, 2.1rem); }
  .benefit-card, .price-card, .timeline__step { padding: 26px 22px; }
  .mini-card, .chain__node, .layer-card { padding: 20px; }

  /* Nav desplegable: targets más grandes */
  .nav__links a:not(.btn) { padding: 15px 4px; }
  .nav__links .btn { padding: 14px 20px; }

  /* Logos del sector: que no queden apretados */
  .logos__row { gap: 12px 20px; }
}

@media (min-width: 900px) {
  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
