:root {
    --ink: #13213a;
    --muted: #5d6b82;
    --line: #dfe6ee;
    --paper: #ffffff;
    --soft: #f4f7fb;
    --blue: #0d64c6;
    --teal: #0f8b8d;
    --green: #1f7a5a;
    --gold: #c28a21;
    --shadow: 0 18px 50px rgba(19, 33, 58, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: var(--soft);
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 14px clamp(20px, 5vw, 72px);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 255, 0.94)),
        radial-gradient(circle at 78% 0%, rgba(15, 139, 141, 0.16), transparent 34%);
    border-bottom: 1px solid rgba(13, 100, 198, 0.12);
    box-shadow: 0 10px 30px rgba(19, 33, 58, 0.08);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.22s ease;
}

.brand:hover {
    transform: translateY(-1px);
}

.brand-logo {
    display: block;
    width: 132px;
    height: auto;
    object-fit: contain;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1.18rem;
    letter-spacing: 0;
}

.brand small {
    color: var(--muted);
    font-size: 0.78rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(223, 230, 238, 0.78);
    border-radius: 8px;
}

.site-nav a {
    position: relative;
    overflow: hidden;
    padding: 10px 13px;
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.site-nav a::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(13, 100, 198, 0.12), rgba(15, 139, 141, 0.14));
    opacity: 0;
    content: "";
    transition: opacity 0.22s ease;
}

.site-nav a::after {
    position: absolute;
    right: 13px;
    bottom: 6px;
    left: 13px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--teal), var(--gold));
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left;
    content: "";
    transition: transform 0.24s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--blue);
    background: rgba(233, 242, 255, 0.72);
    transform: translateY(-1px);
}

.site-nav a:hover::before,
.site-nav a.active::before {
    opacity: 1;
}

.site-nav a:hover::after,
.site-nav a.active::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: linear-gradient(135deg, #ffffff, #edf7ff);
    border: 1px solid rgba(13, 100, 198, 0.18);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(19, 33, 58, 0.1);
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: linear-gradient(90deg, var(--blue), var(--teal));
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero,
.page-hero,
.section,
.split-section,
.quote-band,
.contact-layout {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 34px;
    align-items: stretch;
    padding: clamp(52px, 8vw, 96px) 0 54px;
}

.hero-content {
    padding: clamp(28px, 5vw, 52px);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(13, 100, 198, 0.94), rgba(15, 139, 141, 0.88)),
        url("../media/head-1.jpg") center/cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero .eyebrow,
.quote-band .eyebrow {
    color: #dff8ff;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.12;
    letter-spacing: 0;
}

h1 {
    max-width: 760px;
    font-size: clamp(2.25rem, 6vw, 4.8rem);
}

h2 {
    font-size: clamp(1.9rem, 4vw, 3.1rem);
}

h3 {
    font-size: 1.25rem;
}

.hero-text {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: var(--ink);
    background: #fff;
}

.button.secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.48);
}

.button.light {
    color: var(--blue);
    background: #fff;
}

.hero-panel {
    display: grid;
    gap: 14px;
}

.hero-panel div {
    min-height: 142px;
    padding: 26px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 6px solid var(--teal);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(19, 33, 58, 0.08);
}

.hero-panel div:nth-child(2) {
    border-left-color: var(--green);
}

.hero-panel div:nth-child(3) {
    border-left-color: var(--gold);
}

.hero-panel span {
    display: block;
    color: var(--blue);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
}

.hero-panel p {
    margin: 14px 0 0;
    color: var(--muted);
}

.section {
    padding: 64px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.65fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 30px;
}

.section-heading p:last-child {
    color: var(--muted);
    font-size: 1.03rem;
}

.section-heading.compact {
    display: block;
    max-width: 740px;
}

.services-grid,
.insights-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-card,
.insight-card,
.contact-card,
.map-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(19, 33, 58, 0.08);
}

.service-card {
    overflow: hidden;
}

.service-card > img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.service-card .card-icon,
.service-card h3,
.service-card p,
.service-card ul {
    margin-left: 24px;
    margin-right: 24px;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-top: 24px;
    margin-bottom: 18px;
    color: #fff;
    font-weight: 800;
    background: var(--blue);
    border-radius: 8px;
}

.service-card:nth-child(2) .card-icon {
    background: var(--teal);
}

.service-card:nth-child(3) .card-icon {
    background: var(--green);
}

.service-card:nth-child(4) .card-icon {
    background: var(--gold);
}

.service-card p,
.insight-card p,
.content-block p,
.page-hero p {
    color: var(--muted);
}

.service-card ul {
    margin-top: 18px;
    margin-bottom: 24px;
    padding: 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding: 9px 0 9px 24px;
    color: #314059;
    border-top: 1px solid #eef2f6;
}

.service-card li::before {
    position: absolute;
    left: 0;
    color: var(--teal);
    content: "✓";
    font-weight: 800;
}

.split-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: stretch;
    padding: 64px 0;
}

.visual-block,
.quote-band {
    color: #fff;
    background: linear-gradient(135deg, #13213a, #0d64c6 58%, #0f8b8d);
    border-radius: 8px;
}

.visual-block {
    position: relative;
    display: flex;
    min-height: 420px;
    padding: 34px;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-end;
}

.visual-block::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19, 33, 58, 0.12), rgba(19, 33, 58, 0.86));
    content: "";
}

.visual-block img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-block p {
    position: relative;
    margin: 0 0 16px;
    color: #dff8ff;
    font-weight: 800;
}

.visual-block strong {
    position: relative;
    max-width: 420px;
    font-size: clamp(1.7rem, 4vw, 3rem);
    line-height: 1.08;
}

.content-block {
    padding: clamp(18px, 3vw, 34px);
}

.document-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.document-links a,
.insight-card a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: none;
}

.document-links a {
    padding: 10px 14px;
    background: #e9f2ff;
    border-radius: 8px;
}

.quote-band {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    margin-bottom: 24px;
    padding: clamp(28px, 5vw, 46px);
}

.quote-band p {
    max-width: 860px;
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.18;
}

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

.insight-card {
    padding: 22px;
}

.insight-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin: -4px 0 18px;
    object-fit: cover;
    border-radius: 8px;
}

.visuals-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.visuals-grid figure {
    display: grid;
    align-content: space-between;
    min-height: 180px;
    margin: 0;
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.visuals-grid img {
    display: block;
    width: 100%;
    max-height: 130px;
    object-fit: contain;
}

.visuals-grid figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.page-hero {
    padding: clamp(54px, 7vw, 86px) 0 36px;
}

.page-hero p {
    max-width: 760px;
    font-size: 1.08rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
    padding: 22px 0 72px;
}

.article-index,
.article-list {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.article-index {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 0 0 34px;
}

.article-index a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.article-index img {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
}

.article-list {
    display: grid;
    gap: 28px;
    padding-bottom: 72px;
}

.article-block {
    display: grid;
    grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(19, 33, 58, 0.08);
    scroll-margin-top: 108px;
}

.article-block > img {
    position: sticky;
    top: 104px;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.article-body {
    max-width: 760px;
}

.article-body h2 {
    margin-bottom: 18px;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.article-body p,
.article-body li {
    color: #314059;
}

.article-body a {
    color: var(--blue);
    font-weight: 800;
}

.contact-card {
    padding: 28px;
}

.contact-card dl {
    display: grid;
    gap: 16px;
    margin: 24px 0 0;
}

.contact-card dt {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-card dd {
    margin: 3px 0 0;
    font-weight: 700;
}

.contact-card a {
    color: var(--blue);
    text-decoration: none;
}

.map-card {
    min-height: 460px;
    overflow: hidden;
}

.map-card iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 34px clamp(20px, 5vw, 72px);
    color: #dce7f5;
    background: var(--ink);
}

.footer-logo {
    display: block;
    width: 148px;
    height: auto;
}

.site-footer p {
    max-width: 620px;
    margin: 8px 0 0;
    color: #b9c7d8;
}

.footer-contact {
    display: grid;
    gap: 8px;
    align-content: start;
}

.footer-contact a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 980px) {
    .hero,
    .section-heading,
    .split-section,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .insights-grid,
    .visuals-grid,
    .article-index {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-block {
        grid-template-columns: 1fr;
    }

    .article-block > img {
        position: static;
    }
}

@media (max-width: 720px) {
    .site-header {
        min-height: 70px;
    }

    .brand span {
        display: none;
    }

    .brand-logo {
        width: 118px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 70px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 255, 0.98)),
            radial-gradient(circle at 100% 0%, rgba(15, 139, 141, 0.18), transparent 40%);
        border: 1px solid rgba(13, 100, 198, 0.16);
        border-radius: 8px;
        box-shadow: var(--shadow);
        animation: menuDrop 0.22s ease both;
    }

    .site-nav.open {
        display: flex;
    }

    @keyframes menuDrop {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero,
    .page-hero,
    .section,
    .split-section,
    .quote-band,
    .contact-layout {
        width: min(100% - 28px, 1160px);
    }

    .hero-content {
        padding: 28px;
    }

    h1 {
        font-size: 2.45rem;
    }

    .services-grid,
    .insights-grid,
    .visuals-grid,
    .article-index {
        grid-template-columns: 1fr;
    }

    .quote-band,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
