/* =====================================================
   CIVILION REVAMP — final homepage + inner page styling
   ===================================================== */

/* ---------- Preloader ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.preloader {
    position: fixed;
    inset: 0;
    background: var(--navy);
    gap: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: opacity .3s, visibility .3s;
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-image {
    text-align: center;
    overflow: hidden;
    max-width: 150px;
    max-height: 150px;
}

.loader-image img {
    width: 150px;
    height: 150px;
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
    display: block;
    mix-blend-mode: screen;
}

.loader-lockup {
    text-align: center;
    line-height: 1;
}

.loader-lockup strong {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    letter-spacing: .05em;
    line-height: 1;
    color: var(--gold2);
}

.loader-lockup span {
    display: block;
    margin-top: 14px;
    font-size: .8rem;
    letter-spacing: .62em;
    text-transform: uppercase;
    color: #e8edf1;
    font-weight: 700;
    padding-left: .62em;
}

.loader-bar {
    width: 240px;
    height: 3px;
    background: rgba(255, 255, 255, .14);
    border-radius: 99px;
    overflow: hidden;
}

.loader-bar i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold2));
    animation: civilionLoad 1s ease forwards;
}

@keyframes civilionLoad {
    to { width: 100%; }
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
}

/* ---------- Hero section: match civilion-copy design ---------- */
.hero-meta {
    background: rgba(0,0,0,.45) !important;
}

/* ---------- Homepage about: engineer cards ---------- */
.about-section.revamp .engineer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}
.about-section.revamp .engineer-card {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border-left: 3px solid var(--gold);
    border-radius: 4px;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.about-section.revamp .engineer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(7,19,33,.08);
}
.about-section.revamp .engineer-info {
    display: flex;
    flex-direction: column;
}
.about-section.revamp .engineer-info strong {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 4px;
}
.about-section.revamp .engineer-info span {
    font-size: .82rem;
    color: #5b6670;
    margin-bottom: 4px;
}
.about-section.revamp .engineer-info small {
    font-size: .82rem;
    color: var(--gold);
    font-weight: 600;
}

/* Dark section headings: white */
.dark-section h2,
.dark-section h3,
.dark-section .service-card h3,
.dark-section .service-card-premium h3 {
    color: #fff !important;
}

/* Service kicker: golden */
.dark-section .service-kicker {
    color: var(--gold) !important;
}

/* Service card description: light gray on dark */
.dark-section .service-card-premium p {
    color: #aebac4 !important;
}

/* Service icons: golden */
.service-icon {
    color: var(--gold) !important;
}

/* ===== Global content color fix — all body text navy ===== */
:root {
    --muted: #2c3e50;
}

.section-head > p,
.project-tile-body p,
.feature-card p,
.why-copy p,
.why-copy .lead,
.timeline-item p,
.about-copy-body p,
.about-copy-body .lead,
.location-section .section-head > p,
.video-section .section-head > p,
.materials-showcase > div > p:not(.eyebrow),
.material-brand-card > p,
.support-card p,
.materials-bigbox .material-box-head > p,
.materials-showcase > div > p,
.cta-revamp-inner > p {
    color: #2c3e50;
}

/* ---------- Homepage About (content only, bold lockup) ---------- */
.about-section.revamp {
    background: var(--cream);
    padding: 96px 0 102px;
}

.about-section.revamp .container {
    max-width: 980px;
    margin: auto;
}

.about-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.about-label .line {
    width: 46px;
    height: 2px;
    background: var(--gold);
}

.about-label p {
    font-size: .72rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: #9c6e1f;
    font-weight: 800;
    margin: 0;
}

.about-lockup {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    line-height: 1;
    margin: 0 0 30px;
}

.about-lockup .big {
    display: block;
    letter-spacing: -.03em;
    color: var(--gold);
    line-height: 1;
	max-width: 100%;
    font-size: clamp(1.25rem, 6vw, 2.4rem);
}

.about-lockup .sub {
    display: block;
    margin-top: 14px;
    font-size: clamp(.72rem, 1.5vw, .94rem);
    letter-spacing: .5em;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.4;
    padding-left: .5em;
}

@media (max-width: 640px) {
    .about-lockup {
        text-align: center;
    }
    .about-lockup .big {
        display: inline-block;
        white-space: nowrap;
        max-width: 100%;
        font-size: clamp(1.25rem, 6vw, 2.4rem);
    }
    .about-lockup .sub {
        letter-spacing: .3em;
        padding-left: .3em;
    }
    .preloader {
        gap: 20px;
    }
    .loader-bar {
        width: 200px;
    }
}

.about-copy-body {
    max-width: 860px;
}

.about-copy-body p {
    color: #33404c;
    font-size: 1.06rem;
    line-height: 1.85;
    margin: 0 0 18px;
}

.about-copy-body p.lead {
    font-size: 1.28rem;
    line-height: 1.75;
    color: #17232e;
    font-weight: 600;
}

.about-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    font-weight: 800;
    color: var(--navy);
    font-size: .92rem;
    letter-spacing: .02em;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 8px;
    transition: .3s;
}

.about-more span {
    color: var(--gold);
    font-size: 1.05rem;
    transition: transform .3s ease;
}

.about-more:hover {
    color: var(--gold);
}

.about-more:hover span {
    transform: translateX(5px);
}

/* ---------- Services (navy) heading link ---------- */
.dark-section .section-head > p {
    color: #aebac4 !important;
}
.dark-section .view-all-link {
    color: var(--gold) !important;
    border-color: var(--gold);
    font-size: .82rem;
    white-space: nowrap;
}
.dark-section .view-all-link span {
    color: var(--gold) !important;
}

.dark-section .view-all-link:hover {
    color: var(--gold2) !important;
    border-color: var(--gold2);
}

/* ---------- Materials & Quality / big brand box ---------- */
.materials-bigbox {
    background: #071321;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 4px;
    overflow: hidden;
    padding: 46px 42px 40px;
    color: #fff;
}

.materials-bigbox .eyebrow {
    color: var(--gold2);
}

.materials-bigbox h3 {
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    color: #fff;
    margin: 10px 0 12px;
    line-height: 1.08;
}

.materials-bigbox h3 span {
    color: var(--gold2);
}

.materials-bigbox .material-box-head > p:last-child {
    color: #fff;
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 34px;
}

.material-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.material-brand-card {
    background: #fff;
    border-radius: 4px;
    padding: 28px 25px 25px;
    position: relative;
    overflow: hidden;
    color: var(--ink);
    display: flex;
    flex-direction: column;
}

.material-brand-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold2));
}

.mbc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.mbc-head span {
    font-size: .66rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #b07d1f;
    font-weight: 800;
}

.mbc-head i {
    font-style: normal;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid rgba(7, 19, 33, .14);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 1.05rem;
}

.material-brand-card h4 {
    font-size: 1.4rem;
    margin: 18px 0 10px;
    color: var(--navy);
}

.material-brand-card > p {
    color: #5b6670;
    font-size: .94rem;
    line-height: 1.75;
    margin: 0;
}

.mbc-points {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.mbc-points li {
    position: relative;
    padding-left: 18px;
    color: #4d5a66;
    font-size: .9rem;
    line-height: 1.7;
}

.mbc-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .68em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.mbc-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
    border-top: 1px dashed rgba(7, 19, 33, .16);
    padding-top: 18px;
}

.mbc-brands a {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #f6f3ea;
    border: 1px solid #e2dcc9;
    border-radius: 999px;
    padding: 8px 15px 8px 9px;
    transition: .25s;
}

.mbc-brands a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(7, 19, 33, .1);
    border-color: var(--gold);
}

.mbc-brands img {
    width: auto;
    height: 34px;
    max-width: 110px;
    object-fit: contain;
}

.mbc-brands b {
    font-size: .78rem;
    color: #33404d;
    white-space: nowrap;
}

.product-note {
    margin: 26px 0 0;
    text-align: center;
    color: #66727e;
    font-size: .92rem;
    font-style: italic;
}

/* Brand marquee inside the dark box — natural, relaxed chip sizing */
.brand-runner {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.brand-runner .brand-chip {
    width: auto;
    min-width: 176px;
    padding: 14px 20px;
    background: #fff !important;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 4px;
    height: auto;
}

.brand-runner .brand-chip img {
    flex: 0 0 auto;
    width: auto;
    height: 32px;
    max-width: 130px;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
}

.brand-runner .brand-chip strong {
    font-size: .94rem;
    color: #14202c !important;
}

/* Service marquee — additional services running strip */
.service-marquee {
    overflow: hidden;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.service-marquee:hover .service-marquee-track {
    animation-play-state: paused;
}

.service-marquee-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-marquee-track {
    display: flex;
    width: max-content;
    gap: 16px;
    animation: serviceRun 10s linear infinite;
    flex: 1;
    overflow: hidden;
}

.service-marquee-link {
    flex-shrink: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: .82rem;
    color: var(--gold2) !important;
    white-space: nowrap;
    border-bottom: 1px solid var(--gold2);
    padding-bottom: 4px;
    transition: color .25s;
}

.service-marquee-link:hover {
    color: #fff;
    border-color: #fff;
}

.service-marquee-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 4px;
    white-space: nowrap;
}

.service-marquee-chip .smc-icon {
    font-size: 1.1rem;
    color: var(--gold2);
}

.service-marquee-chip strong {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: .88rem;
    color: #e8edf1;
}

@keyframes serviceRun {
    to { transform: translateX(-50%); }
}

/* ---------- Products & Approval Support ---------- */
.approval-section {
    padding-top: 43px;
    background: var(--cream);
}

/* ---------- Projects carousel ---------- */
.project-section.revamp {
    background: #f3efe6;
}

.projects-carousel {
    position: relative;
}

.projects-carousel-viewport {
    overflow: hidden;
    padding: 6px 2px 8px;
}

.projects-carousel-track {
    display: flex;
    gap: 22px;
    transition: transform .65s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.project-slide {
    flex: 0 0 calc((100% - 66px) / 4);
    min-width: 0;
    position: relative;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(7, 19, 33, .09);
    display: flex;
    flex-direction: column;
    transition: transform .45s ease, box-shadow .45s ease;
}

.project-slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(7, 19, 33, .14);
}

.project-slide-img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    display: block;
    background: #e7e3d8;
}

.project-slide-body {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-slide-tag {
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #9c6e1f;
    font-weight: 800;
    margin-bottom: 6px;
}

.project-slide-body h3 {
    font-size: 1.15rem;
    line-height: 1.25;
    margin: 0 0 8px;
    color: var(--navy);
}

.project-slide-body p {
    font-size: .9rem;
    line-height: 1.65;
    color: #5b6670;
    margin: 0;
}

.project-slide-body .project-slide-link {
    margin-top: 14px;
    font-size: .8rem;
    font-weight: 800;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.carousel-arrow {
    position: absolute;
    top: 42%;
    z-index: 5;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(7, 19, 33, .14);
    background: #fff;
    color: var(--navy);
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(7, 19, 33, .18);
    transition: .3s;
    display: grid;
    place-items: center;
}

.carousel-arrow:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.carousel-arrow.prev {
    left: -62px;
}

.carousel-arrow.next {
    right: -62px;
}

.carousel-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
}

.carousel-progress span {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: rgba(7, 19, 33, .18);
    cursor: pointer;
    transition: .3s;
}

.carousel-progress span.active {
    width: 30px;
    background: var(--gold);
}

/* ---------- Compact horizontal CTA (inner pages) ---------- */
.cta-band.revamp {
    position: relative;
    background: var(--navy);
    color: #fff;
    padding: 44px 0;
    overflow: hidden;
}

.cta-band.revamp::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(217, 164, 65, .14);
    border-radius: 50%;
    right: -120px;
    top: -140px;
    box-shadow: 0 0 0 50px rgba(217, 164, 65, .03);
}

.cta-revamp-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 48px;
    text-align: left;
}

.cta-revamp-inner > div {
    min-width: 0;
}

.cta-revamp-inner h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    line-height: 1.18;
    letter-spacing: -.02em;
    color: #fff;
    margin: 6px 0 0;
    max-width: 480px;
}

.cta-revamp-inner h2 strong {
    display: inline;
    color: var(--gold2);
    font-weight: 800;
}

.cta-revamp-inner > p {
    color: #b6c2cb;
    font-size: .95rem;
    line-height: 1.7;
    max-width: 430px;
    margin: 0;
    flex: 1;
}

.cta-revamp-inner .btn {
    flex: 0 0 auto;
    padding: 13px 22px;
    font-size: .8rem;
    white-space: nowrap;
}

.cta-revamp-inner .btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Remove hover effect from .btn.btn-gold */
.btn.btn-gold:hover,
.btn-gold:hover {
    transform: none !important;
    box-shadow: none !important;
    background: var(--gold) !important;
}

.cta-band.revamp .carousel-progress {
    display: none;
}

@media (max-width: 860px) {
    .cta-band.revamp {
        padding: 40px 0;
    }

    .cta-revamp-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        text-align: left;
    }

    .cta-band.revamp::before {
        display: none;
    }
}

/* ---------- Section foot "See all" link ---------- */
.section-head .text-link {
    white-space: nowrap;
    color: var(--gold) !important;
    border-color: var(--gold) !important;
}

/* ---------- Inner page headings: solid dark navy ---------- */
.page-content .section-head h2,
.page-content .feature-card h3,
.page-content .project-info h3,
.page-content .about-copy h2,
.page-content .page-content h2 {
    color: var(--navy) !important;
}

.page-content .section-head h2 span,
.page-content .feature-card h3 span {
    color: var(--gold);
}

/* ---------- Anchor default navy keeps dark areas readable ---------- */
.footer a,
.page-banner a,
.vision-section a:not(.btn),
.video-section a,
.cta-band.revamp a:not(.btn),
.dark-section a:not(.btn):not(.service-card-premium a) {
    color: #fff;
}

.footer a:hover {
    color: #f2c766;
}

.footer a.footer-quote:hover {
    color: #101820 !important;
}

/* ---------- Instagram original gradient ---------- */
.footer-icon-link.footer-insta-link {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
    background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.footer-icon-link.footer-insta-link:hover {
    filter: brightness(1.08);
    transform: translateY(-4px);
}

/* ---------- Footer contact button ---------- */
.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    background: var(--gold);
    color: #101820 !important;
    border-radius: 999px;
    padding: 14px 24px !important;
    font-weight: 800 !important;
    font-size: .92rem !important;
    box-shadow: 0 12px 26px rgba(217, 164, 65, .22);
    transition: .3s;
}

.footer-contact-btn span {
    font-size: 1.05rem;
    transition: transform .3s ease;
}

.footer-contact-btn:hover {
    background: var(--gold2);
    transform: translateY(-2px) !important;
    color: #101820 !important;
}

.footer-contact-btn:hover span {
    transform: translate(3px, -3px);
}

/* ---------- Contact form WhatsApp note ---------- */
.whatsapp-form-note {
    font-size: .78rem;
    color: #6b7680;
    line-height: 1.6;
    margin-top: 14px;
    background: rgba(37, 211, 102, .09);
    border: 1px dashed rgba(37, 211, 102, .4);
    border-radius: 4px;
    padding: 10px 13px;
}

.whatsapp-form-note b {
    color: #1d9148;
}

/* ---------- Inner pages: About Why/Guides ---------- */
.page-guides {
    background: var(--cream);
    padding: 88px 0;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.guide-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(7, 19, 33, .1);
    padding: 30px 26px 28px;
    overflow: hidden;
    transition: transform .4s ease, box-shadow .4s ease, background .4s ease;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 46px rgba(7, 19, 33, .12);
    background: #fff;
}

.guide-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s ease;
}

.guide-card:hover::after {
    transform: scaleX(1);
}

.guide-card b {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    color: var(--gold);
    letter-spacing: .06em;
    margin-bottom: 18px;
    transition: transform .4s ease;
}

.guide-card:hover b {
    transform: translateX(6px);
}

.guide-card h3 {
    font-size: 1.22rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.guide-card p {
    color: #5b6670;
    font-size: .92rem;
    line-height: 1.7;
    margin: 0;
}

.guide-icon {
    position: absolute;
    right: 20px;
    top: 22px;
    font-size: 1.7rem;
    opacity: .16;
    transition: .4s;
    transform: rotate(-8deg);
}

.guide-card:hover .guide-icon {
    opacity: .55;
    transform: rotate(0deg) scale(1.1);
}

/* ---------- Inner pages: Why Civilion short ---------- */
.why-inline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.why-pill {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(7, 19, 33, .1);
    padding: 22px 20px;
    transition: .3s;
}

.why-pill:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 14px 30px rgba(7, 19, 33, .08);
}

.why-pill b {
    flex: 0 0 auto;
    font-family: 'Manrope', sans-serif;
    color: var(--gold);
    font-size: 1rem;
}

.why-pill span {
    display: block;
    font-weight: 700;
    color: var(--navy);
    font-size: .98rem;
    line-height: 1.35;
}

/* ---------- Layout helpers ---------- */
.feature-list {
    list-style: none;
    margin: 2px 0 18px;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    color: #42505c;
    font-size: .9rem;
    line-height: 1.8;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .7em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
}

.about-page-image {
    position: relative;
}

.about-page-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow);
}

.about-page-image .image-tag {
    position: absolute;
    bottom: -22px;
    left: -18px;
    background: var(--gold);
    padding: 19px 22px;
    color: #14202c;
}

/* ---------- Projects page ---------- */
.project-highlights-title {
    font-size: 1.05rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #9c6e1f;
    margin: 60px 0 18px;
}

/* ---------- Homepage projects carousel ---------- */
.project-carousel {
    position: relative;
    overflow: hidden;
}

.project-carousel-track {
    display: flex;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.project-carousel .project-tile {
    flex: 0 0 25%;
    padding: 0 16px;
    box-sizing: border-box;
}

.project-tile {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(7, 19, 33, .09);
    transition: transform .45s ease, box-shadow .45s ease;
}

.project-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(7, 19, 33, .14);
}

.project-tile-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-tile-link img {
    width: 100%;
    aspect-ratio: 16 / 12;
    object-fit: cover;
    display: block;
    background: #e7e3d8;
}

.project-tile-tag {
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #9c6e1f;
    font-weight: 800;
    margin-bottom: 6px;
}

.project-tile-body {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-tile-body h3 {
    font-size: 1.15rem;
    line-height: 1.25;
    margin: 0 0 8px;
    color: var(--navy);
}

.project-tile-body p {
    font-size: .9rem;
    line-height: 1.65;
    color: #5b6670;
    margin: 0 0 14px;
}

.project-tile-more {
    margin-top: auto;
    font-size: .8rem;
    font-weight: 800;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: .25s;
}

.project-tile:hover .project-tile-more {
    color: #b07d1f;
}

.project-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(7, 19, 33, .15);
    background: #fff;
    color: var(--navy);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(7, 19, 33, .1);
    transition: .25s;
}

.project-arrow:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.project-prev {
    left: -6px;
}

.project-next {
    right: -6px;
}

.project-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.project-dots .project-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(7, 19, 33, .25);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: .25s;
}

.project-dots .project-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
}

/* ---------- About page OUR STORY section ---------- */
.our-story-section {
    background: var(--cream);
}

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

.our-story-text p {
    color: #2c3e50;
    font-size: 1.05rem;
    line-height: 1.85;
    margin: 0 0 18px;
}

.our-story-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(7, 19, 33, .12);
}

@media (max-width: 860px) {
    .our-story-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .our-story-image img {
        height: 320px;
    }
}

/* ---------- About page improvements ---------- */
.about-page-content {
    padding: 80px 0;
}

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

.about-page-grid .about-lockup {
    margin-bottom: 24px;
}

.about-page-grid .about-lockup .sub {
    display: block;
    font-size: .9rem;
    color: var(--gold);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-top: 8px;
    font-weight: 600;
}

.about-page-grid .lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 18px;
}

.about-page-grid p:not(.eyebrow):not(.lead) {
    color: #3d4a56;
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 24px;
}

.engineer-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
}

.engineer-grid a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid rgba(20, 32, 44, .08);
    border-radius: 8px;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.engineer-grid a:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 30px rgba(7, 19, 33, .1);
    border-color: rgba(217, 164, 65, .3);
}

.engineer-grid strong {
    font-size: 1rem;
    color: var(--navy);
    display: block;
    margin-bottom: 4px;
}

.engineer-grid span {
    font-size: .82rem;
    color: var(--muted);
    display: block;
    margin-bottom: 2px;
}

.engineer-grid small {
    font-size: .78rem;
    color: var(--gold);
    font-weight: 600;
}

.about-page-image {
    position: relative;
}

.about-page-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 25px 60px rgba(7, 19, 33, .15);
}

.about-page-image .image-tag {
    position: absolute;
    bottom: -18px;
    right: -18px;
    background: var(--gold);
    padding: 20px 28px;
    color: var(--navy);
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(217, 164, 65, .25);
}

.about-page-image .image-tag strong {
    font-size: .7rem;
    letter-spacing: .12em;
    display: block;
    margin-bottom: 4px;
}

.about-page-image .image-tag span {
    font-size: .8rem;
    font-weight: 500;
}

@media (max-width: 860px) {
    .about-page-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-page-image img {
        height: 380px;
    }

    .about-page-image .image-tag {
        bottom: -12px;
        right: -12px;
        padding: 16px 20px;
    }
}

/* Why CIVILION improvements */
.why-section {
    background: var(--cream);
    padding: 90px 0;
}

.why-inline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.why-pill {
    background: #fff;
    border: 1px solid rgba(20, 32, 44, .08);
    border-radius: 10px;
    padding: 28px 32px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.why-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(7, 19, 33, .1);
    border-color: rgba(217, 164, 65, .3);
}

.why-pill b {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: var(--navy);
    font-weight: 800;
    font-size: .85rem;
    text-align: center;
    line-height: 36px;
    margin-right: 14px;
    vertical-align: middle;
}

.why-pill span {
    display: inline-block;
    vertical-align: middle;
    font-size: .95rem;
    line-height: 1.6;
    color: #2c3e50;
    font-weight: 500;
    max-width: calc(100% - 60px);
}

@media (max-width: 640px) {
    .why-inline-grid {
        grid-template-columns: 1fr;
    }
}

/* About Journey Section */
.about-journey-section {
    background: var(--navy);
    padding: 90px 0;
    color: #fff;
}

.about-journey-head {
    margin-bottom: 48px;
}

.about-journey-head .eyebrow {
    color: var(--gold) !important;
}

.about-journey-head h2 {
    color: #fff !important;
    margin-top: 12px;
}

.about-journey-head h2 span {
    color: var(--gold) !important;
}

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

.about-journey-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    padding: 32px 28px;
    transition: transform .25s ease, border-color .25s ease;
}

.about-journey-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 164, 65, .4);
}

.journey-step {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 16px;
}

.about-journey-card h3 {
    color: #fff !important;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.about-journey-card p {
    color: rgba(255, 255, 255, .7);
    font-size: .92rem;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 860px) {
    .about-journey-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .about-journey-grid {
        grid-template-columns: 1fr;
    }
}

/* Vision section improvements */
.vision-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.vision-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #071321 0%, #0d2034 50%, #14202c 100%);
    z-index: 0;
}

.vision-bg::before {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 164, 65, .08) 0%, transparent 70%);
}

.vision-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d9a441' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 36v-4H0v4H0v2h4v4h2v-4h4v-2H6zM6 6V0H0v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .5;
}

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

.vision-heading {
    text-align: center;
    margin-bottom: 50px;
}

.vision-heading .eyebrow {
    color: var(--gold2);
    margin-bottom: 16px;
}

.vision-heading h2 {
    color: #fff;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    line-height: 1.15;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.vision-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(217, 164, 65, .15);
    border-radius: 16px;
    padding: 40px 36px;
    backdrop-filter: blur(10px);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.vision-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
    border-color: rgba(217, 164, 65, .4);
}

.vision-card-top {
    margin-bottom: 20px;
}

.vision-label {
    display: inline-block;
    font-size: .65rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 800;
    background: rgba(217, 164, 65, .12);
    padding: 8px 16px;
    border-radius: 999px;
}

.vision-card h3 {
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 16px;
    font-weight: 700;
}

.vision-card p {
    color: rgba(255, 255, 255, .8);
    font-size: .95rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 760px) {
    .vision-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- About page redesign ---------- */
/* About page - matches copy version using .two-col from multipage.css */
.engineer-grid {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 28px;
}

.engineer-grid a {
    display: flex;
    flex-direction: column;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid rgba(20, 32, 44, .08);
    border-radius: 8px;
    text-decoration: none;
    flex: 1;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.engineer-grid a:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 30px rgba(7, 19, 33, .1);
    border-color: rgba(217, 164, 65, .3);
}

.engineer-grid a strong {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.engineer-grid a span {
    font-size: .82rem;
    color: #5b6670;
    margin-bottom: 2px;
}

.engineer-grid a small {
    font-size: .78rem;
    color: var(--gold);
    font-weight: 600;
}

@media (max-width: 860px) {
    .engineer-grid {
        flex-direction: column;
    }
}

/* ---------- Global font color fix: All body text dark navy ---------- */
body, p, li, span, div, a, label, input, textarea, select, button,
.section-head > p,
.feature-card p,
.project-info p,
.about-copy p,
.why-copy p,
.vision-heading p,
.contact-info p,
.contact-page-info p,
.vision-card p,
.materials-showcase p,
.location-info p,
.location-project-locations p,
.video-showcase-text p,
.cta-revamp-inner p,
.project-tile-body p,
.materials-bigbox p,
.support-card p,
.guide-card p,
.service-card p,
.service-card-premium p,
.product-card p,
.mini-project p,
.testimonial-card p,
.booking-form p,
.whatsapp-form-note,
.form-success,
.engineer-grid span,
.our-story-text p,
.our-story-section p,
.vision-section p,
.testimonials-section p,
.section p,
.page-content p,
.dark-section p,
.why-section p,
.gallery-item p,
.video-section p,
.video-card p,
.footer p,
.footer a,
.trust-item span,
.top-contact-left a,
.top-contact-right a,
.contact-list a,
.contact-list div,
.location-contacts a,
.location-contacts span,
.pin-card span,
.brand-chip strong,
.mbc-points li,
.mbc-brands a,
.feature-tag,
.service-kicker,
.project-tile-tag,
.video-play,
.hero-meta span,
.hero-meta strong,
.lead {
    color: #2c3e50 !important;
}

/* Links keep gold accent on hover */
a:hover {
    color: var(--gold) !important;
}

/* White text on dark backgrounds */
.dark-section,
.dark-section p,
.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.video-section,
.video-section p,
.video-section h1,
.video-section h2,
.video-section h3,
.video-section h4,
.vision-section,
.vision-section p,
.vision-section h1,
.vision-section h2,
.vision-section h3,
.vision-section h4,
.cta-band,
.cta-band p,
.cta-band h1,
.cta-band h2,
.cta-band h3,
.cta-band h4,
.cta-revamp,
.cta-revamp p,
.cta-revamp h1,
.cta-revamp h2,
.cta-revamp h3,
.cta-revamp h4,
.footer,
.footer p,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer a,
.top-contact-bar,
.top-contact-bar a {
    color: #fff !important;
}

.dark-section a:hover,
.video-section a:hover,
.vision-section a:hover,
.cta-band a:hover,
.cta-revamp a:hover,
.footer a:hover,
.top-contact-bar a:hover {
    color: var(--gold) !important;
}

/* Gold accents preserved */
.eyebrow,
.eyebrow.dark,
.gallery-filter,
.gallery-item span small,
.section-head .eyebrow,
.cta-band .eyebrow,
.cta-revamp .eyebrow,
.feature-tag,
.service-kicker,
.project-tile-tag,
.mbc-points li::before,
.vision-label,
.pin-card b::before,
.location-dot,
.form-title span,
.instagram-link,
.footer-quote,
.floating-wa,
.booking-form-note,
.breadcrumb a {
    color: var(--gold) !important;
}

/* Page banner / breadcrumb text visibility ---------- */
.page-banner .eyebrow {
    color: var(--gold2) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.8) !important;
}

.page-banner h1 {
    color: #fff !important;
    text-shadow: 0 3px 12px rgba(0,0,0,.9) !important;
}

.page-banner-content > p:last-child {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.8) !important;
    font-weight: 500;
}

/* ---------- Global: All titles navy ---------- */
h1, h2, h3, h4, h5, h6 {
    color: var(--navy) !important;
}

.feature-card h3,
.project-info h3,
.about-copy h2,
.why-copy h2,
.vision-heading h2,
.faq-grid h2,
.contact-info h2,
.contact-page-info h2,
.vision-card h3,
.project-card-copy h3,
.happy-client-video .video-copy h3,
.materials-showcase h3,
.location-info h3,
.location-project-locations h3,
.video-showcase-text h2,
.cta-revamp-inner h2,
.project-tile-body h3,
.materials-bigbox h3,
.support-card h3,
.guide-card h3,
.service-card h3,
.service-card-premium h3,
.product-card h3,
.mini-project h4,
.testimonials-section h2,
.booking-heading h3,
.page-content h2,
.page-content h3 {
    color: var(--navy);
}

/* Page banner h1 stays white (not navy) */
.page-banner h1,
.page-banner h1 span {
    color: #fff !important;
}

/* Hero heading stays white on dark background; only <em> stays gold */
.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content p,
.hero-meta strong,
.hero-meta span {
    color: #fff !important;
}
.hero-content h1 span {
    color: #fff !important;
}
.hero-actions .btn-gold,
.hero-actions .btn-ghost {
    color: #111 !important;
}

/* Hero section: remove hover on buttons */
.hero-actions .btn-gold:hover,
.hero-actions .btn-ghost:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Trust strip: white text on dark background */
.trust-item span,
.trust-item b {
    color: #fff !important;
}
.trust-item b {
    color: var(--gold) !important;
}

/* Topbar: text white, social icons golden, phone/email icons gold2 */
.top-contact-left a,
.top-contact-right > span,
.top-contact-right a {
    color: #fff !important;
}
.top-contact-left a .top-icon {
    color: var(--gold2) !important;
}
.top-social svg {
    color: var(--gold) !important;
}
.top-social {
    border-color: rgba(255,255,255,.18) !important;
}

/* Gold accent spans/em in headings stay gold (except page banner + hero) */
h1 span, h2 span, h3 span, h1 em, h2 em, h3 em {
    color: var(--gold) !important;
}
.page-banner h1 span {
    color: #fff !important;
}
.hero-content h1 span {
    color: #fff !important;
}

/* ---------- Contact page content color fixes ---------- */
.contact-page-info > p {
    color: #3d4a56 !important;
    font-size: 1.02rem;
    line-height: 1.8;
}

.contact-page-info .contact-list > a,
.contact-page-info .contact-list > div {
    color: #2c3e50;
}

.contact-page-info .contact-list strong {
    color: var(--navy) !important;
}

.contact-page-info .contact-list small {
    color: #9c6e1f !important;
}

.contact-form {
    background: #fff !important;
}

.contact-form label {
    color: var(--navy) !important;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    color: var(--navy) !important;
    border-color: rgba(20, 32, 44, .2) !important;
    background: #fff !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select::placeholder {
    color: #9aa3ac !important;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(217, 164, 65, .15);
}

.form-title span {
    color: #9c6e1f !important;
}

.form-title strong {
    color: var(--navy) !important;
}

.whatsapp-form-note {
    color: #3d4a56 !important;
    font-size: .85rem;
    line-height: 1.6;
}

.whatsapp-form-note b {
    color: var(--navy);
}

.form-success {
    color: #28733f !important;
}

/* ---------- Homepage services: enquiry link ---------- */
.service-card-premium a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 19px;
    width: 100%;
    padding: 13px 0 0;
    border: none !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #e2b04c !important;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
    transition: .3s;
}

.service-card-premium a:hover {
    color: var(--gold2) !important;
    background: transparent !important;
}

.service-card-premium a span {
    color: var(--gold) !important;
    font-size: 1.1rem;
    transition: transform .3s ease;
}

.service-card-premium:hover a span {
    transform: translateX(4px);
}

@media (max-width: 980px) {
    .project-carousel .project-tile {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 760px) {
    .project-carousel .project-tile {
        flex: 0 0 50%;
    }
}

@media (max-width: 520px) {
    .project-carousel .project-tile {
        flex: 0 0 100%;
    }
}

.feature-tag {
    display: inline-block;
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #9c6e1f;
    font-weight: 800;
    margin: 0 0 8px;
}

.page-content .project-feature {
    margin-top: 8px;
}

.page-content .project-image {
    height: 587px;
}

/* Project spotlight: dark text on light background */
.project-info .eyebrow.dark {
    color: var(--gold2) !important;
}

.project-info h3 {
    color: var(--navy) !important;
}

.project-info p {
    color: #3d4a56 !important;
}

.project-facts span {
    color: #3d4a56 !important;
}

.project-facts b {
    color: var(--gold) !important;
}

.project-badge {
    color: #fff !important;
}

/* ---------- About page: products & approval support ---------- */
.about-support {
    background: #fff;
}

.about-support .support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.support-card {
    display: flex;
    flex-direction: column;
    background: #f7f5ef;
    border: 1px solid #e4e0d7;
    border-top: 3px solid var(--gold);
    padding: 28px 26px 26px;
    transition: .3s;
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(7, 19, 33, .1);
}

.support-no {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: .7rem;
    letter-spacing: .18em;
    color: #9c6e1f;
}

.support-card h3 {
    margin: 10px 0 10px;
    font-size: 1.3rem;
    color: var(--navy);
}

.support-card p {
    color: #5b6670;
    font-size: .92rem;
    line-height: 1.7;
    margin: 0 0 14px;
}

.support-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.support-list li {
    position: relative;
    padding: 4px 0 4px 22px;
    color: #33404c;
    font-size: .85rem;
    font-weight: 600;
}

.support-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--gold);
    font-weight: 800;
}

@media (max-width: 860px) {
    .about-support .support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .about-support .support-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- About page extras ---------- */
.about-lockup.small .big {
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}

.about-lockup.small .sub {
    font-size: clamp(.62rem, 1.2vw, .8rem);
}

.section-foot-cta {
    margin-top: 46px;
    text-align: center;
}

.section-foot-cta .btn {
    background: var(--navy);
    color: #fff;
}

@media (max-width: 980px) {
    .material-brand-grid,
    .guides-grid,
    .why-inline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page-grid {
        grid-template-columns: 1fr;
    }

    .about-page-image img {
        height: 420px;
    }

    .project-slide {
        flex-basis: calc((100% - 44px) / 3);
    }

    .carousel-arrow.prev {
        left: -14px;
    }

    .carousel-arrow.next {
        right: -14px;
    }
}

@media (max-width: 760px) {
    .about-section.revamp {
        padding: 66px 0 70px;
    }

    .materials-bigbox {
        padding: 34px 20px 28px;
    }

    .project-slide {
        flex-basis: calc((100% - 22px) / 2);
    }

    .carousel-arrow {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 520px) {
    .project-slide {
        flex-basis: 100%;
    }

    .material-brand-grid,
    .guides-grid,
    .why-inline-grid {
        grid-template-columns: 1fr;
    }

    .carousel-arrow.prev {
        left: 6px;
    }

    .carousel-arrow.next {
        right: 6px;
    }
}

/* ---------- Homepage services: View All Services ---------- */
.service-view-all {
    margin-top: 36px;
    text-align: center;
}

.service-view-all .btn {
    padding: 14px 28px;
    font-size: .82rem;
}

/* ---------- Homepage About: centered minimal copy ---------- */
.about-section.revamp .container {
    text-align: center;
}

.about-section.revamp .about-label {
    justify-content: center;
}

.about-section.revamp .about-copy-body {
    margin: 0 auto;
}

.about-section.revamp .about-copy-body p.lead {
    font-size: 1.2rem;
}

.about-section.revamp .engineer-grid {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* ---------- Projects page: image-forward project grid ---------- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 40px rgba(7, 19, 33, .12);
    transition: transform .35s ease, box-shadow .35s ease;
}

.project-card figure {
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .7s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(7, 19, 33, .2);
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-card-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 44px 18px 16px;
    background: linear-gradient(180deg, transparent, rgba(4, 14, 24, .86));
}

.project-card-copy h3 {
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.3;
    letter-spacing: -.01em;
}

@media (max-width: 960px) {
    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Projects page: Happy Clients video ---------- */
.happy-video-section {
    padding: 84px 0;
}

.happy-client-video {
    max-width: 800px;
    margin: 42px auto 0;
}

.happy-client-video .video-card {
    border-radius: 12px;
}

.happy-client-video .video-copy {
    padding: 18px 22px 20px;
}

.happy-client-video .video-copy p {
    color: var(--gold2);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 800;
    margin: 0 0 6px;
}

.happy-client-video .video-copy h3 {
    color: #fff;
    font-size: 1.15rem;
    margin: 0;
}

/* ---------- Services page: image-less content cards ---------- */
.page-content .feature-card {
    border-top: 4px solid var(--gold);
}

.feature-card .feature-tag {
    margin: 0 0 10px;
}

/* ---------- Homepage PRODUCTS / MATERIALS showcase ---------- */
.materials-showcase {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    margin-top: 8px;
    background: transparent;
    overflow: hidden;
    border: 0;
}

.materials-showcase > img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 4px 0 0 4px;
}

.materials-showcase > div {
    padding: 48px 44px;
    background: #071321;
    color: #fff;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.materials-showcase > div .eyebrow {
    color: var(--gold2);
}

.materials-showcase h3 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    color: #fff !important;
    margin: 12px 0 18px;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.materials-showcase > div > p:not(.eyebrow) {
    color: #e0e6eb;
    line-height: 1.8;
    margin: 0 0 24px;
}

.materials-showcase .text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #fff;
    margin-top: auto;
}

.materials-showcase .text-link span {
    color: var(--gold2);
    transition: transform .3s ease;
}

.materials-showcase .text-link:hover span {
    transform: translateX(5px);
}

@media (max-width: 860px) {
    .materials-showcase {
        grid-template-columns: 1fr;
    }

    .materials-showcase > img {
        height: 300px;
        border-radius: 4px 4px 0 0;
    }

    .materials-showcase > div {
        padding: 32px 24px;
    }
}

/* ---------- Top bar social icons fix ---------- */
.top-social {
    border-color: rgba(0, 0, 0, .5) !important;
    color: #111 !important;
}

.top-social svg {
    color: #111;
}

.top-social:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

.top-social:hover svg {
    color: #fff;
}

/* ---------- Homepage MAP & LOCATIONS (copy version design) ---------- */
.location-section {
    background: var(--navy);
    color: #fff;
}

.location-section .section-head > p {
    color: #aab4bf;
}

.location-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    min-height: 480px;
    margin-top: 40px;
}

.tn-map-container {
    background: #0a1929;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.tn-map-svg {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}

.tn-pin {
    cursor: pointer;
    transition: transform .2s ease;
}

.tn-pin:hover {
    transform: scale(1.3);
}

.tn-pin-hq {
    animation: pinPulse 2s ease-in-out infinite;
}

.tn-pin-ring {
    animation: ringPulse 2s ease-in-out infinite;
}

@keyframes pinPulse {
    0%, 100% { r: 8; }
    50% { r: 10; }
}

@keyframes ringPulse {
    0%, 100% { opacity: .4; r: 14; }
    50% { opacity: .15; r: 20; }
}

.location-info {
    padding: 45px;
    background: #0d2034;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info .eyebrow {
    color: var(--gold2);
    margin-bottom: 16px;
}

.location-info h3 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin: 13px 0 24px;
    color: #fff;
}

.location-contacts {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.location-contacts a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.02);
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: border-color .25s ease, background .25s ease;
}

.location-contacts a:hover {
    border-color: rgba(217, 164, 65, .4);
    background: rgba(217, 164, 65, .08);
}

.location-contacts b {
    font-size: .95rem;
    color: #fff;
}

.location-contacts span {
    color: #aeb9c4;
    font-size: .85rem;
}

.location-project-locations {
    margin-top: 50px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.location-project-locations .eyebrow {
    color: var(--gold2);
}

.location-project-locations h3 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 8px 0 28px;
    color: var(--navy);
}

.location-pins-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}

.location-pin-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.location-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    margin-top: 5px;
}

.location-pin-item b {
    display: block;
    font-size: .9rem;
    margin-bottom: 3px;
    color: var(--navy);
}

.location-pin-item p {
    font-size: .82rem;
    color: #2c3e50;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 980px) {
    .location-layout {
        grid-template-columns: 1fr;
    }

    .tn-map-container {
        min-height: 380px;
    }
}

@media (max-width: 760px) {
    .location-pins-grid {
        grid-template-columns: 1fr;
    }

    .location-info {
        padding: 28px 20px;
    }

    .service-marquee-track {
        display: none;
    }

    .service-marquee-inner {
        justify-content: flex-end;
    }

    .service-marquee-link {
        font-size: .9rem;
    }
}

/* ---------- Homepage video showcase (Doctor Speech) ---------- */
.video-showcase-section {
    background: #071321;
    color: #fff;
    padding: 80px 0;
}

.video-showcase-section .eyebrow {
    color: var(--gold);
}

.video-showcase-grid {
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 40px;
    align-items: start;
}

.video-showcase-text h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #fff;
    margin: 10px 0 0;
}

.video-showcase-embed iframe {
    width: 760px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

.video-showcase-cta {
    display: flex;
    align-items: flex-end;
    padding-top: 40px;
}

.video-showcase-cta .btn {
    white-space: nowrap;
}

@media (max-width: 860px) {
    .video-showcase-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .video-showcase-embed iframe {
        width: 100%;
    }

    .video-showcase-cta {
        padding-top: 0;
    }
}

/* ========== Final overrides: ensure dark section colors win ========== */
.dark-section .service-kicker,
.dark-section .service-card-premium .service-kicker {
    color: var(--gold) !important;
}
.dark-section .service-card-premium p {
    color: #aebac4 !important;
}
.dark-section .section-head > p {
    color: #aebac4 !important;
}
.dark-section h2 {
    color: #fff !important;
}
.materials-showcase > div > p:not(.eyebrow) {
    color: #e0e6eb !important;
}
.materials-showcase h3 {
    color: #fff !important;
}
.materials-showcase .text-link {
    color: #fff !important;
}
.materials-showcase .text-link span {
    color: var(--gold) !important;
}
.materials-bigbox .eyebrow,
.material-box-head .eyebrow,
.materials-showcase > div .eyebrow {
    color: var(--gold2) !important;
}
.materials-bigbox h3 {
    color: #fff !important;
}
.materials-bigbox .material-box-head > p:last-child {
    color: #fff !important;
}

/* ========== Testimonial section colors ========== */
.testimonials-section {
    background: #071321;
    color: #fff;
}
.testimonials-section .eyebrow {
    color: var(--gold2) !important;
}
.testimonials-section h2 {
    color: #fff !important;
}
.testimonials-section .section-head > p {
    color: #aab7c1 !important;
}
.testimonial-card {
    background: #0d2033 !important;
    border: 1px solid rgba(255,255,255,.1) !important;
}
.testimonial-card .quote-mark {
    color: var(--gold) !important;
}
.testimonial-card .stars {
    color: var(--gold2) !important;
}
.testimonial-card h3 {
    color: #fff !important;
}
.testimonial-card > span {
    color: #e0b34f !important;
}
.testimonial-arrow {
    color: #fff !important;
    border-color: rgba(255,255,255,.25) !important;
}
.testimonial-arrow:hover {
    background: var(--gold) !important;
    color: #111 !important;
    border-color: var(--gold) !important;
}
.testimonial-dot {
    background: rgba(255,255,255,.25) !important;
}
.testimonial-dot.active {
    background: var(--gold) !important;
}

/* ========== Location section colors ========== */
.location-section .section-head h2,
.location-section .section-head h2 span {
    color: #fff !important;
}
.location-section .section-head > p {
    color: #fff !important;
}
.location-info .eyebrow {
    color: var(--gold2) !important;
}
.location-info h3 {
    color: #fff !important;
}
.location-contacts a b {
    color: #fff !important;
}
.location-contacts a span {
    color: #fff !important;
}
.location-contacts a {
    color: #fff !important;
}
.ongoing-pins .eyebrow {
    color: var(--gold2) !important;
}
.ongoing-pins h3 {
    color: #fff !important;
}
.ongoing-pins .pin-card b {
    color: #fff !important;
}
.ongoing-pins .pin-card span {
    color: #aab7c1 !important;
}
.location-layout-expanded {
    background: #071321;
    color: #fff;
}
.office-story-grid {
    background: #071321;
    color: #fff;
}
.location-info {
    color: #fff;
}
.ongoing-pins {
    color: #fff;
}
.location-contacts {
    color: #fff;
}

/* Request a site visit: golden */
.location-layout-expanded .text-link {
    color: var(--gold) !important;
}

/* Start here / Send Enquiry button: white */
.contact-form .btn-dark {
    color: #fff !important;
}
.contact-form .btn-dark span {
    color: #fff !important;
}

/* Footer titles: golden */
.footer h4 {
    color: var(--gold) !important;
}

/* Footer bottom: white */
.footer-bottom span {
    color: #fff !important;
}

/* Back to top: white */
.back-top {
    color: #fff !important;
    background: #0a1724 !important;
    border-color: rgba(255,255,255,.25) !important;
}
.back-top:hover {
    background: var(--gold) !important;
    color: #111 !important;
    border-color: var(--gold) !important;
}

/* Footer quote: no hover */
.footer-quote,
.footer-quote:hover,
.footer-quote:focus,
.footer-quote:active {
    background: var(--gold) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* About Journey: dark section text overrides */
.about-journey-card p {
    color: rgba(255, 255, 255, .7) !important;
}
.about-journey-card h3 {
    color: #fff !important;
}
.about-journey-head h2 {
    color: #fff !important;
}
.about-journey-head h2 span {
    color: var(--gold) !important;
}
.about-journey-section .eyebrow {
    color: var(--gold) !important;
}
.about-journey-section .journey-step {
    color: var(--gold) !important;
}

/* Additional Services Section (icon-only cards) */
.additional-services-section {
    background: var(--cream);
    padding: 80px 0;
}

.additional-services-section .eyebrow.dark {
    color: var(--gold2);
}

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

.additional-service-card {
    background: #fff;
    border: 1px solid rgba(20, 32, 44, .08);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: left;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.additional-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(7, 19, 33, .1);
    border-color: rgba(217, 164, 65, .3);
}

.additional-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(217, 164, 65, .12);
    color: var(--gold);
    margin-bottom: 20px;
}

.additional-service-icon svg {
    width: 24px;
    height: 24px;
}

.additional-service-card h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.additional-service-card p {
    color: #3d4a56;
    font-size: .92rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.additional-service-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.additional-service-card ul li {
    position: relative;
    padding-left: 16px;
    color: #3d4a56;
    font-size: .88rem;
    line-height: 1.6;
    margin-bottom: 6px;
}

.additional-service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.additional-service-card a {
    font-weight: 700;
    color: var(--gold) !important;
    font-size: .88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap .25s ease, color .25s ease;
}

.additional-service-card a:hover {
    gap: 12px;
    color: var(--gold) !important;
}

.additional-service-card a span {
    font-size: 1rem;
}

@media (max-width: 860px) {
    .additional-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .additional-services-grid {
        grid-template-columns: 1fr;
    }
}

/* Projects page: Clean card grid */
.project-grid-clean {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.project-card-clean {
    background: #fff;
    border: 1px solid rgba(20, 32, 44, .08);
    border-radius: 10px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    cursor: pointer;
}

.project-card-clean:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(7, 19, 33, .1);
    border-color: rgba(217, 164, 65, .3);
}

.project-card-clean-img {
    height: 220px;
    overflow: hidden;
}

.project-card-clean-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.project-card-clean:hover .project-card-clean-img img {
    transform: scale(1.06);
}

.project-card-clean-body {
    padding: 16px 18px 18px;
}

.project-tag-clean {
    display: inline-block;
    font-size: .65rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold);
    background: rgba(217, 164, 65, .1);
    padding: 4px 10px;
    border-radius: 4px;
}

@media (max-width: 1024px) {
    .project-grid-clean {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .project-grid-clean {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Gallery: white text on images */
.page-gallery .gallery-item span {
    color: #fff !important;
}
.page-gallery .gallery-item span small {
    color: var(--gold) !important;
}

.booking-submit {
    color: #fff !important;
}

/* Footer: remove hover on Get a Free Quote — MUST be last */
.footer a.footer-quote:hover,
.footer a.footer-quote:active,
.footer a.footer-quote:focus {
    transform: none !important;
    background: var(--gold) !important;
    box-shadow: none !important;
    color: #101820 !important;
}