:root {
    --bg: #f4f8fc;
    --surface: #ffffff;
    --surface-soft: #eef5fb;
    --ink: #102236;
    --muted: #53657a;
    --line: #d9e5f0;
    --primary: #0a4d8c;
    --primary-strong: #083f72;
    --accent: #f28f2c;
    --success: #1f8b5f;
    --shadow: 0 16px 36px rgba(12, 36, 64, 0.09);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container: min(1160px, 92vw);
    --font-body: "Manrope", sans-serif;
    --font-heading: "Sora", sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: linear-gradient(180deg, #f7fbff 0%, var(--bg) 100%);
    line-height: 1.58;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: var(--primary-strong);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin: 0 0 0.8rem;
    color: #0b1f33;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

img,
iframe {
    max-width: 100%;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.narrow {
    max-width: 780px;
}

.main-shell {
    min-height: 72vh;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: #0d1f32;
    color: #fff;
    padding: 0.65rem 1rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 999;
}

.skip-link:focus {
    left: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 110;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(12, 55, 100, 0.1);
    backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
    box-shadow: 0 8px 20px rgba(10, 34, 58, 0.08);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.95rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.brand-mark {
    inline-size: 42px;
    block-size: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, #0a4d8c, #2f7ebf);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.brand-text {
    display: grid;
    line-height: 1.08;
    min-width: 0;
}

.brand-text strong {
    font-size: 0.94rem;
    color: #0c2440;
    max-width: 32ch;
}

.brand-text small {
    font-size: 0.68rem;
    color: #527192;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 4vw;
    right: 4vw;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow);
    padding: 0.75rem;
    display: grid;
    gap: 0.25rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-nav a {
    color: #122f4e;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.54rem 0.62rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: #eaf3fc;
}

.nav-call {
    margin-top: 0.25rem;
    border: 1px solid #c7def2;
    background: #f4f9ff;
    color: var(--primary);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.64rem 0.85rem;
    min-height: 42px;
}

.nav-call i {
    color: var(--accent);
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 0.46rem;
    border: 1px solid #d2e3f4;
    border-radius: 10px;
    background: #fff;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #133b63;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.44rem;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.82rem 1.3rem;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-solid {
    background: linear-gradient(135deg, #0a4d8c, #1e6bae);
    color: #fff;
    box-shadow: 0 10px 22px rgba(12, 66, 115, 0.24);
}

.btn-solid:hover,
.btn-solid:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, #083f72, #175b96);
}

.btn-ghost {
    border-color: #b8d1e7;
    background: #fff;
    color: var(--primary);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: #92badf;
}

.message-stack {
    padding-top: 0.75rem;
}

.message {
    margin-bottom: 0.45rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
}

.message-success {
    border-color: rgba(26, 130, 89, 0.32);
    background: rgba(31, 139, 95, 0.08);
}

.hero,
.section,
.page-hero {
    padding: 3.3rem 0;
}

.hero-tax {
    padding-top: 4.1rem;
    background: radial-gradient(circle at 10% 15%, #d7e9fb 0%, #f4f9ff 35%, transparent 70%);
}

.hero-grid {
    display: grid;
    gap: 1.2rem;
    align-items: stretch;
}

.hero-copy {
    animation: rise 420ms ease both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.085em;
    font-size: 0.72rem;
    font-weight: 800;
    color: #1a5f98;
    margin-bottom: 0.85rem;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(1.88rem, 4.2vw, 3rem);
    margin-bottom: 0.95rem;
}

.hero-subtext,
.page-hero p {
    max-width: 64ch;
    font-size: 1.02rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
    margin: 1.1rem 0 1.35rem;
}

.stat-row {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-row li {
    border: 1px solid #d5e4f2;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.78rem;
}

.stat-row strong {
    display: block;
    color: #0f2a45;
    font-size: 1rem;
    margin-bottom: 0.24rem;
}

.stat-row span {
    font-size: 0.79rem;
    color: #61758c;
}

.hero-card,
.card,
.panel-card,
.cta-panel,
.office-panel,
.office-map-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 24px rgba(16, 40, 66, 0.05);
    padding: 1.05rem;
}

.hero-card {
    animation: rise 560ms ease both;
}

.lead-form,
.resource-form,
.compact-form {
    display: grid;
    gap: 0.58rem;
}

label {
    display: grid;
    gap: 0.28rem;
    color: #113150;
    font-size: 0.8rem;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    border: 1px solid #d3e2f0;
    border-radius: 9px;
    background: #fff;
    padding: 0.62rem 0.7rem;
}

textarea {
    resize: vertical;
    min-height: 78px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(12, 92, 155, 0.2);
    border-color: #9dc2e2;
}

.section-head {
    margin-bottom: 1.2rem;
}

.section-head h2 {
    font-size: clamp(1.4rem, 2.8vw, 2.16rem);
}

.section-lite {
    background: #edf5fc;
}

.card-grid {
    display: grid;
    gap: 0.9rem;
}

.service-card,
.blog-card,
.resource-card,
.case-home-card {
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover,
.blog-card:hover,
.resource-card:hover,
.case-home-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 26px rgba(15, 44, 74, 0.11);
}

.service-grid-updated .service-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #edf5fc;
    color: var(--primary);
    font-size: 1.02rem;
    margin-bottom: 0.72rem;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.33rem;
    font-weight: 800;
    margin-top: 0.15rem;
}

.inline-link::after {
    content: ">";
}

.benefit-grid {
    display: grid;
    gap: 0.86rem;
}

.benefit-card {
    background: #fff;
    border: 1px solid #d6e5f2;
    border-radius: 14px;
    padding: 0.95rem;
}

.benefit-card i {
    color: var(--accent);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.meta-line {
    color: #5e7389;
    font-size: 0.79rem;
    margin-bottom: 0.62rem;
}

.split-grid {
    display: grid;
    gap: 0.92rem;
}

.section-muted {
    background: linear-gradient(180deg, #edf4fb 0%, #f6f9fd 100%);
}

.case-grid-home {
    display: grid;
    gap: 0.9rem;
}

.compact-office-grid {
    align-items: start;
    gap: 0.8rem;
}

.office-panel h2 {
    margin-bottom: 0.5rem;
}

.office-panel h2 i {
    color: var(--accent);
    margin-right: 0.42rem;
}

.office-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.52rem;
}

.office-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.58rem;
    color: #3f566d;
    font-size: 0.92rem;
}

.office-points i {
    margin-top: 0.14rem;
    color: var(--primary);
}

.office-actions {
    margin: 0.9rem 0 0;
}

.office-map-card {
    padding: 0.35rem;
}

.map-frame {
    border: 1px solid #d0e0ee;
    border-radius: 14px;
    overflow: hidden;
    min-height: 260px;
}

.map-frame iframe {
    width: 100%;
    min-height: 260px;
    border: 0;
}

.compact-map,
.compact-map iframe {
    min-height: 240px;
}

.insights-hero {
    background: linear-gradient(180deg, #f1f8ff 0%, #f9fcff 100%);
}

.trend-grid {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.trend-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trend-chip {
    border: 1px solid #d1e2f1;
    border-radius: 999px;
    background: #fff;
    color: #124269;
    padding: 0.56rem 0.76rem;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.trend-chip .fa-arrow-trend-up {
    color: var(--success);
}

.topic-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.topic-links a {
    border: 1px solid #c9dcef;
    border-radius: 999px;
    padding: 0.4rem 0.74rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #204f78;
    background: #fff;
}

.blog-grid-updated .blog-card h2,
.blog-grid-updated .blog-card h3 {
    font-size: 1.05rem;
}

.faq-list {
    display: grid;
    gap: 0.66rem;
}

.faq-list details {
    border: 1px solid #d3e4f2;
    border-radius: 12px;
    background: #fff;
    padding: 0.78rem 0.88rem;
}

.faq-list summary {
    cursor: pointer;
    color: #17395c;
    font-weight: 800;
    font-size: 0.92rem;
}

.faq-list p {
    margin-top: 0.56rem;
    margin-bottom: 0;
}

.cta-panel {
    background: linear-gradient(145deg, #0d3f70, #145791);
}

.cta-panel,
.cta-panel p,
.cta-panel h2,
.cta-panel address,
.cta-panel a {
    color: #fff;
}

.compact-cta-panel .hero-actions {
    margin-bottom: 0;
}

.check-list {
    margin: 0;
    padding-left: 1.06rem;
    display: grid;
    gap: 0.34rem;
    color: #4d6278;
}

.check-list a {
    color: var(--primary);
}

.pagination {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    font-weight: 700;
}

.tag-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag-list li {
    border-radius: 999px;
    padding: 0.38rem 0.7rem;
    background: #e8f1fb;
    color: #234f76;
    font-size: 0.78rem;
    font-weight: 700;
}

.blog-article .lead {
    font-size: 1.06rem;
    color: #2f4962;
}

.article-content p {
    color: #243b53;
    margin-bottom: 1rem;
}

.site-footer {
    margin-top: 2rem;
    background: #081f35;
    color: #d3e3f1;
    padding: 2.8rem 0 2.1rem;
}

.site-footer h2,
.site-footer h3 {
    color: #fff;
    margin-bottom: 0.9rem;
}

.site-footer p,
.site-footer li,
.site-footer address {
    color: #b9cedf;
    font-style: normal;
}

.site-footer a {
    color: #e6f2ff;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #fff;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.43rem;
}

.footer-grid {
    display: grid;
    gap: 1.3rem;
}

.trust-badges li {
    border-left: 3px solid rgba(242, 143, 44, 0.75);
    padding-left: 0.56rem;
}

.footer-bottom {
    border-top: 1px solid rgba(185, 206, 223, 0.22);
    margin-top: 1.6rem;
    padding-top: 0.92rem;
}

.footer-bottom p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
    color: #c5d8e8;
}

.designer-note {
    margin-top: 0.48rem !important;
    font-size: 0.82rem;
    color: #adc4d7 !important;
}

.designer-note a {
    color: #d9ebfb;
}

.mobile-sticky-cta {
    position: fixed;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.72rem;
    z-index: 95;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #cfdeec;
    border-radius: 999px;
    box-shadow: var(--shadow);
    padding: 0.33rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.33rem;
}

.mobile-sticky-cta .btn {
    padding: 0.73rem 0.72rem;
    font-size: 0.79rem;
}

.legal-copy h2 {
    margin-top: 1.35rem;
}

@media (min-width: 700px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trend-grid,
    .trend-grid-wide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 920px) {
    .site-nav {
        position: static;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        border: 0;
        background: transparent;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 0.1rem;
    }

    .site-nav a {
        padding: 0.48rem 0.72rem;
        border-radius: 999px;
    }

    .nav-call {
        margin-top: 0;
        margin-left: 0.4rem;
        padding-inline: 0.94rem;
    }

    .nav-toggle {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1.14fr 0.86fr;
    }

    .service-grid-updated {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .benefit-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .case-grid-home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .compact-office-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .blog-grid-updated {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.34fr 1fr 1fr 1fr 1.08fr;
    }

    .mobile-sticky-cta {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero,
    .section,
    .page-hero {
        padding: 2.4rem 0;
    }

    .hero-tax {
        padding-top: 3.2rem;
    }

    .hero-card,
    .card,
    .panel-card,
    .cta-panel,
    .office-panel,
    .office-map-card {
        padding: 0.92rem;
    }

    .brand-text strong {
        font-size: 0.82rem;
    }

    .brand-text small {
        font-size: 0.64rem;
    }

    .stat-row {
        grid-template-columns: 1fr;
    }

    .trend-grid,
    .trend-grid-wide {
        grid-template-columns: 1fr;
    }

    input,
    select,
    textarea {
        font-size: 0.9rem;
        padding: 0.58rem 0.66rem;
    }

    .btn {
        min-height: 41px;
    }
}

@media (min-width: 1180px) {
    .hero,
    .section,
    .page-hero {
        padding: 4rem 0;
    }

    .hero-tax {
        padding-top: 4.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
