:root {
    color-scheme: light;
    --paper: #f8fafc;
    --paper-deep: #f1f5f9;
    --ink: #0f172a;
    --muted: #64748b;
    --brand-primary: #1e3a8a;  /* Azul Corporativo / Datos */
    --brand-accent: #06b6d4;   /* Cian Eléctrico / Digital */
    --line: #e2e8f0;
    --white: #ffffff;
    --forest: var(--brand-primary);
    --lime: var(--brand-accent);
    --content: 1180px;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: var(--font-body); }
h1, h2, h3, h4 { font-family: var(--font-heading); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; }
::selection { background: var(--brand-accent); color: var(--ink); }

.site-header { position: sticky; top: 0; z-index: 50; color: var(--ink); background: rgb(248 250 252 / 94%); border-bottom: 1px solid rgb(30 58 138 / 12%); box-shadow: 0 5px 18px rgb(15 23 42 / 5%); backdrop-filter: blur(16px); }
.nav-wrap { position: relative; width: min(var(--content), calc(100% - 64px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.brand-period { color: var(--brand-accent); }
.brand-mark { width: 36px; height: 36px; display: block; flex: 0 0 36px; background: url('../media/metyqa-mark.svg') center / contain no-repeat; }
.brand-mark span { display: none; }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 3.2vw, 42px); margin-left: auto; margin-right: 16px; font-size: 12px; font-weight: 700; }
.nav-links a, .footer-column a, .legal-links a, .legal-links button { transition: color .2s ease; }
.nav-links a:hover { color: var(--brand-primary); }
.footer-column a:hover, .legal-links a:hover, .legal-links button:hover { color: #6be3f2; }
.nav-links a { padding: 8px 0; }
.menu-toggle { display: none; }
.button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 800; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 43px; padding: 0 17px; gap: 14px; font-size: 11px; }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--forest); }
.button-lime { color: var(--ink); background: var(--lime); }
.button-lime:hover { background: #65d5e5; }
.button-outline { color: var(--white); border-color: rgb(255 255 255 / 54%); background: rgb(255 255 255 / 3%); }
.button-outline:hover { color: var(--ink); background: var(--white); }

.hero { min-height: 680px; min-height: max(680px, calc(100svh - 76px)); position: relative; display: grid; place-items: center; overflow: hidden; padding: 100px 24px 86px; color: var(--white); text-align: center; background: #101e49 url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=2200&q=88') center 48% / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(9 22 62 / 88%), rgb(16 37 92 / 76%) 48%, rgb(7 27 68 / 68%)), linear-gradient(0deg, rgb(8 22 58 / 40%), transparent 44%); }
.hero-content { position: relative; z-index: 1; width: min(840px, 100%); animation: reveal-enter .75s ease both; }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 9px; color: var(--brand-primary); font-family: var(--font-mono); font-size: 11px; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow-light { color: #e5faff; justify-content: inherit; }
.eyebrow-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--brand-accent); box-shadow: 0 0 0 4px rgb(6 182 212 / 17%); }
.hero h1 { margin: 0; font-size: clamp(44px, 6.5vw, 82px); line-height: 1.04; letter-spacing: -.055em; font-weight: 700; }
.hero h1 span { color: var(--lime); }
.hero-copy { max-width: 630px; margin: 24px auto 32px; color: rgb(255 255 255 / 83%); font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero-index { position: absolute; z-index: 1; right: max(32px, calc((100% - var(--content)) / 2)); bottom: 28px; left: max(32px, calc((100% - var(--content)) / 2)); display: flex; justify-content: space-between; color: rgb(255 255 255 / 70%); font-family: var(--font-mono); font-size: 9px; letter-spacing: .09em; }

.section-dark { position: relative; overflow: hidden; color: var(--white); background: #12245d; }
.about { min-height: 580px; display: grid; place-items: center; padding: 100px 24px; }
.about-image { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=2000&q=82') center 45% / cover no-repeat; opacity: .35; }
.about-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 25 72 / 96%), rgb(22 49 118 / 90%) 52%, rgb(9 30 86 / 91%)); }
.about-content { position: relative; width: min(800px, 100%); text-align: center; }
.about-content .eyebrow { justify-content: center; }
.about h2, .section-heading h2, .process h2, .final-cta h2 { margin: 0; font-size: clamp(36px, 4.2vw, 54px); line-height: 1.12; letter-spacing: -.05em; font-weight: 700; }
.about h2 em, .final-cta h2 em { color: var(--brand-accent); font-style: normal; }
.about-copy { max-width: 680px; margin: 28px auto 0; display: grid; gap: 13px; color: rgb(255 255 255 / 78%); font-size: 14px; line-height: 1.85; }
.about-copy p { margin: 0; }
.about-signoff { margin: 30px 0 0; color: #80ecfb; font-size: 14px; font-weight: 700; }

.section-pad { padding: 108px 32px; }
.values { max-width: calc(var(--content) + 64px); margin: 0 auto; }
.section-heading { max-width: 520px; margin: 0 0 48px; }
.section-heading h2 span { color: var(--forest); }
.section-heading > p:last-child { max-width: 470px; margin: 17px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.section-heading-center { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section-heading-center .eyebrow { justify-content: center; }
.section-heading-center > p:last-child { margin-right: auto; margin-left: auto; }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-card { position: relative; min-height: 300px; padding: 26px 24px 28px; border-right: 1px solid var(--line); transition: background .25s ease; }
.value-card:first-child { border-left: 1px solid var(--line); }
.value-card:hover { background: #fff; }
.card-number, .service-category { color: var(--muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; }
.value-symbol { width: 39px; height: 39px; margin: 32px 0 21px; display: grid; place-items: center; border: 1px solid #b8c8e5; border-radius: 50%; color: var(--forest); font-size: 20px; }
.value-card h3, .service-card h3, .step-card h3 { margin: 0; font-size: 17px; line-height: 1.35; letter-spacing: -.025em; }
.card-deck { margin: 7px 0 10px; color: var(--forest); font-size: 11px; font-weight: 800; }
.value-card > p:last-child { margin: 0; color: #475569; font-size: 12px; line-height: 1.8; }

.services { color: var(--ink); background: var(--paper-deep); }
.service-grid { width: min(var(--content), 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid #cfdaea; box-shadow: 0 10px 28px rgb(30 58 138 / 6%); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgb(30 58 138 / 14%); }
.service-art { min-height: 225px; position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #e9f7fb, #e8eefb); border-bottom: 1px solid #d8e4ef; }
.service-art::before, .service-art::after { position: absolute; content: ''; border: 1px solid rgb(30 58 138 / 11%); border-radius: 50%; }
.service-art::before { width: 320px; height: 320px; }
.service-art::after { width: 240px; height: 240px; }
.browser-preview { position: relative; z-index: 1; width: min(72%, 370px); overflow: hidden; border: 1px solid #cbd8e8; border-radius: 7px; background: var(--white); box-shadow: 0 18px 35px rgb(15 23 42 / 14%); transform: rotate(-2deg); transition: transform .4s ease; }
.service-card:hover .browser-preview { transform: rotate(0) translateY(-3px); }
.preview-bar { height: 23px; padding: 0 9px; display: flex; align-items: center; gap: 4px; background: #f4f7fa; border-bottom: 1px solid #e2e8f0; }
.preview-bar i { width: 5px; height: 5px; border-radius: 50%; background: #b6c4d8; }
.preview-site { min-height: 150px; padding: 16px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 10px; }
.preview-lines { display: grid; gap: 8px; }
.preview-lines b, .preview-lines span, .preview-lines i { display: block; height: 7px; border-radius: 10px; background: #d8e2f1; }
.preview-lines b { width: 90%; height: 13px; background: var(--brand-primary); }
.preview-lines span:nth-child(2) { width: 96%; }
.preview-lines span:nth-child(3) { width: 72%; }
.preview-lines i { width: 42%; height: 16px; margin-top: 4px; background: var(--brand-accent); }
.preview-tile { height: 86px; border-radius: 4px; background: linear-gradient(145deg, #c8f5fa, #d7e2fa); }
.automation-preview { position: relative; z-index: 1; width: min(74%, 390px); min-height: 176px; padding: 18px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 11px; border: 1px solid #cbd8e8; border-radius: 6px; background: rgb(255 255 255 / 94%); box-shadow: 0 18px 35px rgb(15 23 42 / 14%); transform: rotate(2deg); transition: transform .4s ease; }
.service-card:hover .automation-preview { transform: rotate(0) translateY(-3px); }
.data-node { min-height: 58px; padding: 8px 6px; display: grid; place-items: center; gap: 5px; border: 1px solid #d3deed; border-radius: 4px; color: var(--brand-primary); background: #f8fbff; font-family: var(--font-mono); font-size: 8px; text-align: center; }
.data-node b { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: var(--brand-primary); background: #dff7fb; font-size: 10px; }
.data-node.output { background: #eefbfc; border-color: #90dce7; }
.data-connector { position: absolute; top: 50%; left: 30%; width: 40%; height: 2px; background: rgb(6 182 212 / 35%); transform: translateY(-50%); }
.data-connector::before { position: absolute; top: -3px; left: 5%; width: 8px; height: 8px; content: ''; border-radius: 50%; background: var(--brand-accent); box-shadow: 0 0 0 4px rgb(6 182 212 / 16%); animation: data-flow 2.6s ease-in-out infinite; }
.data-connector::after { position: absolute; right: 0; top: -3px; width: 7px; height: 7px; content: ''; border-top: 2px solid var(--brand-accent); border-right: 2px solid var(--brand-accent); transform: rotate(45deg); }
.service-body { flex: 1; padding: 27px 28px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.service-category { margin: 0 0 13px; color: var(--forest); }
.service-card h3 { max-width: 310px; font-size: 20px; }
.service-card .service-body > p:not(.service-category) { margin: 12px 0 22px; color: #475569; font-size: 13px; line-height: 1.8; }
.text-link { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; color: var(--forest); font-size: 11px; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.service-card h3 { max-width: 440px; font-size: 22px; }
.subsidy-note { width: min(var(--content), 100%); margin: 20px auto 0; color: #475569; font-size: 11px; line-height: 1.75; }
.service-callout { width: min(var(--content), 100%); margin: 28px auto 0; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-left: 3px solid var(--brand-accent); background: #e3f8fb; }
.service-callout strong { display: block; font-size: 14px; }
.service-callout p { margin: 3px 0 0; color: #334155; font-size: 12px; }
.social-chip { position: absolute; z-index: 2; right: 9%; bottom: 17%; width: 98px; min-height: 79px; padding: 10px; display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; gap: 5px; border: 1px solid #cad7e8; border-radius: 5px; background: #fff; box-shadow: 0 12px 26px rgb(15 23 42 / 16%); transform: rotate(5deg); transition: transform .35s ease; }
.social-chip span { grid-column: 1 / -1; color: var(--brand-primary); font-family: var(--font-mono); font-size: 7px; }
.social-chip i { aspect-ratio: 1; border-radius: 2px; background: linear-gradient(140deg, #9de5f0, #cad8f1); }
.social-chip i:nth-of-type(2) { background: linear-gradient(140deg, #c5d2ed, #d8f7f8); }
.social-chip i:nth-of-type(3) { background: linear-gradient(140deg, #b2eff5, #d8e1f6); }
.service-card:hover .social-chip { transform: rotate(0) translateY(-3px); }

.process { width: min(calc(var(--content) + 64px), 100%); margin: 0 auto; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(44px, 8vw, 100px); }
.process-intro { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; }
.process-intro > p:not(.eyebrow) { max-width: 360px; margin: 16px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.process h2 { font-size: clamp(36px, 4vw, 48px); }
.process-image { width: 100%; min-height: 230px; margin-top: auto; background: linear-gradient(145deg, rgb(20 45 111 / 35%), rgb(6 182 212 / 15%)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1000&q=82') center / cover no-repeat; }
.steps { display: grid; gap: 14px; }
.step-card { padding: 23px 24px; display: grid; grid-template-columns: 51px 1fr; gap: 18px; background: #f1f5fa; border: 1px solid var(--line); }
.step-number { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: var(--lime); font-family: var(--font-mono); font-size: 12px; }
.step-card h3 { font-size: 16px; }
.step-card p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.75; }

.final-cta { min-height: 430px; position: relative; overflow: hidden; padding: 88px 24px; display: grid; place-items: center; color: var(--white); background: var(--brand-primary); }
.final-cta::before { position: absolute; inset: 0; content: ''; background: linear-gradient(112deg, rgb(10 24 71 / 97%), rgb(30 58 138 / 91%) 58%, rgb(7 83 126 / 84%)), url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=80') center / cover; opacity: .98; }
.cta-content { position: relative; z-index: 1; width: min(680px, 100%); text-align: center; }
.cta-content .eyebrow { justify-content: center; }
.final-cta h2 { font-size: clamp(34px, 4.4vw, 54px); }
.cta-content > p:not(.eyebrow) { max-width: 520px; margin: 18px auto 24px; color: rgb(255 255 255 / 78%); font-size: 12px; line-height: 1.8; }
.cta-stamp { position: absolute; right: max(34px, calc((100% - var(--content)) / 2)); bottom: 28px; z-index: 1; color: rgb(255 255 255 / 23%); font-family: var(--font-mono); font-size: 9px; line-height: 1.5; letter-spacing: .1em; text-align: right; transform: rotate(-8deg); }
.cta-stamp span { color: var(--brand-accent); }

.site-footer { padding: 58px 32px 22px; color: #eaf0ff; background: #111d46; }
.footer-main, .footer-bottom { width: min(var(--content), 100%); margin: 0 auto; }
.footer-main { padding-bottom: 45px; display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 64px; }
.brand-footer { color: var(--white); }
.footer-brand-block > p { max-width: 300px; margin: 17px 0 0; color: #c1cce3; font-size: 12px; line-height: 1.8; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-column h2 { margin: 0 0 7px; color: #6be3f2; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.footer-column a { color: #c1cce3; font-size: 12px; }
.footer-bottom { padding-top: 17px; display: flex; justify-content: space-between; align-items: center; gap: 18px; border-top: 1px solid rgb(255 255 255 / 13%); }
.footer-bottom > p { margin: 0; color: #c1cce3; font-size: 11px; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 19px; }
.legal-links a, .legal-links button { padding: 0; border: 0; color: #c1cce3; background: none; font-size: 11px; cursor: pointer; }

.cookie-notice { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: min(540px, calc(100% - 32px)); padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--white); background: #111d46; border: 1px solid rgb(6 182 212 / 60%); box-shadow: 0 10px 36px rgb(0 0 0 / 22%); }
.cookie-notice[hidden] { display: none; }
.cookie-copy { flex: 1 1 auto; }
.cookie-copy p { margin: 0; font-size: 12px; line-height: 1.7; }
.cookie-copy .cookie-title { margin-bottom: 3px; color: #fff; font-weight: 800; }
.cookie-notice a { color: #6be3f2; text-decoration: underline; }
.cookie-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.button-cookie { min-height: 38px; padding: 0 14px; flex: 0 0 auto; font-size: 10px; }
.button-cookie-reject { color: #fff; border-color: rgb(255 255 255 / 55%); background: transparent; }
.button-cookie-reject:hover { background: rgb(255 255 255 / 10%); }
.button-cookie-accept { color: #082a38; background: var(--brand-accent); }
.button-cookie-accept:hover { background: #71dfeb; }

.contact-page { min-height: 100vh; display: flex; flex-direction: column; }
.contact-header { position: sticky; top: 0; z-index: 50; background: rgb(248 250 252 / 96%); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.contact-header .nav-wrap { min-height: 76px; }
.back-link { color: var(--forest); font-size: 11px; font-weight: 800; }
.contact-main { width: min(1080px, calc(100% - 48px)); margin: auto; padding: 54px 0; flex: 1; display: grid; grid-template-columns: .88fr 1.12fr; background: var(--white); border: 1px solid var(--line); }
.contact-aside { position: relative; min-height: 580px; padding: 45px 38px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: var(--white); background: var(--forest); }
.contact-aside::before { position: absolute; inset: 0; content: ''; background: linear-gradient(155deg, rgb(10 24 71 / 95%), rgb(30 58 138 / 86%)), url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1000&q=80') center / cover; }
.contact-aside > * { position: relative; z-index: 1; }
.contact-aside h1 { max-width: 420px; margin: 0; font-size: clamp(35px, 4vw, 48px); line-height: 1.12; letter-spacing: -.05em; }
.contact-aside .aside-copy { max-width: 390px; margin: 17px 0 0; color: rgb(255 255 255 / 78%); font-size: 12px; line-height: 1.85; }
.contact-email-label { margin: 0 0 7px; color: var(--lime); font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; }
.contact-email { font-size: 13px; font-weight: 700; }
.contact-form { padding: 40px clamp(24px, 5vw, 54px); display: flex; flex-direction: column; gap: 15px; }
.contact-form > p { margin: 0 0 3px; color: var(--muted); font-size: 11px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { color: var(--ink); font-size: 10px; font-weight: 800; }
.field label span { color: #a44c3b; }
.field input, .field select, .field textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #cbd3c7; border-radius: 2px; color: var(--ink); background: #fbfcf9; font-size: 11px; outline: none; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 2px rgb(30 58 138 / 12%); }
.privacy-check { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.privacy-check input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--forest); flex: 0 0 auto; }
.privacy-check a { color: var(--forest); text-decoration: underline; font-weight: 800; }
.form-submit { width: 100%; }
.form-submit:disabled { opacity: .48; cursor: not-allowed; transform: none; }
.form-note, .form-status { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.form-status { min-height: 1.5em; color: var(--forest); font-size: 10px; font-weight: 700; }
.contact-footer { padding: 18px 24px; text-align: center; color: #c1cce3; background: #111d46; font-size: 11px; }
.contact-footer p { margin: 0; }
.contact-footer button { padding: 0; border: 0; color: inherit; background: none; font-size: inherit; text-decoration: underline; cursor: pointer; }
.legal-page { min-height: 100vh; }
.legal-main { width: min(850px, calc(100% - 42px)); margin: 0 auto; padding: 72px 0 100px; }
.legal-main h1 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 54px); line-height: 1.1; letter-spacing: -.05em; }
.legal-main h2 { margin: 36px 0 10px; font-size: 19px; letter-spacing: -.03em; }
.legal-main p, .legal-main li { color: var(--muted); font-size: 13px; line-height: 1.9; }
.legal-main ul { padding-left: 20px; }
.draft-notice { margin: 24px 0 34px; padding: 15px 18px; border-left: 3px solid var(--brand-accent); color: var(--ink); background: #e3f8fb; font-size: 12px; line-height: 1.8; }
.legal-main a { color: var(--forest); text-decoration: underline; }
.legal-footer { padding: 20px 24px; color: #c1cce3; background: #111d46; font-size: 11px; text-align: center; }
.legal-footer a { color: #eaf0ff; text-decoration: underline; }
.legal-footer button { padding: 0; border: 0; color: #eaf0ff; background: none; font-size: inherit; text-decoration: underline; cursor: pointer; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { animation: reveal-enter .65s cubic-bezier(.2,.75,.25,1) both; }
.value-card:nth-child(2), .service-card:nth-child(2), .step-card:nth-child(2) { animation-delay: .08s; }
.value-card:nth-child(3), .step-card:nth-child(3) { animation-delay: .16s; }
.value-card:nth-child(4) { animation-delay: .24s; }
@keyframes reveal-enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes data-flow { 0%, 100% { left: 5%; } 50% { left: 87%; } }

.service-index-hero { min-height: 540px; }
.service-index-hero h1, .service-detail-hero h1 { font-size: clamp(42px, 6vw, 72px); }
.service-index-grid { width: min(var(--content), 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-index-card { padding: 30px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #cfdaea; background: var(--white); box-shadow: 0 10px 28px rgb(30 58 138 / 6%); transition: transform .25s ease, box-shadow .25s ease; }
.service-index-card:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgb(30 58 138 / 12%); }
.service-index-card .service-art { width: calc(100% + 60px); margin: -30px -30px 25px; }
.service-index-card h2 { margin: 9px 0; font-size: 23px; line-height: 1.25; }
.service-index-card p:not(.service-category) { margin: 0 0 20px; color: #475569; font-size: 13px; line-height: 1.8; }
.detail-hero { min-height: 590px; }
.detail-hero .hero-content { width: min(900px, 100%); }
.detail-hero .hero-copy { max-width: 710px; }
.detail-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #b6f4fb; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.detail-hero .hero-actions { margin-top: 26px; }
.detail-intro { width: min(var(--content), 100%); margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 70px; }
.detail-intro h2, .detail-section h2 { margin: 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.16; letter-spacing: -.04em; }
.detail-intro-copy { color: #475569; font-size: 14px; line-height: 1.85; }
.detail-intro-copy p { margin: 0 0 14px; }
.detail-band { padding: 76px 32px; color: var(--white); background: var(--brand-primary); }
.detail-band-inner { width: min(var(--content), 100%); margin: 0 auto; }
.detail-band h2 { max-width: 720px; margin: 0 0 28px; font-size: clamp(30px, 4vw, 45px); line-height: 1.18; }
.detail-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.detail-feature { padding: 21px; border: 1px solid rgb(255 255 255 / 24%); background: rgb(255 255 255 / 7%); }
.detail-feature h3 { margin: 0 0 8px; color: #b6f4fb; font-size: 15px; }
.detail-feature p { margin: 0; color: rgb(255 255 255 / 83%); font-size: 12px; line-height: 1.8; }
.detail-section { width: min(var(--content), 100%); margin: 0 auto; padding: 88px 32px; }
.detail-section-heading { max-width: 640px; margin-bottom: 30px; }
.detail-section-heading > p:last-child { color: #475569; font-size: 13px; line-height: 1.8; }
.detail-list { margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 28px; list-style: none; }
.detail-list li { position: relative; padding: 12px 12px 12px 34px; border-bottom: 1px solid var(--line); color: #334155; font-size: 13px; }
.detail-list li::before { position: absolute; left: 4px; top: 13px; content: '✓'; color: var(--brand-primary); font-weight: 800; }
.detail-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.detail-process article { padding: 20px; background: #eef4fb; border-top: 2px solid var(--brand-accent); }
.detail-process span { color: var(--brand-primary); font-family: var(--font-mono); font-size: 11px; }
.detail-process h3 { margin: 10px 0 6px; font-size: 15px; }
.detail-process p { margin: 0; color: #475569; font-size: 12px; line-height: 1.8; }
.service-faq { width: min(780px, 100%); margin: 0 auto; }
.service-faq details { padding: 17px 0; border-bottom: 1px solid var(--line); }
.service-faq summary { color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; }
.service-faq details p { margin: 10px 0 0; color: #475569; font-size: 12px; line-height: 1.8; }
.detail-cta { padding: 74px 24px; color: var(--white); background: linear-gradient(120deg, #14265f, var(--brand-primary)); text-align: center; }
.detail-cta h2 { margin: 0; font-size: clamp(31px, 4vw, 46px); line-height: 1.15; }
.detail-cta p { max-width: 600px; margin: 14px auto 22px; color: rgb(255 255 255 / 82%); font-size: 13px; line-height: 1.8; }
.detail-cta .button { margin: 0 auto; }
.detail-section-tight { padding-top: 0; }

@media (max-width: 900px) {
    .nav-wrap { width: calc(100% - 40px); min-height: 76px; gap: 16px; }
    .nav-links { gap: 16px; margin-right: 2px; }
    .nav-links a { font-size: 10px; }
    .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .value-card:nth-child(3) { border-left: 1px solid var(--line); }
    .value-card:nth-child(n+3) { border-top: 1px solid var(--line); }
    .service-grid { gap: 12px; }
    .service-body { padding: 20px 18px 22px; }
    .service-art { min-height: 190px; }
    .service-card h3 { font-size: 17px; }
    .process { grid-template-columns: .8fr 1.2fr; gap: 34px; }
    .process-image { min-height: 190px; }
}
@media (max-width: 680px) {
    html { scroll-padding-top: 68px; }
    .nav-wrap { width: calc(100% - 36px); min-height: 68px; flex-wrap: wrap; gap: 9px; }
    .brand { font-size: 22px; }
    .brand-mark { width: 32px; height: 32px; flex-basis: 32px; transform: scale(.92); transform-origin: left center; margin-right: -3px; }
    .nav-links { display: none; position: absolute; top: 100%; right: -18px; left: -18px; z-index: 10; margin: 0; padding: 13px 20px 16px; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 20px rgb(15 23 42 / 10%); }
    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
    .nav-links a:last-child { border-bottom: 0; }
    .menu-toggle { width: 40px; height: 39px; padding: 10px; display: flex; flex-direction: column; justify-content: center; gap: 4px; border: 1px solid #cbd6e7; border-radius: 3px; background: var(--white); cursor: pointer; }
    .menu-toggle span { width: 18px; height: 2px; display: block; background: var(--brand-primary); transition: transform .2s ease, opacity .2s ease; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
    .button-small { min-height: 39px; padding: 0 12px; font-size: 10px; }
    .hero { min-height: 720px; min-height: max(720px, 100svh); padding: 110px 21px 82px; background-position: 57% center; }
    .hero h1 { font-size: clamp(40px, 11vw, 60px); }
    .hero-copy { margin: 20px auto 26px; font-size: 13px; }
    .hero-actions { flex-direction: column; align-items: stretch; width: min(350px, 100%); margin: 0 auto; }
    .button { min-height: 49px; }
    .hero-index { right: 20px; left: 20px; font-size: 8px; }
    .about { min-height: 570px; padding: 78px 23px; }
    .about h2, .section-heading h2, .process h2, .final-cta h2 { font-size: 39px; }
    .about-copy { font-size: 12px; }
    .about-signoff { font-size: 12px; }
    .section-pad { padding: 76px 20px; }
    .section-heading { margin-bottom: 31px; }
    .section-heading-center { margin-bottom: 32px; }
    .section-heading > p:last-child { font-size: 12px; }
    .value-grid { grid-template-columns: 1fr; }
    .value-card, .value-card:first-child, .value-card:nth-child(3) { min-height: auto; padding: 23px 21px 25px; border: 0; border-top: 1px solid var(--line); }
    .value-card:last-child { border-bottom: 1px solid var(--line); }
    .value-symbol { margin: 21px 0 15px; }
    .value-card h3 { font-size: 16px; }
    .value-card > p:last-child { max-width: 400px; }
    .service-grid { max-width: 440px; grid-template-columns: 1fr; gap: 15px; }
    .service-art { min-height: 205px; }
    .service-body { padding: 23px; }
    .service-card h3 { font-size: 19px; }
    .service-callout { align-items: flex-start; flex-direction: column; gap: 14px; padding: 18px; }
    .service-index-grid { grid-template-columns: 1fr; }
    .service-index-card { padding: 22px; }
    .service-index-card .service-art { width: calc(100% + 44px); margin: -22px -22px 22px; }
    .detail-intro { grid-template-columns: 1fr; gap: 20px; }
    .detail-band { padding: 58px 20px; }
    .detail-feature-grid, .detail-process { grid-template-columns: 1fr; }
    .detail-section { padding: 64px 20px; }
    .detail-section-tight { padding-top: 0; }
    .detail-list { grid-template-columns: 1fr; gap: 4px; }
    .subsidy-note { margin-top: 16px; font-size: 9px; }
    .process { display: block; }
    .process-intro > p:not(.eyebrow) { margin-bottom: 20px; }
    .process-image { min-height: 200px; margin: 0 0 25px; }
    .steps { gap: 10px; }
    .step-card { padding: 18px 16px; grid-template-columns: 40px 1fr; gap: 13px; }
    .step-number { width: 36px; height: 36px; font-size: 10px; }
    .step-card h3 { font-size: 14px; }
    .step-card p { font-size: 10px; }
    .final-cta { min-height: 430px; padding: 74px 22px 100px; }
    .cta-content > p:not(.eyebrow) { font-size: 11px; }
    .cta-stamp { right: 20px; bottom: 19px; }
    .site-footer { padding: 42px 21px 18px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 30px; }
    .footer-brand-block { grid-column: 1 / -1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
    .legal-links { justify-content: flex-start; gap: 12px 17px; }
    .cookie-notice { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 14px; align-items: stretch; flex-direction: column; gap: 12px; }
    .cookie-copy p { font-size: 10px; }
    .cookie-actions { width: 100%; }
    .button-cookie { min-height: 38px; padding: 0 10px; flex: 1 1 50%; }
    .contact-header .nav-wrap { width: calc(100% - 36px); }
    .contact-main { width: calc(100% - 24px); margin: 16px auto; padding: 0; grid-template-columns: 1fr; }
    .contact-aside { min-height: 330px; padding: 30px 25px; }
    .contact-aside h1 { font-size: 36px; }
    .contact-form { padding: 27px 22px 30px; }
    .form-row { grid-template-columns: 1fr; gap: 15px; }
    .legal-main { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal.is-visible { animation: none; }
}