:root {
    --ink: #101820;
    --muted: #5c6670;
    --line: #d8e0e6;
    --paper: #ffffff;
    --soft: #f5f8fa;
    --blue: #0e6fb7;
    --blue-dark: #094f84;
    --teal: #047a7a;
    --green: #3d7a41;
    --shadow: 0 18px 46px rgba(16, 24, 32, 0.13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 14px clamp(18px, 4vw, 54px);
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid rgba(216, 224, 230, 0.9);
    backdrop-filter: blur(14px);
}

.main-nav {
    display: flex;
    gap: 22px;
    justify-self: start;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a,
.header-call,
.site-footer a {
    text-decoration: none;
}

.header-call {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 8px;
    color: #fff;
    background: var(--teal);
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
}

.hero {
    position: relative;
    min-height: 88vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 120px clamp(18px, 6vw, 84px) 76px;
    color: #fff;
}

.hero img,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(4, 18, 29, 0.9), rgba(4, 18, 29, 0.66) 43%, rgba(4, 18, 29, 0.12));
}

.hero-content {
    position: relative;
    max-width: 720px;
}

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

.hero .eyebrow {
    color: #8ddce0;
}

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

h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 8px;
    font-size: 21px;
}

.hero-lead {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
}

.btn-primary {
    color: #fff;
    background: var(--blue);
}

.btn-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
}

.quick-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
}

.quick-info div {
    padding: 26px clamp(18px, 4vw, 54px);
    background: #fff;
}

.quick-info span,
.contact-list span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.quick-info strong,
.contact-list strong {
    display: block;
    margin-top: 5px;
    font-size: 18px;
}

.section {
    padding: 86px clamp(18px, 6vw, 84px);
}

.section-light {
    background: var(--soft);
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
    margin-bottom: 34px;
}

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

.service-card {
    min-height: 265px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(16, 24, 32, 0.05);
}

.service-icon {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #fff;
    background: var(--blue-dark);
    font-size: 24px;
}

.service-card p,
.story p,
.process-item p,
.contact-section p {
    color: var(--muted);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 46px;
    align-items: start;
}

.story p {
    max-width: 760px;
    font-size: 17px;
}

.trust-panel {
    padding: 30px;
    border-left: 5px solid var(--green);
    background: #edf7ef;
}

.trust-panel ul {
    display: grid;
    gap: 14px;
    margin: 18px 0 0;
    padding-left: 20px;
}

.references-section {
    color: #fff;
    background: #0f2738;
}

.references-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 36px;
}

.references-head h2 {
    max-width: 760px;
}

.references-head > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
}

.references-section .eyebrow {
    color: #8ddce0;
}

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

.reference-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.reference-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #dbe8ee;
}

.reference-card-body {
    min-height: 148px;
    padding: 20px;
}

.reference-card-body span {
    display: block;
    margin-bottom: 7px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.reference-card-body h3 {
    font-size: 20px;
    line-height: 1.2;
}

.reference-card-body p {
    margin: 0;
    color: var(--muted);
}

.process-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #12344d;
    color: #fff;
}

.process-item {
    padding: 42px clamp(18px, 4vw, 54px);
    background: #12344d;
}

.process-item span {
    display: block;
    margin-bottom: 18px;
    color: #8ddce0;
    font-weight: 900;
}

.process-item p {
    color: rgba(255, 255, 255, 0.76);
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 48px;
    align-items: start;
    background: #f7fafb;
}

.contact-section p {
    max-width: 620px;
    font-size: 18px;
}

.contact-list {
    display: grid;
    gap: 12px;
}

.contact-list a {
    display: block;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(16, 24, 32, 0.05);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 24px clamp(18px, 6vw, 84px);
    color: #dce9ef;
    background: #0f2738;
}

.site-footer a {
    color: #fff;
    font-weight: 800;
}

@media (max-width: 1000px) {
    .site-header {
        grid-template-columns: 1fr;
    }

    .main-nav {
        display: none;
    }

    .header-call {
        width: 100%;
    }

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

    .quick-info,
    .process-band,
    .split-section,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .references-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .section-head {
        display: block;
    }

    .service-card {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .site-header {
        position: absolute;
        grid-template-columns: 1fr;
        padding: 12px 18px;
        background: rgba(255, 255, 255, 0.96);
    }

    .header-call {
        min-height: 58px;
        font-size: 18px;
    }

    .hero {
        min-height: 96vh;
        padding-top: 108px;
    }

    .hero-overlay {
        background: rgba(4, 18, 29, 0.75);
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 30px;
    }

    .hero-lead {
        font-size: 18px;
    }

    .btn,
    .hero-actions {
        width: 100%;
    }

    .section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .service-grid,
    .reference-grid,
    .quick-info,
    .process-band {
        grid-template-columns: 1fr;
    }

    .site-footer {
        display: grid;
    }
}
