:root {
    --navy: #0b1d36;
    --navy-2: #122744;
    --gold: #c18f2c;
    --gold-dark: #9a7020;
    --cream: #f7f3ea;
    --text: #332d2d;
    --muted: #5c5854;
    --white: #ffffff;
    --shadow: 0 12px 40px rgba(11, 29, 54, 0.12);
    --radius: 8px;
    --header-h: 82px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

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

h1, h2, h3, h4 {
    font-family: "Poppins", sans-serif;
    line-height: 1.25;
    margin: 0 0 0.6em;
    color: var(--navy);
}

a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 29, 54, 0.96);
    backdrop-filter: blur(10px);
    height: var(--header-h);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.logo:hover { color: var(--white); }

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong { font-size: 15px; letter-spacing: 0.02em; }
.logo-text em { font-style: normal; font-size: 12px; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; }

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

.nav-link {
    color: #dbe4f0;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 14px;
}

.nav-link:hover,
.nav-link.is-active { color: var(--gold); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 4px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
}

.btn-gold:hover {
    background: #d4a43d;
    color: var(--navy);
}

.btn-dark {
    background: var(--navy);
    color: var(--white);
}

.btn-dark:hover { background: var(--navy-2); color: var(--white); }

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.45);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
    margin: 6px 0;
}

.hero {
    min-height: 780px;
    background:
        linear-gradient(rgba(11, 29, 54, 0.68), rgba(11, 29, 54, 0.45)),
        url("../images/hero.jpg") center / cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 90px 0 140px;
}

.hero-copy { max-width: 760px; }

.eyebrow {
    color: var(--gold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    margin-bottom: 18px;
}

.hero p {
    font-size: 18px;
    max-width: 640px;
    color: #e8edf4;
}

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

.stats {
    margin-top: -72px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: 6px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.stat {
    padding: 28px 22px;
    text-align: center;
    border-right: 1px solid #eee7d8;
}

.stat:last-child { border-right: 0; }

.stat strong {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 28px;
    color: var(--gold);
}

.stat span { color: var(--muted); font-size: 14px; }

.section { padding: 88px 0; }

.section-muted { background: var(--cream); }

.split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.split img,
.card-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
}

.kicker { color: var(--gold); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }

.lead { font-size: 17px; color: var(--muted); }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li {
    position: relative;
    padding: 8px 0 8px 28px;
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 26px;
    border-left: 3px solid var(--gold);
}

.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3vw, 38px); text-transform: uppercase; color: var(--gold-dark); }
.section-head p { color: var(--muted); }

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

.step {
    background: var(--white);
    padding: 26px 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.step-num {
    font-family: "Poppins", sans-serif;
    color: var(--gold);
    font-weight: 800;
    font-size: 22px;
}

.quotes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.quote {
    background: var(--navy);
    color: #e7edf6;
    padding: 32px;
    border-radius: var(--radius);
}

.quote p { margin-top: 0; }
.quote cite { color: var(--gold); font-style: normal; font-weight: 700; }

.cta-band {
    background:
        linear-gradient(rgba(11,29,54,0.78), rgba(11,29,54,0.78)),
        url("../images/work.jpg") center / cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 90px 20px;
}

.cta-band h2 { color: var(--white); font-size: 36px; }
.cta-band p { color: #d5deea; max-width: 640px; margin: 0 auto 24px; }

.page-hero {
    background:
        linear-gradient(rgba(11,29,54,0.7), rgba(11,29,54,0.55)),
        var(--hero-img) center / cover no-repeat;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    padding: 80px 0 56px;
    color: var(--white);
}

.page-hero h1 { color: var(--white); font-size: clamp(34px, 4vw, 52px); margin: 0; }
.page-hero p { color: #e6ecf4; margin: 10px 0 0; max-width: 640px; }

.page-about .page-hero { --hero-img: url("../images/about.jpg"); }
.page-service .page-hero { --hero-img: url("../images/service.jpg"); }
.page-contact .page-hero { --hero-img: url("../images/contact.jpg"); }

.service-list { display: grid; gap: 18px; }
.service-item {
    background: var(--white);
    padding: 26px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.service-item h3 { margin-bottom: 8px; }
.service-item ul { margin: 10px 0 0; color: var(--muted); }

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
}

.info-box {
    background: var(--navy);
    color: #dce5f0;
    padding: 36px 32px;
    border-radius: var(--radius);
}

.info-box h2, .info-box h3 { color: var(--white); }
.info-box a { color: var(--gold); }
.info-row { margin: 18px 0; }
.info-row strong { display: block; color: var(--gold); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

.form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-row { margin-bottom: 16px; }
.form label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; color: var(--navy); }
.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd4c4;
    border-radius: 4px;
    font: inherit;
    background: #fffdf8;
}

.form textarea { min-height: 140px; resize: vertical; }

.alert {
    padding: 12px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.alert-ok { background: #e8f6ec; color: #1e6b38; }
.alert-err { background: #fdecea; color: #9b1c1c; }

.site-footer {
    background: #081526;
    color: #c5d0de;
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 36px;
    padding-bottom: 40px;
}

.footer-blurb { color: #9eacbe; max-width: 360px; }
.site-footer h3 { color: var(--white); font-size: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #c5d0de; }
.site-footer a:hover { color: var(--gold); }
.logo-light { margin-bottom: 16px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
    font-size: 13px;
    color: #8b98aa;
}

.thanks {
    min-height: 50vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 20px;
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 16px 20px 24px;
        align-items: stretch;
    }
    .site-nav.is-open { display: flex; }
    .nav-cta { margin-top: 8px; text-align: center; }
    .stats-grid, .cards, .steps, .quotes, .split, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .stat { border-right: 0; border-bottom: 1px solid #eee7d8; }
    .hero { min-height: 560px; padding-bottom: 100px; }
    .split img { height: 280px; }
}
