/* Hogarnova — hoja de estilos */

:root {
  --paper: #ffffff;
  --tint: #f0f5f1;
  --tint-2: #e3eee5;
  --surface: #ffffff;
  --ink: #15241b;
  --ink-2: #34443a;
  --muted: #5f6b63;
  --line: #e3e8e4;
  --line-strong: #cad3cc;
  --green: #1f5a33;
  --green-hover: #184a29;
  --green-dark: #12301d;
  --green-tint: #e7eee4;
  --leaf: #6fa84f;
  --sun: #e3a53a;
  --wa: #1fae57;

  --font-display: "Schibsted Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --radius: 10px;
  --radius-sm: 6px;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

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

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía utilitaria ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.eyebrow--light { color: #a9c9a0; }

.h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); letter-spacing: -0.032em; line-height: 1.04; }
.h2 { font-size: clamp(1.85rem, 3.3vw, 2.7rem); letter-spacing: -0.028em; }
.h3 { font-size: 1.2rem; letter-spacing: -0.012em; line-height: 1.3; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 8px;
  font-weight: 600; font-size: 0.975rem; letter-spacing: -0.005em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-hover); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--green-dark); }
.btn--light:hover { background: var(--green-tint); }
.btn--outline-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn--outline-light:hover { border-color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1a9a4c; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green); font-weight: 600; text-decoration: none; font-size: 0.95rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Cabecera ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 36px; height: 36px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.03em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 6px; background: none; border: 0; cursor: pointer;
  color: var(--ink-2); font-size: 0.935rem; font-weight: 500; text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); background: rgba(21,36,27,.05); }
.nav-link svg { width: 14px; height: 14px; transition: transform .2s ease; }

.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 8px); left: -8px; width: 320px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(21,36,27,.22);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.dropdown-panel::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.dropdown.is-open .dropdown-panel { opacity: 1; visibility: visible; transform: none; }
.dropdown.is-open > .nav-link svg { transform: rotate(180deg); }
.dropdown-item { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; }
.dropdown-item:hover { background: var(--paper); }
.dropdown-item strong { display: block; font-size: 0.93rem; font-weight: 600; }
.dropdown-item span { display: block; font-size: 0.83rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; text-decoration: none; color: var(--ink); }
.header-phone svg { width: 16px; height: 16px; color: var(--green); }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--paper); overflow-y: auto; padding: 8px var(--gutter) 32px;
  border-top: 1px solid var(--line);
}
.mobile-menu.is-open { display: block; }
.mobile-menu a:not(.btn) {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; font-size: 1.05rem; font-weight: 500;
}
.mobile-menu .mobile-group-label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding: 20px 0 4px;
}
.mobile-menu .mobile-sub a { padding-left: 14px; font-size: 1rem; color: var(--ink-2); }
.mobile-menu .btn { width: 100%; margin-top: 12px; }

/* ---------- Secciones ---------- */

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--surface { background: var(--tint); }
.section--dark { background: var(--green-dark); color: #eef3ec; }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }

.section-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: clamp(40px, 5vw, 56px); }
.section-head--split {
  max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px 64px;
}
.section-head--split .lead { max-width: 520px; }

/* ---------- Hero portada ---------- */

.hero { padding-block: clamp(36px, 5vw, 72px) clamp(48px, 6vw, 88px); background: radial-gradient(900px 500px at 12% 0%, #e4f1e6 0%, rgba(228,241,230,0) 70%), radial-gradient(700px 480px at 100% 100%, #fdf1dc 0%, rgba(253,241,220,0) 70%), #fff; }
.mark { background: linear-gradient(transparent 62%, rgba(227,165,58,.45) 62%, rgba(227,165,58,.45) 90%, transparent 90%); padding: 0 .06em; }
.hero-chips { position: absolute; right: -18px; top: 28px; display: grid; gap: 10px; }
.chip { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px 10px 10px; box-shadow: 0 16px 36px -18px rgba(21,36,27,.4); }
.chip-icon { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); flex: none; }
.chip-icon--sun { background: #fdf1dc; color: #b97a12; }
.chip-icon svg { width: 18px; height: 18px; }
.chip small { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.chip strong { display: block; font-size: .92rem; line-height: 1.3; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy .lead { max-width: 540px; }
.hero-checks {
  list-style: none; margin: 8px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; width: 100%;
}
.hero-checks li { display: flex; align-items: center; gap: 10px; font-size: 0.93rem; font-weight: 500; color: var(--ink-2); }
.hero-checks svg { width: 18px; height: 18px; color: var(--green); flex: none; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 38% center;
  border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(21,36,27,.45);
}
.hero-badge {
  position: absolute; left: -28px; bottom: 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(21,36,27,.35);
  padding: 18px 22px; display: grid; gap: 4px; min-width: 230px;
}
.hero-badge-value { font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--green); }
.hero-badge-label { font-weight: 600; font-size: 0.95rem; }
.hero-badge-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: .02em; }

/* ---------- Banda legal / registro ---------- */

.registry { background: var(--green-dark); color: #d7e4d9; }
.registry-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  padding-block: 16px; font-size: 0.88rem; color: #d7e4d9;
}
.registry-items { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.registry-item { display: inline-flex; align-items: center; gap: 8px; }
.registry-item svg { width: 16px; height: 16px; color: #8cc46e; }
.registry code { font-family: var(--font-mono); font-size: 0.83rem; color: #fff; }

/* ---------- Rejillas de características ---------- */

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.feature { padding: 28px 28px 8px 0; display: grid; align-content: start; gap: 12px; }
.feature + .feature { padding-left: 28px; border-left: 1px solid var(--line); }
.feature-icon { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--green-tint); color: var(--green); margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.96rem; }

.features--2 { grid-template-columns: repeat(2, 1fr); border-top: 0; gap: 16px; }
.features--2 .feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; border-left: 1px solid var(--line);
}
.features--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cifras ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 32px; border-left: 1px solid rgba(255,255,255,.14); display: grid; gap: 8px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; line-height: 1;
  font-size: clamp(2rem, 3.4vw, 3rem); font-variant-numeric: tabular-nums; color: #fff;
  white-space: nowrap;
}
.stat-label { color: #b8c9b8; font-size: 0.95rem; max-width: 220px; }
.stats-note { margin-top: 40px; font-size: 0.8rem; color: #8ea492; font-family: var(--font-mono); }

.stats--light .stat { border-left-color: var(--line); }
.stats--light .stat-value { color: var(--green); }
.stats--light .stat-label { color: var(--muted); }

.stat-cards { display: grid; gap: 12px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; display: grid; grid-template-columns: 172px 1fr; align-items: center; gap: 20px;
}
.stat-card .stat-value { color: var(--green); font-size: 1.9rem; }
.stat-card p { color: var(--ink-2); font-size: 0.95rem; }

/* ---------- Proceso ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { display: grid; gap: 10px; align-content: start; padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; position: relative; box-shadow: 0 1px 2px rgba(21,36,27,.04); }

.step-num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Servicios ---------- */

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  display: grid; align-content: start; gap: 12px; padding: 28px 24px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .2s ease, transform .2s ease;
  min-height: 260px; grid-template-rows: auto auto 1fr auto;
}
.service:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(21,36,27,.45); }
.service .feature-icon { margin-bottom: 12px; }
.service p { color: var(--muted); font-size: 0.94rem; }
.service .link-arrow { margin-top: 12px; }

/* ---------- Testimonios ---------- */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote {
  margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; gap: 24px; grid-template-rows: 1fr auto;
}
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.65; color: var(--ink-2); }
.quote blockquote::before {
  content: "“"; display: block; font-family: var(--font-display); font-size: 3rem; line-height: .6;
  color: var(--leaf); margin-bottom: 14px;
}
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--green-tint); color: var(--green); font-weight: 600; font-family: var(--font-display);
}
.quote-name { font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.quote-place { font-size: 0.85rem; color: var(--muted); }

/* ---------- Bloque texto + aside ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--wide-left { grid-template-columns: 1.3fr 1fr; }
.prose-block { display: grid; gap: 20px; }
.prose-block p { color: var(--ink-2); font-size: 1.05rem; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green); }
.faq-icon {
  flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.faq-icon svg { width: 14px; height: 14px; }
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--green); border-color: var(--green); color: #fff; }
.faq-answer { padding: 0 56px 24px 0; color: var(--ink-2); max-width: 780px; }
.faq-answer p + p { margin-top: 12px; }

.faq-layout { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-layout .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }

/* ---------- Cabecera de página interior ---------- */

.page-hero { padding-block: clamp(36px, 5vw, 72px) clamp(44px, 6vw, 80px); background: radial-gradient(900px 500px at 12% 0%, #e4f1e6 0%, rgba(228,241,230,0) 70%), radial-gradient(700px 480px at 100% 100%, #fdf1dc 0%, rgba(253,241,220,0) 70%), #fff; border-bottom: 1px solid var(--line); }
.page-hero-inner { display: grid; gap: 22px; max-width: 820px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); list-style: none; margin: 0; padding: 0; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.page-hero .btn-row { margin-top: 8px; }
.page-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; box-shadow: 0 30px 60px -36px rgba(21,36,27,.4); }
.summary .eyebrow { margin-bottom: 8px; }
.summary ul { list-style: none; margin: 0; padding: 0; }
.summary li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-2); }
.summary li:last-child { border-bottom: 0; padding-bottom: 0; }
.summary li strong { color: var(--ink); font-weight: 600; }
.summary svg { width: 20px; height: 20px; color: var(--green); margin-top: 1px; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Llamada a la acción ---------- */

.cta { background: var(--green-dark); color: #eef3ec; border-radius: 16px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px 64px; align-items: center; position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.02);
  pointer-events: none;
}
.cta h2 { color: #fff; }
.cta p { color: #b8c9b8; margin-top: 14px; font-size: 1.08rem; }
.cta .btn-row { position: relative; z-index: 1; }
.cta-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 0.88rem; color: #a9bfa9; }
.cta-meta span { display: inline-flex; align-items: center; gap: 8px; }
.cta-meta svg { width: 16px; height: 16px; color: var(--leaf); }

/* ---------- Equipo ---------- */

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 6px; }
.member .avatar { width: 56px; height: 56px; font-size: 1.05rem; margin-bottom: 14px; }
.member p { color: var(--muted); font-size: 0.94rem; }
.company-id {
  margin-top: 24px; font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 8px 24px;
}
.company-id strong { color: var(--ink); font-weight: 500; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: 0.92rem;
}
.tag svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- Respaldo institucional ---------- */

.backing { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.backing > div { padding: 32px; display: grid; gap: 10px; align-content: start; }
.backing > div + div { border-left: 1px solid var(--line); }
.backing-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.backing p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Contacto ---------- */

.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 4vw, 40px); }
.form-card > p { color: var(--muted); margin-top: 8px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; }
.field label .req { color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  font: inherit; font-size: 0.98rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315241b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa39c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,90,51,.14); }
.field input:user-invalid { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.form-note { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); }
.form-note svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 3px; }
.form-note a { color: var(--ink-2); }

.contact-list { display: grid; border-top: 1px solid var(--line-strong); }
.contact-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
a.contact-item:hover .contact-value { color: var(--green); }
.contact-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; }
.contact-icon svg { width: 18px; height: 18px; }
.contact-label { font-size: 0.82rem; color: var(--muted); }
.contact-value { font-weight: 600; transition: color .15s ease; }
.contact-assurances { display: grid; gap: 10px; margin-top: 28px; }
.contact-assurances span { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.94rem; }
.contact-assurances svg { width: 18px; height: 18px; color: var(--green); }

/* ---------- Páginas legales ---------- */

.legal { max-width: 760px; }
.legal .updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.3rem; margin: 44px 0 14px; letter-spacing: -0.015em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--green); text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.legal dt { font-weight: 600; font-size: 0.93rem; }
.legal dd { margin: 0; color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 8px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 520px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--paper); font-weight: 600; }
.legal tr:last-child td { border-bottom: 0; }

/* ---------- Pie ---------- */

.site-footer { background: var(--ink); color: #c9d3cb; padding-block: 72px 32px; margin-top: clamp(24px, 4vw, 48px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.footer-about p { margin-top: 18px; font-size: 0.93rem; color: #9fb0a3; max-width: 320px; }
.footer-contact { display: grid; gap: 10px; margin-top: 24px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 0.93rem; color: #e3ebe4; }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 16px; height: 16px; color: var(--leaf); }
.footer-col h3 { font-family: var(--font-mono); font-weight: 500; font-size: 0.74rem; letter-spacing: .08em; text-transform: uppercase; color: #8a9c8e; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; font-size: 0.93rem; color: #d7e0d8; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.83rem; color: #8a9c8e;
}
.footer-bottom button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.footer-bottom button:hover { color: #fff; }

/* ---------- WhatsApp flotante ---------- */

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(12px) scale(.95); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background-color .15s ease;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: #1a9a4c; }

/* ---------- Banner de cookies ---------- */

.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: 440px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 24px 60px -20px rgba(21,36,27,.35); padding: 22px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1rem; letter-spacing: -0.01em; }
.cookie-banner p { font-size: 0.88rem; color: var(--ink-2); margin-top: 8px; }
.cookie-banner a { color: var(--green); }
.cookie-banner .btn-row { margin-top: 16px; }
.cookie-banner .btn { flex: 1; }

/* ---------- Animación de entrada ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav, .header-phone { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions .btn { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { padding-left: 0; border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .features--2 .feature:nth-child(n) { border: 1px solid var(--line); padding: 28px; }
  .features--3 { grid-template-columns: 1fr 1fr 1fr; }
  .features--3 .feature:nth-child(3) { padding-left: 28px; border-left: 1px solid var(--line); border-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid, .split, .split--wide-left, .contact-grid, .faq-layout, .section-head--split { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-badge { left: 16px; bottom: 16px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps, .steps--3 { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .quotes, .team { grid-template-columns: 1fr; }
  .backing { grid-template-columns: 1fr; }
  .backing > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .cta { grid-template-columns: 1fr; }
  .faq-layout .section-head { position: static; }
  .features--3 { grid-template-columns: 1fr; }
  .features--3 .feature, .features--3 .feature:nth-child(3) { padding: 24px 0 8px; border-left: 0; }
  .features--3 .feature + .feature { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .features, .features--2, .services { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 24px 0 8px; border-left: 0; }
  .feature + .feature { border-top: 1px solid var(--line); }
  .features--2 .feature:nth-child(n) { padding: 24px; border: 1px solid var(--line); }
  .service { min-height: 0; }
  .hero-checks { grid-template-columns: 1fr; }
  .steps, .steps--3 { grid-template-columns: 1fr; }
  .stat { padding: 0 0 0 20px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .form, .form-actions { grid-template-columns: 1fr; }
  .stat-card { grid-template-columns: 1fr; gap: 8px; }
  .faq-answer { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .btn-row .btn { flex: 1 1 100%; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .wa-float { right: 16px; bottom: 16px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}

/* ---------- Comparador antes / después ---------- */

.compare-wrap { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.compare {
  --pos: 50%;
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 1200 / 750;
  box-shadow: 0 40px 80px -40px rgba(21,36,27,.55); background: #2a160b; user-select: none; touch-action: pan-y;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare-handle {
  position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center; pointer-events: none;
  box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 10px 24px rgba(0,0,0,.35);
}
.compare-handle svg { width: 22px; height: 22px; }
.compare-tag {
  position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: rgba(15,20,17,.72); color: #fff; pointer-events: none;
}
.compare-tag--before { left: 16px; }
.compare-tag--after { right: 16px; background: var(--green); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.compare-range:focus-visible) { outline: 3px solid var(--sun); outline-offset: 3px; }
.compare-caption { margin-top: 12px; font-size: .8rem; color: var(--muted); }
.compare-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.compare-points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.compare-points .chip-icon { width: 40px; height: 40px; }
.compare-points strong { display: block; font-weight: 600; }
.compare-points span span { color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .compare-wrap { grid-template-columns: 1fr; } .hero-chips { right: 12px; top: 12px; } }
@media (max-width: 640px) { .hero-chips { display: none; } .compare-handle { width: 40px; height: 40px; margin: -20px 0 0 -20px; } }

/* ---------- Tarjetas de ventajas ---------- */
.features { gap: 16px; border-top: 0; }
.features .feature, .features .feature + .feature {
  padding: 28px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  box-shadow: 0 1px 2px rgba(21,36,27,.04);
}
.quote, .member, .form-card, .backing { box-shadow: 0 1px 2px rgba(21,36,27,.04); }
.section--surface .service, .section--surface .quote { border-color: transparent; }

/* ================================================================== */
/* Formatos visuales                                                  */
/* ================================================================== */

.source { margin-top: 14px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .02em; color: var(--muted); }
.tag {
  display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 6px;
  background: var(--green-tint); color: var(--green); font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .06em; text-transform: uppercase; font-weight: 500;
}

/* ---------- Barra de cifras ---------- */
.statsbar { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.statsbar-cell { padding: 28px 28px 26px; display: grid; gap: 8px; }
.statsbar-cell + .statsbar-cell { border-left: 1px solid var(--line); }
.statsbar-value { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: -.03em; line-height: 1; color: var(--green); white-space: nowrap; }
.statsbar-label { color: var(--muted); font-size: .93rem; }

/* ---------- Esquema de financiación ---------- */
.flow { display: grid; grid-template-columns: 1fr 96px 1fr 96px 1fr; align-items: stretch; }
.flow-node {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px;
  display: grid; gap: 4px; align-content: start; box-shadow: 0 1px 2px rgba(21,36,27,.04);
}
.flow-node small { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.flow-node strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.flow-node p { color: var(--muted); font-size: .92rem; }
.flow-node--brand { border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,90,51,.08); }
.flow-node--home { background: var(--green); border-color: var(--green); color: #fff; }
.flow-node--home small, .flow-node--home p { color: #cfe3d2; }
.flow-node--home strong { font-size: 2.2rem; line-height: 1.1; }
.flow-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); }
.flow-icon svg { width: 24px; height: 24px; }
.flow-icon--logo { background: #fff; border: 1px solid var(--line); }
.flow-icon--logo svg { width: 34px; height: 34px; }
.flow-icon--sun { background: rgba(255,255,255,.14); color: #fff; }
.flow-arrow { position: relative; display: grid; place-items: center; }
.flow-arrow::before { content: ""; position: absolute; left: 10px; right: 14px; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 11px); }
.flow-arrow::after { content: ""; position: absolute; right: 10px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: translateY(-50%) rotate(45deg); }
.flow-arrow span {
  position: relative; z-index: 1; background: var(--tint); padding: 3px 8px; margin-top: -38px;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--green);
}

/* ---------- Tarjeta de principio ---------- */
.principle { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px 48px; align-items: center; }
.principle-bars { display: grid; gap: 20px; }
.principle-label { display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; margin-bottom: 8px; color: var(--muted); }
.principle-label strong { color: var(--ink); }
.bar { display: flex; height: 42px; border-radius: 10px; overflow: hidden; background: var(--tint); }
.bar-seg { display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; padding: 0 12px; }
.bar-seg--you { background: repeating-linear-gradient(135deg, #f6d9c8 0 10px, #f2cdb8 10px 20px); color: #9a3f16; }
.bar-seg--cae { background: linear-gradient(90deg, var(--green), #3d8a4f); color: #fff; }
.arrow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.arrow-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .93rem; color: var(--ink-2); }
.arrow-list li::before { content: "→"; color: var(--green); font-weight: 600; }

/* ---------- Pérdidas de calor ---------- */
.heat { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.heat-figure { background: var(--tint); border-radius: 18px; padding: clamp(12px, 2vw, 24px); }
.heat-svg { width: 100%; height: auto; }
.hl-text { font-family: var(--font-body); font-size: 13.5px; fill: var(--ink-2); }
.hl-pct { font-family: var(--font-display); font-weight: 700; font-size: 16px; fill: #c2521f; }
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hbars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; }
.hbars-name { font-weight: 600; font-size: .95rem; }
.hbars-val { font-weight: 600; font-size: .95rem; color: #c2521f; }
.hbars-track { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--tint-2); overflow: hidden; }
.hbars-track span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #f0a35e, #d9602f); }
.split .heat { grid-template-columns: 1fr; }

/* ---------- Cadena de pasos ---------- */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.chain-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.chain-step + .chain-step::before {
  content: ""; position: absolute; left: -21px; top: 50%; width: 12px; height: 12px;
  border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: translateY(-50%) rotate(45deg);
}
.chain-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.chain-top .step-num { margin: 0; }
.chain-step p { color: var(--muted); font-size: .94rem; }

/* ---------- Lo que pedimos / lo que recibes ---------- */
.inout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inout-col { border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: var(--surface); }
.inout-col--get { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.inout-col .h3 { margin-bottom: 18px; }
.inout-list { list-style: none; margin: 0; padding: 0; display: grid; }
.inout-list li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.inout-col--get .inout-list li { border-top-color: rgba(255,255,255,.12); }
.inout-list strong { display: block; font-weight: 600; }
.inout-list li > span:last-child > span { display: block; font-size: .9rem; color: var(--muted); }
.inout-col--get .inout-list li > span:last-child > span { color: #b8c9b8; }
.inout-mark { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green-tint); color: var(--green); }
.inout-mark svg { width: 16px; height: 16px; }
.inout-mark--num { background: var(--sun); color: #3d2a05; font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.inout-no .inout-mark { background: #fbe4dc; color: #c2361f; }
.inout-no strong { color: #c2361f; }

/* ---------- Tabla comparativa ---------- */
.ctable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.ctable { width: 100%; border-collapse: collapse; min-width: 600px; font-size: .95rem; }
.ctable th, .ctable td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ctable thead th { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
.ctable thead th.is-us { background: var(--green); color: #fff; }
.ctable tbody th { font-weight: 600; }
.ctable td { color: var(--muted); }
.ctable td.is-us { color: var(--green); font-weight: 600; background: rgba(31,90,51,.04); }
.ctable td.is-us svg { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: 8px; }
.ctable tbody tr:last-child th, .ctable tbody tr:last-child td { border-bottom: 0; }
.ctable-wrap .source { padding: 0 22px 16px; margin-top: 0; }

/* ---------- Escala energética ---------- */
.ladder { max-width: 640px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 6px; }
.ladder-row { display: flex; align-items: center; gap: 14px; }
.ladder-bar {
  height: 34px; display: flex; align-items: center; justify-content: flex-end; padding-right: 14px;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; text-shadow: 0 1px 1px rgba(0,0,0,.25);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); border-radius: 4px 0 0 4px;
}
.ladder-tag { font-size: .82rem; font-weight: 600; padding: 5px 10px; border-radius: 6px; white-space: nowrap; }
.ladder-tag--from { background: #fbe4dc; color: #b23a1b; }
.ladder-tag--to { background: var(--green); color: #fff; }

/* ---------- ODS ---------- */
.ods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ods-item { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; font-weight: 600; }
.ods-badge {
  width: 76px; height: 76px; border-radius: 10px; flex: none; color: #fff; display: grid; place-content: center; text-align: center;
  font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1;
}
.ods-badge small { display: block; font-size: .7rem; letter-spacing: .08em; font-weight: 600; margin-bottom: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .chain { grid-template-columns: 1fr 1fr; }
  .chain-step:nth-child(3)::before { display: none; }
}
@media (max-width: 900px) {
  .statsbar { grid-template-columns: 1fr 1fr; }
  .statsbar-cell:nth-child(3) { border-left: 0; }
  .statsbar-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { height: 56px; }
  .flow-arrow::before { left: 50%; right: auto; top: 6px; bottom: 12px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--green) 0 6px, transparent 6px 11px); }
  .flow-arrow::after { left: 50%; right: auto; top: auto; bottom: 8px; transform: translateX(-50%) rotate(135deg); }
  .flow-arrow span { margin: 0 0 0 110px; }
  .principle, .heat, .inout, .ods { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .statsbar-cell { padding: 20px 18px; }
  .chain { grid-template-columns: 1fr; gap: 24px; }
  .chain-step + .chain-step::before, .chain-step:nth-child(3)::before { display: block; left: 50%; top: -19px; transform: translateX(-50%) rotate(135deg); }
  .principle { padding: 22px; }
  .bar-seg { font-size: .74rem; }
  .ladder { padding: 20px; }
}
.ladder-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: stretch; }
.ladder-wrap .ladder { max-width: none; }
.ladder-gains { display: grid; gap: 12px; }
.ladder-gain { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-content: center; background: var(--tint); border-radius: 16px; padding: 18px 20px; }
.ladder-gain svg { grid-row: span 2; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #fff; color: var(--green); }
.ladder-gain strong { font-weight: 600; }
.ladder-gain span { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .ladder-wrap { grid-template-columns: 1fr; } }

/* ---------- Vídeo del hero ---------- */
.hero-video video {
  display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1440; object-fit: cover;
  border-radius: 22px; background: #eef3ee; box-shadow: 0 40px 80px -40px rgba(21,36,27,.45);
}
.hero-audio {
  position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 4px 16px 4px 4px; border-radius: 999px;
  border: 1px solid rgba(21,36,27,.12); background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px -10px rgba(21,36,27,.35);
}
.hero-sound {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  border: 0; background: transparent; color: var(--ink);
  font-size: .82rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.hero-sound:hover { color: var(--green); background: var(--green-tint); }
.hero-volume {
  --fill: 0%;
  -webkit-appearance: none; appearance: none; width: 84px; height: 4px; margin: 0; border-radius: 99px; cursor: pointer;
  background: linear-gradient(90deg, var(--green) var(--fill), rgba(21,36,27,.15) var(--fill));
}
.hero-volume::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.hero-volume::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.hero-volume:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.hero-sound svg { width: 16px; height: 16px; }
.hero-sound .icon-sound, .hero-sound[aria-pressed="true"] .icon-muted { display: none; }
.hero-sound[aria-pressed="true"] .icon-sound { display: inline; }
