:root {
  --navy: #0b2f4a;
  --navy-2: #123f60;
  --blue: #1688b8;
  --blue-soft: #eaf5f9;
  --paper: #f7fafb;
  --white: #ffffff;
  --ink: #213746;
  --muted: #5f7480;
  --line: #d5e2e7;
  --green: #219764;
  --green-soft: #eaf7f0;
  --amber: #e4a016;
  --red: #c6383f;
  --shadow: 0 24px 70px rgba(11, 47, 74, .14);
  --shell: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Aptos", "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.6; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { color: var(--navy); line-height: 1.08; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 6.7vw, 6.4rem); max-width: 10.5ch; }
h2 { font-size: clamp(2.3rem, 4vw, 4.2rem); max-width: 15ch; }
h3 { font-size: 1.35rem; }
.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding: clamp(80px, 10vw, 145px) 0; }
.section-kicker, .context-line { display: flex; align-items: center; gap: 12px; color: var(--blue); font-weight: 750; letter-spacing: .01em; margin-bottom: 24px; }
.context-line span { width: 36px; height: 3px; background: var(--green); }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -80px; padding: 12px 18px; background: var(--white); color: var(--navy); box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-size: 2rem; line-height: 1; font-weight: 800; letter-spacing: -.06em; }
.site-header .brand { color: var(--white); }
.brand-mark { display: flex; align-items: end; height: 26px; gap: 3px; }
.brand-mark i { display: block; width: 5px; border-radius: 2px; background: var(--green); }
.brand-mark i:nth-child(1) { height: 10px; }.brand-mark i:nth-child(2) { height: 18px; }.brand-mark i:nth-child(3) { height: 26px; }
.primary-nav { display: flex; align-items: center; gap: 27px; font-size: .92rem; font-weight: 650; }
.primary-nav a { text-decoration: none; }
.primary-nav a:not(.nav-cta):hover { color: #9bd7ed; }
.nav-cta { padding: 11px 18px; color: var(--navy); background: var(--white); border-radius: 4px; }
.menu-toggle { display: none; }

.hero { padding: 155px 0 0; color: var(--white); background: linear-gradient(125deg, var(--navy) 0 64%, #0c3855 64% 100%); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(50px, 7vw, 100px); min-height: 610px; }
.hero h1 { color: var(--white); }
.hero-lead { max-width: 660px; margin-top: 30px; color: #d8e8ef; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin: 38px 0 18px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 4px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; }
.button-primary { background: var(--green); color: var(--white); box-shadow: 0 12px 30px rgba(33, 151, 100, .24); }
.button-primary:hover { background: #167c51; }
.text-link { color: var(--white); text-underline-offset: 5px; font-weight: 700; }
.promise { color: #b9d0da; font-size: .9rem; }
.promise strong { color: var(--white); }
.diagnostic-board { color: var(--ink); background: var(--white); box-shadow: 0 35px 95px rgba(1, 19, 31, .35); transform: rotate(1.4deg); border-top: 8px solid var(--blue); }
.board-head { display: flex; justify-content: space-between; padding: 19px 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: .82rem; }
.board-verdict { display: grid; grid-template-columns: 130px 1fr; gap: 23px; align-items: center; padding: 27px 24px 21px; background: var(--blue-soft); }
.board-verdict div span { display: block; color: var(--muted); font-size: .74rem; line-height: 1.2; }
.board-verdict strong { color: var(--navy); font-size: 3.6rem; line-height: 1; }
.board-verdict small { color: var(--muted); }
.board-verdict p { font-size: .95rem; line-height: 1.45; margin: 0; }
.signal-list { list-style: none; padding: 16px 24px; margin: 0; }
.signal-list li { display: grid; grid-template-columns: 110px 1fr 32px; align-items: center; gap: 12px; padding: 9px 0; font-size: .82rem; }
.signal-list i { height: 7px; background: linear-gradient(90deg, var(--blue) var(--score), #dce8ec var(--score)); }
.signal-list b { color: var(--navy); text-align: right; }
.board-note { display: flex; gap: 10px; padding: 15px 24px; color: #7d5411; background: #fff6df; font-size: .85rem; font-weight: 700; }
.board-note span { display: grid; place-items: center; width: 22px; height: 22px; color: var(--white); background: var(--amber); border-radius: 50%; }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid rgba(255,255,255,.18); }
.proof-strip span { padding: 23px 0; color: #c6dbe4; font-size: .85rem; font-weight: 700; text-align: center; border-right: 1px solid rgba(255,255,255,.18); }
.proof-strip span:last-child { border: 0; }

.problem-section { background: var(--paper); }
.split-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 11vw; }
.problem-copy { padding-top: 53px; color: var(--muted); font-size: 1.08rem; }
.loss-line { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr; align-items: center; margin-top: 80px; }
.loss-line div { min-height: 130px; padding: 24px; border-top: 4px solid var(--blue); background: var(--white); }
.loss-line span { color: var(--blue); font-size: .8rem; font-weight: 800; }
.loss-line strong, .loss-line small { display: block; }
.loss-line strong { margin-top: 14px; color: var(--navy); }
.loss-line small { color: var(--muted); }
.loss-line i { height: 1px; background: var(--line); }

.section-intro { display: grid; grid-template-columns: .65fr 1fr .75fr; align-items: end; gap: 40px; margin-bottom: 55px; }
.section-intro .section-kicker { align-self: start; }
.section-intro > p:last-child { color: var(--muted); }
.modules-list { border-top: 1px solid var(--line); }
.module-row { display: grid; grid-template-columns: 65px 1fr .9fr; gap: 30px; padding: 29px 0; border-bottom: 1px solid var(--line); }
.module-number { color: var(--blue); font-weight: 800; }
.module-row h3 { margin-bottom: 8px; }
.module-row p { margin: 0; color: var(--muted); }
.module-risk { padding-left: 28px; border-left: 3px solid var(--line); font-size: .94rem; }
.module-risk strong { display: block; color: var(--navy); font-size: .76rem; }

.process-section { color: var(--white); background: var(--navy); }
.process-section h2 { color: var(--white); }
.process-section .section-kicker { color: #7cc6e3; }
.section-intro.narrow { grid-template-columns: .65fr 1.75fr; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; }
.process-grid li { padding: 30px 28px 34px; border: 1px solid rgba(255,255,255,.16); border-right: 0; }
.process-grid li:last-child { border-right: 1px solid rgba(255,255,255,.16); }
.process-grid span { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 38px; color: var(--navy); background: var(--white); border-radius: 50%; font-weight: 850; }
.process-grid h3 { color: var(--white); margin-bottom: 14px; }
.process-grid p { color: #bdd2dc; font-size: .94rem; }
.process-note { display: grid; grid-template-columns: .65fr 1.75fr; gap: 40px; margin-top: 38px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.16); }
.process-note p { color: #bdd2dc; margin: 0; }

.report-section { background: var(--blue-soft); }
.report-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 9vw; }
.report-copy > p:not(.section-kicker) { color: var(--muted); margin: 28px 0; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding: 9px 0 9px 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 15px; height: 8px; border: solid var(--green); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.benchmark-demo { margin: 0; padding: 34px 35px 30px; background: var(--white); box-shadow: var(--shadow); }
.benchmark-demo figcaption { color: var(--navy); font-weight: 800; }
.benchmark-demo figcaption small { display: block; color: var(--muted); font-weight: 500; }
.scale-graphic { display: block; width: 100%; height: auto; margin: 8px 0 5px; overflow: visible; font-family: "Aptos", "Segoe UI", Arial, sans-serif; }
.scale-graphic text:not(.score-value):not(.scale-end) { font-size: 16px; font-weight: 800; letter-spacing: .01em; }
.scale-graphic .score-value { fill: #fff; font-size: 25px; font-weight: 800; text-anchor: middle; dominant-baseline: central; }
.scale-graphic .scale-end { fill: var(--muted); font-size: 15px; }
.scale-values { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gap-alert { display: flex; gap: 15px; align-items: center; padding-top: 21px; border-top: 1px solid var(--line); }
.gap-alert strong { color: var(--red); font-size: 1.25rem; }
.gap-alert span { color: var(--muted); font-size: .82rem; line-height: 1.4; }

.reference-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 10vw; }
.reference-rules { border-top: 1px solid var(--line); }
.reference-rules article { display: grid; grid-template-columns: 190px 1fr; gap: 25px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.reference-rules strong { color: var(--navy); }
.reference-rules p { color: var(--muted); margin: 0; }

.samples-section { background: var(--navy); }
.samples-section h2 { color: var(--white); }
.samples-section .section-kicker { color: #7cc6e3; }
.samples-section .section-intro > p:last-child { color: #bdd2dc; }
.samples-section .sample-download { display: inline-block; margin-top: 10px; color: #7cc6e3; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.samples-section .sample-download:hover, .samples-section .sample-download:focus-visible { color: var(--white); }
.sample-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; }
.sample-grid figure { margin: 0; }
.sample-grid figure:first-child { grid-row: span 2; align-self: center; }
.sample-grid img { display: block; width: 100%; height: auto; background: var(--white); box-shadow: 0 24px 60px rgba(0,0,0,.24); }
.sample-grid figcaption { padding: 12px 0 0; color: #d3e4eb; font-size: .84rem; font-weight: 700; }

.solutions-section { background: var(--paper); }
.pricing-layout { display: grid; grid-template-columns: .36fr .64fr; gap: 30px; }
.price-anchor { padding: 34px; color: var(--white); background: var(--navy); }
.price-anchor span { color: #a9c8d6; font-size: .85rem; font-weight: 700; }
.price-anchor strong { display: block; margin: 25px 0 14px; font-size: clamp(2.8rem, 5vw, 4.6rem); letter-spacing: -.06em; line-height: .95; }
.price-anchor p { color: #c6dbe4; }
.repair-options { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.repair-options article { padding: 30px 25px; background: var(--white); border-right: 1px solid var(--line); }
.repair-options article:last-child { border: 0; }
.repair-options article.featured { box-shadow: inset 0 5px var(--green); }
.repair-options span { color: var(--blue); font-size: .75rem; font-weight: 800; }
.repair-options h3 { margin: 22px 0 12px; }
.repair-options p { color: var(--muted); font-size: .9rem; }
.maintenance-row { display: grid; grid-template-columns: repeat(3, .55fr) 1.35fr; margin-top: 30px; border: 1px solid var(--line); background: var(--white); }
.maintenance-row div, .maintenance-row > p { padding: 22px; margin: 0; border-right: 1px solid var(--line); }
.maintenance-row div strong, .maintenance-row div span { display: block; }
.maintenance-row div strong { color: var(--green); font-size: 1.35rem; }
.maintenance-row div span, .maintenance-row > p { color: var(--muted); font-size: .86rem; }

.method-section { border-top: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; }
.method-points { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.method-points p { padding-top: 18px; border-top: 3px solid var(--blue); color: var(--muted); }
.method-points strong { display: block; color: var(--navy); }
.faq-list { margin-top: 75px; border-top: 1px solid var(--line); }
.faq-list details { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { color: var(--navy); font-weight: 800; cursor: pointer; }
.faq-list details p { max-width: 760px; margin: 15px 0 0; color: var(--muted); }

.request-section { color: var(--white); background: var(--blue); }
.request-frame { display: grid; grid-template-columns: .78fr 1.22fr; gap: 8vw; align-items: start; }
.request-section h2 { color: var(--white); }
.request-section .section-kicker { color: #d9f1fa; }
.request-section p { color: #e1f1f7; max-width: 670px; }
.request-assurances { padding: 0; margin: 30px 0 0; list-style: none; }
.request-assurances li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.2); color: #e1f1f7; }
.audit-form { position: relative; padding: clamp(25px, 4vw, 45px); color: var(--ink); background: var(--white); box-shadow: 0 28px 75px rgba(9, 45, 68, .2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid label { display: block; }
.form-grid label > span { display: block; margin-bottom: 6px; color: var(--navy); font-size: .85rem; font-weight: 750; }
.form-grid em { color: var(--muted); font-weight: 500; font-style: normal; }
.form-wide { grid-column: 1 / -1; }
.audit-form input[type="text"], .audit-form input[type="url"], .audit-form input[type="email"], .audit-form input[type="tel"], .audit-form textarea { width: 100%; padding: 12px 13px; border: 1px solid #aec4ce; border-radius: 3px; color: var(--ink); background: var(--white); font: inherit; }
.audit-form textarea { resize: vertical; }
.audit-form small { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; }
.checkbox-row { display: grid; grid-template-columns: 20px 1fr; gap: 9px; margin-top: 17px; font-size: .82rem; line-height: 1.4; }
.checkbox-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.checkbox-row a { color: var(--blue); }
.button-form { width: 100%; margin-top: 25px; color: var(--white); background: var(--navy); }
.button-form:hover { background: var(--navy-2); }
.form-footnote { margin: 10px 0 0 !important; color: var(--muted) !important; font-size: .75rem; text-align: center; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-message { margin-bottom: 22px; padding: 14px 16px; border-left: 5px solid var(--blue); background: var(--blue-soft); font-size: .9rem; }
.form-message--success { border-color: var(--green); background: var(--green-soft); }.form-message--error { border-color: var(--red); background: #fff1f1; }.form-message--notice { border-color: var(--amber); background: #fff6df; }

.site-footer { padding: 70px 0 25px; color: #bed3dc; background: #071f31; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .65fr 1fr; gap: 80px; }
.brand-light { color: var(--white); margin-bottom: 20px; }
.footer-grid a:not(.brand) { display: block; color: #bed3dc; margin-bottom: 8px; }
.footer-heading { color: var(--white); font-weight: 800; }
.footer-base { display: flex; justify-content: space-between; margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.simple-page { padding-top: 150px; padding-bottom: 100px; max-width: 850px; }
.legal-page { padding: 145px 0 110px; background: var(--paper); }
.legal-content { max-width: 820px; padding: 55px clamp(24px, 6vw, 78px); background: var(--white); box-shadow: var(--shadow); }
.legal-content h1 { font-size: clamp(2.8rem, 6vw, 5rem); margin-bottom: 14px; }
.legal-content h2 { max-width: none; margin: 45px 0 12px; font-size: 1.55rem; letter-spacing: -.02em; }
.legal-content p { color: var(--muted); }
.legal-updated { padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: .86rem; }

@media (max-width: 900px) {
  .primary-nav { position: absolute; left: 20px; right: 20px; top: 80px; display: none; flex-direction: column; align-items: stretch; padding: 22px; color: var(--navy); background: var(--white); box-shadow: var(--shadow); }
  .menu-open .primary-nav { display: flex; }
  .nav-cta { color: var(--white); background: var(--green); text-align: center; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; border: 0; color: var(--white); background: transparent; font: inherit; font-weight: 700; }
  .menu-toggle i, .menu-toggle i::before, .menu-toggle i::after { display: block; width: 21px; height: 2px; background: currentColor; }
  .menu-toggle i { position: relative; }.menu-toggle i::before, .menu-toggle i::after { content: ""; position: absolute; left: 0; }.menu-toggle i::before { top: -6px; }.menu-toggle i::after { top: 6px; }
  .hero-grid, .split-heading, .report-grid, .reference-grid, .method-grid, .request-frame { grid-template-columns: 1fr; }
  .hero-grid { padding-bottom: 80px; }
  .diagnostic-board { max-width: 620px; transform: none; }
  .section-intro, .section-intro.narrow { grid-template-columns: 1fr; align-items: start; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip span:nth-child(2) { border-right: 0; }
  .loss-line { grid-template-columns: 1fr 1fr; gap: 14px; }
  .loss-line i { display: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid li:nth-child(2) { border-right: 1px solid rgba(255,255,255,.16); }
  .process-note { grid-template-columns: 1fr; gap: 8px; }
  .pricing-layout { grid-template-columns: 1fr; }
  .sample-grid { grid-template-columns: 1fr; }
  .sample-grid figure:first-child { grid-row: auto; }
  .maintenance-row { grid-template-columns: repeat(3, 1fr); }
  .maintenance-row > p { grid-column: 1/-1; border-top: 1px solid var(--line); }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 28px, 1160px); }
  body { font-size: 16px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.1rem); }
  h2 { font-size: 2.35rem; }
  .hero { padding-top: 120px; }
  .hero-grid { min-height: auto; gap: 48px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; text-align: center; }
  .proof-strip, .loss-line, .process-grid, .method-points, .footer-grid { grid-template-columns: 1fr; }
  .proof-strip span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .board-verdict { grid-template-columns: 1fr; }
  .signal-list li { grid-template-columns: 90px 1fr 25px; }
  .module-row { grid-template-columns: 42px 1fr; }
  .module-risk { grid-column: 2; padding: 16px 0 0; border-left: 0; border-top: 2px solid var(--line); }
  .repair-options { grid-template-columns: 1fr; }
  .repair-options article { border-right: 0; border-bottom: 1px solid var(--line); }
  .maintenance-row { grid-template-columns: 1fr; }
  .maintenance-row > p { grid-column: auto; }
  .reference-rules article { grid-template-columns: 1fr; gap: 5px; }
  .benchmark-demo { padding-inline: 17px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .scale-graphic { display: none; }
  .scale-values { position: static; width: auto; height: auto; margin: 26px 0; overflow: visible; clip-path: none; white-space: normal; }
  .scale-values div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .scale-values dt { color: var(--muted); }
  .scale-values dd { margin: 0; color: var(--navy); font-weight: 800; }
  .gap-alert { flex-direction: column; align-items: flex-start; gap: 3px; }
  .footer-grid { gap: 35px; }
  .footer-base { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Páginas interiores (P320, 17-oct-2026): la cabecera va sobre fondo claro; se le da el azul del tema
   para que el menú en blanco se lea. La portada (.home) no cambia. */
body:not(.home) .site-header { background: var(--navy); }
