:root {
  --blue: #0870d8;
  --navy: #071f39;
  --green: #20754c;
  --green-light: #edf8f2;
  --text: #293e4e;
  --muted: #516170;
  --line: #dce5e9;
  --space: clamp(1.25rem, 4vw, 3rem);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: #0865bc; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.035em; margin: .4em 0 .55em; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.25rem); letter-spacing: -.025em; margin: 0 0 1rem; }
h3 { font-size: 1.12rem; margin: 0 0 .65rem; }
p { margin: 0 0 1rem; max-width: 80ch; }
li { margin-block: .4rem; }
ul, ol { padding-left: 1.35rem; }
.container { width: min(1120px, calc(100% - 2.5rem)); margin: auto; padding-bottom: var(--space); }
.skip { position: absolute; top: -100px; left: 1rem; z-index: 20; padding: .75rem; background: white; }
.skip:focus { top: .5rem; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { max-width: 1320px; margin: auto; padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; justify-content: center; width: 260px; height: 56px; flex: 0 0 auto; text-decoration: none; color: var(--navy); }
.brand img { width: 100%; height: auto; flex-shrink: 0; pointer-events: none; }
.menu-toggle { display: none; }
#nav-main { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: .86rem; }
#nav-main > a, summary { color: var(--navy); text-decoration: none; font-weight: 700; padding-block: .55rem; }
#nav-main a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
.nav-dropdown { position: relative; }
.nav-dropdown > div { position: absolute; right: 0; top: 100%; z-index: 10; min-width: 240px; padding: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 24px #071f391a; }
.nav-dropdown a { display: block; padding: .6rem; color: var(--navy); text-decoration: none; }
.nav-dropdown a:hover { background: var(--green-light); }
.button, button { display: inline-block; border: 1px solid transparent; border-radius: 6px; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; padding: .8rem 1.15rem; line-height: 1.35; }
#nav-main > .button { color: #fff; padding: .75rem 1rem; }
.button:hover, button:hover { background: #185e3c; color: #fff; }
button:disabled { opacity: .6; cursor: default; }
.secondary { background: #fff; color: var(--green); border-color: var(--green); }
.context-band { width: 100%; margin-top: 1.25rem; background: var(--green); color: #fff; font-size: 1.0625rem; font-weight: 600; line-height: 1.45; padding: 16px 22px; border-radius: 8px; }
.context-band span { display: inline; }
.hero { display: block; padding-block: var(--space); }
.hero > div { max-width: 900px; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2rem, 3.7vw, 2.9rem); }
.eyebrow { color: var(--green); font-weight: 700; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; }
.page-intro { padding: var(--space) 0 1.5rem; max-width: 930px; }
.lead { font-size: 1.08rem; }
main > section:not(.hero) { margin-top: var(--space); padding-top: var(--space); border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.cards article { border-top: 3px solid var(--green); padding: 1rem 0 .2rem; }
.cards p { font-size: .95rem; }
.visual { display: block; margin: 1.3rem auto; max-width: 960px; }
.visual img { width: 100%; }
.image-link { font-size: .82rem; margin-top: -.5rem; }
.hero .visual { width: 100%; max-width: none; margin: 0; }
.process-summary .visual { max-width: 690px; }
.links { display: flex; gap: 1rem 1.8rem; flex-wrap: wrap; margin: 1.25rem 0; }
.links a { font-weight: 700; }
main > .callout { padding: var(--space); background: var(--green-light); border: 0; border-radius: 10px; }
.note { font-size: .86rem; color: var(--muted); }
.flows { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.flows > div { padding: 1.4rem; background: #f3f6f8; border-radius: 8px; }
.flows > div:last-child { background: var(--green-light); }
.video-link { display: flex; gap: 1.5rem; align-items: center; max-width: 700px; margin: 2rem 0; font-weight: 700; }
.video-link img { width: 230px; border-radius: 6px; }
.record-list { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 2rem; }
.calculator { background: var(--green-light); padding: var(--space); border-radius: 10px; display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 2rem; margin: 1.5rem 0; }
.calculator label { font-weight: 700; display: block; }
.calculator input { max-width: 100%; margin-block: .5rem; }
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.results > div { padding: 1rem; background: #fff; border-radius: 7px; }
.results span { font-size: .82rem; display: block; }
.results strong { font-size: 1.65rem; color: var(--green); display: block; }
#calc-error, .error-message { color: #a02121; }
.legal { max-width: 820px; }
.legal-section { padding-top: 1.7rem; margin-top: 1.7rem; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.5rem; }
.legal h3 { margin-top: 1.25rem; }
.notice { padding: 1rem 1.2rem; background: #f1f6fa; border-left: 3px solid var(--blue); }
.request-form { margin-top: 1.5rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.field { min-width: 0; }
.full, .field-group { grid-column: 1 / -1; }
fieldset { min-width: 0; border: 1px solid var(--line); padding: 1.25rem; margin: 0; border-radius: 8px; }
legend { font-weight: 700; color: var(--navy); padding: 0 .4rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; min-height: 46px; border: 1px solid #9aaab5; background: #fff; color: var(--text); border-radius: 5px; padding: .65rem; }
input[type=file] { font-size: .85rem; }
input[type=checkbox], input[type=radio] { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; accent-color: var(--green); }
textarea { resize: vertical; }
.consent { display: flex; flex-wrap: wrap; gap: .7rem; align-items: flex-start; }
.consent label { flex: 1; min-width: 200px; font-weight: 400; }
.required { color: #a02121; }
.form-status { margin-block: 1rem; font-weight: 600; }
.error-message { display: block; font-size: .85rem; flex-basis: 100%; }
[aria-invalid=true] { border-color: #a02121 !important; }
.equipment-item { margin-bottom: 1rem; }
.site-footer { background: var(--navy); color: #e8f0f5; margin-top: 2rem; padding: var(--space) 1.25rem 1.5rem; font-size: .88rem; }
.footer-inner { max-width: 1120px; margin: auto; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 2rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.site-footer a { color: #e8f0f5; overflow-wrap: anywhere; }
.footer-note { max-width: 1120px; margin: 2rem auto 0; padding-top: 1.3rem; border-top: 1px solid #385065; font-size: .75rem; color: #bfcfda; }
@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; gap: .8rem; padding: .65rem; }
  #nav-main { width: 100%; flex-direction: column; align-items: stretch; }
  .js #nav-main { display: none; }
  .js #nav-main.is-open { display: flex; }
  #nav-main > a, summary { padding: .7rem; }
  .nav-dropdown > div { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--green); margin-left: 1rem; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 2rem); }
  .header-inner { padding-inline: 1rem; gap: .6rem; }
  .brand { width: 220px; height: 48px; }

  .context-band { font-size: .9375rem; padding: 14px 20px; }
  .hero, .cards, .flows, .calculator, .footer-inner, .form-grid { grid-template-columns: 1fr; }
  .hero { gap: 1.5rem; }
  .hero .visual { width: 100%; max-width: none; margin: 0; }
  .record-list { grid-template-columns: 1fr; }
  .video-link { flex-direction: column; align-items: flex-start; }
  .video-link img { width: 100%; max-width: 380px; }
  .results { grid-template-columns: 1fr; }
  .calculator { padding: 1.25rem; }
  .full, .field-group { grid-column: 1; }
  .menu-toggle { font-size: .8rem; }
  .legal h2 { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

@media (max-width: 360px) { .brand { width: 190px; } }

/* Final review: retain approved artwork and make its mobile CTA interactive. */
.benefits-hero { position: relative; max-width: 960px; margin: 1.3rem auto; }
.benefits-hero .visual { margin: 0; }
.benefits-link { position: absolute; left: 4.8%; top: 85%; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; padding: .65rem 1.3rem; font-size: clamp(.82rem, 1.5vw, 1rem); }
.benefits-link:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
#evidencia { scroll-margin-top: 1rem; }
.official-source { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 8px; max-width: 700px; text-decoration: none; }
.official-source img { width: 180px; height: auto; flex-shrink: 0; }
.official-source span { font-size: .9rem; }
.official-source strong { color: var(--navy); }
.graph-hint { display: none; }
.graph-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
#graph-viewer { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); border: 0; background: white; }
#graph-viewer[open] { display: flex; flex-direction: column; gap: 1rem; }
.graph-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.graph-toolbar h2 { font-size: 1.2rem; margin: 0; }
.graph-toolbar button { flex-shrink: 0; }
.graph-full { overflow: auto; min-height: 0; flex: 1; }
.graph-full img { width: 1448px; max-width: none; }
.graph-open { overflow: hidden; }
.whatsapp-flotante { bottom: max(18px,env(safe-area-inset-bottom)); display: grid; gap: 10px; justify-items: end; position: fixed; right: max(18px,env(safe-area-inset-right)); z-index: 80; }
.whatsapp-boton { align-items: center; background: #146c43; border: 0; border-radius: 999px; box-shadow: 0 12px 30px rgba(4,25,42,.28); color: white; cursor: pointer; display: inline-flex; font: inherit; font-size: .84rem; font-weight: 800; gap: 8px; min-height: 50px; padding: 9px 17px 9px 10px; }
.whatsapp-boton > span:first-child { align-items: center; background: white; border-radius: 50%; color: #146c43; display: inline-flex; font-size: .72rem; height: 32px; justify-content: center; width: 32px; }
.whatsapp-boton:hover { background: #0f5836; }
.whatsapp-boton:focus-visible, .whatsapp-accion:focus-visible { outline: 3px solid #74d6a6; outline-offset: 3px; }
.whatsapp-panel { background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 45px rgba(4,25,42,.3); display: grid; gap: 9px; max-width: min(310px,calc(100vw - 32px)); padding: 17px; width: 280px; }
.whatsapp-panel[hidden] { display: none; }
.whatsapp-panel strong { color: var(--navy); font-size: .9rem; }
.whatsapp-accion { background: #146c43; border-radius: 8px; color: white; font-size: .78rem; font-weight: 800; padding: 11px 13px; text-align: center; text-decoration: none; text-transform: uppercase; }
.whatsapp-accion.secundaria { background: #eef5fb; color: var(--navy); }
.whatsapp-flotante { z-index: 30; }
.whatsapp-boton { min-width: 50px; }
html { scroll-padding-bottom: 90px; }
body { padding-bottom: max(84px, calc(68px + env(safe-area-inset-bottom))); }
@media (max-width: 768px) {
  .graph-hint { display: block; }
  .graph-scroll img { width: 960px; max-width: none; }
  .official-source { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .benefits-link { left: 8.8%; top: 57.18%; width: 53.67%; height: 5.63%; padding: 0; background: transparent; }
  .benefits-link span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .benefits-link::after { content: ''; position: absolute; inset: -5px 0; min-height: 44px; }
  .whatsapp-flotante { right: max(12px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }
  .whatsapp-boton { min-height: 48px; padding: 8px; }
  .whatsapp-boton > span:last-child { display: none; }
  .whatsapp-panel { width: min(280px, calc(100vw - 24px)); }
  .graph-toolbar h2 { font-size: 1rem; }
@media (max-width: 640px) {
  html {
    height: auto;
    overflow: visible;
  }

  body {
    height: auto;
    overflow-y: visible;
    padding-bottom: 0;
    scroll-padding-block: 12px;
  }

  .whatsapp-flotante {
    isolation: auto;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .whatsapp-flotante::before {
    content: none;
    display: none;
  }

  .graph-open body {
    overflow: hidden;
  }
}

/* Vertical mobile composition of the existing approved circular comparison. */
.circular-mobile { display: none; }
@media (max-width: 640px) {
  .comparison-desktop, .graph-hint { display: none; }
  .circular-mobile { display: block; color: #192b21; font-size: 1rem; line-height: 1.5; }
  .circular-mobile .comparison-brand { width: 224px; max-width: 100%; margin: 0 auto 1.25rem; }
  .circular-mobile .comparison-brand .comparison-logo { display: block; width: 100%; height: auto; aspect-ratio: 248 / 80; }
  .circular-mobile figcaption { text-align: center; }
  .circular-mobile h2 { font-size: 1.5rem; color: #153321; line-height: 1.2; }
  .circular-mobile .comparison-subtitle { color: #454a4b; }
  .circular-mobile .comparison-principle { font-weight: 600; padding-block: 1rem; border-top: 1px solid var(--line); }
  .circular-mobile .comparison-principle strong { color: #1e552b; }
  .circular-mobile .comparison-card { border: 1px solid #d6dbd4; border-radius: 12px; overflow: hidden; margin-block: 1rem; }
  .circular-mobile .comparison-card header { background: #1d5329; color: white; display: flex; align-items: center; gap: .65rem; padding: 1rem .75rem; }
  .circular-mobile .comparison-card header .comparison-icon { width: 44px; height: 44px; flex-shrink: 0; }
  .circular-mobile .comparison-card h3 { color: white; font-size: 1.04rem; margin: 0 0 .25rem; }
  .circular-mobile .comparison-card header p { margin: 0; font-size: 1rem; }
  .circular-mobile .comparison-content { padding: 1rem; }
  .circular-mobile .comparison-icon { display: block; width: 48px; height: 48px; flex-shrink: 0; }
  .circular-mobile .comparison-steps { list-style: none; padding: 0; margin: 1.5rem 0; }
  .circular-mobile .comparison-steps li { display: flex; align-items: center; gap: .85rem; margin: 0; }
  .circular-mobile .comparison-steps li + li { margin-top: 2.25rem; position: relative; }
  .circular-mobile .comparison-steps li + li::before { content: '↓'; position: absolute; top: -2.1rem; left: 1rem; color: #1d5329; font-size: 1.5rem; font-weight: bold; }
  .circular-mobile .comparison-steps .comparison-icon { width: 58px; height: 64px; }
  .circular-mobile .comparison-facts { list-style: none; padding: 0; margin: 0; background: #f1f3ed; border-radius: 8px; }
  .circular-mobile .comparison-facts li { display: flex; gap: .65rem; align-items: flex-start; padding: .75rem .5rem; margin: 0; }
  .circular-mobile .comparison-facts li + li { border-top: 1px solid #d6dbd4; }
  .circular-mobile .comparison-facts .comparison-icon { width: 32px; height: 36px; }
  .circular-mobile .comparison-bottom { padding: 1rem; margin: 0; background: #1d5329; color: white; font-weight: 600; font-size: .94rem; }
  .circular-mobile .recycle header, .circular-mobile .recycle .comparison-bottom { background: #263a4c; }
  .circular-mobile .recycle .comparison-facts { background: #f0f1f3; }
  .circular-mobile .recycle .comparison-steps li::before { color: #263a4c; }
  .circular-mobile .comparison-versus { margin: 1rem auto; border-radius: 50%; width: 48px; height: 48px; background: #333; color: white; text-align: center; line-height: 48px; font-weight: bold; }
  .circular-mobile .comparison-summary, .circular-mobile .comparison-note, .circular-mobile .comparison-hierarchy { margin-top: 1rem; padding: 1rem; border: 1px solid #d6dbd4; border-radius: 12px; }
  .circular-mobile .comparison-summary { text-align: center; }
  .circular-mobile .comparison-summary .comparison-icon { margin: 0 auto 1rem; width: 56px; height: 65px; }
  .circular-mobile .comparison-note h3 { display: flex; gap: .75rem; align-items: center; color: #1d5329; }
  .circular-mobile .comparison-note p:last-child, .circular-mobile .comparison-summary p:last-child, .circular-mobile .comparison-hierarchy p:last-child { margin: 0; }
  .circular-mobile .comparison-hierarchy { background: #f6f7f2; }
  .circular-mobile .comparison-hierarchy h3 { color: #1d5329; }
  .circular-mobile .comparison-hierarchy ol { padding-left: 1.6rem; }
  .circular-mobile .comparison-hierarchy li { padding: .35rem; border-bottom: 1px solid #d6dbd4; }
  .circular-mobile .comparison-sources { margin-top: 1rem; font-size: .875rem; }
}
