/* ==========================================================================
   Life Guarding & Facilities Services — public theme
   Dark navy · professional blue · white · restrained gold
   Built on Bootstrap 5.3
   ========================================================================== */

:root {
    --lg-navy-950: #06122a;
    --lg-navy-900: #0a1d3b;
    --lg-navy-800: #0e2a52;
    --lg-navy-700: #143a6d;
    --lg-blue-700: #124a9e;
    --lg-blue-600: #1b5fbf;
    --lg-blue-500: #2e76df;
    --lg-blue-100: #e3edfb;
    --lg-blue-50:  #f2f7fd;
    --lg-gold:     #c4a24f;
    --lg-gold-600: #b08d3c;
    --lg-gold-100: #f6ecd3;
    --lg-ink:      #14233d;
    --lg-muted:    #5a6b84;
    --lg-line:     #e2e9f2;
    --lg-light:    #f5f8fc;
    --lg-white:    #ffffff;
    --lg-green:    #22b261;
    --lg-wa:       #1fae54;
    --lg-wa-dark:  #128c43;

    --bs-primary: var(--lg-blue-600);
    --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-body-color: var(--lg-ink);
    --bs-link-color: var(--lg-blue-600);
    --bs-link-hover-color: var(--lg-blue-500);
    --bs-body-bg: var(--lg-white);
    --bs-border-color: var(--lg-line);

    --font-display: "Poppins", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--lg-ink);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4 {
    font-family: var(--font-display);
    color: var(--lg-navy-900);
    font-weight: 700;
    letter-spacing: -0.01em;
}

p { color: #31435f; }
.text-muted, .text-secondary { color: var(--lg-muted) !important; }

a { text-decoration: none; }
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible,
.dropdown-item:focus-visible,
.navbar-toggler:focus-visible,
.btn-close:focus-visible {
    outline: 3px solid var(--lg-gold);
    outline-offset: 2px;
    box-shadow: none;
}
.form-control:focus, .form-select:focus {
    border-color: var(--lg-blue-500);
    box-shadow: 0 0 0 0.25rem rgba(46, 118, 223, 0.14);
}
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--lg-navy-900);
    color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

::selection { background: var(--lg-gold); color: var(--lg-navy-950); }

img { max-width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--lg-gold-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--lg-gold); display: inline-block; }
.eyebrow.centered { justify-content: center; }
.eyebrow-gold::before { background: var(--lg-gold); }
.eyebrow-gold { color: var(--lg-gold-600); }

.sec-pad { padding: 84px 0; }
.sec-pad-sm { padding: 56px 0; }
.bg-light-soft { background: var(--lg-light); }
.bg-navy { background: var(--lg-navy-900); }
.bg-navy-deep { background: var(--lg-navy-950); }

.req { color: #c0392b; }

.text-gold { color: var(--lg-gold-600) !important; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    font-family: var(--font-display);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.62rem 1.5rem;
    font-size: 0.95rem;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-lg { padding: 0.8rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: 0.42rem 1rem; font-size: 0.88rem; }

.btn-glow {
    background: linear-gradient(180deg, var(--lg-blue-500), var(--lg-blue-600));
    border: 1px solid var(--lg-blue-600);
    color: #fff;
    box-shadow: 0 6px 18px -6px rgba(27, 95, 191, 0.55), 0 0 0 0 rgba(196, 162, 79, 0);
    position: relative;
}
.btn-glow:hover, .btn-glow:focus {
    background: linear-gradient(180deg, var(--lg-blue-700), var(--lg-blue-600));
    color: #fff; border-color: var(--lg-blue-700);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -8px rgba(27, 95, 191, 0.6), 0 0 0 4px rgba(46, 118, 223, 0.18);
}
.btn-glow:active { transform: translateY(0); }

.btn-gold {
    background: linear-gradient(180deg, #d6b45f, var(--lg-gold-600));
    border: 1px solid var(--lg-gold-600); color: var(--lg-navy-950); font-weight: 600;
    box-shadow: 0 6px 18px -8px rgba(176, 141, 60, 0.8);
}
.btn-gold:hover, .btn-gold:focus { color: var(--lg-navy-950); background: linear-gradient(180deg, #e0c270, #bf9c46); transform: translateY(-2px); }

.btn-outline-navy {
    border: 1.5px solid var(--lg-navy-800); color: var(--lg-navy-900); background: transparent;
}
.btn-outline-navy:hover { background: var(--lg-navy-900); color: #fff; border-color: var(--lg-navy-900); }

.btn-outline-light { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn-whatsapp {
    background: var(--lg-wa); border: 1px solid var(--lg-wa); color: #fff !important;
    box-shadow: 0 6px 16px -8px rgba(31, 174, 84, .9);
}
.btn-whatsapp:hover, .btn-whatsapp:focus { background: var(--lg-wa-dark); border-color: var(--lg-wa-dark); color: #fff !important; transform: translateY(-2px); }

.btn-light-navy {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.28); color: #fff;
}
.btn-light-navy:hover, .btn-light-navy:focus { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(255,255,255,0.5); }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--lg-navy-950);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.86rem;
}
.topbar-link { color: #c8d4e6; display: inline-flex; align-items: center; gap: 7px; }
.topbar-link:hover { color: #fff; }
.topbar-link svg { color: var(--lg-gold); }
.topbar-tag { color: var(--lg-gold); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.topbar-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(255,255,255,0.08); color: #cdd9ea;
    font-family: var(--font-mono); font-size: 0.6rem; text-transform: uppercase;
}
.topbar-social a:hover { background: var(--lg-gold); color: var(--lg-navy-950); }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--lg-line); box-shadow: 0 10px 30px -18px rgba(10,29,59,0.35); }
.site-header .navbar { padding: 0; min-height: 78px; }
.brand-logo {
    display: block;
    width: 250px;
    max-width: 30vw;
    height: auto;
    object-fit: contain;
}
.navbar-brand { flex: 0 0 auto; min-width: 0; }

.navbar-nav .nav-link {
    font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
    color: var(--lg-navy-800); padding: 0.55rem 0.85rem !important; margin: 0 0.1rem;
    position: relative; border-radius: 6px;
}
.navbar-nav .nav-link::after {
    content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
    height: 2px; background: var(--lg-gold); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.navbar-nav .nav-link:hover { color: var(--lg-blue-600); }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:focus-visible::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: var(--lg-blue-700); font-weight: 600; }

.dropdown-menu {
    border: 1px solid var(--lg-line); border-radius: 10px;
    box-shadow: 0 20px 40px -20px rgba(10,29,59,0.25);
    padding: 0.5rem; margin-top: 0.35rem;
}
.dropdown-item { border-radius: 6px; padding: 0.5rem 0.9rem; font-size: 0.93rem; color: var(--lg-ink); font-family: var(--font-display); font-weight: 500; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--lg-blue-50); color: var(--lg-blue-700); }

.navbar-toggler { border: 1px solid var(--lg-line); padding: 0.4rem 0.6rem; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230a1d3b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* Offcanvas mobile menu */
.mobile-menu .offcanvas-header { background: var(--lg-navy-900); color: #fff; }
.mobile-menu .offcanvas-header .btn-close { filter: invert(1); }
.mobile-nav > li { border-bottom: 1px solid var(--lg-line); }
.mobile-nav > li > a, .mobile-sub-toggle {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    padding: 0.95rem 0.25rem; font-family: var(--font-display); font-weight: 600;
    color: var(--lg-navy-900); background: none; border: 0; text-align: left; font-size: 1.02rem;
}
.mobile-nav > li > a:hover, .mobile-sub-toggle:hover { color: var(--lg-blue-600); }
.mobile-sub-toggle .chev { color: var(--lg-gold-600); font-family: var(--font-mono); }
.mobile-menu-cta .btn { min-height: 48px; }
.mobile-nav > li > a { min-height: 52px; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    background:
        radial-gradient(1100px 420px at 85% -10%, rgba(46,118,223,0.35), transparent 60%),
        radial-gradient(700px 380px at 0% 120%, rgba(196,162,79,0.16), transparent 55%),
        linear-gradient(135deg, var(--lg-navy-950), var(--lg-navy-800) 70%);
    color: #fff; padding: 74px 0 66px;
    overflow: hidden;
}
.page-hero .ph-content { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-weight: 700; }
.page-hero .lead { color: #c6d4ea; }
.page-hero .ph-breadcrumb { color: #8fa6c8; }
.page-hero .ph-breadcrumb a { color: var(--lg-gold); }
.page-hero .ph-breadcrumb a:hover { color: #e0c270; }
.ph-rule { width: 64px; height: 3px; background: linear-gradient(90deg, var(--lg-gold), transparent); border-radius: 2px; }

/* --------------------------------------------------------------------------
   Hero slider
   -------------------------------------------------------------------------- */
.hero-slider { position: relative; overflow: hidden; }
.hero-slider .slide {
    position: relative; display: none; min-height: 560px;
    align-items: center;
    background: var(--lg-navy-950);
}
.hero-slider .slide.active { display: flex; animation: heroFade .7s ease; }
.hero-slider .slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center 30%;
    will-change: transform;
}
.hero-slider .slide.active .slide-bg { animation: heroZoom 7s ease forwards; }
.hero-slider .slide::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(6,18,42,0.94) 0%, rgba(10,29,59,0.82) 46%, rgba(10,29,59,0.38) 100%),
        linear-gradient(0deg, rgba(6,18,42,0.48), transparent 58%);
}
.slide-content { position: relative; z-index: 3; color: #fff; max-width: 720px; padding: 70px 0; }
.slide-kicker {
    font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--lg-gold); display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.slide-kicker::before { content: ""; width: 34px; height: 2px; background: var(--lg-gold); }
.hero-slider h1, .hero-slider .slide-title {
    color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.14; font-weight: 700; margin-bottom: 18px;
}
.hero-slider .slide-sub { color: #d7e1f0; font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 620px; margin-bottom: 28px; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-slider .slide-sub p { color: inherit; margin: 0; }

.hero-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.35);
    background: rgba(10,29,59,0.35); color: #fff; transition: all .2s ease;
}
.hero-nav:hover { background: var(--lg-gold); border-color: var(--lg-gold); color: var(--lg-navy-950); }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }

.hero-dots { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 5; display: flex; gap: 10px; justify-content: center; }
.hero-dots button {
    width: 30px; height: 4px; border-radius: 3px; border: 0; cursor: pointer;
    background: rgba(255,255,255,0.35); transition: background .2s ease, width .2s ease;
    padding: 0; position: relative; min-height: 4px;
}
.hero-dots button:hover { background: rgba(255,255,255,0.7); }
.hero-dots button.active { background: var(--lg-gold); width: 44px; }
.hero-dots button:focus-visible { outline: 3px solid var(--lg-gold); outline-offset: 3px; }

@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }

/* --------------------------------------------------------------------------
   Sections & cards
   -------------------------------------------------------------------------- */
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow.center { justify-content: center; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.22; margin: 10px 0 0; }
.section-lead { color: var(--lg-muted); margin: 14px 0 0; font-size: 1.04rem; }
.section-head.center .section-lead { margin-inline: auto; }
.on-navy .section-title { color: #fff; }
.on-navy .section-lead, .on-navy p { color: #b9c8df; }

/* Intro split */
.split-media { position: relative; }
.split-media .img-frame {
    border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px -28px rgba(10,29,59,0.45);
}
.split-media .img-frame img { display: block; width: 100%; object-fit: cover; }
.split-media .exp-badge {
    position: absolute; right: -14px; bottom: -16px;
    background: linear-gradient(180deg, #d6b45f, var(--lg-gold-600));
    color: var(--lg-navy-950); border-radius: 14px; padding: 16px 20px;
    box-shadow: 0 16px 34px -14px rgba(176,141,60,0.7);
    text-align: center; min-width: 138px;
}
.split-media .exp-badge .num { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; line-height: 1; }
.split-media .exp-badge .lbl { font-size: 0.76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 7px 0 7px 34px; color: #31435f; }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 11px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--lg-blue-50); border: 1.5px solid var(--lg-blue-500);
}
.check-list li::after {
    content: ""; position: absolute; left: 6px; top: 15px; width: 8px; height: 5px;
    border-left: 2px solid var(--lg-blue-600); border-bottom: 2px solid var(--lg-blue-600);
    transform: rotate(-45deg);
}
.check-list.gold li::before { background: var(--lg-gold-100); border-color: var(--lg-gold-600); }
.check-list.gold li::after { border-color: var(--lg-gold-600); }
.on-navy .check-list li { color: #c6d4ea; }
.on-navy .check-list li::before { background: rgba(196,162,79,0.16); border-color: var(--lg-gold); }
.on-navy .check-list li::after { border-color: var(--lg-gold); }

/* Stats strip */
.stat-num {
    font-family: var(--font-mono); font-weight: 600;
    font-size: clamp(1.9rem, 3vw, 2.7rem); color: var(--lg-gold-600); line-height: 1;
}
.on-navy .stat-num, .stat-num.on-dark { color: var(--lg-gold); }
.stat-label { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--lg-navy-800); letter-spacing: .02em; }
.on-navy .stat-label { color: #dbe5f3; }
/* Dark-background contrast hardening */
.bg-navy .stat-label,
.bg-navy-deep .stat-label { color: #f2f6fc; }
.bg-navy p, .bg-navy-deep p { color: #d6e0ef; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4,
.bg-navy-deep h1, .bg-navy-deep h2, .bg-navy-deep h3, .bg-navy-deep h4 { color: #fff; }
.bg-navy .section-lead, .bg-navy-deep .section-lead { color: #c8d5e8; }

/* Service cards */
.service-card {
    height: 100%; border: 1px solid var(--lg-line); border-radius: 16px; overflow: hidden;
    background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex; flex-direction: column;
}
.service-card .svc-media { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.service-card .svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .svc-media img { transform: scale(1.07); }
.service-card .svc-icon {
    position: absolute; left: 18px; bottom: -24px; z-index: 2;
    width: 52px; height: 52px; border-radius: 12px;
    background: linear-gradient(160deg, var(--lg-blue-500), var(--lg-blue-700));
    color: #fff; display: grid; place-items: center;
    box-shadow: 0 10px 20px -8px rgba(27,95,191,0.6);
    border: 2px solid #fff;
}
.service-card .svc-body { padding: 38px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.18rem; }
.service-card h3 a { color: var(--lg-navy-900); }
.service-card h3 a:hover { color: var(--lg-blue-600); }
.service-card .svc-desc { color: var(--lg-muted); font-size: 0.95rem; flex: 1; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(10,29,59,0.35); border-color: #c7d6ea; }

.svc-link {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
    font-family: var(--font-display); font-size: 0.93rem; color: var(--lg-blue-600);
}
.svc-link:hover { color: var(--lg-gold-600); }
.svc-link .arrow { transition: transform .2s ease; }
.svc-link:hover .arrow { transform: translateX(4px); }

/* Why choose us */
.why-item { display: flex; gap: 18px; padding: 22px; border-radius: 14px; border: 1px solid var(--lg-line); background: #fff; height: 100%; transition: all .22s ease; }
.why-item:hover { box-shadow: 0 20px 40px -22px rgba(10,29,59,0.3); transform: translateY(-3px); border-color: #c9d8ec; }
.why-item .why-ico {
    flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px;
    display: grid; place-items: center; background: var(--lg-blue-50); color: var(--lg-blue-600);
}
.why-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.why-item p { font-size: 0.94rem; color: var(--lg-muted); margin: 0; }

.on-navy .why-item, .navy-card {
    background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12);
}
.on-navy .why-item:hover { border-color: rgba(196,162,79,0.6); box-shadow: 0 20px 44px -20px rgba(0,0,0,0.6); }
.on-navy .why-item .why-ico { background: rgba(196,162,79,0.14); color: var(--lg-gold); }
.on-navy .why-item h3 { color: #fff; }
.on-navy .why-item p { color: #b9c8df; }

/* Industries chips */
.industry-chip {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px; border: 1px solid var(--lg-line); border-radius: 12px;
    background: #fff; height: 100%; color: var(--lg-ink);
    transition: all .2s ease; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
}
.industry-chip .ind-ico {
    width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; display: grid; place-items: center;
    background: var(--lg-blue-50); color: var(--lg-blue-600);
}
.industry-chip:hover { border-color: var(--lg-gold); box-shadow: 0 16px 30px -18px rgba(10,29,59,0.4); transform: translateY(-3px); color: var(--lg-navy-900); }
.industry-chip:hover .ind-ico { background: var(--lg-gold); color: var(--lg-navy-950); }

/* Certificate cards */
.cert-card {
    display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--lg-line);
    background: #fff; position: relative; box-shadow: 0 8px 24px -18px rgba(10,29,59,0.3);
    transition: all .25s ease;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -20px rgba(10,29,59,0.4); border-color: var(--lg-gold); }
.cert-card .cert-media { aspect-ratio: 3/2.4; overflow: hidden; background: #f2f4f8; }
.cert-card .cert-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .35s ease; background: #fff; }
.cert-card:hover .cert-media img { transform: scale(1.04); }
.cert-card .cert-cap { padding: 12px 16px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cert-card .cert-cap .nm { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: var(--lg-navy-900); }
.cert-card .zoom-ico { color: var(--lg-blue-500); flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; }
.cert-card:hover .zoom-ico { color: var(--lg-gold-600); }

/* Gallery cards */
.gallery-card {
    position: relative; border-radius: 14px; overflow: hidden; display: block; aspect-ratio: 4/3;
    background: var(--lg-navy-900);
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, opacity .3s ease; }
.gallery-card .gl-cap {
    position: absolute; inset: auto 0 0 0; padding: 14px 16px; color: #fff;
    font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
    background: linear-gradient(0deg, rgba(6,18,42,0.9), transparent);
    transform: translateY(6px); opacity: 0; transition: all .28s ease;
}
.gallery-card:hover img { transform: scale(1.08); }
.gallery-card:hover .gl-cap { transform: translateY(0); opacity: 1; }
.gallery-card .gl-zoom {
    position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 9px;
    background: rgba(6,18,42,0.55); color: #fff; display: grid; place-items: center;
    opacity: 0; transition: opacity .25s ease; backdrop-filter: blur(4px);
}
.gallery-card:hover .gl-zoom, .gallery-card:focus-visible .gl-zoom { opacity: 1; }

/* Clients */
.client-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.client-pill {
    border: 1px solid var(--lg-line); border-radius: 10px; background: #fff;
    padding: 12px 18px; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
    color: var(--lg-navy-800); transition: all .2s ease;
}
.client-pill:hover { border-color: var(--lg-gold); color: var(--lg-navy-900); box-shadow: 0 12px 24px -16px rgba(10,29,59,0.4); transform: translateY(-2px); }
.client-pill .sector { display: block; font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; color: var(--lg-muted); letter-spacing: .04em; text-transform: uppercase; }

/* Banner CTA */
.banner-cta {
    position: relative; border-radius: 20px; overflow: hidden; color: #fff;
    background-size: cover; background-position: center;
    min-height: 300px; display: flex; align-items: center;
}
.banner-cta::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(6,18,42,0.93), rgba(10,29,59,0.66) 60%, rgba(10,29,59,0.35));
}
.banner-cta .banner-inner { position: relative; z-index: 2; padding: 52px; }
.banner-cta h2 { color: #fff; }
.banner-cta p { color: #cdd9ea; max-width: 620px; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
    border: 1px solid var(--lg-line); border-radius: 18px; background: #fff;
    box-shadow: 0 26px 60px -30px rgba(10,29,59,0.3);
}
.form-label { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--lg-navy-900); }
.form-control, .form-select { border-radius: 8px; padding: 0.62rem 0.9rem; border-color: #d5deea; min-height: 48px; }
.form-control::placeholder { color: #9aa8bd; }
.form-note { font-size: 0.84rem; color: var(--lg-muted); margin-bottom: 14px; }
.form-check-input:checked { background-color: var(--lg-blue-600); border-color: var(--lg-blue-600); }

.on-navy .form-label { color: #e6edf7; }
.on-navy .form-card .form-label { color: var(--lg-navy-900); }

.hp-field {
    position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; pointer-events: none;
}
.form-feedback { font-size: 0.95rem; font-weight: 600; min-height: 1.4em; }
.form-feedback.ok { color: #17804a; }
.form-feedback.err { color: #c0392b; }
.form-feedback.pending { color: var(--lg-blue-600); }

.contact-info-card { border-radius: 16px; }
.contact-info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.09); }
.contact-info-row:last-child { border-bottom: 0; }
.contact-info-row .ci-ico {
    flex: 0 0 44px; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
    background: rgba(196,162,79,0.15); color: var(--lg-gold);
}
.contact-info-row .ci-title { font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .08em; color: #9fb2cd; }
.contact-info-row .ci-val { color: #eaf0f8; font-size: 0.98rem; }
.contact-info-row .ci-val a { color: #eaf0f8; }
.contact-info-row .ci-val a:hover { color: var(--lg-gold); }

/* --------------------------------------------------------------------------
   Profile lead modal
   -------------------------------------------------------------------------- */
.modal-content { border: 0; border-radius: 18px; }
.modal-close-abs { position: absolute; right: 14px; top: 14px; z-index: 5; }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
    position: fixed; inset: 0; z-index: 2000; display: none;
    background: rgba(6,18,42,0.94); align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: min(94vw, 1000px); max-height: 86vh; border-radius: 8px;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8); object-fit: contain;
}
.lightbox .lb-cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #dfe8f5; font-family: var(--font-display); font-weight: 600; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
    position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
    color: #fff; border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
}
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: var(--lg-gold); color: var(--lg-navy-950); border-color: var(--lg-gold); }
.lightbox button:focus-visible { outline: 3px solid var(--lg-gold); }

/* --------------------------------------------------------------------------
   Floating action buttons
   -------------------------------------------------------------------------- */
.float-actions { position: fixed; right: 20px; bottom: 22px; z-index: 1050; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    color: #fff; box-shadow: 0 12px 26px -10px rgba(0,0,0,0.45); transition: transform .2s ease, box-shadow .2s ease;
}
.float-btn:hover { transform: translateY(-3px) scale(1.04); color: #fff; }
.float-whatsapp { background: var(--lg-wa); animation: pulse-wa 2.6s infinite; }
.float-whatsapp:hover { background: var(--lg-wa-dark); }
.float-call { background: linear-gradient(180deg, var(--lg-blue-500), var(--lg-blue-700)); }
.float-call:hover { background: linear-gradient(180deg, var(--lg-blue-600), var(--lg-blue-800)); }
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(31,174,84,0.45); }
    70% { box-shadow: 0 0 0 14px rgba(31,174,84,0); }
    100% { box-shadow: 0 0 0 0 rgba(31,174,84,0); }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--lg-navy-950); color: #aebdd4; }
.footer-top { padding: 68px 0 46px; }
.footer-intro { color: #aebdd4; font-size: 0.95rem; max-width: 360px; }
.footer-logo { filter: brightness(1.02); }
.cert-tag {
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .06em; text-transform: uppercase;
    border: 1px solid rgba(196,162,79,0.5); color: var(--lg-gold); border-radius: 20px; padding: 4px 12px;
}
.footer-heading {
    color: #fff; font-size: 1.02rem; font-weight: 600; margin-bottom: 20px; position: relative; padding-bottom: 10px;
}
.footer-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--lg-gold); border-radius: 2px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #aebdd4; font-size: 0.94rem; }
.footer-links a:hover { color: var(--lg-gold); padding-left: 3px; }
.footer-contact li { margin-bottom: 14px; color: #b7c5da; font-size: 0.95rem; }
.footer-contact a { color: #dce6f4; }
.footer-contact a:hover { color: var(--lg-gold); }
.footer-contact svg { color: var(--lg-gold); flex: 0 0 auto; margin-top: 4px; }
.footer-social a {
    width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
    background: rgba(255,255,255,0.07); color: #c9d6e8; font-family: var(--font-mono);
    font-size: 0.7rem; text-transform: uppercase;
}
.footer-social a:hover { background: var(--lg-gold); color: var(--lg-navy-950); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom p { color: #8fa0b8; font-size: 0.9rem; }
.footer-bottom a { color: #c9d6e8; }
.footer-bottom a:hover { color: var(--lg-gold); }
.footer-bottom .credit { font-size: 0.9rem; }
.footer-bottom .credit a { color: var(--lg-gold); font-weight: 600; }
.footer-bottom .credit a:hover { color: #e0c270; text-decoration: underline; }

/* --------------------------------------------------------------------------
   Reveal-on-scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* --------------------------------------------------------------------------
   404 page
   -------------------------------------------------------------------------- */
.error-404 { padding: 90px 0; }
.error-404 .code {
    font-family: var(--font-mono); font-weight: 700;
    font-size: clamp(5rem, 16vw, 10rem); line-height: 1;
    background: linear-gradient(120deg, var(--lg-gold), var(--lg-gold-600), var(--lg-gold));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-404 .code span { -webkit-text-fill-color: transparent; }

/* --------------------------------------------------------------------------
   RTL-inner blocks, small niceties
   -------------------------------------------------------------------------- */
.content-prose h2, .content-prose h3 { margin-top: 1.6rem; margin-bottom: .6rem; }
.content-prose h2 { font-size: 1.5rem; }
.content-prose h3 { font-size: 1.2rem; }
.content-prose p { margin-bottom: 1rem; }
.content-prose ul { padding-left: 1.1rem; margin-bottom: 1rem; }
.content-prose li { margin-bottom: .4rem; color: #31435f; }
.content-prose strong { color: var(--lg-navy-900); }
.service-rich h3 { margin-top: 1.6rem; margin-bottom: .6rem; font-size: 1.2rem; }
.service-rich p { margin-bottom: 1rem; }
.service-rich ul { padding-left: 1.1rem; margin-bottom: 1rem; }
.service-rich li { margin-bottom: .4rem; color: #31435f; }
.section-divider { border: 0; border-top: 1px solid var(--lg-line); margin: 0; }
.ratio-frame { border-radius: 16px; overflow: hidden; }

/* Page-specific detail lists (service pages) */
.detail-tick { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; color: #31435f; }
.detail-tick svg { flex: 0 0 18px; margin-top: 3px; color: var(--lg-gold-600); }
.on-navy .detail-tick { color: #c6d4ea; }

.training-subjects { columns: 2; column-gap: 34px; }
.training-subjects li { break-inside: avoid; margin-bottom: 9px; }
@media (max-width: 640px) { .training-subjects { columns: 1; } }

.filter-group .btn { border-radius: 20px !important; margin: 2px; font-family: var(--font-display); font-weight: 600; font-size: .86rem; }
.filter-group .btn.active { background: var(--lg-navy-900); border-color: var(--lg-navy-900); color: #fff; }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .navbar-nav .nav-link { font-size: 0.9rem; padding: 0.5rem 0.55rem !important; margin: 0; }
    .navbar-nav .nav-link::after { left: 0.55rem; right: 0.55rem; }
}
@media (max-width: 991.98px) {
    .sec-pad { padding: 60px 0; }
    .topbar { display: none; }
    .hero-slider .slide { min-height: 520px; }
    .split-media .exp-badge { right: 8px; }
}
@media (max-width: 767.98px) {
    .hero-slider .slide { min-height: 480px; }
    .slide-content { padding: 54px 0 66px; }
    .hero-prev { left: 10px; }
    .hero-next { right: 10px; }
    .banner-cta .banner-inner { padding: 34px 26px; }
    .sec-pad-sm { padding: 44px 0; }
    .float-actions { right: 14px; bottom: 16px; }
    .float-btn { width: 48px; height: 48px; }
}
@media (max-width: 575.98px) {
    .hero-slider h1, .hero-slider .slide-title { font-size: 1.85rem; }
    .hero-nav { display: none; }
    .brand-logo { width: 128px; height: auto; }
    .page-hero { padding: 52px 0 48px; }
    .footer-bottom { text-align: center; }
}

/* Respect sticky top offset for in-page anchors */
#get-quote, [id] { scroll-margin-top: 110px; }

/* Updated LGFS logo presentation */
.site-header .navbar-brand { padding: 7px 0; }
.site-header .navbar { min-height: 86px; }
.footer-logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    background: #fff;
    border-radius: 10px;
    padding: 9px 12px;
    filter: none;
}
@media (max-width: 991.98px) {
    .brand-logo { width: 205px; max-width: 55vw; }
    .site-header .navbar { min-height: 78px; }
}
@media (max-width: 575.98px) {
    .brand-logo { width: 178px; max-width: 62vw; height: auto; }
    .hero-slider .slide { min-height: 565px; }
    .slide-content { padding: 48px 0 72px; max-width: calc(100vw - 34px); }
    .hero-slider h1, .hero-slider .slide-title {
        font-size: clamp(1.9rem, 8.7vw, 2.55rem);
        line-height: 1.12;
        overflow-wrap: normal;
        word-break: normal;
    }
    .hero-slider .slide-sub { font-size: 1rem; line-height: 1.65; }
    .slide-actions { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 340px; }
    .slide-actions .btn { width: 100%; justify-content: center; }
    .hero-slider .slide::after {
        background:
            linear-gradient(90deg, rgba(6,18,42,0.93) 0%, rgba(6,18,42,0.80) 68%, rgba(6,18,42,0.58) 100%),
            linear-gradient(0deg, rgba(6,18,42,0.58), transparent 58%);
    }
    .hero-slider .slide-bg { background-position: center center; }
}
