:root {
    --navy: #17366f;
    --navy2: #0d234a;
    --gold: #f4b426;
    --white: #fff;
    --soft: #f7f8fa;
    --line: #e6eaf0;
    --text: #161b22;
    --muted: #657080;
    --shadow: 0 18px 50px rgba(13, 35, 74, .12);
    --radius: 8px;
    --container: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: #fff
}

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

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

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

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

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: #fff;
    padding: 10px;
    z-index: 9999
}

.skip-link:focus {
    left: 10px
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    transition: .25s;
    background: linear-gradient(180deg, rgba(8, 23, 51, .75), transparent)
}

.site-header.scrolled,
body:not(.home) .site-header {
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08)
}

.header-inner {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand img {
    width: 100px;
    max-height: 80px;
    object-fit: contain
}

.brand-mark {
    display: block
}

.brand-mark-dark {
    display: none
}

.site-header.scrolled .brand-mark,
body:not(.home) .site-header .brand-mark {
    display: none
}

.site-header.scrolled .brand-mark-dark,
body:not(.home) .site-header .brand-mark-dark {
    display: block
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #fff;
    font-weight: 700;
    font-size: 14px
}

.scrolled .main-nav,
body:not(.home) .main-nav {
    color: var(--text)
}

.main-nav>a:not(.btn),
.nav-dropdown>a {
    position: relative
}

.main-nav>a:not(.btn):after,
.nav-dropdown>a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--gold);
    transition: .2s
}

.main-nav>a:hover:after,
.main-nav>a.active:after,
.nav-dropdown>a:hover:after,
.nav-dropdown>a.active:after {
    right: 0
}

.nav-dropdown {
    position: relative
}

.nav-dropdown>.caret {
    margin-left: 5px;
    font-size: 11px;
    opacity: .85;
    display: inline-block
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 235px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(13, 35, 74, .16);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .2s
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0)
}

.nav-dropdown-menu a {
    color: var(--text) !important;
    font-weight: 600;
    font-size: 13px;
    padding: 9px 12px;
    border-radius: 5px;
    display: block;
    white-space: nowrap
}

.nav-dropdown-menu a:hover {
    background: var(--soft);
    color: var(--navy) !important
}

.nav-dropdown-menu a.nav-dropdown-all {
    color: var(--gold) !important;
    border-top: 1px solid var(--line);
    border-radius: 0;
    margin-top: 4px;
    padding-top: 9px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 12px;
    font-weight: 800
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 6px;
    padding: 14px 21px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 13px;
    transition: .2s
}

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

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

.btn-secondary {
    background: var(--navy);
    color: #fff
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, .7);
    color: #fff
}

.full {
    width: 100%
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    margin: 6px
}

.scrolled .menu-toggle span,
body:not(.home) .menu-toggle span {
    background: var(--navy2)
}

.hero {
    min-height: 92vh;
    display: grid;
    align-items: center;
    position: relative;
    background-image: var(--hero);
    background-size: cover;
    background-position: center
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 20, 46, .9), rgba(7, 28, 61, .65) 55%, rgba(7, 28, 61, .25))
}

.hero-content {
    position: relative;
    color: #fff;
    padding-top: 80px;
    max-width: 1180px
}

.hero-content>* {
    max-width: 780px
}

.hero h1,
.inner-hero h1,
.service-hero h1 {
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.02;
    margin: 16px 0 22px;
    letter-spacing: -.04em
}

.hero h1 span {
    color: var(--gold)
}

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

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

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 900;
    font-size: 12px;
    color: var(--navy);
    display: inline-block
}

.eyebrow.light {
    color: var(--gold)
}

.scroll-cue {
    position: absolute;
    bottom: 30px;
    right: 4%;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .2em;
    writing-mode: vertical-rl
}

.section {
    padding: 96px 0
}

.section-soft {
    background: var(--soft)
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center
}

.reverse>div:first-child {
    order: 1
}

.split h2,
.section-head h2,
.section-title h2,
.why h2,
.contact-panel h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -.03em;
    margin: 12px 0 20px
}

.lead {
    font-size: 20px;
    color: #26344a
}

.image-stack {
    position: relative;
    padding: 0 70px 70px 0
}

.main-img {
    width: 100%;
    aspect-ratio: 4/4.3;
    object-fit: cover;
    box-shadow: var(--shadow)
}

.small-img {
    position: absolute;
    width: 48%;
    right: 0;
    bottom: 0;
    aspect-ratio: 1;
    object-fit: cover;
    border: 8px solid #fff
}

.experience-chip {
    position: absolute;
    left: -20px;
    bottom: 20px;
    background: var(--gold);
    color: var(--navy2);
    padding: 18px 22px;
    box-shadow: var(--shadow)
}

.experience-chip strong,
.experience-chip span {
    display: block
}

.experience-chip strong {
    font-size: 19px
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 22px;
    padding: 0;
    margin: 25px 0 30px;
    list-style: none
}

.check-grid li:before {
    content: "✓";
    color: var(--gold);
    font-weight: 900;
    margin-right: 9px
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 60px;
    margin-bottom: 42px
}

.section-head>div {
    max-width: 700px
}

.section-head>p {
    max-width: 440px;
    color: var(--muted)
}

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

.service-card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 26px rgba(16, 28, 46, .05);
    transition: .25s
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow)
}

.service-image {
    display: block;
    overflow: hidden
}

.service-image img {
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
    transition: .4s
}

.service-card:hover img {
    transform: scale(1.045)
}

.service-card-body {
    padding: 26px;
    position: relative
}

.service-no {
    position: absolute;
    right: 24px;
    top: 25px;
    color: #c7ccd4;
    font-weight: 900
}

.service-card h3,
.service-card .h3 {
    font-size: 22px;
    line-height: 1.2;
    margin: 0 40px 12px 0
}

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

.text-link {
    font-weight: 900;
    color: var(--navy);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em
}

.text-link span {
    color: var(--gold)
}

.center {
    text-align: center
}

.mt-40 {
    margin-top: 40px
}

.why {
    background: var(--navy2);
    color: #fff
}

.why-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center
}

.why p {
    color: #c9d2e2
}

.why-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, .12)
}

.why-items>div {
    padding: 24px 24px 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.why-items span {
    color: var(--gold);
    font-weight: 900;
    font-size: 12px
}

.why-items h3 {
    margin: 6px 0
}

.why-photo img {
    height: 600px;
    width: 100%;
    object-fit: cover
}

.masonry {
    display: grid;
    grid-template-columns: 1.3fr .7fr .8fr;
    grid-auto-rows: 250px;
    gap: 16px
}

.masonry figure {
    margin: 0;
    position: relative;
    overflow: hidden
}

.masonry .wide {
    grid-column: span 2
}

.masonry .tall {
    grid-row: span 2
}

.masonry img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s
}

.masonry figure:hover img {
    transform: scale(1.04)
}

.masonry figcaption {
    position: absolute;
    left: 18px;
    bottom: 16px;
    background: rgba(13, 35, 74, .88);
    color: #fff;
    padding: 8px 12px;
    font-weight: 800
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    margin-top: 45px
}

.process-step {
    background: #fff;
    padding: 36px 28px;
    min-height: 240px
}

.process-step span {
    font-size: 42px;
    color: var(--gold);
    font-weight: 900
}

.process-step h3 {
    font-size: 22px
}

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

.stats {
    background: var(--navy);
    color: #fff;
    padding: 36px 0
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center
}

.stats-grid>div {
    padding: 10px 22px;
    border-right: 1px solid rgba(255, 255, 255, .18)
}

.stats-grid>div:last-child {
    border: 0
}

.stats strong,
.stats span {
    display: block
}

.stats strong {
    font-size: 20px
}

.stats span {
    font-size: 12px;
    color: #c8d2e2;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: 5px
}

.cta-band {
    position: relative;
    padding: 100px 0;
    color: #fff;
    text-align: center;
    background-image: linear-gradient(rgba(5, 18, 42, .78), rgba(5, 18, 42, .78)), var(--cta);
    background-size: cover;
    background-position: center
}

.cta-band .container {
    max-width: 850px
}

.cta-band h2 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.06;
    margin: 14px 0
}

.cta-band p {
    font-size: 18px;
    color: #dbe4f0;
    margin-bottom: 28px
}

.contact-preview-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 30px
}

.contact-details p {
    margin: 0
}

.contact-details b,
.contact-details a,
.contact-details span {
    display: block
}

.contact-details b {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gold)
}

.card-form,
.estimate-form {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 36px
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.card-form label,
.estimate-form label,
.admin-form label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px
}

.card-form input,
.card-form select,
.card-form textarea,
.estimate-form input,
.estimate-form select,
.estimate-form textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid #d8dee8;
    background: #fff;
    border-radius: 5px;
    padding: 13px 14px;
    outline: none
}

.card-form input:focus,
.card-form select:focus,
.card-form textarea:focus,
.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(23, 54, 111, .1)
}

.hp {
    position: absolute !important;
    left: -10000px !important
}

.form-status {
    margin-top: 14px;
    font-weight: 700
}

.form-status.success {
    color: #176b3a
}

.form-status.error {
    color: #a52121
}

.inner-hero,
.service-hero {
    padding: 180px 0 90px;
    background: linear-gradient(120deg, #0d234a, #17366f);
    color: #fff;
    position: relative;
    overflow: hidden
}

.inner-hero:after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -180px;
    top: -260px;
    border: 1px solid rgba(244, 180, 38, .22);
    transform: rotate(45deg)
}

.inner-hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    max-width: 900px
}

.breadcrumb {
    display: flex;
    gap: 10px;
    color: #cdd6e3;
    font-size: 13px
}

.breadcrumb a {
    color: #fff
}

.rounded-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-height: 620px;
    object-fit: cover
}

.quote-box {
    border-left: 4px solid var(--gold);
    background: var(--soft);
    padding: 20px 24px;
    font-size: 20px;
    font-weight: 800;
    margin-top: 28px
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px
}

.value-card {
    border: 1px solid var(--line);
    padding: 26px;
    min-height: 220px;
    border-radius:8px;
}

.value-card span {
    color: var(--gold);
    font-weight: 900
}

.value-card h3 {
    font-size: 22px
}

.light-list li {
    color: #fff
}

.quality-heading {
    font-size: 30px;
    margin-top: 0
}

.quality-bars>div {
    margin: 18px 0
}

.quality-bars b {
    display: block;
    margin-bottom: 8px
}

.quality-bars span {
    display: block;
    height: 8px;
    background: rgba(255, 255, 255, .14)
}

.quality-bars i {
    display: block;
    height: 100%;
    background: var(--gold)
}

.service-hero {
    background-image: linear-gradient(rgba(7, 20, 45, .75), rgba(7, 20, 45, .75)), var(--service);
    background-size: cover;
    background-position: center
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 70px
}

.service-copy h2 {
    font-size: 44px;
    line-height: 1.1
}

.formatted-copy {
    font-size: 17px;
    color: #354256
}

.service-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 36px
}

.service-benefits div {
    background: var(--soft);
    padding: 20px
}

.service-benefits b,
.service-benefits span {
    display: block
}

.service-benefits span {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px
}

.side-card {
    border: 1px solid var(--line);
    padding: 26px;
    margin-bottom: 22px
}

.side-card:first-child {
    background: var(--navy2);
    color: #fff;
    border-color: var(--navy2)
}

.phone-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: var(--gold);
    font-weight: 900
}

.service-list a {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding: 13px 0;
    font-weight: 700
}

.service-list a.active {
    color: var(--navy)
}

.contact-page-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 60px
}

.contact-panel {
    background: var(--navy2);
    color: #fff;
    padding: 42px;
    border-radius: 10px;
}

.contact-panel p {
    color: #ccd5e4
}

.contact-list>div {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .12)
}

.contact-list b,
.contact-list span,
.contact-list a {
    display: block
}

.contact-list b {
    color: var(--gold);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em
}

.optional {
    font-weight: 400;
    color: var(--muted);
    font-size: 11px
}

.error-page {
    padding: 200px 0 120px
}

.error-code {
    font-size: 100px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1
}

.error-page h1 {
    font-size: 46px
}

.site-footer {
    background: #071833;
    color: #d7deea;
    padding-top: 70px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr .9fr 1fr;
    gap: 50px
}

.footer-grid h3 {
    color: #fff;
    font-size: 16px
}

.footer-grid a {
    display: block;
    margin: 9px 0
}

.footer-brand img {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .2))
}

.footer-bottom {
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 20px 0
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px
}

.socials {
    display: flex;
    gap: 16px
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .btn,
    .service-card,
    .service-image img {
        transition: none
    }
}

@media(max-width:980px) {
    .header-inner {
        height: 80px
    }

    .brand img {
        width: 175px
    }

    .menu-toggle {
        display: block;
        z-index: 3
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(390px, 90vw);
        height: 100vh;
        background: #081b3b;
        color: #fff !important;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 120px 34px 40px;
        gap: 8px;
        transition: .3s;
        box-shadow: -20px 0 40px rgba(0, 0, 0, .22)
    }

    .main-nav.open {
        right: 0
    }

    .main-nav>a {
        padding: 13px 0
    }

    .main-nav>a:not(.btn):after,
    .nav-dropdown>a:after {
        bottom: -4px
    }

    .nav-dropdown {
        position: static
    }

    .nav-dropdown>a {
        padding: 13px 0
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: transparent;
        box-shadow: none;
        padding: 0 0 8px;
        display: flex;
        flex-direction: column;
        gap: 2px
    }

    .nav-dropdown-menu a {
        color: #dbe3ef !important;
        padding: 10px 0 10px 16px;
        white-space: normal
    }

    .nav-dropdown-menu a:hover {
        background: rgba(255, 255, 255, .08);
        color: var(--gold) !important
    }

    .nav-dropdown-menu a.nav-dropdown-all {
        border-top-color: rgba(255, 255, 255, .18);
        color: var(--gold) !important;
        padding-left: 0
    }

    .nav-cta {
        margin-top: 15px
    }

    .split,
    .why-grid,
    .contact-preview-grid,
    .contact-page-grid,
    .service-detail-grid {
        grid-template-columns: 1fr
    }

    .section {
        padding: 74px 0
    }

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

    .why-photo img {
        height: 430px
    }

    .value-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .process-grid {
        grid-template-columns: 1fr 1fr
    }

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

    .stats-grid>div:nth-child(2) {
        border-right: 0
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .masonry {
        grid-template-columns: 1fr 1fr
    }

    .masonry .wide {
        grid-column: span 1
    }

    .masonry .tall {
        grid-row: span 1
    }

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

    .section-head {
        display: block
    }

    .section-head>p {
        max-width: 700px
    }

    .reverse>div:first-child {
        order: 0
    }
}

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

    .hero {
        min-height: 86vh
    }

    .hero-content {
        padding-top: 60px
    }

    .hero h1 {
        font-size: 43px
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start
    }

    .section {
        padding: 58px 0
    }

    .split {
        gap: 38px
    }

    .image-stack {
        padding: 0 34px 44px 0
    }

    .experience-chip {
        left: 0
    }

    .service-grid,
    .check-grid,
    .field-row,
    .value-grid,
    .process-grid,
    .stats-grid,
    .footer-grid,
    .contact-details,
    .masonry {
        grid-template-columns: 1fr
    }

    .why-items {
        grid-template-columns: 1fr
    }

    .stats-grid>div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .14)
    }

    .stats-grid>div:last-child {
        border-bottom: 0
    }

    .card-form,
    .estimate-form,
    .contact-panel {
        padding: 24px
    }

    .footer-bottom-inner {
        display: block
    }

    .socials {
        margin-top: 10px
    }

    .inner-hero,
    .service-hero {
        padding: 145px 0 70px
    }

    .service-copy h2 {
        font-size: 34px
    }

    .masonry {
        grid-auto-rows: 220px
    }

    .why-photo img {
        height: 330px
    }
}