:root {
    --ink: #17202a;
    --muted: #5f6f7f;
    --line: #d8e1e8;
    --paper: #fbfcfd;
    --soft: #eef4f6;
    --navy: #102a43;
    --teal: #0f766e;
    --coral: #e76f51;
    --gold: #f2b84b;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(16, 42, 67, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

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

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

a {
    color: inherit;
}

.site-header {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(251, 252, 253, 0.92);
    border-bottom: 1px solid rgba(216, 225, 232, 0.78);
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 16px clamp(18px, 4vw, 56px);
    position: sticky;
    right: 0;
    top: 0;
    z-index: 10;
}

.brand {
    align-items: center;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 800;
    gap: 10px;
    text-decoration: none;
}

.brand-mark {
    background: var(--teal);
    border-radius: 8px;
    color: var(--white);
    display: grid;
    height: 36px;
    place-items: center;
    width: 36px;
}

.site-nav {
    align-items: center;
    display: flex;
    gap: clamp(14px, 3vw, 30px);
}

.site-nav a {
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--teal);
}

.hero-section {
    display: grid;
    min-height: calc(100vh - 69px);
    overflow: hidden;
    position: relative;
}

.hero-media {
    background:
        linear-gradient(90deg, rgba(16, 42, 67, 0.92), rgba(16, 42, 67, 0.64), rgba(16, 42, 67, 0.2)),
        url("https://images.pexels.com/photos/3182773/pexels-photo-3182773.jpeg?auto=compress&cs=tinysrgb&w=1800") center / cover;
    inset: 0;
    position: absolute;
}

.hero-content {
    align-self: center;
    color: var(--white);
    max-width: 850px;
    padding: clamp(74px, 11vw, 132px) clamp(20px, 6vw, 84px);
    position: relative;
    z-index: 1;
}

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

.hero-content .eyebrow {
    color: var(--gold);
}

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

h1 {
    font-size: clamp(2.7rem, 7vw, 5.9rem);
    letter-spacing: 0;
    line-height: 0.96;
    margin-bottom: 24px;
    max-width: 900px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    letter-spacing: 0;
    line-height: 1.05;
    margin-bottom: 0;
}

h3 {
    font-size: 1.22rem;
    line-height: 1.25;
    margin-bottom: 10px;
}

.hero-copy {
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.06rem, 2vw, 1.32rem);
    max-width: 690px;
}

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

.button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 800;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    text-decoration: none;
}

.button.primary {
    background: var(--coral);
    color: var(--white);
}

.button.primary:hover {
    background: #d85d42;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.38);
    color: var(--white);
}

.stats {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    max-width: 650px;
}

.stats div {
    border-left: 3px solid var(--gold);
    padding-left: 16px;
}

.stats dt {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    line-height: 1;
}

.stats dd {
    color: rgba(255, 255, 255, 0.74);
    margin: 6px 0 0;
}

.section {
    margin: 0 auto;
    max-width: 1220px;
    padding: clamp(64px, 9vw, 112px) clamp(20px, 4vw, 40px);
}

.split-section {
    display: grid;
    gap: clamp(28px, 7vw, 86px);
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
}

.section-copy {
    color: var(--muted);
    font-size: 1.1rem;
}

.section-heading {
    margin-bottom: 34px;
    max-width: 760px;
}

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

.service-card,
.job-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(16, 42, 67, 0.06);
}

.service-card {
    padding: 24px;
}

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

.card-icon {
    color: var(--teal);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 28px;
}

.muted-section {
    background: var(--soft);
    max-width: none;
}

.muted-section > * {
    margin-left: auto;
    margin-right: auto;
    max-width: 1140px;
}

.job-list {
    display: grid;
    gap: 14px;
}

.job-card {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr auto;
    padding: 24px;
}

.job-meta {
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.text-link {
    color: var(--coral);
    font-weight: 900;
    text-decoration: none;
}

.text-link:hover {
    color: #b84630;
}

.gallery-section {
    display: grid;
    gap: 16px;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    padding-bottom: 0;
}

.gallery-section img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.gallery-section img:first-child {
    aspect-ratio: 16 / 10;
}

.contact-section {
    max-width: none;
}

.contact-panel {
    background: var(--navy);
    border-radius: 8px;
    box-shadow: var(--shadow);
    color: var(--white);
    display: grid;
    gap: clamp(32px, 7vw, 88px);
    grid-template-columns: 0.85fr 1fr;
    margin: 0 auto;
    max-width: 1140px;
    padding: clamp(28px, 6vw, 62px);
}

.contact-panel p {
    color: rgba(255, 255, 255, 0.72);
}

address {
    display: grid;
    font-style: normal;
    gap: 8px;
    margin-top: 28px;
}

address a {
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
}

form {
    display: grid;
    gap: 10px;
}

label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 800;
}

input,
textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    color: var(--white);
    font: inherit;
    padding: 13px 14px;
    width: 100%;
}

input:focus,
textarea:focus {
    border-color: var(--gold);
    outline: none;
}

textarea {
    resize: vertical;
}

form .button {
    margin-top: 10px;
    width: fit-content;
}

.form-status {
    min-height: 24px;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding: 26px 20px;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 960px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .gallery-section {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-section img:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .site-nav {
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 2px;
        width: 100%;
    }

    .site-nav a {
        white-space: nowrap;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-media {
        background:
            linear-gradient(180deg, rgba(16, 42, 67, 0.92), rgba(16, 42, 67, 0.76)),
            url("https://images.pexels.com/photos/3182773/pexels-photo-3182773.jpeg?auto=compress&cs=tinysrgb&w=1100") center / cover;
    }

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

    .stats,
    .card-grid,
    .job-card,
    .gallery-section {
        grid-template-columns: 1fr;
    }

    .job-card {
        align-items: start;
    }
}
