/* ==========================================================================
   Génesis Ecoenergy — Catálogo comercial 2026
   Paleta tomada del catálogo original: azul #092653, naranja #F8A71A, verde #319C40.
   ========================================================================== */

:root {
  --navy: #092653;
  --navy-deep: #051937;
  --navy-700: #0d3270;
  --orange: #F8A71A;
  --green: #319C40;
  --green-ink: #1d7a2e;         /* el verde de marca, oscurecido para texto sobre claro */
  --green-soft: #99DB89;
  --sky: #C5E0F7;
  --sky-600: #4f9fe0;
  --paper: #F2F7FB;
  --ink: #092653;
  --text: #4b5a6e;
  --line: #d9e3ee;

  --font-display: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: clamp(20px, 2.4vw, 30px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Tokens del motor scroll-world (su CSS vive en una capa, así que estos mandan) */
.sw-root {
  --sw-bg: var(--navy-deep);
  --sw-ink: #fff;
  --sw-ink-soft: #b9c8de;
  --sw-accent: var(--orange);
  --sw-on-accent: #071f45;
  --sw-font-display: var(--font-display);
  --sw-font-body: var(--font-body);
  --sw-font-mono: var(--font-mono);
}
.sw-copy__title { font-stretch: 112%; }

/* El reset va en una capa anterior a la del motor (`sw`): así no le pisa sus márgenes
   y colores, y los componentes del catálogo, sin capa, mandan sobre ambos. */
@layer reset, sw;
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  img, svg { display: block; max-width: 100%; }
  img { height: auto; }
  h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
  ul, ol { padding: 0; list-style: none; }
  a { color: inherit; }
  button, input, select { font: inherit; color: inherit; }
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--orange); color: var(--navy); font-weight: 700;
  padding: 12px 18px; border-radius: 12px; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 960px; }

.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--lg { width: 34px; height: 34px; stroke-width: 1.6; }
.ico--xl { width: 46px; height: 46px; stroke-width: 1.4; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem; line-height: 1.2;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green-ink);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 44px; height: 4px; border-radius: 2px; background: var(--orange); flex: none; }
.eyebrow--plain::before { display: none; }
.eyebrow--onDark { color: var(--green-soft); }

.display {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(2.3rem, 5.6vw, 4.7rem); line-height: .98; letter-spacing: -.016em;
  text-transform: uppercase; color: var(--ink); text-wrap: balance;
}
.display--onDark { color: #fff; }
.title {
  font-family: var(--font-display); font-weight: 800; font-stretch: 106%;
  font-size: clamp(1.7rem, 3.1vw, 2.6rem); line-height: 1.06; letter-spacing: -.012em;
  color: var(--ink); text-wrap: balance;
}
.lead { font-size: clamp(1.15rem, 1.65vw, 1.45rem); line-height: 1.5; color: var(--text); max-width: 54ch; text-wrap: pretty; }
.lead--center { margin: clamp(48px, 7vw, 96px) auto 0; text-align: center; color: var(--ink); font-weight: 500; }
.lead--onDark { color: #dbe6f5; }
.footnote { margin-top: 28px; font-size: .92rem; color: #5f6e82; max-width: 78ch; }
.footnote--onDark { color: #a9bbd6; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: .95rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn--accent { background: var(--orange); color: #071f45; box-shadow: 0 8px 24px rgba(248, 167, 26, .28); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(248, 167, 26, .4); }
.btn--block { width: 100%; padding-block: 16px; white-space: normal; text-align: center; }

/* ==========================================================================
   Cabecera
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
  padding-inline: var(--gutter);
  color: #fff;
  transition: background .45s, color .45s, box-shadow .45s;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(9, 38, 83, .09), 0 12px 30px -22px rgba(9, 38, 83, .5);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
/* El logo completo, casi a todo el alto de la cabecera y con el mínimo de placa blanca. */
.brand__badge {
  height: calc(var(--header-h) - 12px); aspect-ratio: 900 / 689; padding: 3px 5px; border-radius: 12px; background: #fff; overflow: hidden; flex: none;
  box-shadow: 0 6px 18px rgba(2, 10, 26, .28);
  transition: box-shadow .45s;
}
.is-solid .brand__badge { box-shadow: none; }
.brand__badge img { width: 100%; height: 100%; object-fit: contain; }
.brand__name {
  font-family: var(--font-display); font-weight: 800; font-stretch: 108%;
  font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.brand__name b { font-weight: 800; color: var(--green-soft); transition: color .45s; }
.is-solid .brand__name b { color: var(--green-ink); }

.site-nav { display: flex; align-items: center; gap: clamp(2px, .6vw, 10px); }
.site-nav a {
  position: relative; padding: 8px 10px; border-radius: 8px;
  font-size: .9rem; font-weight: 600; text-decoration: none; opacity: .86;
  transition: opacity .2s;
}
.site-nav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 1px;
  background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="true"] { opacity: 1; }
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-nav__cta { display: none; }
.site-header__cta { padding: 11px 18px; }
.site-header__cta .ico { width: 20px; height: 20px; }
.menu-toggle { display: none; }
.site-header__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.site-header__progress span { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; }

@media (max-width: 1080px) {
  .menu-toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; padding: 0;
    background: transparent; border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .menu-toggle span { display: block; width: 24px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .35s var(--ease); }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: calc(var(--header-h) + 16px) var(--gutter) 40px;
    background: var(--navy-deep); color: #fff;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-nav a { font-family: var(--font-display); font-weight: 800; font-stretch: 110%; font-size: clamp(1.6rem, 6.4vw, 2.4rem); text-transform: uppercase; padding: 8px 0; opacity: 1; }
  .site-nav a::after { left: 0; right: 0; }
  .site-nav__cta { display: block; color: var(--orange); }
  .menu-open .site-header { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open .brand__name b { color: var(--green-soft); }
  .brand, .site-header__cta { position: relative; z-index: 2; }
}
@media (max-width: 520px) {
  .brand__name { font-size: .86rem; }
  .site-header__cta span { display: none; }
  .site-header__cta { padding: 12px; }
}

/* ==========================================================================
   Catálogo (sube como un telón sobre la última escena del recorrido)
   ========================================================================== */
.catalogo {
  position: relative; z-index: 70;
  background: #fff;
  border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0;
  box-shadow: 0 -40px 90px rgba(2, 10, 26, .5);
  overflow: clip;
}
.chapter { position: relative; padding-block: clamp(88px, 11vw, 168px); --card: var(--paper); }
.chapter--tint { background: var(--paper); --card: #fff; }
.chapter__head { position: relative; isolation: isolate; margin-bottom: clamp(44px, 6vw, 88px); }
.chapter__head .display { max-width: 18ch; }
/* Cabecera de capítulo editorial: una regla, el número a la derecha y el título debajo. */
.chapter__head { padding-top: 22px; border-top: 2px solid var(--ink); }
.chapter__num {
  position: absolute; right: 0; top: 20px;
  font-family: var(--font-mono); font-weight: 500; font-size: .95rem; letter-spacing: .08em; color: var(--ink);
  pointer-events: none; user-select: none;
}
.chapter__num::before { content: "Capítulo "; color: #5f6e82; }

/* ---------- Animaciones de entrada (solo si hay JS) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] {
  opacity: 1; transform: none;
  clip-path: inset(10% 10% 10% 10% round var(--radius));
  transition: clip-path 1.3s var(--ease);
}
.js [data-reveal="clip"].is-in { clip-path: inset(0 round var(--radius)); }

/* ==========================================================================
   01 · Empresa
   ========================================================================== */
.about { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__text { display: grid; gap: clamp(28px, 4vw, 48px); }
.about__text .lead { color: var(--ink); font-weight: 500; }
.backing {
  container-type: inline-size;
  display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); align-items: center; gap: clamp(18px, 3vw, 36px); padding: clamp(22px, 3vw, 40px);
  background: var(--navy); color: #fff; border-radius: var(--radius);
  background-image: radial-gradient(120% 140% at 100% 0%, rgba(248, 167, 26, .22), transparent 55%);
}
.backing__label { font-weight: 700; font-size: .84rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); }
.backing__name {
  font-family: var(--font-display); font-weight: 900; font-stretch: 118%;
  /* sized from the card itself so the name always fits on one line */
  font-size: clamp(1.2rem, 6.2cqi, 3rem); line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
  white-space: nowrap;
}
.backing__fact { margin-top: 12px; font-weight: 800; font-size: clamp(.95rem, 1.5vw, 1.2rem); letter-spacing: .08em; text-transform: uppercase; color: var(--green-soft); }
.about__note h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.about__note p { max-width: 46ch; }
.about__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); }
.about__media img { width: 100%; height: 118%; object-fit: cover; object-position: 60% 50%; will-change: transform; }
.about__flag {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  padding: 18px 22px; border-radius: 18px; background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink); font-weight: 800; font-size: 1.02rem; line-height: 1.25;
}
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(48px, 7vw, 96px); }
.pillars li { padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius); background: var(--card); }
.pillars .ico { color: var(--green); margin-bottom: 20px; }
.pillars h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); margin-bottom: 8px; }

/* ==========================================================================
   02 · Beneficios
   ========================================================================== */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); counter-reset: none; }
.benefit {
  position: relative; display: flex; flex-direction: column; min-height: 300px;
  padding: clamp(24px, 2.4vw, 34px); border-radius: var(--radius); background: var(--card);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.js .benefit[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .5s var(--ease); transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s; }
.benefit::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.benefit:hover { box-shadow: 0 30px 50px -30px rgba(9, 38, 83, .4); }
.benefit:hover::before { transform: scaleX(1); }
.benefit__n { font-family: var(--font-mono); font-weight: 500; font-size: 1rem; color: var(--green-ink); margin-bottom: 18px; }
.benefit h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.15; color: var(--ink); margin-bottom: 10px; }
.benefit__more { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; color: #5f6e82; }
.benefit > p:not(.benefit__more) { margin-bottom: 22px; }

/* ---------- Cómo funciona ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 6vw, 96px); margin-top: clamp(80px, 10vw, 150px); align-items: start; }
.how__sticky { position: sticky; top: calc(var(--header-h) + 28px); }
.how__panel { padding: clamp(22px, 3vw, 44px); border-radius: var(--radius); background: var(--navy); color: #fff; background-image: radial-gradient(90% 80% at 0% 0%, rgba(248, 167, 26, .16), transparent 60%); }
.how__panel .eyebrow { color: var(--green-soft); margin-bottom: 8px; }
.flow { width: 100%; height: auto; }
.flow__node rect { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .2); stroke-width: 1.5; transition: fill .5s, stroke .5s; }
.flow__ico { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.flow__node.is-on rect { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .5); }
.flow__node.is-on .flow__ico { stroke: #fff; }
.flow__node.is-current rect { fill: var(--orange); stroke: var(--orange); }
.flow__node.is-current .flow__ico { stroke: #071f45; }
.flow__link { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1 11; transition: stroke .5s; }
.flow__link.is-on { stroke: var(--green-soft); animation: flow-dash 1.1s linear infinite; }
.flow__link--dc.is-on { stroke: var(--orange); }
.flow__link--grid.is-on { stroke: var(--sky); }
@keyframes flow-dash { to { stroke-dashoffset: -24; } }
.flow__sun { fill: none; stroke: var(--orange); stroke-width: 2.6; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 50%; animation: sun-turn 28s linear infinite; }
.flow__sun circle { fill: var(--orange); stroke: none; }
@keyframes sun-turn { to { transform: rotate(360deg); } }
.flow__labels text { fill: rgba(255, 255, 255, .9); font: 600 18px var(--font-body); }
.flow__tags text { fill: rgba(255, 255, 255, .66); font: 500 14px var(--font-mono); letter-spacing: .08em; }
.how__steps { display: grid; }
.how__step { min-height: 46vh; display: grid; align-content: center; justify-items: start; gap: 10px; padding-block: 24px; opacity: .3; transition: opacity .5s; }
.how__step.is-current { opacity: 1; }
.how__k { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--navy); color: #fff; font-family: var(--font-mono); font-weight: 500; margin-bottom: 6px; transition: background .5s, color .5s; }
.how__step.is-current .how__k { background: var(--orange); color: #071f45; }
.how__step h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1.12; color: var(--ink); }
.how__step p { max-width: 42ch; }

/* ==========================================================================
   03 · Soluciones
   ========================================================================== */
.stack { display: grid; gap: clamp(20px, 3vw, 40px); }
.solution {
  position: sticky; top: calc(var(--header-h) + 20px + var(--n) * 20px);
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: min(68vh, 600px); border-radius: var(--radius); overflow: hidden;
  background: var(--paper); color: var(--text);
  box-shadow: 0 -18px 40px -26px rgba(9, 38, 83, .5);
  transform-origin: 50% 0; will-change: transform;
}
.solution--dark { background: var(--navy); color: #dbe6f5; }
.solution__body { container-type: inline-size; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4.4vw, 64px); }
.solution__bar { width: 9px; height: 62px; border-radius: 5px; background: var(--green); margin-bottom: 26px; }
.solution--dark .solution__bar { background: var(--orange); }
.solution h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.9rem, 12cqi, 3.8rem); line-height: 1; letter-spacing: -.015em; text-transform: uppercase; color: var(--ink); }
.solution--dark h3 { color: #fff; }
.solution__lead { margin-top: 14px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 500; }
.solution__facts { display: grid; gap: 18px; margin-top: clamp(24px, 3vw, 40px); padding-top: clamp(20px, 2.4vw, 30px); border-top: 1px solid rgba(9, 38, 83, .14); }
.solution--dark .solution__facts { border-top-color: rgba(255, 255, 255, .2); }
.solution__facts dt { font-weight: 700; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 4px; }
.solution--dark .solution__facts dt { color: var(--green-soft); }
.solution__facts dd { font-size: 1rem; max-width: 44ch; }
.solution__media { position: relative; overflow: hidden; min-height: 280px; }
.solution__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.solution:hover .solution__media img { transform: scale(1.04); }

/* ---------- Tipos de sistema ---------- */
.types { margin-top: clamp(80px, 10vw, 150px); }
.types__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.types__head .title { margin-bottom: 16px; }
.types__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.type { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius); background: var(--card); }
.type--featured { background: var(--navy); color: #dbe6f5; }
.type header { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; margin-bottom: 18px; }
.type header .ico { grid-row: span 2; color: var(--green); }
.type--featured header .ico { color: var(--orange); }
.type h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1.1; color: var(--ink); }
.type--featured h4 { color: #fff; }
.type__alias { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; color: #5f6e82; }
.type--featured .type__alias { color: var(--sky); }
.type dl { display: grid; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(9, 38, 83, .14); }
.type--featured dl { border-top-color: rgba(255, 255, 255, .2); }
.type dt { font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #5f6e82; margin-bottom: 3px; }
.type--featured dt { color: #a9bbd6; }
.type dd { font-size: .98rem; }
.type dd.is-yes, .type dd.is-no { position: relative; padding-left: 20px; font-weight: 600; color: var(--ink); }
.type--featured dd.is-yes { color: #fff; }
.type dd.is-yes::before, .type dd.is-no::before { content: ""; position: absolute; left: 0; top: .52em; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.type dd.is-no::before { background: transparent; box-shadow: inset 0 0 0 2.5px var(--orange); }

/* ==========================================================================
   04 · Tecnología
   ========================================================================== */
.tech { display: grid; gap: clamp(56px, 8vw, 128px); }
.tech__item { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.tech__item--flip .tech__media { order: 2; }
.tech__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.tech__media img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.tech__n { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 1rem; color: var(--green-ink); margin-bottom: 14px; }
.tech__body h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.012em; text-transform: uppercase; color: var(--ink); }
.tech__lead { margin-top: 14px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.tech__body > p:not(.tech__lead) { margin-top: 12px; max-width: 46ch; }
.refs { margin-top: 28px; display: grid; }
.refs li { display: grid; grid-template-columns: minmax(0, 11.5em) minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line); font-size: .96rem; }
.refs li:last-child { border-bottom: 1px solid var(--line); }
.refs b { font-weight: 800; color: var(--ink); }
.callout {
  margin-top: clamp(56px, 8vw, 110px); padding: clamp(26px, 3.4vw, 44px) clamp(26px, 4vw, 56px);
  border-radius: var(--radius); background: var(--navy); color: #fff;
  font-size: clamp(1.08rem, 1.6vw, 1.4rem); font-weight: 500; line-height: 1.45; text-wrap: balance;
  border-left: 9px solid var(--orange);
}

/* ==========================================================================
   05 · Proceso
   ========================================================================== */
#proceso { padding-bottom: 0; }
.process { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.process__media { position: sticky; top: calc(var(--header-h) + 28px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); }
.process__media img { width: 100%; height: 118%; object-fit: cover; object-position: 30% 50%; will-change: transform; }
.steps { position: relative; display: grid; gap: clamp(16px, 2vw, 24px); --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 39px; top: 40px; bottom: 40px; width: 3px; border-radius: 2px; background: var(--line); }
.steps::after { background: var(--green); transform: scaleY(var(--p)); transform-origin: 50% 0; }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; padding: clamp(22px, 2.6vw, 34px) clamp(20px, 2.6vw, 34px) clamp(22px, 2.6vw, 34px) 0; border-radius: var(--radius); }
.step__n { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 22px; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; box-shadow: 0 0 0 10px #fff; }
.step h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1.9vw, 1.6rem); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); padding-top: 6px; }
.step__lead { margin-top: 6px; font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.step p:not(.step__lead) { margin-top: 8px; max-width: 46ch; }

.permit { margin-top: clamp(88px, 11vw, 168px); padding-block: clamp(72px, 9vw, 130px); background: var(--navy); color: #dbe6f5; background-image: radial-gradient(60% 70% at 100% 0%, rgba(49, 156, 64, .26), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(248, 167, 26, .14), transparent 60%); }
.permit__head { max-width: 800px; margin-bottom: clamp(40px, 5vw, 72px); }
.permit__head .title { color: #fff; margin-bottom: 18px; }
.permit__steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.permit__steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: rgba(255, 255, 255, .22); }
.permit__steps li { position: relative; }
.permit__k { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #071f45; font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; margin-bottom: 20px; box-shadow: 0 0 0 8px var(--navy); }
.permit__steps h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.14rem; line-height: 1.2; color: #fff; margin-bottom: 8px; }
.permit__steps p { font-size: .96rem; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid rgba(255, 255, 255, .2); }
.facts dt { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1; letter-spacing: -.01em; color: var(--orange); margin-bottom: 12px; }
.facts dd { font-size: .98rem; }

/* ==========================================================================
   06 · Cobertura
   ========================================================================== */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.trust__card { padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); background: var(--card); }
.trust__card .ico { color: var(--green); margin-bottom: 26px; }
.trust__card h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 110%; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.05; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.trust__card p { font-size: 1.1rem; max-width: 46ch; }
.trust__card--dark { background: var(--navy); color: #dbe6f5; background-image: radial-gradient(90% 90% at 100% 0%, rgba(248, 167, 26, .2), transparent 60%); }
.trust__card--dark .ico { color: var(--orange); }
.trust__card--dark h3 { color: #fff; }

.sun { margin-top: clamp(80px, 10vw, 150px); }
.sun__head { max-width: 800px; margin-bottom: clamp(32px, 4vw, 56px); }
.sun__head .title { margin-bottom: 16px; }
.sun__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.chart { padding: clamp(22px, 2.8vw, 40px); border-radius: var(--radius); background: var(--card); }
.chart figcaption { display: grid; gap: 4px; margin-bottom: 22px; }
.chart figcaption strong { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.chart figcaption span { font-size: .92rem; color: #5f6e82; }
.chart__rows { display: grid; gap: 3px; }
.chart__rows li { display: grid; grid-template-columns: 9.4em minmax(0, 1fr) 3.2em; gap: 12px; align-items: center; padding: 5px 8px; margin-inline: -8px; border-radius: 10px; font-size: .95rem; transition: background .3s; }
.chart__rows li.is-selected { background: rgba(248, 167, 26, .16); }
.chart__name { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart__bar { height: 14px; border-radius: 7px; background: rgba(9, 38, 83, .07); overflow: hidden; }
.chart__bar i { display: block; height: 100%; width: calc(var(--w) * 1%); border-radius: 7px; background: var(--navy-700); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease); transition-delay: calc(var(--k) * 45ms); }
.chart.is-in .chart__bar i { transform: scaleX(1); }
.chart__val { font-family: var(--font-mono); font-size: .9rem; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.r-sierra { background: var(--navy-700) !important; }
.r-costa { background: var(--orange) !important; }
.r-amazonia { background: var(--green) !important; }
.r-galapagos { background: var(--sky-600) !important; }
.chart__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.chart__legend li { display: flex; align-items: center; gap: 8px; }
.chart__legend i { width: 12px; height: 12px; border-radius: 4px; }
.chart__source { margin-top: 16px; font-size: .82rem; color: #5f6e82; }

.estimator { display: grid; gap: 22px; padding: clamp(22px, 2.8vw, 40px); border-radius: var(--radius); background: var(--navy); color: #dbe6f5; }
.estimator .eyebrow { color: var(--green-soft); margin-bottom: 8px; }
.estimator h4 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.12; color: #fff; }
.field { display: grid; gap: 10px; }
.field--row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field--row > div { display: grid; gap: 8px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .9rem; font-weight: 600; color: #fff; }
.field output { font-family: var(--font-mono); font-size: .95rem; color: var(--orange); font-variant-numeric: tabular-nums; }
.field__help { font-size: .8rem; line-height: 1.45; color: #a9bbd6; }
.field__presets { display: flex; flex-wrap: wrap; gap: 8px; }
.field__presets button { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: transparent; color: #fff; font-size: .84rem; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.field__presets button:hover { background: rgba(255, 255, 255, .12); }
.field__presets button.is-on { background: #fff; border-color: #fff; color: var(--navy); }
.estimator select {
  width: 100%; padding: 12px 38px 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  color: #fff; font-weight: 600; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.estimator select option { color: var(--navy); background: #fff; }
.estimator input[type="range"] { width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; appearance: none; -webkit-appearance: none; --fill: 50%; }
.estimator input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--orange) var(--fill), rgba(255, 255, 255, .22) var(--fill)); }
.estimator input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.estimator input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--orange); }
.estimator input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 5px solid var(--orange); box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.estimator input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--orange); box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.estimator__out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .16); }
.estimator__out > div { padding: 16px 16px 18px; background: #0c2f66; }
.estimator__main { grid-column: 1 / -1; }
.estimator__out dt { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #a9bbd6; margin-bottom: 6px; }
.estimator__out dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.estimator__main dd { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-stretch: 112%; color: var(--orange); }
.estimator__out small { font-family: var(--font-mono); font-weight: 500; font-size: .8rem; color: #a9bbd6; }
.estimator__cat { font-size: .9rem; color: #dbe6f5; }
.estimator__cat b { color: #fff; }

.care { margin-top: clamp(80px, 10vw, 150px); }
.care .title { margin-bottom: clamp(28px, 4vw, 48px); max-width: 20ch; }
.care__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.care__list li { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius); background: var(--card); }
.care__list .ico { width: 30px; height: 30px; color: var(--green); }
.care__list h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.14rem; line-height: 1.2; color: var(--ink); margin-bottom: 6px; }
.care__list p { font-size: .98rem; }

/* ==========================================================================
   07 · Preguntas
   ========================================================================== */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 22px; background: var(--card); transition: background .3s, box-shadow .3s; interpolate-size: allow-keywords; }
.faq details[open] { background: #fff; box-shadow: 0 0 0 1.5px var(--line), 0 24px 40px -30px rgba(9, 38, 83, .4); }
.faq summary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.6vw, 32px); cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.25; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--navy) center / 14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .45s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--orange); }
.faq details > div { padding: 0 clamp(20px, 2.6vw, 32px) clamp(20px, 2.4vw, 28px); max-width: 74ch; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ==========================================================================
   08 · Contacto
   ========================================================================== */
.contact { position: relative; padding-block: clamp(96px, 12vw, 180px) clamp(64px, 8vw, 110px); background: var(--navy); color: #dbe6f5; overflow: clip; border-left: 10px solid var(--green); }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 118%; object-fit: cover; opacity: .42; will-change: transform; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy) 22%, rgba(9, 38, 83, .78) 58%, rgba(9, 38, 83, .45)), linear-gradient(0deg, var(--navy) 2%, transparent 40%); }
.contact .wrap { position: relative; }
.contact__brand { display: inline-block; font-weight: 800; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green-soft); padding-bottom: 18px; margin-bottom: 30px; border-bottom: 4px solid var(--orange); }
.contact__intro .display { max-width: 15ch; }
.contact__intro .lead { margin-top: 26px; max-width: 40ch; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(40px, 5vw, 72px); align-items: stretch; }
.contact__card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--radius); background: #fff; color: var(--ink); }
.contact__lines { display: grid; gap: 6px; }
.contact__card h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 110%; font-size: clamp(1.4rem, 2.3vw, 1.9rem); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 14px; }
.contact__line { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 14px; margin-inline: -14px; border-radius: 16px; text-decoration: none; font-weight: 700; font-size: clamp(1.02rem, 1.5vw, 1.25rem); transition: background .25s; }
a.contact__line:hover { background: var(--paper); }
.contact__line .ico { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--paper); color: var(--green-ink); }
.contact__line small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #5f6e82; margin-bottom: 2px; }
.contact__qr { display: grid; gap: 10px; justify-items: center; }
.contact__qr img { width: clamp(132px, 15vw, 190px); image-rendering: pixelated; }
.contact__qr figcaption { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5f6e82; }
.contact__side { display: grid; gap: clamp(16px, 2.4vw, 32px); grid-template-rows: auto 1fr; }
.contact__office { padding: clamp(22px, 2.8vw, 36px); border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .22); background: rgba(5, 25, 55, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.contact__office .eyebrow { margin-bottom: 12px; }
.contact__office p:last-child { font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 500; color: #fff; }
.contact__logo { display: grid; place-items: center; padding: clamp(8px, 1vw, 14px); border-radius: var(--radius); background: #fff; }
.contact__logo img { width: min(100%, 380px); }
.contact__motto { margin-top: clamp(48px, 6vw, 84px); font-weight: 800; font-size: .86rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sky); }

/* ==========================================================================
   Pie
   ========================================================================== */
.site-footer { position: relative; z-index: 70; padding-block: clamp(40px, 5vw, 72px); background: var(--navy-deep); color: #a9bbd6; font-size: .9rem; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.site-footer__brand { font-family: var(--font-display); font-weight: 800; font-stretch: 108%; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.site-footer__brand b { color: var(--green-soft); }
.site-footer__notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 72px); }
.site-footer h2 { font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.site-footer p + p { margin-top: 10px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: #dbe6f5; text-underline-offset: 3px; }
.site-footer a:hover { color: #fff; }

.noscript-hero { position: relative; min-height: 100vh; display: grid; align-items: end; padding: 120px var(--gutter) 64px; color: #fff; }
.noscript-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.noscript-hero > div { position: relative; }
.noscript-hero .display, .noscript-hero .lead { color: #fff; }

/* ==========================================================================
   Adaptación
   ========================================================================== */
/* ==========================================================================
   Ampliación de octubre de 2026: índice, propuesta, ejemplo de cálculo, glosario
   ========================================================================== */

/* Títulos en mayúscula inicial: se leen mejor en textos largos que las mayúsculas sostenidas. */
.display, .sw-copy__title, .solution h3, .tech__body h3, .contact__card h3 { text-transform: none; }
.display { font-stretch: 104%; letter-spacing: -.028em; line-height: 1.02; }
.sw-copy__title { letter-spacing: -.028em; }
.solution h3, .tech__body h3 { font-stretch: 104%; letter-spacing: -.026em; }

.backing__logo { width: 100%; border-radius: clamp(14px, 1.6vw, 22px); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8); }
.backing__text { display: grid; gap: 10px; }

/* ---------- Índice ---------- */
.chapter--intro { padding-bottom: clamp(56px, 7vw, 104px); }
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__text .lead { margin-top: 26px; }
.keyfacts { display: grid; border-top: 2px solid var(--ink); }
.keyfacts > div { display: grid; grid-template-columns: minmax(0, 10.5em) minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.keyfacts dt { font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); }
.keyfacts dd { font-weight: 600; color: var(--ink); }

.toc { margin-top: clamp(56px, 7vw, 104px); }
.toc__title { font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.toc ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 48px); }
.toc a {
  display: grid; grid-template-columns: 2.6em minmax(0, 1fr); column-gap: 8px; row-gap: 4px; height: 100%;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: border-color .25s;
}
.toc a > span { grid-row: span 2; font-family: var(--font-mono); font-size: .95rem; color: var(--green-ink); padding-top: 3px; }
.toc a b { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.012em; color: var(--ink); }
.toc a small { font-size: .95rem; line-height: 1.45; color: var(--text); }
.toc a:hover { border-bottom-color: var(--orange); }
.toc a:hover b { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* ---------- Qué puedes esperar ---------- */
.expect { margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.expect__head p { margin-top: 16px; max-width: 38ch; }
.expect__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 48px); }
.expect__list li { padding-top: 18px; border-top: 2px solid var(--ink); }
.expect__list li > span { font-family: var(--font-mono); font-size: .95rem; color: var(--green-ink); }
.expect__list h4 { margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.2; color: var(--ink); }
.expect__list p { margin-top: 8px; font-size: 1rem; }

/* ---------- Tecnología: listas de evaluación ---------- */
.tech__lists { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px clamp(18px, 2.4vw, 32px); }
.tech__lists h4 { font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 10px; }
.tech__lists li { position: relative; padding-left: 16px; font-size: .96rem; line-height: 1.45; }
.tech__lists li + li { margin-top: 7px; }
.tech__lists li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* ---------- Propuesta técnica y preparación ---------- */
.deliver { margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.deliver__card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3.6vw, 52px); border-radius: var(--radius); background: var(--card); }
.deliver__card .eyebrow { margin-bottom: 12px; }
.deliver__card--dark { background: var(--navy); color: #dbe6f5; }
.deliver__card--dark .title { color: #fff; }
.deliver__card .btn { margin-top: auto; }
.checks { display: grid; gap: 14px; margin-block: clamp(22px, 2.6vw, 32px); }
.checks li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.checks .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 2.6; margin-top: 1px; }
.checks b { color: var(--ink); }
.deliver__card--dark .checks b { color: #fff; }
.deliver__card--dark .checks .ico { background: var(--orange); color: #071f45; }

/* ---------- Ejemplo de cálculo ---------- */
.example { margin-top: clamp(64px, 8vw, 120px); }
.example__head { max-width: 800px; margin-bottom: clamp(28px, 4vw, 48px); }
.example__head p:last-child { margin-top: 16px; }
.example__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.example__steps li { display: flex; flex-direction: column; padding: clamp(20px, 2.2vw, 30px); border-radius: var(--radius); background: var(--card); }
.example__steps li > span { font-family: var(--font-mono); font-size: .95rem; color: var(--green-ink); }
.example__steps h4 { margin-top: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; line-height: 1.25; color: var(--ink); }
.example__calc { margin-top: 10px; margin-bottom: 18px; font-size: .95rem; line-height: 1.45; }
.example__res { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.1; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.example__steps li:last-child { background: var(--navy); color: #dbe6f5; }
.example__steps li:last-child h4, .example__steps li:last-child .example__res { color: #fff; }
.example__steps li:last-child > span { color: var(--green-soft); }
.example__steps li:last-child .example__res { border-top-color: rgba(255, 255, 255, .22); color: var(--orange); }

/* ---------- Glosario ---------- */
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 80px); border-top: 2px solid var(--ink); }
.glossary > div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.25; color: var(--ink); }
.glossary dd { font-size: 1rem; line-height: 1.5; }

/* ---------- Pie: logos y contacto ---------- */
.site-footer__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.site-footer__plate { display: block; width: 190px; padding: 6px 8px; border-radius: 14px; background: #fff; }
.site-footer__backing { display: flex; align-items: center; gap: 14px; color: #dbe6f5; }
.site-footer__backing img { width: 84px; border-radius: 12px; }
.site-footer__backing b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.site-footer__contact { display: grid; gap: 6px; text-align: right; }
.site-footer__contact p + p { margin-top: 0; }
.site-footer__contact a { font-weight: 700; color: #fff; }

@media (max-width: 1100px) {
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .example__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit { min-height: 240px; }
  .care__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .permit__steps { grid-template-columns: 1fr; gap: 0; }
  .permit__steps::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .permit__steps li { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 22px; padding-bottom: 28px; }
  .permit__steps li:last-child { padding-bottom: 0; }
  .permit__k { grid-row: span 2; margin-bottom: 0; }
  .permit__steps h4 { align-self: end; padding-top: 10px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .about, .how, .tech__item, .process, .sun__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 3; order: -1; }
  .pillars, .types__grid, .trust, .intro, .expect, .deliver, .glossary { grid-template-columns: 1fr; }
  .site-footer__contact { text-align: left; }
  .how__sticky { position: static; }
  .how__step { min-height: 0; opacity: 1; padding-block: 18px; }
  .how__k { background: var(--orange); color: #071f45; }
  .solution { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; box-shadow: none; }
  .solution__media { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .tech__item--flip .tech__media { order: 0; }
  .process__media { position: relative; top: auto; aspect-ratio: 16 / 10; }

}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .benefits, .care__list, .facts, .site-footer__notes, .toc ol, .expect__list, .example__steps, .tech__lists, .backing { grid-template-columns: 1fr; }
  .backing__logo { max-width: 10rem; }
  .keyfacts > div, .glossary > div { grid-template-columns: 1fr; gap: 4px; }
  .chapter__num::before { content: ""; }
  .benefit { min-height: 0; }
  .step { grid-template-columns: 60px minmax(0, 1fr); padding-right: 0; }
  .step__n { width: 60px; height: 60px; border-radius: 18px; font-size: 1.2rem; }
  .steps::before, .steps::after { left: 29px; }
  .refs li { grid-template-columns: 1fr; gap: 2px; }
  .contact { border-left-width: 6px; }
  .contact__card { grid-template-columns: 1fr; }
  .contact__qr { justify-items: start; }
  .chart__rows li { grid-template-columns: 7.2em minmax(0, 1fr) 2.8em; gap: 8px; font-size: .88rem; }
  .field--row { grid-template-columns: 1fr; }
  .estimator__out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .estimator__out > div:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: none; transition: none; }
  .flow__link.is-on, .flow__sun { animation: none; }
  .chart__bar i { transform: none; transition: none; }
  .solution { position: relative; top: auto; }
  .how__step { opacity: 1; }
  * { transition-duration: .01ms !important; }
}
