:root {
    --navy: #06275c;
    --deep-navy: #031b43;
    --blue: #075cff;
    --sky: #2f8cff;
    --ink: #071833;
    --muted: #59677c;
    --line: #dce5f2;
    --soft: #f3f7fc;
}

* {
    letter-spacing: 0;
}

body {
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.topbar {
    background: var(--deep-navy);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    position: relative;
    z-index: 1040;
}

.topbar .container {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.topbar i {
    color: #75aaff;
    margin-right: 6px;
}

.topbar a:hover {
    color: #fff;
}

.site-navbar {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 30px rgba(3, 27, 67, .08);
    margin-top: 34px;
    min-height: 74px;
    transition: all .25s ease;
}

.site-navbar.is-scrolled {
    margin-top: 0;
}

.navbar-brand img {
    max-height: 58px;
    width: auto;
}

.navbar-toggler {
    border: 0;
    color: var(--navy);
    font-size: 24px;
}

.menu {
    align-items: center;
    gap: 2px;
}

.menu li {
    list-style: none;
}

.menu a {
    color: var(--ink);
    display: block;
    font-size: 12px;
    font-weight: 800;
    padding: 10px 10px;
    text-transform: uppercase;
}

.menu a:hover {
    color: var(--blue);
    text-decoration: none;
}

.menu .nav-cta,
.btn-primary {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.menu .nav-cta {
    border-radius: 2px;
    padding: 12px 18px;
}

.btn {
    border-radius: 2px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    padding: 14px 22px;
    text-transform: uppercase;
}

.btn i {
    margin-left: 8px;
}

.btn-outline-primary {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-outline-primary:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.hero-section {
    align-items: center;
    color: #fff;
    display: flex;
    min-height: 720px;
    padding: 170px 0 110px;
    position: relative;
}

.hero-media {
    background-position: center right;
    background-size: cover;
    inset: 0;
    position: absolute;
}

.hero-media::before {
    background: linear-gradient(90deg, rgba(3, 27, 67, .92) 0%, rgba(3, 27, 67, .82) 44%, rgba(3, 27, 67, .28) 72%, rgba(3, 27, 67, .12) 100%);
    content: "";
    inset: 0;
    position: absolute;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-kicker {
    color: var(--blue);
    display: inline-block;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-section .eyebrow,
.cta-section .eyebrow {
    color: #fff;
}

.hero-section h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.02;
    margin-bottom: 24px;
    max-width: 780px;
    text-transform: uppercase;
}

.hero-section p {
    color: rgba(255, 255, 255, .88);
    font-size: 20px;
    margin-bottom: 34px;
    max-width: 680px;
}

.section {
    padding: 95px 0;
}

.error-section {
    padding-top: 180px;
    min-height: 60vh;
}

.section h2 {
    color: var(--ink);
    font-size: 44px;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 22px;
}

.section p {
    color: var(--muted);
}

.section-heading {
    margin: 0 auto 45px;
    max-width: 760px;
    text-align: center;
}

.image-panel {
    background: #fff;
    box-shadow: 0 20px 60px rgba(6, 39, 92, .12);
    overflow: hidden;
}

.image-panel img {
    display: block;
    width: 100%;
}

.metrics-row {
    background: var(--deep-navy);
    color: #fff;
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 34px;
}

.metrics-row div {
    background: var(--navy);
    padding: 22px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.metrics-row strong {
    display: block;
    font-size: 30px;
    line-height: 1;
}

.metrics-row span {
    color: rgba(255, 255, 255, .75);
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-top: 8px;
    text-transform: uppercase;
}

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

.service-card {
    background: #fff;
    border: 1px solid var(--line);
    height: 100%;
    min-height: 270px;
    padding: 34px 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
    box-shadow: 0 18px 45px rgba(6, 39, 92, .1);
    transform: translateY(-4px);
}

.service-card i {
    align-items: center;
    background: var(--navy);
    color: #fff;
    display: flex;
    font-size: 30px;
    height: 64px;
    justify-content: center;
    margin-bottom: 24px;
    width: 64px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    margin-bottom: 0;
}

.benefits-section {
    background: #fff;
}

.benefit-item {
    align-items: center;
    background: var(--soft);
    border-left: 4px solid var(--blue);
    display: flex;
    gap: 16px;
    min-height: 94px;
    padding: 22px;
}

.benefit-item i {
    color: var(--blue);
    font-size: 28px;
    width: 34px;
}

.benefit-item span {
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
}

.tools-section {
    background: #fff;
    overflow: hidden;
    position: relative;
}

.tools-shell {
    position: relative;
    z-index: 1;
}

.tools-section h2 {
    color: var(--navy);
    text-transform: uppercase;
}

.tool-row {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    gap: 16px;
    grid-template-columns: 58px 1fr;
    min-height: 76px;
    padding: 12px 16px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tool-row:hover {
    border-color: rgba(7, 92, 255, .45);
    box-shadow: 0 14px 34px rgba(6, 39, 92, .1);
    transform: translateY(-2px);
}

.tool-mark {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 30px;
    font-weight: 900;
    height: 52px;
    justify-content: center;
    line-height: 1;
    width: 52px;
}

.tool-row strong {
    color: var(--ink);
    display: block;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.tool-row small {
    color: var(--muted);
    display: block;
    font-size: 13px;
    line-height: 1.35;
    margin-top: 4px;
}

.featured-section {
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.featured-project {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 20px 55px rgba(6, 39, 92, .09);
    padding: 28px;
}

.featured-project img {
    width: 100%;
}

.featured-gallery figure {
    margin: 0;
}

.featured-gallery a {
    display: block;
    cursor: zoom-in;
}

.project-lightbox .modal-dialog {
    max-width: 1100px;
    width: calc(100% - 24px);
    margin: 12px auto;
    min-height: calc(100% - 24px);
}

.project-lightbox .modal-content {
    /* background: #10151c; */
    color: #10151c;
    border: 0;
    border-radius: 4px;
}

.lightbox-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
}

.lightbox-toolbar h2 {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.lightbox-control {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1px solid #697381;
    border-radius: 4px;
    background: #10151c;
    color: #fff;
    cursor: pointer;
}

.lightbox-control:hover,
.lightbox-control:focus-visible {
    background: #075cff;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.lightbox-stage {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    align-items: center;
    padding: 0 8px;
}

.lightbox-image {
    display: block;
    width: 100%;
    height: calc(100vh - 180px);
    height: calc(100dvh - 180px);
    object-fit: contain;
}

.lightbox-counter {
    text-align: center;
    margin: 8px 0 12px;
    font-size: 14px;
}

@media (max-width: 767.98px) {
    .lightbox-stage {
        grid-template-columns: 1fr 1fr;
    }

    .lightbox-image {
        grid-column: 1 / -1;
        grid-row: 1;
        height: calc(100vh - 240px);
        height: calc(100dvh - 240px);
    }

    .lightbox-prev,
    .lightbox-next {
        grid-row: 2;
    }

    .lightbox-next {
        justify-self: end;
    }
}

.featured-gallery a:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

.featured-gallery img {
    display: block;
    height: auto;
}

.featured-gallery figcaption {
    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
    padding-top: 14px;
}

.featured-gallery figcaption span {
    color: var(--muted);
    display: block;
    font-size: 13px;
    font-weight: 400;
}

.featured-project h3 {
    color: var(--navy);
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 16px;
}

.check-list {
    color: var(--muted);
    list-style: none;
    margin: 24px 0 30px;
    padding: 0;
}

.check-list li {
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
}

.check-list li::before {
    color: var(--blue);
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    left: 0;
    position: absolute;
}

.cta-section {
    background: var(--navy);
    color: #fff;
    padding: 72px 0;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}

.site-footer {
    background: #08101c;
    color: rgba(255, 255, 255, .75);
    padding: 62px 0 24px;
}

.footer-logo {
    filter: brightness(0) invert(1);
    margin-bottom: 22px;
    max-width: 150px;
}

.site-footer h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 18px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    margin-bottom: 9px;
}

.site-footer a:hover {
    color: #fff;
}

.contact-list i {
    color: var(--sky);
    margin-right: 8px;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    margin-top: 42px;
    padding-top: 22px;
}

.footer-bottom a {
    color: #fff;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .site-navbar {
        margin-top: 0;
    }

    .navbar-collapse {
        background: #fff;
        padding: 16px 0;
    }

    .menu {
        align-items: stretch;
        gap: 0;
    }

    .hero-section {
        min-height: auto;
        padding: 145px 0 80px;
    }

    .hero-section h1 {
        font-size: 44px;
    }

    .section h2,
    .cta-section h2 {
        font-size: 34px;
    }

}

@media (max-width: 767.98px) {
    .navbar-brand img {
        max-height: 48px;
    }

    .hero-section {
        padding: 125px 0 70px;
    }

    .hero-section h1 {
        font-size: 34px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .section {
        padding: 68px 0;
    }

    .section h2,
    .cta-section h2 {
        font-size: 28px;
    }

    .metrics-row {
        grid-template-columns: 1fr;
    }

    .featured-project {
        padding: 18px;
    }

    .tool-row {
        grid-template-columns: 48px 1fr;
        padding: 12px;
    }

    .tool-mark {
        font-size: 24px;
        height: 44px;
        width: 44px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom a {
        display: block;
        margin-top: 10px;
    }
}
