:root {
    --brand: #11437e;
    --brand-strong: #0b315d;
    --brand-deep: #061e3a;
    --brand-ink: #000044;
    --brand-soft: #eaf1f8;
    --sky: #dceafb;
    --text: #152334;
    --muted: #607083;
    --line: #dbe3ec;
    --paper: #ffffff;
    --soft: #f5f8fb;
    --success: #1f6b4f;
    --danger: #9a3434;
    --shadow: 0 24px 70px rgba(7, 36, 68, .12);
    --radius: 22px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 9999; padding: 10px 14px; background: #fff; color: var(--brand); }
.skip-link:focus { left: 10px; }

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(17,67,126,.08);
    backdrop-filter: blur(16px);
    transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 35px rgba(7,36,68,.08); background: rgba(255,255,255,.98); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; width: min(350px, 48vw); }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-weight: 650; font-size: .94rem; color: #324356; transition: color .2s ease; }
.site-nav a:hover { color: var(--brand); }
.site-nav .nav-cta { color: #fff; background: var(--brand); border-radius: 999px; padding: 11px 18px; }
.site-nav .nav-cta:hover { color: #fff; background: var(--brand-strong); }
.nav-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--brand); margin: 5px 0; border-radius: 3px; }

.hero {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    padding: 170px 0 92px;
    background:
        radial-gradient(circle at 82% 18%, rgba(61,132,205,.14), transparent 25%),
        linear-gradient(135deg, #f9fbfe 0%, #ffffff 50%, #eef5fb 100%);
}
.hero-grid { position: absolute; inset: 0; opacity: .34; background-image: linear-gradient(rgba(17,67,126,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(17,67,126,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 80%); }
.hero-wing { position: absolute; width: 760px; height: 180px; border-top: 2px solid rgba(17,67,126,.12); top: 410px; }
.hero-wing-left { right: 50%; transform: rotate(8deg); border-radius: 100% 0 0 0; }
.hero-wing-right { left: 50%; transform: rotate(-8deg); border-radius: 0 100% 0 0; }
.hero-content { position: relative; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); gap: 70px; align-items: center; }
.hero-copy { max-width: 700px; }
.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--brand); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; color: var(--brand-deep); font-size: clamp(3.1rem, 6vw, 5.9rem); line-height: .98; letter-spacing: -.055em; font-weight: 780; }
.hero h1 span { color: var(--brand); }
.hero-copy > p { max-width: 650px; margin: 28px 0 0; color: #506174; font-size: clamp(1.05rem, 1.45vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 35px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 20px; border-radius: 11px; border: 1px solid transparent; text-decoration: none; font-weight: 750; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 28px rgba(17,67,126,.18); }
.button-primary:hover { background: var(--brand-strong); box-shadow: 0 15px 35px rgba(17,67,126,.24); }
.button-secondary { background: #fff; color: var(--brand); border-color: #cbd8e6; }
.button-secondary:hover { border-color: var(--brand); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; color: #6b7b8d; font-size: .88rem; font-weight: 650; }
.hero-meta span { position: relative; padding-left: 15px; }
.hero-meta span::before { content: ''; position: absolute; left: 0; top: .63em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.hero-panel { position: relative; min-height: 470px; padding: 44px; color: #fff; background: linear-gradient(145deg, var(--brand-deep), #0c3768 58%, #174f8f); border-radius: 34px; box-shadow: var(--shadow); overflow: hidden; }
.hero-panel::after { content: ''; position: absolute; width: 280px; height: 280px; right: -80px; bottom: -90px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 46px rgba(255,255,255,.035), 0 0 0 92px rgba(255,255,255,.025); }
.panel-mark { width: 190px; margin-left: auto; opacity: .86; }
.panel-mark img { width: 100%; height: auto; display: block; }
.panel-kicker { margin: 42px 0 8px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .7rem; color: #9fc7ed; }
.panel-title { margin: 0; font-size: clamp(1.55rem, 2.4vw, 2.2rem); line-height: 1.25; font-weight: 720; letter-spacing: -.025em; }
.panel-line { width: 48px; height: 2px; margin: 28px 0 20px; background: #79abe0; }
.panel-note { position: relative; z-index: 2; max-width: 330px; margin: 0; color: #c9d9e9; font-size: .95rem; }

.trust-strip { background: var(--brand-deep); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 26px 28px; border-left: 1px solid rgba(255,255,255,.09); }
.trust-grid > div:last-child { border-right: 1px solid rgba(255,255,255,.09); }
.trust-grid strong { display: block; margin-bottom: 3px; color: #fff; font-size: .93rem; }
.trust-grid span { display: block; color: #aebfd0; font-size: .78rem; line-height: 1.5; }

.section { padding: 110px 0; }
.section-heading { max-width: 800px; margin-bottom: 48px; }
.section-heading-narrow { max-width: 650px; }
.section-heading h2, .about-copy h2, .contact-copy h2 { margin: 0; color: var(--brand-deep); font-size: clamp(2.35rem, 4vw, 4.25rem); line-height: 1.03; letter-spacing: -.045em; }
.section-heading p { margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-card { position: relative; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.service-card:hover { transform: translateY(-3px); border-color: #b8cade; box-shadow: 0 18px 50px rgba(7,36,68,.08); }
.service-card-wide { grid-column: 1 / -1; background: linear-gradient(135deg, #f8fbfe, #eef4fa); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--brand-soft); color: var(--brand); }
.service-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-number { position: absolute; top: 26px; right: 30px; margin: 0; color: #c6d5e5; font-weight: 850; letter-spacing: .08em; }
.service-card h3 { margin: 25px 0 10px; color: var(--brand-deep); font-size: 1.48rem; letter-spacing: -.02em; }
.service-card > p:not(.service-number) { margin: 0 0 20px; color: var(--muted); }
.service-card ul { list-style: none; padding: 0; margin: 0; }
.service-card li { position: relative; padding: 8px 0 8px 19px; border-top: 1px solid #edf1f5; color: #34475a; font-size: .94rem; }
.service-card li::before { content: ''; position: absolute; left: 1px; top: 1.18rem; width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }
.wide-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; }

.section-dark { background: var(--brand-deep); color: #fff; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.eyebrow-light { color: #8ebbe8; }
.about-copy h2 { color: #fff; }
.about-copy p { color: #bdccdb; font-size: 1.03rem; }
.about-copy p:first-of-type { margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 15px; color: var(--brand); font-weight: 750; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link-light { color: #a8cff4; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { min-height: 160px; padding: 25px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius: 18px; display: flex; flex-direction: column; justify-content: flex-end; }
.fact-large { grid-column: 1 / -1; min-height: 225px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); }
.fact-value { color: #fff; font-size: clamp(1.45rem, 2.8vw, 3.6rem); line-height: 1; letter-spacing: -.04em; font-weight: 780; }
.fact-label { margin-top: 10px; color: #aebfd0; font-size: .86rem; }

.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.approach-step { padding: 32px 28px 10px 0; border-top: 2px solid #d5e0eb; }
.approach-step > span { color: var(--brand); font-size: .74rem; letter-spacing: .12em; font-weight: 850; }
.approach-step h3 { margin: 15px 0 10px; color: var(--brand-deep); font-size: 1.28rem; }
.approach-step p { margin: 0; color: var(--muted); }

.contact-section { padding: 110px 0; background: linear-gradient(135deg, #edf4fb, #f9fbfd); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.contact-copy p { margin: 22px 0 0; color: var(--muted); font-size: 1.05rem; }
.contact-details { margin-top: 38px; display: grid; gap: 14px; }
.contact-details > * { display: block; padding: 18px 0; border-top: 1px solid #cfdae6; text-decoration: none; }
.contact-label { display: block; margin-bottom: 4px; color: var(--brand); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 850; }
.contact-details strong { color: var(--brand-deep); font-size: 1rem; }
.contact-card { padding: 34px; background: #fff; border: 1px solid #dae4ee; border-radius: 24px; box-shadow: 0 20px 60px rgba(11,49,93,.09); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 17px; }
.field label { display: block; margin: 0 0 7px; color: #37495b; font-size: .84rem; font-weight: 750; }
.field label span { color: var(--brand); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #cdd9e5; border-radius: 10px; background: #fff; color: var(--text); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field input, .field select { min-height: 48px; padding: 0 13px; }
.field textarea { padding: 12px 13px; resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(17,67,126,.1); }
.consent { display: grid; grid-template-columns: 19px 1fr; gap: 9px; align-items: start; margin: 2px 0 20px; color: #667789; font-size: .8rem; }
.consent input { margin: 3px 0 0; accent-color: var(--brand); }
.consent a { color: var(--brand); }
.button-submit { width: 100%; border: 0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 13px 15px; margin-bottom: 20px; border-radius: 9px; font-size: .88rem; }
.form-alert.success { background: #e8f5ee; color: var(--success); border: 1px solid #bfdfcf; }
.form-alert.error { background: #faeeee; color: var(--danger); border: 1px solid #eacaca; }

.site-footer { padding: 52px 0 38px; color: #aebfd0; background: #04172d; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 35px; align-items: end; }
.footer-brand img { width: 300px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { max-width: 500px; margin: 16px 0 0; font-size: .84rem; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #d3deea; text-decoration: none; font-size: .85rem; }
.copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); margin: 5px 0 0; font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { transition-duration: .01ms !important; }
}

.legal-page { background: #f6f9fc; }
.site-header.compact { position: static; }
.legal-main { padding: 72px 0 100px; }
.legal-wrap { max-width: 820px; }
.legal-wrap h1 { margin: 0 0 15px; color: var(--brand-deep); font-size: clamp(2.6rem, 5vw, 4.5rem); letter-spacing: -.045em; line-height: 1; }
.legal-intro { color: var(--muted); font-size: 1.12rem; }
.legal-wrap h2 { margin: 35px 0 8px; color: var(--brand-deep); font-size: 1.25rem; }
.legal-wrap p { color: #546679; }
.legal-wrap .button { margin-top: 26px; }

@media (max-width: 940px) {
    .brand { width: 280px; }
    .nav-toggle { display: block; }
    .site-nav { position: absolute; top: 100%; left: 20px; right: 20px; display: none; padding: 18px; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; border: 1px solid #d9e2eb; border-radius: 15px; box-shadow: 0 18px 45px rgba(7,36,68,.12); }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 10px 12px; }
    .site-nav .nav-cta { text-align: center; margin-top: 5px; }
    .legal-nav { position: static; display: flex; flex-direction: row; padding: 0; border: 0; box-shadow: none; background: transparent; }
    .hero { padding-top: 145px; min-height: auto; }
    .hero-content, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
    .hero-panel { min-height: 370px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid > div:nth-child(3) { border-top: 1px solid rgba(255,255,255,.09); }
    .trust-grid > div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.09); }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .nav-wrap { min-height: 74px; }
    .brand { width: 220px; }
    .hero { padding: 120px 0 70px; }
    .hero h1 { font-size: clamp(2.7rem, 15vw, 4.3rem); }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .button { width: 100%; }
    .hero-panel { min-height: 330px; padding: 30px; }
    .panel-mark { width: 150px; }
    .section, .contact-section { padding: 78px 0; }
    .trust-grid, .service-grid, .approach-grid, .field-row, .about-facts, .wide-list { grid-template-columns: 1fr; }
    .trust-grid > div { border-right: 0 !important; border-left: 0; border-top: 1px solid rgba(255,255,255,.09); }
    .trust-grid > div:first-child { border-top: 0; }
    .service-card-wide { grid-column: auto; }
    .fact-large { grid-column: auto; }
    .contact-card { padding: 22px; }
    .footer-grid { grid-template-columns: 1fr; align-items: start; }
    .footer-links { justify-content: flex-start; }
    .copyright { grid-column: auto; }
}

/* Specialist compliance and service landing pages */
.specialist-section { background: #f7fafe; border-top: 1px solid #e6edf4; }
.specialist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.specialist-card { display: flex; flex-direction: column; min-height: 330px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 45px rgba(7,36,68,.045); }
.specialist-tag { display: inline-flex; align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.specialist-card h3 { margin: 24px 0 12px; color: var(--brand-deep); font-size: 1.48rem; line-height: 1.18; letter-spacing: -.025em; }
.specialist-card p { margin: 0; color: var(--muted); }
.specialist-card .text-link { margin-top: auto; padding-top: 28px; }

.detail-hero { position: relative; overflow: hidden; padding: 165px 0 90px; background: linear-gradient(135deg, #f9fbfe 0%, #ffffff 52%, #edf5fb 100%); }
.detail-hero::after { content: ''; position: absolute; width: 500px; height: 500px; right: -180px; top: 40px; border: 1px solid rgba(17,67,126,.10); border-radius: 50%; box-shadow: 0 0 0 70px rgba(17,67,126,.025), 0 0 0 140px rgba(17,67,126,.018); }
.detail-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 70px; align-items: center; }
.detail-hero h1 { margin: 0; max-width: 790px; color: var(--brand-deep); font-size: clamp(3rem, 5.8vw, 5.6rem); line-height: .98; letter-spacing: -.055em; }
.detail-hero .lead { max-width: 760px; margin: 28px 0 0; color: #506174; font-size: clamp(1.08rem, 1.5vw, 1.25rem); }
.detail-hero-card { padding: 34px; border-radius: 28px; color: #fff; background: linear-gradient(145deg, var(--brand-deep), #0c3768 58%, #174f8f); box-shadow: var(--shadow); }
.detail-hero-card h2 { margin: 0 0 18px; font-size: 1.16rem; letter-spacing: -.01em; }
.detail-hero-card ul { list-style: none; padding: 0; margin: 0; }
.detail-hero-card li { position: relative; padding: 11px 0 11px 19px; border-top: 1px solid rgba(255,255,255,.11); color: #d4e0ec; font-size: .92rem; }
.detail-hero-card li::before { content: ''; position: absolute; left: 1px; top: 1.25rem; width: 6px; height: 6px; border-radius: 50%; background: #8ebbe8; }
.detail-section { padding: 95px 0; }
.detail-section-soft { background: #f6f9fc; }
.detail-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 75px; align-items: start; }
.detail-heading h2 { margin: 0; color: var(--brand-deep); font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.04; letter-spacing: -.045em; }
.detail-heading p { color: var(--muted); font-size: 1.03rem; }
.detail-content h3 { margin: 0 0 10px; color: var(--brand-deep); font-size: 1.22rem; }
.detail-content p { margin: 0 0 28px; color: var(--muted); }
.detail-list { list-style: none; padding: 0; margin: 0; }
.detail-list li { position: relative; padding: 14px 0 14px 24px; border-top: 1px solid #e1e8ef; color: #34475a; }
.detail-list li::before { content: ''; position: absolute; left: 2px; top: 1.35rem; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.scope-card { padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.scope-card h3 { margin: 0 0 10px; color: var(--brand-deep); font-size: 1.12rem; }
.scope-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.detail-cta { padding: 70px 0; color: #fff; background: var(--brand-deep); }
.detail-cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.detail-cta h2 { margin: 0; max-width: 720px; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.03; letter-spacing: -.04em; }
.detail-cta p { max-width: 680px; margin: 16px 0 0; color: #b9cadb; }
.detail-cta .button-secondary { flex: 0 0 auto; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: #708195; font-size: .82rem; font-weight: 650; }
.breadcrumb a { color: var(--brand); text-decoration: none; }

@media (max-width: 940px) {
    .specialist-grid { grid-template-columns: 1fr; }
    .specialist-card { min-height: 0; }
    .detail-hero-grid, .detail-layout { grid-template-columns: 1fr; gap: 42px; }
    .detail-hero { padding-top: 135px; }
    .detail-hero-card { max-width: 620px; }
}

@media (max-width: 680px) {
    .scope-grid { grid-template-columns: 1fr; }
    .detail-hero { padding: 112px 0 65px; }
    .detail-section { padding: 72px 0; }
    .detail-cta-grid { align-items: stretch; flex-direction: column; }
    .detail-cta .button { width: 100%; }
}
