:root {
    --navy: #002e5d;
    --navy2: #142b43;
    --gold: #21c4ff;
    --gold-dark: #d99426;
    --ink: #172331;
    --muted: #41454c;
    --line: #dfe5eb;
    --paper: #f5f7f9;
    --white: #fff;
    --radius: 16px;
    --shadow: 0 16px 45px rgba(11, 27, 49, .11)
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    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,
a {
    -webkit-tap-highlight-color: transparent
}

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

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

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

.topline {
    background: #002e5d;
    color: #dbe3eb;
    font-size: .82rem;
    padding: 8px 0
}

.topline .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(11, 27, 49, .08)
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 26px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px
}

.brand-mark {
    width: 43px;
    height: 43px;
    background: var(--navy);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: -1px
}

.brand strong {
    display: block;
    font-size: .88rem;
    line-height: 1.25;
    letter-spacing: .035em;
    color: var(--navy)
}

.brand small {
    display: block;
    color: #687789;
    font-size: .67rem;
    letter-spacing: .12em;
    margin-top: 4px
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-left: auto
}

.nav-item {
    position: relative
}

.nav-link,
.nav-toggle {
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 10px;
    color: #28384a;
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
    border-radius: 8px
}

.nav-link:hover,
.nav-toggle:hover,
.nav-link.active {
    /* color: #737575; */
}

.nav-toggle:after {
    content: "⌄";
    font-size: 1rem;
    margin-top: -13px;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 8px;
    z-index: 10
}

.nav-item.open>.dropdown,
.nav-item:hover>.dropdown,
.nav-item:focus-within>.dropdown {
    display: block
}

.dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: .88rem;
    color: #344356
}

.dropdown a:hover {
    background: var(--paper);
    color: #21c4ff
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 750;
    font-size: .9rem;
    cursor: pointer;
    transition: .2s ease
}

.btn-gold {
    background: var(--gold);
    color: #1b2735
}

.btn-gold:hover {
    background: #ffca68;
    transform: translateY(-2px)
}

.btn-outline {
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
    background: transparent
}

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

.btn-dark {
    background: #21c4ff;
    color: #000000;
}

.btn-dark:hover {
    background: #1a3856
}

.nav-cta {
    white-space: nowrap
}

.menu-button {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 1.3rem
}

.hero-slider {
    position: relative;
    min-height: 650px;
    background: var(--navy);
    overflow: hidden;
    color: #fff
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease;
    display: flex;
    align-items: center
}

.slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    min-height: 650px
}

.slide:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(0 46 93 / 92%) 0%, rgb(0 44 91 / 62%) 48%, rgb(0 46 92 / 38%) 100%);
    z-index: 1
}

.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 90px 0 105px;
    max-width: 760px
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: .17em;
    font-weight: 800;
    font-size: .75rem;
    color: var(--gold);
    margin-bottom: 18px
}

/* .eyebrow:before {
    content: "";
    height: 2px;
    width: 34px;
    background: var(--gold)
} */

h1,
h2,
h3,
h4 {
    line-height: 1.13;
    color: var(--navy);
    margin: 0 0 18px;
    letter-spacing: -.035em
}

h1 {
    font-size: clamp(2.8rem, 5.3vw, 4rem);
    color: #fff;
    max-width: 850px
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3.1rem)
}

h3 {
    font-size: 1.3rem
}

.hero-content p {
    font-size: 1.13rem;
    max-width: 650px;
    color: #dce4ec;
    margin: 0 0 28px
}

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

.slider-controls {
    position: absolute;
    z-index: 4;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 40px));
    display: flex;
    align-items: center;
    gap: 12px
}

.slider-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-radius: 50%;
    cursor: pointer
}

.slider-dots {
    display: flex;
    gap: 8px;
    margin-left: 5px
}

.slider-dot {
    width: 28px;
    height: 4px;
    border: 0;
    border-radius: 8px;
    background: #718090;
    cursor: pointer
}

.slider-dot.active {
    background: var(--gold);
    width: 45px
}

.section {
    padding: 92px 0
}

.section-sm {
    padding: 60px 0
}

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

.section-dark {
    background: var(--navy);
    color: #dbe3eb
}

.section-dark h2,
.section-dark h3 {
    color: #fff
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 38px
}

.section-heading p {
    max-width: 560px;
    color: var(--muted);
    margin: 0
}

.section-dark .section-heading p {
    color: #b8c5d1
}

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

.media-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--navy);
    box-shadow: var(--shadow)
}

.media-frame img {
    width: 100%;
    height: 440px;
    object-fit: cover
}

.media-frame:after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: inherit;
    pointer-events: none
}

.image-caption {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: rgb(0 0 0 / 40%);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em
}

.copy p {
    color: var(--muted)
}

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

.check-list li {
    display: flex;
    gap: 10px;
    font-weight: 650;
    font-size: .92rem
}

.check-list li:before {
    content: "✓";
    color: #b97b16;
    font-weight: 900
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #2d4155;
    border: 1px solid #2d4155;
    border-radius: 16px;
    overflow: hidden
}

.stat {
    background: #002850;
    padding: 28px 24px
}

.stat strong {
    display: block;
    color: var(--gold);
    font-size: 2rem;
    line-height: 1.2
}

.stat span {
    font-size: .84rem;
    color: #d2dbe4
}

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

.service-card,
.project-card,
.feature-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    transition: transform .25s, box-shadow .25s
}

.service-card:hover,
.project-card:hover,
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow)
}

.service-card img,
.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--navy)
}

.card-body {
    padding: 24px
}

.card-body p {
    color: var(--muted);
    font-size: .93rem;
    margin: 0 0 17px
}

.text-link {
    font-size: 15px;
    font-weight: 600;
    color: #21c4ff;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.text-link:after {
    content: "→";
    font-size: 1.1rem
}

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

.feature-card {
    padding: 24px
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: #00295917;
    color: #012f5d;
    border-radius: 12px;
    font-weight: 900;
    font-size: 1.15rem;
    margin-bottom: 18px
}

.feature-card p {
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 0
}

.cta-band {
    background: linear-gradient(110deg, #0b1b31, #1b3855);
    border-radius: 20px;
    padding: 48px 52px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden
}

.cta-band:after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(244, 184, 74, .22);
    border-radius: 50%;
    right: 12%;
    top: -170px
}

.cta-band h2 {
    color: #fff;
    margin-bottom: 10px
}

.cta-band p {
    color: #d1dbe5;
    margin: 0;
    max-width: 650px
}

.cta-band .btn {
    position: relative;
    z-index: 1;
    white-space: nowrap
}

.page-hero {
    background: linear-gradient(90deg, rgb(6 31 56), rgba(5, 17, 31, .62)), url(../images/bjonsson-buildings-6933182.jpg) center / cover;
    color: #fff;
    padding: 82px 0 76px
}

.page-hero h1 {
    font-size: clamp(2.5rem, 4.5vw, 3.1rem);
    max-width: 850px;
    margin-bottom: 16px
}

.page-hero p {
    max-width: 690px;
    color: #d5dfe8;
    font-size: 1.06rem;
    margin: 0
}

.breadcrumbs {
    font-size: .82rem;
    color: #aebbc8;
    margin-bottom: 25px
}

.breadcrumbs a {
    color: var(--gold)
}

.content-narrow {
    max-width: 820px
}

.content-narrow p {
    color: var(--muted)
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 45px;
    align-items: start
}

.service-detail-grid img {
    border-radius: var(--radius);
    width: 100%;
    height: 390px;
    object-fit: cover
}

.scope-list {
    display: grid;
    gap: 12px;
    margin: 22px 0
}

.scope-list div {
    border: 1px solid var(--line);
    padding: 15px 17px;
    border-radius: 10px;
    font-weight: 650
}

.project-meta {
    font-size: 10px;
    color: #21c4ff;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
    margin-bottom: 10px;
}

.gallery-filters {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 28px
}

.filter-btn {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 30px;
    padding: 9px 15px;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 700
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy)
}

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

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--navy);
    cursor: pointer;
    border: 0;
    padding: 0;
    text-align: left
}

.gallery-item img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    transition: transform .4s
}

.gallery-item:hover img {
    transform: scale(1.04)
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 34px 18px 18px;
    color: #fff;
    background: linear-gradient(transparent, rgba(5, 17, 31, .9));
    font-weight: 750
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 9, 17, .94);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 25px
}

.lightbox.open {
    display: flex
}

.lightbox img {
    max-height: 82vh;
    max-width: 90vw;
    border-radius: 10px
}

.lightbox button {
    position: absolute;
    background: transparent;
    border: 1px solid #8d9aa7;
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    cursor: pointer
}

.lightbox-close {
    right: 25px;
    top: 25px
}

.lightbox-prev {
    left: 25px;
    top: 50%
}

.lightbox-next {
    right: 25px;
    top: 50%
}

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

.contact-panel {
    background: var(--navy);
    color: #dce5ed;
    padding: 30px;
    border-radius: var(--radius);
    align-self: start
}

.contact-panel h3 {
    color: #fff;
    font-size: 30px;
}

.contact-line {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    font-size: 18px;
}

.contact-line strong {
    display: block;
    color: #b1b1b1;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.form-card {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 7px
}

.field.full {
    grid-column: 1/-1
}

.field label {
    font-weight: 750;
    font-size: .87rem
}

.field input,
.field select,
.field textarea {
    border: 1px solid #ccd5de;
    border-radius: 8px;
    padding: 12px 13px;
    min-width: 0;
    background: #fff
}

.field textarea {
    min-height: 130px;
    resize: vertical
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 3px solid rgba(244, 184, 74, .25);
    border-color: #d99a2e
}

.form-note {
    font-size: .82rem;
    color: var(--muted)
}

.form-status {
    display: none;
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    background: #eef8ef;
    color: #23622e
}

.form-status.show {
    display: block
}

.site-footer {
    background: #071322;
    color: #c7d1dc;
    padding: 65px 0 20px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 35px
}

.footer-brand {
    color: #fff;
    font-weight: 850;
    letter-spacing: .03em
}

.site-footer p {
    font-size: .88rem;
    color: #aebbc8
}

.site-footer h4 {
    font-size: .9rem;
    color: #fff;
    letter-spacing: .04em
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    font-size: .87rem
}

.footer-links a:hover {
    color: var(--gold)
}

.footer-bottom {
    border-top: 1px solid #243448;
    margin-top: 42px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    font-size: .8rem;
    color: #91a0af
}

.notice {
    background: #f6f6f6;
    border-left: 4px solid #002e5d;
    padding: 15px 18px;
    border-radius: 0 9px 9px 0;
    color: #2d2d2d;
    font-size: 15px;
}

.empty-state {
    padding: 30px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    color: var(--muted)
}

.reveal {
    opacity: 1;
    transform: none
}

@media(prefers-reduced-motion:no-preference) {
    .reveal-ready .reveal {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity .55s, transform .55s
    }

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

:focus-visible {
    outline: 3px solid #d99426;
    outline-offset: 3px
}

@media(max-width:1100px) {
    .nav-wrap {
        gap: 12px
    }

    .brand {
        min-width: 190px
    }

    .main-nav {
        gap: 0
    }

    .nav-link,
    .nav-toggle {
        padding: 12px 7px;
        font-size: .82rem
    }

    .nav-cta {
        padding: 11px 12px
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:900px) {
    .menu-button {
        display: block;
        margin-left: auto
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        padding: 14px 20px 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        align-items: stretch;
        max-height: 75vh;
        overflow: auto
    }

    .main-nav.mobile-open {
        display: flex;
        flex-direction: column
    }

    .nav-item {
        width: 100%
    }

    .nav-link,
    .nav-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 12px
    }

    .dropdown {
        position: static;
        box-shadow: none;
        border-radius: 8px;
        margin: 0 0 8px 12px;
        min-width: 0
    }

    .nav-item:hover>.dropdown {
        display: none
    }

    .nav-item.open>.dropdown {
        display: block
    }

    .nav-cta {
        display: none
    }

    .btn-contact-mobile{
        display: block !important;
    }

    .hero-slider,
    .slide.active {
        min-height: 590px
    }

    .hero-content {
        padding: 75px 0 100px
    }

    .split,
    .service-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .media-frame img {
        height: 360px
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .stats {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .section {
        padding: 70px 0
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 15px
    }

    .cta-band {
        padding: 36px;
        align-items: flex-start;
        flex-direction: column
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:560px) {
    .container {
        width: min(100% - 30px, 1180px)
    }

    .topline .container {
        gap: 4px;
        flex-direction: column
    }

    .nav-wrap {
        min-height: 72px
    }

    .brand {
        min-width: 0
    }

    .brand strong {
        font-size: .75rem
    }

    .brand small {
        font-size: .58rem
    }

    .brand-mark {
        width: 38px;
        height: 38px
    }

    .hero-slider,
    .slide.active {
        min-height: 590px
    }

    .hero-content {
        padding: 60px 0 110px
    }

    h1 {
        font-size: 2.65rem
    }

    .hero-content p {
        font-size: 1rem
    }

    .slider-controls {
        bottom: 22px
    }

    .section {
        padding: 58px 0
    }

    .card-grid,
    .gallery-grid,
    .feature-grid {
        grid-template-columns: 1fr
    }

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

    .stat {
        padding: 20px 16px
    }

    .stat strong {
        font-size: 1.6rem
    }

    .stat span {
        font-size: .78rem
    }

    .check-list {
        grid-template-columns: 1fr
    }

    .media-frame img {
        height: 280px
    }

    .service-card img,
    .project-card img {
        height: 205px
    }

    .gallery-item img {
        height: 250px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px
    }

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

    .field.full {
        grid-column: auto
    }

    .form-card {
        padding: 22px
    }

    .page-hero {
        padding: 62px 0 56px
    }

    .page-hero h1 {
        font-size: 2.6rem
    }

    .cta-band {
        padding: 28px 22px
    }

    .cta-band .btn {
        width: 100%
    }

    .footer-bottom {
        flex-direction: column
    }

    .lightbox-prev {
        left: 8px
    }

    .lightbox-next {
        right: 8px
    }
}

.brand img {
    width: 5rem;
}