:root {
    --navy: #071b36;
    --navy-2: #0b2547;
    --navy-3: #102f55;
    --gold: #ffb300;
    --gold-dark: #e99b00;
    --white: #ffffff;
    --off-white: #f6f8fb;
    --text: #18283e;
    --muted: #667085;
    --line: #dfe5ec;
    --radius: 10px;
    --shadow: 0 15px 45px rgba(7, 27, 54, .12);
    --container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container {
    width: min(var(--container), calc(100% - 80px));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
    color: #fff;
}
.site-header.scrolled {
    background: rgba(5, 22, 44, .96);
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
}
.nav-wrap {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 255px;
}
.brand img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255,255,255,.96);
}
.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.brand__text strong {
    font-size: 23px;
    letter-spacing: .8px;
}
.brand__text small {
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 3px;
}
.brand__text em {
    color: var(--gold);
    font-size: 11px;
    font-style: italic;
    font-weight: 700;
    margin-top: 7px;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.main-nav > a:not(.btn) {
    position: relative;
    padding: 36px 0 33px;
    opacity: .92;
}
.main-nav > a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 25px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .2s ease;
}
.main-nav > a:hover::after,
.main-nav > a.active::after { transform: scaleX(1); }
.nav-dropdown span, .nav-language span { color: var(--gold); }
.nav-language { white-space: nowrap; }
.btn {
    min-height: 50px;
    padding: 0 25px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .2px;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn span { font-size: 20px; line-height: 0; }
.btn--gold { background: var(--gold); color: #091a30; }
.btn--gold:hover { background: #ffc331; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--outline { color: #fff; border-color: rgba(255,255,255,.75); background: rgba(5,22,44,.15); }
.btn--outline:hover { background: rgba(255,255,255,.12); }
.btn--small { min-height: 45px; padding-inline: 20px; }
.btn--quote { padding-inline: 18px; min-height: 44px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 27px; height: 2px; margin: 5px; background: #fff; transition: .2s; }

.hero {
    min-height: 760px;
    position: relative;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(3,18,38,.97) 0%, rgba(4,24,47,.86) 35%, rgba(4,24,47,.25) 68%, rgba(4,24,47,.12) 100%),
        url("assets/hero-home.jpg") center/cover no-repeat;
    color: #fff;
    padding: 130px 0 160px;
}
.hero::before {
    content: "MARTELI PROJECT IMAGE";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.12);
    font-weight: 900;
    font-size: clamp(30px, 5vw, 80px);
    letter-spacing: 5px;
    pointer-events: none;
}
.hero__overlay { position: absolute; inset: 0; }
.hero__content { position: relative; z-index: 2; }
.eyebrow {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.eyebrow span {
    width: 43px;
    height: 2px;
    background: var(--gold);
    display: inline-block;
}
.eyebrow--dark { color: var(--gold-dark); }
.hero h1 {
    font-size: clamp(60px, 7vw, 106px);
    line-height: .94;
    letter-spacing: -4px;
    margin: 28px 0 25px;
    font-weight: 800;
}
.hero h1 strong { color: var(--gold); }
.hero__lead {
    max-width: 620px;
    font-size: 17px;
    color: rgba(255,255,255,.86);
    margin-bottom: 30px;
}
.hero__actions { display: flex; gap: 15px; flex-wrap: wrap; }
.hero__stats {
    position: absolute;
    z-index: 5;
    bottom: -58px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(5, 27, 53, .96);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 9px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.stat {
    min-height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-right: 1px solid rgba(255,255,255,.2);
}
.stat:last-child { border-right: 0; }
.stat__icon { color: var(--gold); font-size: 40px; }
.stat strong { display: block; color: var(--gold); font-size: 31px; line-height: 1; }
.stat span { display: block; color: #fff; text-transform: uppercase; font-size: 11px; margin-top: 7px; font-weight: 600; }

.section { padding: 115px 0; }
.section--white { background: #fff; }
.section--navy { background: var(--navy); color: #fff; }
.about-grid {
    display: grid;
    grid-template-columns: .85fr 1.55fr;
    gap: 65px;
    align-items: start;
}
.about-copy {
    padding-right: 30px;
    border-right: 1px solid var(--line);
}
.about-copy h2, .section-heading h2 {
    font-size: clamp(31px, 3vw, 44px);
    line-height: 1.1;
    margin: 20px 0;
    letter-spacing: -1.5px;
}
.about-copy h2 strong, .section-heading h2 strong { font-weight: 800; }
.about-copy p {
    color: var(--muted);
    max-width: 500px;
    margin-bottom: 30px;
}
.placeholder {
    color: #b07a00;
    background: #fff6d9;
    padding: 1px 4px;
    border-radius: 3px;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    margin-top: 20px;
}
.service-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 23px;
    min-height: 190px;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bdc9d7; }
.service-card__icon {
    width: 47px;
    height: 47px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 13px;
}
.service-card h3 { font-size: 15px; line-height: 1.2; margin: 0 35px 7px 0; }
.service-card p { color: var(--muted); font-size: 11px; margin: 0; }
.service-card > a {
    position: absolute;
    right: 20px;
    bottom: 17px;
    color: var(--gold-dark);
    font-size: 22px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-end;
    margin-bottom: 35px;
}
.section-heading h2 { margin-bottom: 0; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.project-card { overflow: hidden; border-radius: 8px; }
.project-card__image {
    height: 220px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}
.placeholder-image {
    background: linear-gradient(135deg, #e8edf2, #fff);
    display: grid;
    place-items: center;
    border: 1px solid #d6dde6;
}
.placeholder-image > div { text-align: center; color: #a8b1bd; }
.placeholder-image span { display: block; font-size: 14px; font-weight: 800; letter-spacing: 1px; }
.placeholder-image small { font-size: 10px; }
.project-card__body { padding: 16px 5px; }
.project-card h3 { font-size: 14px; text-transform: uppercase; margin: 0 0 8px; }
.project-meta { display: flex; gap: 9px; color: #b9c5d3; font-size: 10px; }
.project-meta i { width: 1px; background: #64758a; }
.text-link {
    color: var(--gold);
    display: inline-flex;
    gap: 10px;
    margin-top: 13px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 10px;
}

.values-approach {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 55px;
}
.values { padding-right: 45px; border-right: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 25px; }
.value { text-align: center; padding: 0 18px; border-right: 1px solid var(--line); }
.value:last-child { border-right: 0; }
.value__icon { font-size: 35px; color: var(--navy); }
.value h3, .step h3 { font-size: 12px; text-transform: uppercase; margin: 9px 0 5px; }
.value p, .step p { color: var(--muted); font-size: 10px; margin: 0; }
.approach-line { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-top: 25px; }
.approach-line::before {
    content: "";
    position: absolute;
    left: 13%;
    right: 13%;
    top: 28px;
    height: 1px;
    background: #cbd4df;
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__number {
    width: 56px;
    height: 56px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold);
    border: 5px solid #fff;
    box-shadow: 0 0 0 1px var(--navy);
    font-size: 12px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.cta-strip { padding: 28px 0; background: var(--gold); }
.cta-strip__inner {
    display: flex;
    align-items: center;
    gap: 18px;
}
.cta-strip__icon {
    width: 56px;
    height: 56px;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
}
.cta-strip small { display: block; font-weight: 800; font-size: 10px; }
.cta-strip h2 { margin: 0; font-size: 22px; }
.cta-strip .btn { margin-left: auto; }

.site-footer {
    background: var(--navy);
    color: #fff;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr 1.25fr;
    gap: 50px;
    padding-bottom: 45px;
}
.brand--footer { min-width: 0; }
.brand--footer img { width: 58px; height: 58px; }
.brand--footer .brand__text strong { font-size: 19px; }
.footer-brand > p { max-width: 340px; color: #b9c6d6; font-size: 12px; }
.footer-grid h3 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--gold);
    margin: 5px 0 18px;
}
.footer-grid > div:not(.footer-brand) > a {
    display: block;
    color: #d9e0e8;
    font-size: 11px;
    margin: 9px 0;
}
.contact-line {
    display: flex;
    gap: 12px;
    color: #d9e0e8;
    font-size: 11px;
    margin: 13px 0;
}
.contact-line > :first-child { color: var(--gold); font-size: 18px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
}
.footer-bottom {
    min-height: 58px;
    border-top: 1px solid rgba(255,255,255,.14);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: #9baabd;
    font-size: 10px;
}
.footer-bottom div { display: flex; gap: 13px; }
.footer-bottom i { font-style: normal; }

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 5px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 900;
    cursor: pointer;
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: .25s;
    z-index: 999;
}
.back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.revealed { opacity: 1; transform: none; }

@media (max-width: 1200px) {
    .container { width: min(var(--container), calc(100% - 45px)); }
    .main-nav { gap: 16px; }
    .brand { min-width: 225px; }
    .brand img { width: 56px; height: 56px; }
    .brand__text strong { font-size: 19px; }
    .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 92px;
        right: -100%;
        width: min(390px, 88vw);
        height: calc(100vh - 92px);
        background: var(--navy);
        padding: 25px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        transition: right .25s ease;
    }
    .main-nav.open { right: 0; }
    .main-nav > a:not(.btn) { padding: 15px 0; }
    .main-nav > a:not(.btn)::after { bottom: 6px; }
    .nav-language { padding: 15px 0; }
    .btn--quote { margin-top: 10px; }
    .hero { min-height: 720px; }
    .hero__stats { width: calc(100% - 45px); }
    .stat { padding: 10px; gap: 10px; }
    .stat__icon { font-size: 28px; }
    .stat strong { font-size: 24px; }
    .about-grid, .values-approach { grid-template-columns: 1fr; }
    .about-copy, .values { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 45px; }
}

@media (max-width: 700px) {
    .container { width: calc(100% - 32px); }
    .nav-wrap { min-height: 76px; }
    .site-header.scrolled { background: var(--navy); }
    .brand img { width: 48px; height: 48px; }
    .brand__text strong { font-size: 17px; }
    .brand__text small { font-size: 8px; }
    .brand__text em { font-size: 9px; }
    .main-nav { top: 76px; height: calc(100vh - 76px); }
    .hero { min-height: 820px; padding-top: 135px; padding-bottom: 250px; }
    .hero h1 { font-size: clamp(48px, 15vw, 72px); letter-spacing: -2px; }
    .hero__lead { font-size: 14px; }
    .hero__stats {
        bottom: -170px;
        grid-template-columns: repeat(2, 1fr);
    }
    .stat { min-height: 105px; border-bottom: 1px solid rgba(255,255,255,.2); }
    .section { padding: 85px 0; }
    .about-grid { gap: 40px; }
    .service-grid, .project-grid { grid-template-columns: 1fr; }
    .project-card__image { height: 240px; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .value-grid, .approach-line { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .value { border-right: 0; }
    .approach-line::before { display: none; }
    .cta-strip__inner { flex-wrap: wrap; }
    .cta-strip .btn { margin-left: 0; width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; justify-content: center; padding: 18px 0; text-align: center; }
}

@media (max-width: 460px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .hero__actions .btn { width: 100%; }
    .value-grid, .approach-line { grid-template-columns: 1fr; }
}

/* ===== MARTELI INNER PAGES ===== */
.page-hero{position:relative;min-height:430px;padding:170px 0 95px;color:#fff;background:linear-gradient(90deg,rgba(4,22,45,.96),rgba(7,27,54,.72)),url("assets/hero-placeholder.jpg") center/cover no-repeat}.page-hero::after{content:"MARTELI GLOBAL SERVICES LIMITED";position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.055);font-size:clamp(30px,5vw,75px);font-weight:900;letter-spacing:4px;pointer-events:none}.page-hero__content{position:relative;z-index:2}.page-hero h1{margin:18px 0 10px;font-size:clamp(42px,6vw,72px);line-height:1}.page-hero p{max-width:650px;color:rgba(255,255,255,.8);font-size:16px}.inner-section{padding:90px 0}.inner-section--soft{background:var(--off-white)}.inner-section--navy{background:var(--navy);color:#fff}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:start}.inner-section h2{font-size:clamp(30px,4vw,46px);line-height:1.08;margin:15px 0 22px}.inner-section h2 strong{color:var(--gold-dark)}.inner-section p{color:var(--muted)}.inner-section--navy p{color:#b9c6d6}.check-list{padding:0;margin:25px 0;list-style:none}.check-list li{position:relative;padding:8px 0 8px 28px;color:var(--text)}.check-list li::before{content:"✓";position:absolute;left:0;color:var(--gold-dark);font-weight:900}.service-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.service-detail{border:1px solid var(--line);background:#fff;border-radius:10px;padding:30px;transition:.25s}.service-detail:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.service-detail__number{color:var(--gold-dark);font-weight:900;font-size:13px}.service-detail h3{margin:10px 0;font-size:22px}.service-detail p{font-size:14px;margin-bottom:0}.project-filter{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px}.filter-btn{border:1px solid #314866;background:transparent;color:#dce6f0;padding:9px 16px;border-radius:4px;cursor:pointer;font-size:11px;font-weight:800;text-transform:uppercase}.filter-btn.active,.filter-btn:hover{background:var(--gold);color:var(--navy);border-color:var(--gold)}.project-card.is-hidden{display:none}.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:50px}.contact-box{background:var(--navy);color:#fff;padding:38px;border-radius:10px}.contact-box h2{color:#fff}.contact-box p{color:#b9c6d6}.contact-item{display:flex;gap:15px;margin:25px 0}.contact-item__icon{color:var(--gold);font-size:23px;min-width:25px}.contact-item strong{display:block;font-size:12px;text-transform:uppercase;color:var(--gold);margin-bottom:5px}.contact-item a{color:#fff}.contact-form{background:#fff;border:1px solid var(--line);padding:38px;border-radius:10px;box-shadow:var(--shadow)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-field{display:flex;flex-direction:column;gap:7px}.form-field.full{grid-column:1/-1}.form-field label{font-size:11px;font-weight:800;text-transform:uppercase}.form-field input,.form-field textarea,.form-field select{width:100%;border:1px solid #d6dee8;border-radius:5px;padding:13px 14px;font:inherit;font-size:13px;outline:none}.form-field input:focus,.form-field textarea:focus,.form-field select:focus{border-color:var(--gold-dark);box-shadow:0 0 0 3px rgba(255,179,0,.12)}.form-field textarea{min-height:150px;resize:vertical}.map-placeholder{min-height:320px;border-radius:10px;background:linear-gradient(135deg,#e8edf2,#f8fafc);display:grid;place-items:center;border:1px solid var(--line);color:#9aa7b7;text-align:center}.map-placeholder strong{display:block;color:var(--navy);margin-bottom:4px}@media(max-width:800px){.two-col,.contact-grid,.service-detail-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.inner-section{padding:70px 0}}


/* ===== MARTELI FINAL IMAGE SYSTEM ===== */
/* No development placeholder wording or watermark overlays. */
.hero::before,
.page-hero::after {
    content: none !important;
    display: none !important;
}

/* Home hero: replace only assets/hero-home.jpg */
.hero--home {
    background-image:
        linear-gradient(90deg, rgba(3,18,38,.97) 0%, rgba(4,24,47,.86) 35%, rgba(4,24,47,.25) 68%, rgba(4,24,47,.12) 100%),
        url("assets/hero-home.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Inner-page heroes: overwrite the file with the matching name; no PHP/CSS edit needed. */
.page-hero--about {
    background-image: linear-gradient(90deg, rgba(4,22,45,.96), rgba(7,27,54,.68)), url("assets/hero-about.jpg");
}
.page-hero--services {
    background-image: linear-gradient(90deg, rgba(4,22,45,.96), rgba(7,27,54,.68)), url("assets/hero-services.jpg");
}
.page-hero--projects {
    background-image: linear-gradient(90deg, rgba(4,22,45,.96), rgba(7,27,54,.68)), url("assets/hero-projects.jpg");
}
.page-hero--contact {
    background-image: linear-gradient(90deg, rgba(4,22,45,.96), rgba(7,27,54,.68)), url("assets/hero-contact.jpg");
}
.page-hero--about,
.page-hero--services,
.page-hero--projects,
.page-hero--contact {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Project images: fixed crop, no placeholder text. */
.project-card__image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #e9edf2;
}
.project-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease;
}
.project-card:hover .project-card__image img {
    transform: scale(1.04);
}
.placeholder-image {
    display: none !important;
}

@media (max-width: 700px) {
    .project-card__image { height: 230px; }
}
/* ===== EQUIPMENT PAGE ===== */
.page-hero--equipment{background:linear-gradient(90deg,rgba(4,22,45,.96),rgba(7,27,54,.72)),url("assets/hero-equipment.jpg") center/cover no-repeat;}
.equipment-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.equipment-card{appearance:none;border:1px solid rgba(255,255,255,.14);background:#0b2547;color:#fff;padding:0;border-radius:8px;overflow:hidden;text-align:left;cursor:pointer;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;}
.equipment-card:hover{transform:translateY(-4px);border-color:rgba(255,179,0,.55);box-shadow:0 18px 40px rgba(0,0,0,.22);}
.equipment-card__image{display:block;width:100%;height:220px;overflow:hidden;background:#dfe5ec;}
.equipment-card__image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .4s ease;}
.equipment-card:hover .equipment-card__image img{transform:scale(1.04);}
.equipment-card__caption{display:block;padding:14px 16px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.3px;}
.equipment-lightbox{position:fixed;inset:0;z-index:5000;background:rgba(3,12,25,.94);display:none;align-items:center;justify-content:center;padding:35px 80px;}
.equipment-lightbox.open{display:flex;}
.equipment-lightbox__content{width:min(1100px,100%);max-height:88vh;display:flex;flex-direction:column;align-items:center;gap:15px;}
.equipment-lightbox__content img{max-width:100%;max-height:78vh;width:auto;height:auto;object-fit:contain;border-radius:8px;box-shadow:0 20px 70px rgba(0,0,0,.45);}
.equipment-lightbox__caption{color:#fff;font-size:13px;font-weight:700;text-align:center;}
.equipment-lightbox__close,.equipment-lightbox__nav{position:absolute;border:0;cursor:pointer;background:rgba(255,255,255,.12);color:#fff;display:grid;place-items:center;}
.equipment-lightbox__close{top:24px;right:24px;width:44px;height:44px;border-radius:50%;font-size:28px;}
.equipment-lightbox__nav{top:50%;transform:translateY(-50%);width:48px;height:60px;border-radius:6px;font-size:34px;}
.equipment-lightbox__nav--prev{left:20px}.equipment-lightbox__nav--next{right:20px}
.equipment-lightbox__close:hover,.equipment-lightbox__nav:hover{background:#ffb300;color:#071b36;}
body.equipment-lightbox-open{overflow:hidden;}
@media(max-width:1050px){.equipment-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.equipment-grid{grid-template-columns:repeat(2,1fr)}.equipment-card__image{height:190px}.equipment-lightbox{padding:25px 55px}}
@media(max-width:480px){.equipment-grid{grid-template-columns:1fr}.equipment-card__image{height:240px}.equipment-lightbox{padding:70px 15px 25px}.equipment-lightbox__nav{width:40px;height:48px;font-size:28px}.equipment-lightbox__nav--prev{left:8px}.equipment-lightbox__nav--next{right:8px}}
/* =========================================================
   MARTELI CONTACT FORM - SUCCESS & ERROR MESSAGES
   ========================================================= */

.form-message {
    display: block;
    width: 100%;
    margin-top: 16px !important;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.6;
    border: 1px solid transparent;
}

/* Successful form submission */
.form-message--success {
    color: #176b42;
    background: #edf9f2;
    border-color: #b9e5cb;
}

/* Failed form submission / validation error */
.form-message--error {
    color: #a32727;
    background: #fff1f1;
    border-color: #efc1c1;
}

/* Improve form-field focus appearance */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f2a900;
    box-shadow: 0 0 0 3px rgba(242, 169, 0, 0.12);
}

/* Make message textarea comfortable for longer enquiries */
.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Submit button feedback */
.contact-form button[type="submit"] {
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
}

.contact-form button[type="submit"]:active {
    transform: translateY(0);
}

/* Mobile optimisation */
@media (max-width: 640px) {
    .form-message {
        padding: 12px 14px;
        font-size: 12px !important;
    }
}
/* =========================================================
   MOBILE HERO STATS OVERLAP FIX
   Prevents statistics from covering the About section
   ========================================================= */

@media (max-width: 700px) {

    .hero {
        min-height: auto !important;
        display: block !important;
        padding-top: 135px !important;
        padding-bottom: 40px !important;
    }

    .hero__content {
        position: relative;
        z-index: 2;
    }

    .hero__stats {
        position: relative !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;

        width: calc(100% - 32px) !important;
        margin: 45px auto 0 !important;

        grid-template-columns: repeat(2, 1fr) !important;
    }

    .stat {
        min-height: 105px;
    }

    /*
     * Because the statistics are now part of the normal
     * page flow, the About section no longer needs to
     * compensate for an absolutely positioned statistics box.
     */
    #about {
        margin-top: 0 !important;
        padding-top: 75px !important;
    }

    .about-copy {
        position: relative;
        z-index: 1;
    }
}