@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --ink: #12324a;
    --ink2: #0b6fb3;
    --gold: #1597d4;
    --cream: #ffffff;
    --soft: #eaf6fd;
    --muted: #5f7180;
    --line: #d8eaf5;
    --white: #fff;
    --max: 1240px;
    --bg-header: #eef8ff;
    --text-dark: #12324a;
    --text-muted: #5f7180;
    --border-light: #d8eaf5;
    --row-hover: #f5fbff;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden
}

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

img {
    display: block;
    width: 100%
}

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

.top {
    height: 34px;
    background: #082b46;
    color: #d8efff;
    font-size: 11px;
    display: flex;
    align-items: center
}

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

.nav {
    height: 78px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(11, 111, 179, .12)
}

.navin {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 30px
}

.logo {
    width: 110px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.logo span {
    color: var(--gold)
}

.links {
    display: flex;
    gap: 26px;
    margin-left: auto;
    font-size: 13px;
    font-weight: 700
}

.links a:hover {
    color: #0b6fae
}

.cta {
    background: var(--gold);
    padding: 12px 18px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800
}

.menu {
    display: none;
    border: 0;
    background: none;
    font-size: 24px;
    padding: 10px 12px;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent
}

.hero {
    background: linear-gradient(90deg, rgba(7, 11, 14, .94) 0%, rgba(7, 11, 14, .72) 48%, rgba(7, 11, 14, .2) 100%), url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2200&q=85") center/cover;
    display: flex;
    align-items: end;
    color: white
}

.hero .container {
    padding: 45px 20px;
}

.eyebrow,
.kicker {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #25a8e5;
    font-weight: 900
}

.hero h1 {
    font-family: "Space Grotesk";
    font-size: 80px;
    line-height: .9;
    letter-spacing: -.07em;
    max-width: 850px;
    margin: 18px 0 24px
}

.hero h1 em {
    font-style: normal;
    color: #25a8e5
}

.hero p {
    max-width: 650px;
    color: #e8f7ff;
    font-size: 17px
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 30px;
    background: var(--gold);
    font-size: 12px;
    font-weight: 800;
    color: #ffffff
}

.btn.alt {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5)
}

.section {
    padding: 35px 20px 25px;
}

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

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

.head h2 {
    font-family: "Space Grotesk";
    font-size: clamp(34px, 5vw, 62px);
    letter-spacing: -.055em;
    line-height: .98;
    margin: 8px 0 0
}

.lead {
    line-height: 1.25;
    color: var(--muted)
}

.dark .lead {
    color: #d7efff;
    line-height: 1.25;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(255, 255, 255, .28)
}

.stat {
    padding: 28px;
    border-right: 1px solid rgba(255, 255, 255, .28)
}

.stat:last-child {
    border: 0
}

.stat strong {
    font-family: "Space Grotesk";
    font-size: 44px;
    color: #25a8e5;
    display: block
}

.stat span {
    font-size: 12px;
    color: #d7efff
}

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

.credentials div {
    border-left: 2px solid var(--gold);
    padding-left: 14px
}

.credentials small {
    display: block;
    color: #8c959d;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 9px;
    margin-bottom: 4px
}

.credentials strong {
    font-size: 14px;
    color: #fff
}

@media(max-width:900px) {
    .credentials {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:620px) {
    .credentials {
        grid-template-columns: 1fr
    }
}

.grid {
    display: grid;
    gap: 18px
}

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

.card {

    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 25px;
    transition: .25s
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(16, 20, 25, .08)
}

.icon {
    font-size: 30px;
}

.num {
    font-family: "Space Grotesk";
    font-size: 12px;
    color: #0877bd;
    margin-bottom: 40px
}

.card h3 {
    font-family: "Space Grotesk";
    font-size: 22px;
    margin: 0 0 8px
}

.card p {
    font-size: 14px;
    color: #a8b3bd;
    margin: 0;
    line-height: 1.25;
}

.feature {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 44px;
    align-items: center
}

.photo {
    height: 520px;
    overflow: hidden;
    border-radius: 10px;
    background: #222
}

.photo img {
    height: 100%;
    object-fit: cover
}

.tag {
    display: inline-block;
    background: var(--soft);
    color: #0a659d;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 800
}

.feature h2 {
    font-family: "Space Grotesk";
    font-size: clamp(35px, 5vw, 62px);
    line-height: .98;
    letter-spacing: -.055em;
    margin: 16px 0
}

.meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 28px 0
}

.meta div {
    border-left: 2px solid var(--gold);
    padding-left: 12px
}

.meta small {
    display: block;
    color: #a9acaf;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 9px
}

.meta strong {
    font-size: 14px
}

.filterbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px
}

.filter {
    border: 1px solid var(--line);
    background: #fff;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: var(--muted);
    transition: .2s
}

.filter:hover {
    border-color: var(--gold)
}

.filter.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink)
}

.project.hide {
    display: none
}

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

.project {
    padding: 0;
    overflow: visible;
    position: relative
}

.project .photo-placeholder.photo-small {
    overflow: hidden;
    border-radius: 9px 9px 0 0
}

.project img {
    height: 260px;
    object-fit: cover
}

.projectbody {
    padding: 20px
}

.projectbody h3 {
    font-family: "Space Grotesk";
    font-size: 20px;
    margin: 9px 0
}

.projectbody p {
    font-size: 13px;
    color: var(--muted);
    padding-bottom: 5px;
}

.link {
    display: inline-block;
    margin-top: 18px;
    color: #0877bd;
    font-weight: 800;
    font-size: 12px
}

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

.step {
    background: #fff;
    color: var(--ink);
    border-top: 2px solid var(--gold);
    padding: 23px;
    min-height: 175px
}

.step b {
    font-size: 11px;
    color: #0877bd
}

.step h3 {
    font-family: "Space Grotesk";
    font-size: 20px;
    margin: 12px 0 7px
}

.step p {
    font-size: 13px;
    color: var(--muted);
    margin: 0
}

.footer {
    background: #082b46;
    color: #aeb7be;
    padding: 24px 0 10px
}

.footergrid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px
}

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

.footer p,
.footer li {
    font-size: 12px
}

.footer ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 7px
}

.copy {
    border-top: 1px solid rgba(255, 255, 255, .18);
    padding-top: 16px;
    font-size: 11px
}

.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 150px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #19a95a;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 21px;
    z-index: 30;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25)
}

@media(max-width:620px) {
    .whatsapp {
        width: 46px;
        height: 46px;
        font-size: 18px;
        right: 14px;
        bottom: 110px
    }
}

@media(max-width:950px) {

    .links,
    .cta {
        display: none
    }

    .menu {
        display: block;
        margin-left: auto
    }

    .navin {
        gap: 14px
    }

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

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

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

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

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

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

/* Tablet: iPad portrait / mid-size screens */
@media(max-width:820px) {
    .logo {
        width: 150px;
        padding-top: 14px
    }
}

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

    .top .container {
        display: block;
        height: auto;
        padding: 7px 0
    }

    .top {
        height: auto
    }

    .nav {
        height: 70px
    }

    .links.show {
        top: 70px
    }

    .hero {
        min-height: 650px
    }

    .hero .container {
        padding: 70px 0
    }

    .hero h1 {
        font-size: 54px
    }

    .section {
        padding: 62px 0
    }

    .head {
        display: block
    }

    .stats,
    .services,
    .projects,
    .steps,
    .footergrid {
        grid-template-columns: 1fr
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid #2b343c
    }

    .stat:last-child {
        border-bottom: 0
    }

    .photo {
        height: 300px
    }

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


.links.show {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: #ffffff;
    padding: 8px 20px 16px;
    flex-direction: column;
    border-bottom: 1px solid #ddd9d0;
    margin: 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08)
}

.links.show a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(20, 24, 28, .06);
    font-size: 15px
}

.links.show a:last-child {
    border-bottom: 0
}

.links a.active {
    color: #0877bd
}

.pagehero {
    background: linear-gradient(90deg, rgba(7, 11, 14, .94) 0%, rgba(7, 11, 14, .72) 48%, rgba(7, 11, 14, .2) 100%), url("https://images.unsplash.com/photo-1541976590-713941681591?auto=format&fit=crop&w=1200&q=80") center/cover;
    padding: 45px 20px 6px;
    color: #fff
}

.pagehero h1 {
    font-family: "Space Grotesk";
    font-size: clamp(48px, 7vw, 82px);
    line-height: .95;
    letter-spacing: -.06em;
    margin: 12px 0
}

.pagehero p {
    max-width: 650px;
    color: #b9c1c8
}

.contactform {
    display: grid;
    gap: 12px
}

.contactform input,
.contactform textarea,
.contactform select {
    width: 100%;
    padding: 14px;
    border: 1px solid #d6d2c9;
    border-radius: 6px;
    font: inherit;
    background: #fff;
    color: var(--ink)
}

.contactform textarea {
    min-height: 170px
}

.contactform .btn {
    border: 0;
    cursor: pointer
}

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

.aboutgrid img {
    height: 500px;
    object-fit: cover;
    border-radius: 10px
}

@media(max-width:700px) {
    .aboutgrid {
        grid-template-columns: 1fr
    }

    .aboutgrid img {
        height: 300px
    }
}

/* --- Expanded content + photo placeholders --- */
.photo-placeholder {
    position: relative;
    border-radius: 12px;
    background: linear-gradient(135deg, #eaf6fd, #ffffff);
    display: grid;
    place-items: center;
    text-align: center;
    overflow: hidden
}


.photo-placeholder span {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, .94);
    padding: 9px 13px;
    border-radius: 4px;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 800;
    color: #0b6fae
}

.photo-wide {
    display: flex;
    justify-content: space-between;
    gap: 45px;
}

.photo-small {
    min-height: 230px
}

.photo-placeholder img {
    position: relative;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2
}

.photo-placeholder2 img {
    position: relative;
    inset: 0;
    width: 50%;
    height: 50%;
    object-fit: contain;
    z-index: 2
}

.photo-placeholder.has-image::before,
.photo-placeholder.has-image span {
    display: none
}

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

.photo-placeholder2 {
    width: 100%;
    height: 250px;
    /* same height for every image */
    overflow: hidden;
}

.photo-placeholder2 img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.trustline {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border: 1px solid rgba(21, 151, 212, .35);
    border-radius: 999px;
    background: rgba(21, 151, 212, .08);
    color: #25a8e5;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 700
}

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

.info-grid.four {
    grid-template-columns: repeat(4, 1fr)
}

@media(max-width:900px) {
    .info-grid.four {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:620px) {
    .info-grid.four {
        grid-template-columns: 1fr
    }
}

.info-box {
    padding: 25px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px
}

.info-box h3 {
    font-family: "Space Grotesk";
    margin: 0 0 8px;
    font-size: 19px
}

.info-box p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.25;
}

.bullets {
    display: grid;
    gap: 11px;
    padding: 0;
    margin: 20px 0;
    list-style: none
}

.bullets li {
    padding-left: 24px;
    position: relative;
    color: var(--muted);
    font-size: 14px
}

.bullets li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 800
}

.gallery-large {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px
}

.gallery-stack {
    display: grid;
    gap: 18px
}

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

@media(max-width:900px) {
    .quote-grid {
        grid-template-columns: 1fr
    }
}

.quote {
    padding: 34px;
    border-left: 3px solid var(--gold);
    background: #eaf6fd;
    color: #194d70;
    font-size: 14px
}

.quote strong {
    display: block;
    margin-top: 12px;
    color: #0b6fae;
    font-size: 12px
}

.faq {
    display: grid;
    gap: 12px
}

.faq details {
    background: #fff;
    border: 1px solid var(--line);
    padding: 18px 20px;
    border-radius: 7px
}

.faq summary {
    cursor: pointer;
    font-size: 20px;
    font-family: "Open Sans";
    font-weight: 600;
}

.faq p {
    font-family: "Open Sans";
    color: var(--muted);
    font-size: 17px;
    margin: 12px 0 0
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px
}

.map-embed {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    min-height: 420px
}

.map-embed iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block
}

@media(max-width:620px) {

    .map-embed,
    .map-embed iframe {
        min-height: 280px;
        height: 280px
    }
}

@media(max-width:900px) {

    .info-grid,
    .contact-cards {
        grid-template-columns: 1fr 1fr
    }

    .gallery-large {
        grid-template-columns: 1fr
    }
}

@media(max-width:620px) {

    .info-grid,
    .contact-cards {
        grid-template-columns: 1fr
    }

    .photo-placeholder {
        min-height: 260px
    }

    .photo-wide {
        min-height: 300px
    }
}

.page-photo-band {
    padding: 0 0 88px
}

.page-photo-band .photo-placeholder {
    min-height: 430px
}

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

/* --- Project hover popup --- */
.project-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px !important;
    color: #0a659d !important;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 700;
    margin-top: 10px !important;
    opacity: .85;
}

.card.project {
    cursor: pointer;
}

.project-detail {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 24px 55px rgba(16, 20, 25, .22);
    padding: 20px;
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    pointer-events: none;
}

.project-detail p {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 8px;
    line-height: 1.4;
}

.project-detail .project-photo-strip {
    margin-top: 10px;
}

.card.project:hover .project-detail,
.card.project:focus-within .project-detail,
.card.project.show-detail .project-detail {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.card.project:hover,
.card.project:focus-within,
.card.project.show-detail {
    box-shadow: 0 16px 40px rgba(16, 20, 25, .1);
    z-index: 61;
}

@media (max-width: 700px) {
    .project-detail {
        position: static;
        margin-top: 0;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        border: none;
        box-shadow: none;
        padding: 0 20px;
        transition: max-height .25s ease, opacity .2s ease, padding .25s ease;
        overflow: hidden;
    }

    .card.project.show-detail .project-detail {
        max-height: 900px;
        opacity: 1;
        visibility: visible;
        padding: 0 20px 20px;
    }

    .card.project:hover,
    .card.project:focus-within,
    .card.project.show-detail {
        z-index: auto;
    }
}

/* --- Zoomable images / lightbox --- */
img.zoomable {
    cursor: zoom-in;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 18, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s;
    padding: 40px;
}

.lightbox-overlay.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    max-width: 70%;
    max-height: 130%;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    cursor: zoom-in;
    transition: transform .2s ease;
    transform-origin: center center;
    touch-action: none;
}

.lightbox-overlay img.zoomed {
    cursor: zoom-out;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, .25);
}

.lightbox-hint {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .lightbox-overlay {
        padding: 16px;
    }
}

.service-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

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

.story-photo .photo-placeholder {
    min-height: 300px
}

/* --- Office photo slider --- */
.office-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 380px;
    background: #0f1519;
}

.office-slider-track {
    display: flex;
    height: 380px;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.office-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.office-slide .photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    margin: 0;
}

.office-slide .photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .92);
    color: #12324a;
    font-size: 16px;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
    transition: .2s;
    z-index: 5;
}

.slider-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev {
    left: 16px;
}

.slider-arrow.next {
    right: 16px;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: .2s;
}

.slider-dot.active {
    background: #fff;
    width: 24px;
}

@media (max-width: 700px) {
    .office-slider {
        min-height: 240px;
    }

    .office-slider-track {
        height: 240px;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

@media(max-width:700px) {

    .project-photo-strip,
    .service-photo-grid,
    .story-photo {
        grid-template-columns: 1fr
    }
}

.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin-top: 30px;
}

table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    background-color: #ffffff;
    text-align: left;
    font-size: 15px;
    color: var(--text-dark);
}

@media(max-width:620px) {
    table {
        font-size: 13px;
    }

    th,
    td {
        padding: 10px 10px;
    }
}

th {
    background-color: var(--bg-header);
    color: var(--text-dark);
    font-weight: 700;
    padding: 14px 16px;
}

td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-muted);
}

/* Specific column configurations */
.col-dept {
    width: 25%;
}

.col-desig {
    width: 45%;
}

.col-num {
    width: 15%;
    text-align: center;
}

.col-total {
    width: 15%;
    text-align: center;
}

.text-center {
    text-align: center;
}

/* Styling department main entries */
.cell-dept {
    font-weight: 500;
    color: var(--text-dark);
    vertical-align: top;
}

/* Group separating borders */
.row-group td {
    border-top: 2px solid var(--border-light);
}

/* Footer layout */
tfoot tr {
    font-weight: bold;
    background-color: #ffffff;
}

tfoot td {
    border-top: 3px solid var(--border-light);
    border-bottom: none;
    color: var(--text-dark);
    padding: 18px 16px;
}

/* Simple hover effect */
tbody tr:hover {
    background-color: var(--row-hover);
}

.foot {
    width: 170px;
    height: 130px;
    background-color: #fff;
    border-radius: 18px;
}

.foot-logo {
    width: 160px;
    height: 120px;
    align-items: center;
    padding-top: 10px;
}


/* =========================================================
   MOBILE UX ENHANCEMENTS — SABCO
   Optimized for phones 320px–620px without changing desktop layout
   ========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a,
button {
    touch-action: manipulation;
}

/* Better tablet/mobile breakpoint */
@media (max-width: 950px) {
    .nav {
        position: sticky;
    }

    .navin {
        padding: 0;
    }

    .menu {
        width: 46px;
        height: 46px;
        display: grid;
        place-items: center;
        margin-left: auto;
        padding: 0;
        border: 1px solid rgba(11, 15, 18, .12);
        border-radius: 8px;
        color: var(--ink);
        font-size: 22px;
        background: rgba(255, 255, 255, .55);
    }

    .links.show {
        animation: sabcoMenuIn .18s ease-out;
    }

    @keyframes sabcoMenuIn {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 620px) {
    :root {
        --mobile-pad: 16px;
    }

    body {
        font-size: 15px;
        line-height: 1.5;
        padding-bottom: 68px;
        /* room for mobile action bar */
    }

    .container {
        width: calc(100% - 32px);
        max-width: none;
    }

    /* Compact information strip */
    .top {
        min-height: 34px;
        height: auto;
        padding: 7px 0;
        font-size: 10px;
    }

    .top .container {
        width: calc(100% - 24px);
        padding: 0;
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .top .container span:first-child {
        display: none;
    }

    .top .container span:last-child {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* Header */
    .nav {
        height: 86px;
    }

    .navin {
        gap: 10px;
    }

    .logo {
        width: 118px;
        padding-top: 0;
        max-height: 78px;
        object-fit: contain;
    }

    .menu {
        width: 44px;
        height: 44px;
        font-size: 21px;
        border-radius: 7px;
    }

    .links.show {
        top: 66px;
        left: 12px;
        right: 12px;
        width: auto;
        padding: 6px 16px 12px;
        border: 1px solid rgba(20, 24, 28, .10);
        border-radius: 0 0 12px 12px;
        box-shadow: 0 16px 30px rgba(0, 0, 0, .14);
    }

    .links.show a {
        min-height: 50px;
        display: flex;
        align-items: center;
        padding: 12px 2px;
        font-size: 15px;
    }

    /* Hero */
    .hero {
        min-height: 610px;
        background-position: 62% center;
    }

    .hero .container {
        width: calc(100% - 32px);
        padding: 70px 0 46px;
    }

    .eyebrow,
    .kicker {
        font-size: 9px;
        letter-spacing: .16em;
    }

    .hero h1 {
        font-size: clamp(43px, 13.5vw, 58px);
        line-height: .93;
        letter-spacing: -.065em;
        margin: 14px 0 20px;
        max-width: 100%;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.45;
        margin: 0;
        max-width: 100%;
    }

    .actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 24px;
    }

    .actions .btn {
        width: 100%;
        min-height: 50px;
        padding: 14px 18px;
        font-size: 11px;
    }

    .trustline {
        max-width: 100%;
        margin-top: 18px;
        padding: 8px 11px;
        font-size: 9px;
        line-height: 1.35;
        white-space: normal;
        border-radius: 9px;
    }

    /* Sections and headings */
    .section {
        padding: 48px 0;
    }

    .section>.container {
        width: calc(100% - 32px);
    }

    .head {
        margin-bottom: 24px;
    }

    .head h2,
    .pagehero h1,
    .feature h2 {
        font-size: clamp(34px, 10.5vw, 48px);
        line-height: .98;
    }

    .lead {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Stats */
    .stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        padding: 20px 16px;
        min-height: 112px;
    }

    .stat strong {
        font-size: 34px;
    }

    .stat span {
        font-size: 10px;
        line-height: 1.3;
        display: block;
    }

    /* Cards */
    .services,
    .projects,
    .steps,
    .footergrid,
    .info-grid,
    .info-grid.four {
        grid-template-columns: 1fr;
    }

    .grid {
        gap: 12px;
    }

    .card {
        padding: 20px;
        border-radius: 10px;
    }

    .card:hover {
        transform: none;
        box-shadow: none;
    }

    .num {
        margin-bottom: 25px;
        font-size: 10px;
    }

    .card h3 {
        font-size: 20px;
    }

    .card p {
        font-size: 13px;
        line-height: 1.45;
    }

    /* Feature/project blocks */
    .feature {
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }

    .feature>* {
        min-width: 0;
    }

    .feature .photo-placeholder,
    .feature .photo {
        order: 0;
        width: 100%;
        min-height: 0;
        height: 260px;
    }

    .feature>div:last-child {
        order: 1;
    }

    .feature h2 {
        margin: 14px 0;
    }

    .meta {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 22px 0;
    }

    .meta div {
        padding-left: 10px;
    }

    .meta strong {
        font-size: 13px;
        line-height: 1.35;
        display: block;
    }

    /* Page hero */
    .pagehero {
        padding: 46px 0 38px;
        background-position: center;
    }

    .pagehero .container {
        width: calc(100% - 32px);
    }

    .pagehero h1 {
        margin: 12px 0 16px;
        font-size: clamp(40px, 12vw, 54px);
    }

    .pagehero p {
        font-size: 14px;
        line-height: 1.45;
        margin: 0;
    }

    /* Service gallery */
    .service-photo-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .photo-placeholder2 {
        height: 220px;
        border-radius: 9px;
    }

    .photo-placeholder2 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Generic image containers */
    .photo-wide {
        display: block;
        width: 100%;
    }

    .photo-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .photo-placeholder2.photo-wide {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .photo-placeholder2.photo-wide img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .photo-placeholder2.photo-wide .lead {
        margin: 0;
    }

    /* Contact */
    .contact-cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 28px;
    }

    .info-box {
        padding: 18px;
    }

    .info-box h3 {
        font-size: 17px;
    }

    .info-box p {
        font-size: 13px;
    }

    .aboutgrid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .aboutgrid img {
        height: 260px;
    }

    .map-embed {
        width: 100%;
        overflow: hidden;
        border-radius: 10px;
    }

    .map-embed iframe {
        width: 100%;
        height: 280px;
        border: 0;
    }

    .contactform {
        gap: 10px;
    }

    .contactform input,
    .contactform textarea,
    .contactform select {
        min-height: 50px;
        padding: 13px 14px;
        font-size: 16px;
        /* prevents iOS zoom */
        border-radius: 8px;
    }

    .contactform textarea {
        min-height: 150px;
    }

    .contactform .btn {
        width: 100%;
        min-height: 52px;
    }

    /* Portfolio filter buttons */
    .filterbar {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 2px 2px 8px;
        margin: 0 -2px 20px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .filterbar::-webkit-scrollbar {
        display: none;
    }

    .filter {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 10px 14px;
        font-size: 11px;
    }

    .projects .project img {
        height: 220px;
    }

    /* Footer */
    .footer {
        padding: 36px 0 18px;
    }

    .footergrid {
        gap: 22px;
    }

    .footer p,
    .footer li {
        font-size: 12px;
    }

    .copy {
        margin-top: 24px;
        line-height: 1.5;
    }

    /* Floating WhatsApp — keep above mobile action bar */
    .whatsapp {
        right: 14px;
        bottom: 82px;
        width: 48px;
        height: 48px;
        font-size: 19px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    }

    /* Persistent mobile contact actions */
    .mobile-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1px;
        background: #d6eaf5;
        border-top: 1px solid rgba(11, 111, 179, .18);
        box-shadow: 0 -8px 22px rgba(8, 43, 70, .10);
    }

    .mobile-actions a {
        min-height: 62px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #0b6fb3;
        color: #fff;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .mobile-actions a:last-child {
        background: var(--gold);
        color: #101010;
    }
}

/* Hide mobile-only action bar on desktop */
.mobile-actions {
    display: none;
}

@media (max-width:620px) {
    .mobile-actions {
        display: grid;
    }
}

/* Extra-small phones */
@media (max-width:380px) {
    .hero {
        min-height: 580px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero .container {
        padding-top: 54px;
    }

    .stat {
        padding: 17px 13px;
    }

    .stat strong {
        font-size: 30px;
    }

    .feature .photo-placeholder,
    .feature .photo {
        height: 230px;
    }
}


/* SABCO blue & white brand refresh — based on the supplied change-request PDF */
.hero {
    background: linear-gradient(90deg, rgba(234, 247, 255, .96) 0%, rgba(234, 247, 255, .86) 48%, rgba(234, 247, 255, .38) 100%), url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2200&q=85") center/cover;
    color: var(--ink);
}

.hero h1 em {
    color: #0877bd;
}

.hero p {
    color: #3d6177;
}

.btn {
    background: #0877bd;
    color: #fff;
}

.btn.alt {
    color: #0877bd;
    border-color: rgba(8, 119, 189, .45);
    background: rgba(255, 255, 255, .65);
}

.eyebrow {
    color: #0877bd;
}

.kicker {
    color: #76caff;
}

.hero .trustline {
    color: #0877bd;
    border-color: rgba(8, 119, 189, .28);
    background: rgba(255, 255, 255, .62);
}

.dark {
    background: #0b6fb3;
    color: #fff;
}

.dark .head h2,
.dark h2 {
    color: #fff;
}

.dark .lead {
    color: #dff3ff;
}

.stat strong {
    color: #bfeaff;
}

.stat span,
.credentials small {
    color: #d7efff;
}

.stats {
    border-color: rgba(255, 255, 255, .3);
}

.stat {
    border-color: rgba(255, 255, 255, .3);
}

.credentials div,
.meta div {
    border-left-color: #42b7ec;
}

.pagehero {
    background: linear-gradient(90deg, rgba(234, 247, 255, .96) 0%, rgba(234, 247, 255, .84) 55%, rgba(234, 247, 255, .4) 100%), url("https://images.unsplash.com/photo-1541976590-713941681591?auto=format&fit=crop&w=1200&q=80") center/cover;
    color: var(--ink);
}

.pagehero p {
    color: #3d6177;
}

.pagehero h1 {
    color: #12324a;
}

.links a.active,
.links a:hover {
    color: #0877bd;
}

.filter.active {
    background: #0877bd;
    border-color: #0877bd;
    color: #fff;
}

.filter:hover {
    border-color: #1597d4;
}

.tag {
    background: #eaf6fd;
    color: #0b6fae;
}

.footer {
    background: #082b46;
}

.footer h3 {
    color: #fff;
}

.quote {
    border-left-color: #1597d4;
    background: #eaf6fd;
    color: #194d70;
}

.quote strong {
    color: #0b6fae;
}

.mobile-actions a:last-child {
    background: #1597d4;
    color: #fff;
}

/* Light-blue alternating bands like the supplied reference design */
.section.light-blue {
    background: #f1f9fe;
}