:root {
    --ink: #13202a;
    --muted: #64717c;
    --line: #dbe3e7;
    --paper: #f6f9fc;
    --white: #ffffff;
    --blue: #1f6feb;
    --blue-dark: #0d1f4d;
    --blue-deep: #08172f;
    --gold: #d5a541;
    --steel: #233544;
    --shadow: 0 24px 70px rgba(18, 32, 42, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

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

.site-header {
    position: fixed;
    z-index: 20;
    top: 16px;
    left: 50%;
    display: flex;
    width: min(1160px, calc(100% - 32px));
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 10px 14px;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(12, 28, 39, 0.76);
    color: var(--white);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 6px;
    background: var(--blue);
    color: var(--white);
    font-size: 12px;
    letter-spacing: 0;
}

.brand-text {
    white-space: nowrap;
    letter-spacing: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    border-radius: 6px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.main-nav .nav-phone {
    background: var(--blue);
    color: var(--white);
    font-weight: 900;
}

.main-nav .nav-phone:hover {
    background: #2f80ff;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px auto;
    background: var(--white);
}

.hero {
    position: relative;
    min-height: 92vh;
    overflow: hidden;
    color: var(--white);
}

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

.hero-media {
    background:
        linear-gradient(90deg, rgba(7, 18, 42, 0.78), rgba(7, 18, 42, 0.2)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=82") center / cover;
    transform: scale(1.02);
}

.hero-overlay {
    background:
        linear-gradient(180deg, rgba(5, 14, 34, 0.16), rgba(5, 14, 34, 0.9)),
        radial-gradient(circle at 18% 80%, rgba(31, 111, 235, 0.28), transparent 34%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 92vh;
    flex-direction: column;
    justify-content: center;
    padding: 128px 0 86px;
}

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(54px, 9vw, 118px);
    line-height: 0.9;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.04;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.2;
}

.hero-lead {
    max-width: 700px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(18px, 2vw, 23px);
}

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

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 13px 20px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 16px 40px rgba(31, 111, 235, 0.3);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.stats-band {
    background: var(--blue-dark);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stats-grid div {
    padding: 30px 26px;
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.stats-grid div:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.stats-grid strong {
    display: block;
    margin-bottom: 6px;
    color: #8ec5ff;
    font-size: 34px;
    line-height: 1;
}

.stats-grid span {
    color: rgba(255, 255, 255, 0.78);
}

.section,
.split-section,
.contact-section {
    padding: 92px 0;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 38px;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.contact-grid p {
    color: var(--muted);
    font-size: 18px;
}

.section-heading.compact {
    max-width: 700px;
}

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

.service-card {
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    min-height: 520px;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 16px 48px rgba(34, 53, 68, 0.07);
}

.service-card.featured {
    background: var(--blue-deep);
    color: var(--white);
    box-shadow: var(--shadow);
}

.service-image {
    width: 100%;
    height: 220px;
    aspect-ratio: 16 / 10;
    margin: 0 0 24px;
    object-fit: cover;
    object-position: center;
}

.card-icon {
    display: inline-flex;
    padding: 0 28px;
    margin-bottom: 24px;
    color: var(--blue);
    font-weight: 900;
}

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

.featured .card-icon,
.featured p,
.featured li {
    color: rgba(255, 255, 255, 0.8);
}

.service-card p {
    color: var(--muted);
}

.service-card ul {
    display: grid;
    align-self: end;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 20px;
    color: var(--muted);
}

.service-card li::before {
    position: absolute;
    left: 0;
    color: var(--gold);
    content: "•";
}

.visual-section {
    padding: 92px 0;
    background: #eaf2ff;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    grid-auto-rows: 260px;
    gap: 16px;
}

.visual-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--blue-deep);
    box-shadow: 0 18px 48px rgba(13, 31, 77, 0.14);
}

.visual-card.large {
    grid-row: span 2;
}

.visual-card.wide {
    grid-column: span 2;
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.visual-card:hover img {
    transform: scale(1.04);
    opacity: 0.68;
}

.visual-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 14, 34, 0.06), rgba(5, 14, 34, 0.82));
    content: "";
}

.visual-card div {
    position: absolute;
    z-index: 1;
    right: 22px;
    bottom: 22px;
    left: 22px;
    color: var(--white);
}

.visual-card span {
    display: block;
    margin-bottom: 8px;
    color: #8ec5ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.visual-card h3 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(22px, 2.3vw, 34px);
}

.split-section {
    background: var(--white);
}

.split-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: center;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.tag-list span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 13px;
    background: #edf5ff;
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 800;
}

.image-panel {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.image-panel img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.muted {
    background: #edf4fb;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.process-item {
    min-height: 250px;
    padding: 26px;
    border-top: 4px solid var(--blue);
    background: var(--white);
}

.process-item span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 36px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-weight: 900;
}

.process-item p {
    color: var(--muted);
}

.contact-section {
    background: var(--blue-dark);
    color: var(--white);
}

.contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
}

.contact-grid p {
    color: rgba(255, 255, 255, 0.76);
}

.contact-details {
    display: grid;
    gap: 10px;
    margin-top: 26px;
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
}

.contact-details a,
.contact-details span {
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 28px;
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 13px 14px;
    color: var(--ink);
    font: inherit;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    outline: 3px solid rgba(31, 111, 235, 0.14);
}

.contact-form .btn {
    width: 100%;
}

.form-note {
    min-height: 22px;
    margin: 0;
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 800;
}

.site-footer {
    background: #09171f;
    color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        display: none;
        width: min(280px, calc(100vw - 32px));
        flex-direction: column;
        align-items: stretch;
        padding: 8px;
        border-radius: 8px;
        background: rgba(12, 28, 39, 0.95);
    }

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

    .main-nav a {
        padding: 13px 14px;
    }

    .service-grid,
    .visual-grid,
    .process-list,
    .split-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .visual-card.large,
    .visual-card.wide {
        grid-row: auto;
        grid-column: auto;
    }

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

    .service-image {
        height: 260px;
    }

    .card-icon {
        margin-bottom: 34px;
    }

    .image-panel img {
        height: 420px;
    }

    .visual-grid {
        grid-auto-rows: 300px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .site-header {
        top: 10px;
        width: calc(100% - 20px);
        min-height: 58px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .hero,
    .hero-content {
        min-height: 88vh;
    }

    .hero-content {
        padding-top: 106px;
    }

    h1 {
        font-size: 56px;
    }

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

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid div,
    .stats-grid div:last-child {
        border-right: 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.13);
        padding: 24px 0;
    }

    .section,
    .split-section,
    .contact-section {
        padding: 68px 0;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .image-panel img {
        height: 300px;
    }

    .service-image {
        height: 220px;
    }

    .visual-section {
        padding: 68px 0;
    }

    .visual-grid {
        grid-auto-rows: 240px;
    }

    .contact-form {
        padding: 20px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}
