﻿:root {
    --home-ink: #142a3d;
    --home-muted: #536576;
    --home-navy: #10283d;
    --home-teal: #147d83;
    --home-teal-dark: #0e666d;
    --home-paper: #ffffff;
    --home-soft: #f2f6f7;
    --home-border: #dce5e9;
    --home-gold: #eabf69;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    background: var(--home-paper);
    color: var(--home-ink);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

.home-page {
    overflow: hidden;
}

.home-container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

header.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.97);
    background-image: none;
    color: var(--home-ink);
    text-align: left;
    border-bottom: 1px solid var(--home-border);
    box-shadow: 0 3px 18px rgba(16, 40, 61, 0.05);
}

.site-header-inner {
    width: min(1200px, calc(100% - 40px));
    min-height: 78px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-header .site-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: var(--home-ink);
    text-decoration: none;
}

    .site-header .site-brand img {
        display: block;
        width: 190px;
        max-height: 56px;
        object-fit: contain;
    }

.site-header nav {
    padding: 0;
    background: transparent;
}

    .site-header nav ul {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 28px;
        margin: 0;
        padding: 0;
        list-style: none;
        text-align: left;
    }

    .site-header nav li {
        display: block;
        margin: 0;
    }

    .site-header nav a {
        color: var(--home-ink);
        font-size: 0.94rem;
        font-weight: 600;
        text-decoration: none;
        transition: color 160ms ease;
    }

        .site-header nav a:hover,
        .site-header nav a:focus-visible {
            color: var(--home-teal);
        }

        .site-header nav a.nav-contact {
            padding: 10px 17px;
            border: 1px solid var(--home-teal);
            border-radius: 5px;
            color: var(--home-teal-dark);
        }

            .site-header nav a.nav-contact:hover,
            .site-header nav a.nav-contact:focus-visible {
                background: var(--home-teal);
                color: #fff;
            }

.home-hero {
    position: relative;
    padding: 88px 0 92px;
    background: radial-gradient(ellipse at 88% 15%, rgba(20, 125, 131, 0.14), transparent 37%), linear-gradient(135deg, #f5f8f9 0%, #ffffff 62%);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    align-items: center;
    gap: clamp(40px, 7vw, 90px);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--home-teal-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.hero-copy h1 {
    max-width: 680px;
    margin: 0;
    color: var(--home-navy);
    font-size: clamp(2.7rem, 5.2vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.06;
}

.hero-description {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--home-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary {
    background: var(--home-teal);
    color: #fff;
}

    .button-primary:hover,
    .button-primary:focus-visible {
        background: var(--home-teal-dark);
        color: #fff;
    }

.button-secondary {
    border-color: #bacbd1;
    background: #fff;
    color: var(--home-ink);
}

    .button-secondary:hover,
    .button-secondary:focus-visible {
        border-color: var(--home-teal);
        color: var(--home-teal-dark);
    }

.hero-note {
    margin: 22px 0 0;
    color: var(--home-muted);
    font-size: 0.9rem;
}

.hero-panel {
    padding: 28px;
    border: 1px solid rgba(220, 229, 233, 0.9);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 60px rgba(16, 40, 61, 0.09);
}

.panel-kicker {
    display: block;
    margin-bottom: 20px;
    color: var(--home-teal-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.panel-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 17px 0;
    border-top: 1px solid var(--home-border);
}

.panel-number,
.card-index {
    color: var(--home-teal);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.panel-item strong {
    display: block;
    color: var(--home-navy);
    font-size: 1rem;
}

.panel-item p {
    margin: 5px 0 0;
    color: var(--home-muted);
    font-size: 0.9rem;
}

.home-section {
    padding: 88px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

    .section-heading h2,
    .about-layout h2,
    .contact-panel h2 {
        margin: 0;
        color: var(--home-navy);
        font-size: clamp(2rem, 3.5vw, 2.8rem);
        font-weight: 700;
        letter-spacing: -0.04em;
        line-height: 1.15;
    }

    .section-heading > p:last-child {
        margin: 15px 0 0;
        color: var(--home-muted);
    }

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.content-card {
    min-height: 210px;
    padding: 24px;
    border: 1px solid var(--home-border);
    border-radius: 7px;
    background: #fff;
}

    .content-card h3,
    .industry-card h3 {
        margin: 22px 0 10px;
        color: var(--home-navy);
        font-size: 1.18rem;
        font-weight: 700;
    }

    .content-card p,
    .industry-card p {
        margin: 0;
        color: var(--home-muted);
        font-size: 0.94rem;
    }

.industries-section {
    background: var(--home-soft);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.industry-card {
    min-height: 200px;
    padding: 25px;
    border: 1px solid var(--home-border);
    border-radius: 7px;
    background: #fff;
}

    .industry-card h3 {
        margin-top: 0;
    }

.industry-featured {
    border-top: 4px solid var(--home-teal);
}

.industry-label {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--home-teal-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.about-section {
    padding: 84px 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: start;
    gap: 70px;
}

.about-copy p {
    margin: 0 0 18px;
    color: var(--home-muted);
    font-size: 1.05rem;
}

.text-link {
    color: var(--home-teal-dark);
    font-weight: 700;
    text-decoration: none;
}

    .text-link:hover,
    .text-link:focus-visible {
        text-decoration: underline;
    }

.contact-section {
    padding: 0 0 76px;
}

.contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: clamp(28px, 5vw, 52px);
    border-radius: 9px;
    background: var(--home-navy);
}

    .contact-panel .eyebrow {
        color: #9fdbd8;
    }

    .contact-panel h2 {
        color: #fff;
    }

    .contact-panel > div > p:last-child {
        margin: 12px 0 0;
        color: #d3e0e7;
    }

.button-light {
    flex: 0 0 auto;
    background: #fff;
    color: var(--home-navy);
}

    .button-light:hover,
    .button-light:focus-visible {
        background: #eaf3f4;
        color: var(--home-navy);
    }

.home-footer {
    padding: 22px 0;
    border-top: 1px solid var(--home-border);
    background: #fff;
    color: var(--home-muted);
    font-size: 0.88rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

    .footer-content a {
        color: var(--home-teal-dark);
        text-decoration: none;
    }

        .footer-content a:hover,
        .footer-content a:focus-visible {
            text-decoration: underline;
        }

@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 650px;
    }

    .capability-grid,
    .industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    html {
        scroll-padding-top: 130px;
    }

    .site-header-inner {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 0;
    }

    .site-header .site-brand img {
        width: 165px;
        max-height: 48px;
    }

    .site-header nav {
        width: 100%;
        overflow-x: auto;
    }

        .site-header nav ul {
            justify-content: flex-start;
            gap: 20px;
            min-width: max-content;
        }

        .site-header nav a {
            font-size: 0.88rem;
        }

            .site-header nav a.nav-contact {
                padding: 7px 11px;
            }

    .home-hero {
        padding: 58px 0 64px;
    }

    .hero-copy h1 {
        font-size: clamp(2.55rem, 12vw, 3.5rem);
    }

    .hero-panel {
        padding: 22px;
    }

    .home-section,
    .about-section {
        padding: 64px 0;
    }

    .capability-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .content-card,
    .industry-card {
        min-height: 0;
    }

    .contact-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
.contact-modal {
    width: min(560px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 10px;
    color: var(--home-ink);
    box-shadow: 0 24px 80px rgba(16, 40, 61, 0.3);
}

    .contact-modal::backdrop {
        background: rgba(10, 28, 43, 0.68);
        backdrop-filter: blur(3px);
    }

.contact-modal-content {
    position: relative;
    padding: clamp(24px, 6vw, 40px);
}

    .contact-modal-content h2 {
        margin: 0 40px 24px 0;
        color: var(--home-navy);
        font-size: clamp(1.7rem, 5vw, 2.2rem);
        line-height: 1.2;
    }

.contact-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--home-soft);
    color: var(--home-ink);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.contact-field {
    display: grid;
    gap: 6px;
    margin-bottom: 17px;
}

    .contact-field label {
        color: var(--home-ink);
        font-size: 0.92rem;
        font-weight: 700;
    }

    .contact-field input,
    .contact-field textarea {
        width: 100%;
        padding: 11px 12px;
        border: 1px solid #bacbd1;
        border-radius: 5px;
        background: #fff;
        color: var(--home-ink);
        font: inherit;
    }

    .contact-field textarea {
        resize: vertical;
    }

        .contact-field input:focus,
        .contact-field textarea:focus {
            border-color: var(--home-teal);
            outline: 3px solid rgba(20, 125, 131, 0.18);
        }

.contact-form-status {
    min-height: 1.5em;
    margin: 0 0 12px;
    font-size: 0.93rem;
}

    .contact-form-status[data-state="success"] {
        color: #176b3a;
    }

    .contact-form-status[data-state="error"] {
        color: #a12828;
    }

.contact-modal #contact-send-button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.contact-panel .button-light {
    border: 0;
    font-family: inherit;
    cursor: pointer;
}