:root {
    --blue: #17558d;
    --blue-dark: #0c355d;
    --blue-soft: #eaf3fb;
    --ink: #111827;
    --muted: #667085;
    --line: #d9e3ec;
    --white: #ffffff;
    --silver: #f6f8fb;
    --accent: #23a7c7;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

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

.brand img {
    display: block;
    width: 250px;
    max-width: 52vw;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #243447;
    font-size: 15px;
    font-weight: 700;
}

.main-nav a {
    position: relative;
    padding: 8px 0;
}

.main-nav a::after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    content: "";
    background: var(--blue);
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.hero-section {
    padding: 92px 0 78px;
    color: var(--white);
    background:
        linear-gradient(130deg, rgba(12, 53, 93, 0.96), rgba(23, 85, 141, 0.9)),
        radial-gradient(circle at 85% 10%, rgba(35, 167, 199, 0.24), transparent 30%),
        var(--blue-dark);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: center;
    gap: 54px;
}

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

.hero-copy h1,
.section-heading h2,
.split-section h2,
.contact-grid h2 {
    margin: 0;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-copy h1 {
    max-width: 740px;
    font-size: clamp(42px, 7vw, 76px);
}

.hero-text {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

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

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

.btn.primary {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 16px 34px rgba(6, 38, 70, 0.24);
}

.hero-section .btn.primary {
    color: var(--blue-dark);
    background: var(--white);
}

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

.hero-panel {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.metric span {
    display: block;
    font-size: 82px;
    font-weight: 800;
    line-height: 1;
}

.metric p {
    margin: 10px 0 26px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

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

.panel-list p {
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 12px;
    color: rgba(255, 255, 255, 0.86);
}

.section {
    padding: 84px 0;
}

.muted {
    background: var(--silver);
}

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

.section-heading h2,
.split-section h2,
.contact-grid h2 {
    color: var(--blue-dark);
    font-size: clamp(30px, 4vw, 48px);
}

.section-heading p,
.split-section p,
.contact-grid p {
    color: var(--muted);
}

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

.service-card {
    min-height: 260px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 26px;
    background: var(--white);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    border-color: rgba(23, 85, 141, 0.34);
    box-shadow: 0 22px 50px rgba(15, 54, 88, 0.1);
    transform: translateY(-4px);
}

.service-card span {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.service-card h3 {
    margin: 18px 0 12px;
    color: var(--blue-dark);
    font-size: 21px;
    line-height: 1.25;
}

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

.split-section,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 54px;
    align-items: start;
}

.steps {
    display: grid;
    gap: 16px;
}

.steps div {
    border-left: 4px solid var(--blue);
    padding: 2px 0 2px 20px;
}

.steps strong {
    color: var(--blue-dark);
    font-size: 18px;
}

.steps p {
    margin: 6px 0 0;
}

.contact-section {
    background: linear-gradient(180deg, var(--white), var(--blue-soft));
}

.contact-info {
    margin-top: 30px;
}

.contact-info p {
    margin: 8px 0;
}

.contact-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
    background: var(--white);
    box-shadow: 0 24px 60px rgba(15, 54, 88, 0.1);
}

.contact-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--blue-dark);
    font-weight: 800;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(23, 85, 141, 0.16);
    border-color: var(--blue);
}

.alert {
    margin-bottom: 16px;
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 700;
}

.alert.success {
    color: #0f5132;
    background: #dff5e7;
}

.alert.error {
    color: #842029;
    background: #f8d7da;
}

.site-footer {
    color: rgba(255, 255, 255, 0.78);
    background: #071f36;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    padding: 42px 0 28px;
}

.footer-grid img {
    width: 240px;
    max-width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: var(--white);
}

.footer-grid p {
    max-width: 520px;
    margin: 18px 0 0;
}

.footer-links {
    display: grid;
    gap: 10px;
    font-weight: 700;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0 24px;
    font-size: 14px;
}

.copyright p {
    margin: 0;
}

@media (max-width: 900px) {
    .nav-wrap,
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-wrap {
        padding: 14px 0;
    }

    .hero-grid,
    .split-section,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

    .brand img {
        max-width: 84vw;
    }

    .main-nav {
        gap: 14px;
        font-size: 14px;
    }

    .hero-section {
        padding: 62px 0;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

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

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

    .section {
        padding: 62px 0;
    }
}
