:root {
    --primary-navy: #0b3766;
    --deep-navy: #07274a;
    --primary-teal: #138aa0;
    --bright-cyan: #18b8c7;
    --accent-blue: #2876df;
    --light-cyan: #eaf9fb;
    --soft-background: #f4f8fb;
    --white: #ffffff;
    --text-dark: #10243e;
    --text-muted: #62748a;
    --border-color: #dce8ef;
    --success: #15835d;
    --error: #b42318;
    --header-height: 82px;
    --shadow: 0 16px 42px rgba(7, 39, 74, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; overflow-x: hidden; color: var(--text-dark); background: var(--white); font-family: "Manrope", sans-serif; font-size: 1rem; line-height: 1.75; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--bright-cyan); outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-anchor { scroll-margin-top: var(--header-height); }
.section-soft { background: var(--soft-background); }
.skip-link { position: fixed; z-index: 2000; top: 12px; left: 12px; padding: 10px 16px; transform: translateY(-160%); color: var(--white); background: var(--deep-navy); border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: var(--header-height); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border-color); transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { background: var(--white); box-shadow: 0 8px 28px rgba(7,39,74,.09); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 28px; }
.brand { display: flex; align-items: center; width: 148px; height: 70px; }
.brand img { width: 100%; height: auto; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: 25px; }
.nav-link { position: relative; padding: 8px 0; color: var(--text-muted); font-size: .86rem; font-weight: 600; }
.nav-link::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--primary-teal); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--primary-navy); }
.nav-link.active::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 42px; padding: 10px; border: 1px solid var(--border-color); border-radius: 7px; background: var(--white); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--primary-navy); 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 { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 1px solid var(--accent-blue); border-radius: 7px; color: var(--white); background: var(--accent-blue); font-weight: 700; line-height: 1.3; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--primary-navy); border-color: var(--primary-navy); box-shadow: 0 10px 24px rgba(40,118,223,.2); }
.button-small { min-height: 42px; padding: 9px 16px; font-size: .82rem; }
.button-outline { color: var(--primary-navy); background: transparent; border-color: var(--border-color); }
.button-outline:hover { color: var(--white); }
.button-light { color: var(--deep-navy); background: var(--white); border-color: var(--white); }
.button-ghost { color: var(--white); background: transparent; border-color: rgba(255,255,255,.45); }
.button-group { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero { position: relative; min-height: 760px; padding: 165px 0 96px; background: linear-gradient(118deg, #fff 0%, #f5fafc 62%, #eaf9fb 100%); border-bottom: 1px solid var(--border-color); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 18px; color: var(--primary-teal); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--deep-navy); font-family: "Sora", sans-serif; line-height: 1.18; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(2.55rem, 5.3vw, 4.8rem); letter-spacing: -.045em; }
h2 { margin-bottom: 22px; font-size: clamp(2rem, 3.5vw, 3.25rem); letter-spacing: -.035em; }
h3 { margin-bottom: 16px; font-size: 1.25rem; }
p { margin-top: 0; }
.hero-lead { max-width: 670px; margin-bottom: 0; color: var(--text-muted); font-size: 1.08rem; }
.hero-visual { position: relative; min-height: 455px; display: grid; place-items: center; overflow: hidden; padding: 58px 58px 82px; background: linear-gradient(135deg, var(--white), var(--light-cyan)); border: 1px solid var(--border-color); border-top: 4px solid var(--primary-teal); border-radius: 10px; box-shadow: var(--shadow); }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; background: var(--primary-teal); opacity: .48; }
.hero-visual::before { width: 58%; height: 1px; top: 35px; right: 0; }
.hero-visual::after { width: 1px; height: 45%; left: 35px; bottom: 0; }
.hero-visual img { position: relative; z-index: 2; width: min(94%, 455px); height: auto; filter: drop-shadow(0 12px 20px rgba(7,39,74,.1)); }
.data-grid { position: absolute; inset: 0; opacity: .55; }
.data-grid span { position: absolute; height: 2px; background: var(--primary-teal); opacity: .22; transform-origin: left; }
.data-grid span:nth-child(1) { width: 38%; top: 28%; left: 7%; transform: rotate(12deg); }.data-grid span:nth-child(2) { width: 42%; right: 8%; bottom: 24%; transform: rotate(-18deg); }.data-grid span:nth-child(3) { width: 26%; top: 62%; left: 12%; transform: rotate(-8deg); }.data-grid span:nth-child(4) { width: 22%; top: 19%; right: 8%; transform: rotate(20deg); }
.visual-caption { position: absolute; z-index: 3; right: 25px; bottom: 22px; left: 25px; display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border-color); color: var(--primary-navy); font-size: .65rem; font-weight: 700; letter-spacing: .13em; }

.editorial-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.section-number { margin-bottom: 42px; color: var(--border-color); font-family: "Sora", sans-serif; font-size: 5.5rem; font-weight: 700; line-height: 1; }
.intro-copy { padding-left: 34px; border-left: 3px solid var(--bright-cyan); }
.intro-copy > p { color: var(--text-muted); font-size: 1.08rem; }
blockquote { margin: 36px 0 0; padding: 25px 28px; color: var(--primary-navy); background: var(--soft-background); border: 1px solid var(--border-color); border-radius: 8px; font-family: "Sora", sans-serif; font-size: 1.05rem; }
.section-heading { max-width: 790px; margin-bottom: 54px; }
.section-heading > p:last-child { max-width: 720px; color: var(--text-muted); }
.card-grid { display: grid; gap: 22px; }
.philosophy-grid { grid-template-columns: repeat(3, 1fr); }
.card, .service-card { position: relative; background: var(--white); border: 1px solid var(--border-color); border-radius: 9px; }
.card { padding: 34px 30px; }
.card::before, .service-card::before { content: ""; position: absolute; top: -1px; left: 28px; width: 66px; height: 3px; background: var(--primary-teal); }
.card-number { display: block; margin-bottom: 52px; color: var(--accent-blue); font-family: "Sora", sans-serif; font-size: 1.2rem; font-weight: 700; }
.card p, .service-card > p, .service-card li { color: var(--text-muted); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { padding: 36px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-3px); border-color: var(--primary-teal); box-shadow: var(--shadow); }
.service-top { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.service-top span { color: var(--accent-blue); font-family: "Sora", sans-serif; font-size: 1.5rem; font-weight: 700; }
.service-top p { margin: 0; color: var(--primary-teal); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-align: right; text-transform: uppercase; }
.service-card ul { padding-left: 19px; margin: 25px 0 0; }
.service-card li { padding-left: 7px; margin-bottom: 10px; }
.service-card li::marker { color: var(--primary-teal); }

.section-navy { color: rgba(255,255,255,.76); background: linear-gradient(125deg, var(--deep-navy), var(--primary-navy)); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .eyebrow { color: var(--bright-cyan); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.timeline::before { content: ""; position: absolute; top: 26px; right: 10%; left: 10%; height: 1px; background: rgba(255,255,255,.28); }
.timeline-item { position: relative; padding-right: 25px; }
.timeline-item > span { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 32px; color: var(--deep-navy); background: var(--bright-cyan); border: 4px solid var(--primary-navy); font-family: "Sora", sans-serif; font-weight: 700; }
.timeline-item p { font-size: .92rem; }

.cta { padding: 0 0 112px; background: var(--soft-background); }
.cta-panel { position: relative; top: -1px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 55px; padding: 58px; color: rgba(255,255,255,.78); background: linear-gradient(110deg, var(--primary-teal), var(--accent-blue)); border-radius: 0 0 10px 10px; }
.cta-panel h2 { color: var(--white); }.cta-panel .eyebrow { color: var(--white); }.cta-panel p { margin-bottom: 0; }.cta-panel .button-group { justify-content: flex-end; margin-top: 0; }
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; padding-top: 105px; }
.contact-copy > p { color: var(--text-muted); }
.contact-note { margin-top: 40px; padding: 24px; background: var(--white); border-left: 3px solid var(--primary-teal); }
.contact-note p { margin: 5px 0 0; color: var(--text-muted); }
.form-panel { padding: 38px; background: var(--white); border: 1px solid var(--border-color); border-radius: 10px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: var(--deep-navy); font-size: .88rem; font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 12px 14px; color: var(--text-dark); background: var(--white); border: 1px solid #bdcddd; border-radius: 7px; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field textarea:focus { border-color: var(--accent-blue); outline: 0; box-shadow: 0 0 0 3px rgba(40,118,223,.14); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field textarea { resize: vertical; min-height: 145px; }
.field-help, .field-error { min-height: 1.35em; margin: 4px 0 0; font-size: .78rem; line-height: 1.45; }
.field-help { color: var(--text-muted); }.field-error { color: var(--error); }
.checkbox-field { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.checkbox-field input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--accent-blue); }
.checkbox-field label { margin: 0; font-weight: 500; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-button[disabled] { opacity: .65; cursor: not-allowed; transform: none; }
.flash-message { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 24px; padding: 15px 17px; color: #0d6547; background: #e9f8f2; border: 1px solid #a8ddca; border-radius: 7px; }
.flash-close { padding: 0 4px; border: 0; color: inherit; background: none; font-size: 1.3rem; line-height: 1; cursor: pointer; }

.site-footer { padding: 78px 0 25px; color: rgba(255,255,255,.7); background: var(--deep-navy); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 55px; }
.footer-grid img { width: 210px; height: auto; margin-bottom: 20px; padding: 12px 16px; object-fit: contain; object-position: left center; background: var(--white); border: 1px solid rgba(255,255,255,.22); border-radius: 8px; }
.footer-title { margin-bottom: 20px; color: var(--white); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a, .footer-grid p { display: block; margin-bottom: 9px; font-size: .88rem; }
.footer-grid a:hover { color: var(--bright-cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 55px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .78rem; }
.footer-bottom p { margin: 0; }
.back-to-top { position: fixed; z-index: 900; right: 22px; bottom: 22px; width: 44px; height: 44px; border: 1px solid var(--primary-teal); border-radius: 7px; color: var(--white); background: var(--primary-navy); opacity: 0; visibility: hidden; transform: translateY(12px); cursor: pointer; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: linear-gradient(120deg, var(--white), var(--soft-background)); }
.error-panel { width: min(650px, 100%); padding: 55px; background: var(--white); border: 1px solid var(--border-color); border-top: 4px solid var(--primary-teal); border-radius: 9px; box-shadow: var(--shadow); text-align: center; }
.error-panel img { width: 180px; height: 120px; margin: 0 auto 25px; object-fit: contain; }.error-panel h1 { font-size: clamp(2rem, 5vw, 3.5rem); }.error-panel p:not(.eyebrow) { color: var(--text-muted); }.error-panel .button { margin-top: 18px; }

@media (max-width: 980px) {
    :root { --header-height: 74px; }
    .menu-toggle { display: block; }
    .primary-nav { position: fixed; z-index: 999; top: var(--header-height); right: 0; bottom: 0; width: min(360px, 88vw); display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 28px; background: var(--white); border-left: 1px solid var(--border-color); box-shadow: -14px 20px 35px rgba(7,39,74,.12); transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
    .primary-nav.open { transform: translateX(0); visibility: visible; }
    .nav-link { padding: 12px 4px; }
    .primary-nav .button { margin-top: 10px; }
    .hero { min-height: auto; padding-top: 135px; }
    .hero-grid, .editorial-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
    .hero-visual { min-height: 390px; }
    .philosophy-grid { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
    .timeline::before { display: none; }
    .cta-panel { grid-template-columns: 1fr; }.cta-panel .button-group { justify-content: flex-start; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .container { width: min(100% - 30px, 1160px); }
    .section { padding: 78px 0; }
    .brand { width: 130px; height: 62px; }
    .hero { padding: 120px 0 70px; }
    h1 { font-size: clamp(2.35rem, 12vw, 3.3rem); }
    h2 { font-size: clamp(1.8rem, 9vw, 2.5rem); }
    .hero-grid { gap: 42px; }
    .hero-visual { min-height: 320px; padding: 38px; }
    .hero-visual img { width: 92%; }
    .button-group, .button { width: 100%; }
    .editorial-grid { gap: 25px; }.section-number { margin-bottom: 25px; font-size: 4rem; }.intro-copy { padding-left: 20px; }
    .services-grid, .timeline, .form-row, .footer-grid { grid-template-columns: 1fr; }
    .service-card, .card, .form-panel { padding: 26px 22px; }
    .service-top { align-items: start; flex-direction: column; gap: 7px; }.service-top p { text-align: left; }
    .timeline-item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding-right: 0; }.timeline-item > span { margin-bottom: 0; }
    .cta-panel { padding: 38px 24px; }
    .contact-grid { padding-top: 75px; }
    .footer-bottom { flex-direction: column; }
    .error-panel { padding: 38px 22px; }
}

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

@media print { .site-header, .back-to-top, .button-group { display: none; }.hero { padding-top: 40px; }.reveal { opacity: 1; transform: none; } }
