@font-face {
    font-family: "Cinzel";
    src: url("fonts/cinzel-variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
}

:root {
    --ink: #16354a;
    --blue: #064777;
    --cyan: #00a8c8;
    --green: #146558;
    --muted: #526575;
    --line: #dbe4eb;
    --soft: #f3f6f9;
    --brand: "Cinzel", "Palatino Linotype", Georgia, serif;
    --ui: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.6 var(--ui); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--brand); font-weight: 600; line-height: 1.35; overflow-wrap: break-word; }
h2 { margin: 0 0 16px; font-size: 30px; }
h3 { margin: 0 0 10px; font-size: 19px; }
p { margin: 0; }
a:focus-visible, [role="button"]:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 20px; top: -80px; z-index: 60; padding: 10px 16px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
.site-nav, .nav {
    position: sticky; top: 0; z-index: 20; min-height: 60px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 4px max(28px, calc((100% - 1440px) / 2));
    background: #fff; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand picture, .brand-mark { display: block; width: 60px; height: 50px; flex: none; }
.brand img { width: 60px; height: 50px; object-fit: contain; }
.brand-name { max-width: 270px; font: 600 15px/1.5 var(--brand); text-transform: uppercase; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-actions .btn { min-height: 38px; padding: 8px 16px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 10px 20px; border: 1px solid transparent; border-radius: 6px;
    font: 600 14px/1.35 var(--ui); text-align: center; cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #083759; box-shadow: 0 4px 12px #16354a1a; }
.btn-secondary, .btn-light { color: var(--blue); background: #fff; border-color: #becfdc; }
.btn-secondary:hover, .btn-light:hover { background: #edf5f8; border-color: var(--blue); }
.btn-ghost { color: #fff; border-color: #9bb6ba; }
.btn-ghost:hover { background: #ffffff15; }
.hero {
    position: relative; isolation: isolate; display: flex; align-items: center; justify-content: flex-end;
    min-height: max(calc(100svh - 184px), calc(100vw * .38)); padding: 48px max(36px, calc((100% - 1440px) / 2));
    background: #e9eef4; overflow: hidden; border-bottom: 1px solid var(--line);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: #ffffff0a; pointer-events: none; }
.hero-content, .hero-card { width: min(34%, 460px); min-width: 0; }
.hero-heading { margin: 18px 0 20px; font-size: 32px; }
.hero-lead { margin-top: 18px; font-size: 22px; line-height: 1.65; text-wrap: pretty; }
.hero-card > p { font-size: 17px; color: #334c5f; line-height: 1.65; }
.eyebrow, .pill { display: block; color: #164967; font: 700 12px/1.6 var(--ui); text-transform: uppercase; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.hero-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 32px 0 0; padding: 0; }
.hero-highlights li { padding-top: 10px; border-top: 2px solid #16748c; font-size: 12px; line-height: 1.5; color: #344e61; }
.section, .sec, .dsec, .contacto, .scene { padding: 76px max(28px, calc((100% - 1280px) / 2)); }
.landing-classic main > .section:first-child { padding-top: 24px; }
.section-head, .impact-copy, .head { max-width: 780px; margin-bottom: 32px; }
.section-head p, .impact-copy p, .head p { color: var(--muted); line-height: 1.75; }
.alt { background: var(--soft); }
.module-grid, .cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.module, .card {
    min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
    transition: border-color .18s ease, background-color .18s ease;
}
.module[role="button"], .impact-card[role="button"] { cursor: pointer; }
.module:hover, .module.active, .impact-card:hover, .impact-card.active { border-color: #16748c; background: #f0f8f9; }
.module p, .card p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.tag { margin-bottom: 22px; color: var(--green); font: 500 24px/1 var(--brand); }
.workflow, .impact-layout, .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; align-items: center; }
.workflow .section-head { margin: 0; }
.process-panel { border-top: 1px solid var(--line); }
.process-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 68px; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.process-row .step { color: var(--green); font: 500 24px/1 var(--brand); }
.process-row strong { display: block; font-size: 15px; }
.process-row span { display: block; color: var(--muted); font-size: 13px; }
.meter { height: 4px; background: #dae5e9; }
.meter i { display: block; width: var(--w); height: 100%; background: var(--green); }
.impact-layout { align-items: stretch; }
.impact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.impact-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 8px; }
.mini-tag { color: var(--green); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.impact-card h3 { margin-top: 12px; }
.impact-card p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.interactive { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 36px; background: #143b4a; color: #fff; }
.interactive h2 { font-size: 26px; }
.interactive > div > p { color: #d4e4e8; font-size: 15px; }
.preview { margin-top: 30px; }
.preview-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #ffffff30; font-size: 13px; }
.preview-total { display: grid; gap: 18px; margin-top: 20px; }
.preview-total span { display: block; color: #adced1; font-size: 12px; }
.preview-total strong { display: block; margin-top: 3px; font-size: 18px; }
.impact-note { padding-top: 20px; margin-top: 24px; border-top: 1px solid #ffffff30; color: #d4e4e8; font-size: 13px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.trust-item { border-top: 2px solid var(--green); padding-top: 22px; }
.trust-item p { color: var(--muted); font-size: 15px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta > div:first-child { max-width: 740px; }
.cta p { color: var(--muted); }
.cta .hero-actions { margin: 0; flex: none; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 28px max(28px, calc((100% - 1440px) / 2)); border-top: 1px solid var(--line); background: #f7f9fb; color: var(--muted); font-size: 12px; }
footer > span:first-child { font-family: var(--brand); color: var(--ink); }
.ticker { padding: 18px 28px; background: #155c58; color: #fff; }
.track { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; }
.ticker span { font: 500 13px/1.7 var(--brand); }
.scene { background: var(--soft); }
.pin { max-width: 1280px; margin: 0 auto; }
.lit { margin: 0; max-width: 1100px; font: 500 34px/1.65 var(--brand); text-wrap: pretty; }
.lit.sm { font-size: 23px; }
.lab { margin-bottom: 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
#vision { background: #143b4a; color: #fff; }
#vision .pin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; }
#vision .lab { color: #89d0ce; }
.two > div > p { color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps .step { display: flex; align-items: flex-start; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps .step:first-child { padding-top: 0; }
.steps b { display: block; margin-bottom: 6px; font: 600 18px/1.5 var(--brand); }
.steps span { color: var(--muted); font-size: 14px; }
.i { width: 38px; height: 38px; display: grid; place-items: center; flex: none; color: var(--green); }
.i svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dsec.b { background: #f3f6f9; }
.gcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.gc { min-width: 0; padding-top: 20px; border-top: 2px solid var(--green); }
.gc .i { margin-bottom: 18px; }
.gc p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.dsec.b .gcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 36px; margin: 36px 0 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--line); }
.metas li { position: relative; padding-left: 18px; color: var(--muted); font-size: 14px; }
.metas li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; background: var(--green); }
.photo { width: 100%; max-height: 460px; object-fit: cover; margin-top: 32px; }
.contacto { background: #143b4a; color: #fff; }
.contacto .head { margin: 0; }
.contacto .head p { color: #d4e4e8; }
.contacto .btn-primary { background: #fff; color: var(--ink); }
.contacto .btn-primary:hover { background: #e7f4f4; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 36px; }
.cgrid > * { border-top: 1px solid #ffffff40; padding-top: 18px; overflow-wrap: anywhere; }
.cgrid small { display: block; color: #adced1; }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 25; padding: 14px 20px; border-radius: 6px; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 4px 18px #0002; }
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; transform: scaleX(var(--p, 0)); transform-origin: left; background: var(--cyan); z-index: 30; pointer-events: none; }
.reveal { opacity: 1; transform: none; }
.reveal-pending { opacity: 0; transform: translateY(10px); }
.reveal.visible { transition: opacity .4s ease, transform .4s ease; }

@media (max-width: 1400px) {
    .hero-content, .hero-card { width: 35%; }
    .hero-heading { font-size: 28px; }
    .hero-lead { font-size: 20px; }
    .hero .btn { padding: 10px 16px; }
    .module-grid, .gcards { gap: 16px; }
    .module { padding: 20px; }
}
@media (max-width: 1100px) {
    .brand-name { font-size: 14px; }
    .hero { padding-left: 28px; padding-right: 28px; }
    .hero-content, .hero-card { width: 38%; }
    .hero-heading { font-size: 25px; }
    .hero-lead { font-size: 18px; }
    .hero-card > p { font-size: 15px; }
    .hero-highlights { gap: 10px; }
    .workflow, .impact-layout, .two { gap: 36px; }
    .module-grid, .gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta { align-items: flex-start; flex-direction: column; gap: 24px; }
}
@media (max-width: 900px) {
    .hero { min-height: 0; padding: calc(min(70vw, 380px) + 24px) 28px 36px; justify-content: center; }
    .hero-media { inset: 0 0 auto; height: min(70vw, 380px); -webkit-mask-image: linear-gradient(#000 0 98%, transparent); mask-image: linear-gradient(#000 0 98%, transparent); }
    .hero-media img { object-fit: contain; }
    .hero-content, .hero-card { width: min(620px, 100%); }
    .hero-heading { margin: 12px 0 16px; font-size: 28px; }
    .hero-lead { margin-top: 12px; font-size: 20px; }
    .hero-card > p { font-size: 16px; }
    .hero-actions, .actions { margin-top: 24px; }
    .hero-highlights { margin-top: 24px; }
    .workflow, .impact-layout, .two, #vision .pin { grid-template-columns: 1fr; }
    .workflow, .two { gap: 32px; }
    #vision .pin { gap: 36px; }
    .lit { font-size: 28px; }
    .trust-grid { gap: 24px; }
    .trust-item h3 { font-size: 17px; }
}
@media (max-width: 600px) {
    .site-nav, .nav { min-height: 56px; padding: 4px 20px; gap: 14px; }
    .brand picture, .brand-mark, .brand img { width: 56px; height: 46px; }
    .brand-name { display: none; }
    .nav-actions { gap: 10px; }
    .nav-actions .btn { min-height: 36px; padding: 7px 12px; font-size: 13px; }
    .hero { padding: calc(min(83.34vw, 340px) + 14px) 20px 28px; }
    .hero-media { height: min(83.34vw, 340px); }
    .hero-heading { font-size: 23px; }
    .hero-lead { font-size: 18px; line-height: 1.65; }
    .eyebrow, .pill { font-size: 10px; }
    .hero-actions, .hero-card .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hero .btn { padding: 10px 12px; font-size: 13px; min-height: 46px; }
    .hero-highlights { gap: 16px; margin-top: 20px; }
    .hero-highlights li { font-size: 11px; }
    .section, .sec, .dsec, .contacto, .scene { padding: 48px 20px; }
    h2 { font-size: 24px; }
    h3 { font-size: 18px; }
    .section-head, .impact-copy, .head { margin-bottom: 24px; }
    .module-grid, .gcards, .dsec.b .gcards, .trust-grid, .metas { grid-template-columns: 1fr; }
    .module { padding: 24px; }
    .tag { margin-bottom: 16px; }
    .impact-cards { grid-template-columns: 1fr; }
    .impact-card { padding: 20px; }
    .interactive { padding: 28px 24px; }
    .interactive h2 { font-size: 23px; }
    .process-row { grid-template-columns: 26px minmax(0, 1fr) 40px; gap: 12px; }
    .lit { font-size: 24px; }
    .lit.sm { font-size: 19px; }
    .steps b { font-size: 17px; }
    .cta .hero-actions { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    footer { padding: 24px 20px; gap: 10px; }
    .ticker { padding: 16px 20px; }
    .track { justify-content: flex-start; gap: 8px 22px; }
    .ticker span { font-size: 11px; }
}
@media (max-width: 600px) and (max-height: 760px) {
    .hero { padding-top: calc(min(65vw, 240px) + 14px); }
    .hero-media { height: min(65vw, 240px); }
    .hero-heading { font-size: 21px; }
    .hero-card > p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .reveal-pending { opacity: 1; transform: none; }
}
