:root {
    --gpll-primary: #071b52;
    --gpll-secondary: #3d78b8;
    --gpll-accent: #f7943d;
    --gpll-dark: #07152f;
    --gpll-text: #354052;
    --gpll-muted: #6f7a8d;
    --gpll-light: #f4f7fb;
    --gpll-border: #dfe6f0;
    --gpll-white: #fff;
    --shadow-sm: 0 10px 30px rgba(7, 27, 82, .08);
    --shadow-lg: 0 25px 70px rgba(7, 27, 82, .16);
    --radius: 18px;
    --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--gpll-text);
    background: var(--gpll-white);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--gpll-secondary); text-decoration: none; transition: color .2s ease, background-color .2s ease, transform .2s ease, opacity .2s ease; }
a:hover { color: var(--gpll-primary); }
h1, h2, h3, h4, h5, h6 { color: var(--gpll-dark); font-family: Poppins, Inter, sans-serif; font-weight: 700; line-height: 1.25; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(247, 148, 61, .45); outline-offset: 3px; }

.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 9999; padding: .75rem 1rem; color: #fff; background: var(--gpll-primary); border-radius: 8px; }
.skip-link:focus { top: 1rem; color: #fff; }
.text-accent { color: var(--gpll-accent) !important; }
.section-space { padding: 100px 0; }
.bg-light-section { background: var(--gpll-light); }
.eyebrow { display: inline-block; margin-bottom: 12px; color: rgba(255,255,255,.78); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.display-section { margin-bottom: 1.35rem; font-size: clamp(2rem, 3vw, 3.2rem); letter-spacing: -.035em; }
.section-heading { max-width: 760px; margin-bottom: 3.25rem; }
.section-heading h2 { margin-bottom: 1rem; font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -.035em; }
.section-heading p { color: var(--gpll-muted); font-size: 1.06rem; }
.rich-content > *:last-child { margin-bottom: 0; }
.rich-content p { margin-bottom: 1rem; }
.rich-content ul, .rich-content ol { padding-left: 1.25rem; }
.lead-content { color: #4e596b; font-size: 1.08rem; }
.rounded-image { width: 100%; min-height: 330px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.btn { border-radius: 10px; font-weight: 700; }
.btn-lg { padding: .85rem 1.4rem; font-size: 1rem; }
.btn-primary { --bs-btn-bg: var(--gpll-primary); --bs-btn-border-color: var(--gpll-primary); --bs-btn-hover-bg: #0b2b70; --bs-btn-hover-border-color: #0b2b70; }
.btn-outline-primary { --bs-btn-color: var(--gpll-primary); --bs-btn-border-color: var(--gpll-primary); --bs-btn-hover-bg: var(--gpll-primary); --bs-btn-hover-border-color: var(--gpll-primary); }
.btn-accent { color: #fff; background: var(--gpll-accent); border: 1px solid var(--gpll-accent); box-shadow: 0 10px 25px rgba(247,148,61,.2); }
.btn-accent:hover, .btn-accent:focus { color: #fff; background: #df7621; border-color: #df7621; transform: translateY(-1px); }
.text-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--gpll-primary); font-weight: 750; }
.text-link i { transition: transform .2s ease; }
.text-link:hover i { transform: translateX(4px); }

.site-topbar { padding: .45rem 0; color: rgba(255,255,255,.85); background: var(--gpll-primary); font-size: .82rem; }
.site-topbar a { color: #fff; }
.site-header { z-index: 1050; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(7,27,82,.07); backdrop-filter: blur(14px); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(7,27,82,.11); }
.site-header .navbar { min-height: 84px; padding: .5rem 0; }
.navbar-brand { display: inline-flex; align-items: center; gap: 12px; max-width: 320px; }
.brand-logo { width: 42px; height: 49px; object-fit: contain; }
.brand-wordmark { width: 216px; height: auto; object-fit: contain; }
.site-header .nav-link { position: relative; padding: .7rem .65rem !important; color: #26334a; font-size: .9rem; font-weight: 650; white-space: nowrap; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--gpll-primary); }
.site-header .nav-link:not(.admin-link)::after { position: absolute; left: .65rem; right: .65rem; bottom: .3rem; height: 2px; content: ""; background: var(--gpll-accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.nav-cta { padding: .64rem .9rem; font-size: .86rem; white-space: nowrap; }
.admin-link { color: var(--gpll-muted) !important; font-size: .84rem !important; }
.service-dropdown { width: min(410px, 90vw); padding: .7rem; border: 0; border-radius: 14px; box-shadow: var(--shadow-lg); }
.service-dropdown .dropdown-item { padding: .65rem .8rem; border-radius: 8px; color: #33405a; font-size: .88rem; white-space: normal; }
.service-dropdown .dropdown-item:hover { color: var(--gpll-primary); background: #eef3fa; }
.navbar-toggler { border: 0; box-shadow: none !important; }

.home-hero { position: relative; background: var(--gpll-dark); }
.home-hero .carousel-item { height: min(790px, calc(100vh - 120px)); min-height: 610px; }
.home-hero .carousel-item > picture, .home-hero .carousel-item > picture img { width: 100%; height: 100%; }
.home-hero .carousel-item > picture img { object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,15,43,.92) 0%, rgba(4,20,55,.72) 48%, rgba(4,20,55,.24) 100%); }
.home-hero .carousel-caption { inset: 0; display: flex; align-items: center; padding: 0; }
.home-hero .carousel-caption .container { width: 100%; }
.hero-copy { max-width: 790px; color: #fff; }
.hero-copy-center { margin: auto; text-align: center; }
.hero-copy-right { margin-left: auto; }
.hero-copy h1 { margin-bottom: 1.4rem; color: #fff; font-size: clamp(2.7rem, 5.8vw, 5.7rem); line-height: 1.07; letter-spacing: -.055em; text-wrap: balance; }
.hero-kicker { margin-bottom: 1rem; color: #ffd6b1; font-size: .9rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.hero-description { max-width: 690px; margin-bottom: 2rem; color: rgba(255,255,255,.86); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-copy-center .hero-description { margin-left: auto; margin-right: auto; }
.hero-copy-right .hero-description { margin-left: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-copy-center .hero-actions { justify-content: center; }
.hero-copy-right .hero-actions { justify-content: flex-end; }
.home-hero .carousel-indicators { bottom: 28px; gap: 7px; }
.home-hero .carousel-indicators [data-bs-target] { width: 42px; height: 4px; margin: 0; border: 0; border-radius: 999px; }
.home-hero .carousel-control-prev, .home-hero .carousel-control-next { width: 7%; }
.home-hero-static { position: relative; min-height: 650px; display: flex; align-items: center; color: #fff; background-color: var(--gpll-primary); background-image: var(--static-hero, none); background-position: center; background-size: cover; background-repeat: no-repeat; }
.home-hero-static > .container { position: relative; z-index: 2; }
.home-hero-no-image { background-image: radial-gradient(circle at 80% 25%, rgba(247,148,61,.22), transparent 30%); }

.page-hero { position: relative; display: flex; align-items: center; min-height: 410px; overflow: hidden; color: #fff; background: linear-gradient(90deg, rgba(4,15,43,.94), rgba(4,20,55,.55)), var(--hero-image) center/cover no-repeat; }
.page-hero::after { position: absolute; inset: auto -8% -48% auto; width: 500px; height: 500px; content: ""; border: 70px solid rgba(255,255,255,.05); border-radius: 50%; }
.page-hero-content { position: relative; z-index: 1; max-width: 820px; padding: 80px 0; }
.page-hero h1 { margin-bottom: 1rem; color: #fff; font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.045em; }
.page-hero .lead { max-width: 760px; color: rgba(255,255,255,.82); font-size: 1.12rem; }
.page-hero .breadcrumb { margin-bottom: 1.5rem; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,.8); font-size: .88rem; }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.55); }

.image-composition { position: relative; padding: 0 45px 45px 0; }
.image-main { width: 100%; min-height: 500px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.image-composition::before { position: absolute; right: 0; bottom: 0; z-index: -1; width: 68%; height: 68%; content: ""; background: repeating-linear-gradient(135deg, rgba(61,120,184,.16) 0 2px, transparent 2px 12px); border-radius: var(--radius); }
.experience-badge { position: absolute; right: 0; bottom: 78px; display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.25rem; color: #fff; background: var(--gpll-primary); border-radius: 14px; box-shadow: var(--shadow-lg); }
.experience-badge i { color: var(--gpll-accent); font-size: 2rem; }
.experience-badge span { font-family: Poppins, sans-serif; font-weight: 700; line-height: 1.25; }
.feature-mini { display: flex; align-items: flex-start; gap: .85rem; padding: 1rem; background: #fff; border: 1px solid var(--gpll-border); border-radius: 12px; }
.feature-mini i { flex: 0 0 42px; display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--gpll-secondary); border-radius: 10px; font-size: 1.15rem; }
.feature-mini strong, .feature-mini span { display: block; }
.feature-mini strong { color: var(--gpll-dark); font-size: .92rem; }
.feature-mini span { color: var(--gpll-muted); font-size: .78rem; line-height: 1.45; }

.service-card, .project-card, .client-tile, .concern-card, .affiliation-card, .commodity-card { overflow: hidden; background: #fff; border: 1px solid var(--gpll-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover, .project-card:hover, .client-tile:hover, .concern-card:hover, .affiliation-card:hover, .commodity-card:hover { border-color: rgba(61,120,184,.35); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.service-card-image, .project-card-image { position: relative; display: block; height: 245px; overflow: hidden; background: #dfe7f2; }
.service-card-image img, .project-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card-image img, .project-card:hover .project-card-image img { transform: scale(1.06); }
.service-card-icon { position: absolute; right: 22px; bottom: -28px; display: grid; place-items: center; width: 58px; height: 58px; color: #fff; background: var(--gpll-accent); border: 5px solid #fff; border-radius: 15px; font-size: 1.35rem; }
.service-card-body, .project-card-body { padding: 1.65rem; }
.card-kicker { color: var(--gpll-secondary); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-card h3, .project-card h3 { margin: .55rem 0 .8rem; font-size: 1.24rem; }
.service-card h3 a, .project-card h3 a { color: var(--gpll-dark); }
.service-card p, .project-card p { color: var(--gpll-muted); font-size: .92rem; }
.project-status { display: inline-flex; align-items: center; padding: .32rem .65rem; color: #fff; background: #60708a; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.project-card-image .project-status { position: absolute; top: 16px; right: 16px; }
.status-completed { background: #16855b; }
.status-ongoing { background: #d2781f; }
.status-planned { background: #3d78b8; }
.project-meta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: .9rem; color: var(--gpll-muted); font-size: .78rem; }
.project-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.project-meta i { color: var(--gpll-accent); }

.solution-highlight { overflow: hidden; }
.solution-image-wrap { position: relative; padding: 20px 0 40px 40px; }
.solution-image-wrap img { width: 100%; min-height: 520px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.solution-image-wrap::before { position: absolute; left: 0; top: 0; z-index: -1; width: 65%; height: 65%; content: ""; background: var(--gpll-light); border-radius: var(--radius); }
.solution-floating-card { position: absolute; left: 0; bottom: 0; display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; padding: 1rem 1.2rem; color: #fff; background: var(--gpll-primary); border-radius: 14px; box-shadow: var(--shadow-lg); }
.solution-floating-card i { grid-row: span 2; color: var(--gpll-accent); font-size: 2.1rem; }
.solution-floating-card strong, .solution-floating-card span { display: block; }
.solution-floating-card span { color: rgba(255,255,255,.7); font-size: .75rem; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem 1rem; padding: 0; list-style: none; }
.check-grid li { display: flex; gap: .5rem; color: #344158; font-weight: 650; }
.check-grid i { flex: 0 0 auto; color: var(--gpll-accent); }
.capability-strip { padding: 0 0 100px; }
.capability-card { position: relative; height: 430px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.capability-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.capability-card:hover img { transform: scale(1.08); }
.capability-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,17,43,.08), rgba(5,17,43,.92)); }
.capability-card-content { position: absolute; inset: auto 0 0; padding: 2rem; color: #fff; }
.capability-card-content > i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem; background: var(--gpll-accent); border-radius: 12px; font-size: 1.4rem; }
.capability-card-content h2 { color: #fff; font-size: 1.45rem; }
.capability-card-content p { color: rgba(255,255,255,.75); font-size: .9rem; }
.capability-card-content a { color: #fff; font-weight: 750; }

.stats-section { padding: 75px 0; color: #fff; background: linear-gradient(120deg, var(--gpll-primary), #0a357d); }
.stat-card { display: grid; justify-items: center; text-align: center; }
.stat-card i { margin-bottom: .8rem; color: var(--gpll-accent); font-size: 2rem; }
.stat-card strong { color: #fff; font-family: Poppins, sans-serif; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1; }
.stat-card > span:last-child { margin-top: .65rem; color: rgba(255,255,255,.72); font-weight: 650; }
.client-marquee { overflow: hidden; padding: 1rem 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.client-marquee-track { display: flex; width: max-content; animation: client-scroll 34s linear infinite; }
.client-marquee:hover .client-marquee-track { animation-play-state: paused; }
.client-marquee-item { display: grid; place-items: center; width: 260px; min-height: 120px; margin: 0 .55rem; padding: 1rem; text-align: center; background: #fff; border: 1px solid var(--gpll-border); border-radius: 14px; box-shadow: var(--shadow-sm); }
.client-marquee-item span { color: var(--gpll-dark); font-size: .88rem; font-weight: 750; }
@keyframes client-scroll { to { transform: translateX(-50%); } }
.office-card { padding: 1.55rem; background: #fff; border: 1px solid var(--gpll-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.office-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem; color: #fff; background: var(--gpll-primary); border-radius: 13px; font-size: 1.3rem; }
.office-card h3 { font-size: 1.08rem; }
.office-card p, .office-card address { color: var(--gpll-muted); font-size: .88rem; font-style: normal; }
.office-card > a { display: inline-flex; align-items: center; gap: .4rem; color: var(--gpll-primary); font-weight: 700; }

.quote-cta-section { padding: 0 0 100px; }
.quote-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem,5vw,4rem); color: #fff; background: radial-gradient(circle at right top, rgba(247,148,61,.25), transparent 32%), linear-gradient(120deg, #061b4d, #0b397e); border-radius: 24px; box-shadow: var(--shadow-lg); }
.quote-cta-card h2 { margin-bottom: .8rem; color: #fff; font-size: clamp(2rem,3.5vw,3.3rem); }
.quote-cta-card p { max-width: 700px; color: rgba(255,255,255,.75); }
.quote-cta-card .eyebrow { color: #ffc99c; }

.about-service-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin-top: 1.75rem; }
.about-service-list span { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; color: var(--gpll-dark); background: var(--gpll-light); border-radius: 10px; font-weight: 650; }
.about-service-list i { color: var(--gpll-accent); }
.value-card { padding: 2rem; background: #fff; border: 1px solid var(--gpll-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.value-card > i { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.2rem; color: #fff; background: var(--gpll-primary); border-radius: 15px; font-size: 1.5rem; }
.value-card h3 { font-size: 1.3rem; }
.value-card p { color: var(--gpll-muted); }
.about-feature-panel { display: flex; gap: 1.4rem; padding: 2.2rem; background: #fff; border: 1px solid var(--gpll-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.about-feature-icon { flex: 0 0 64px; display: grid; place-items: center; width: 64px; height: 64px; color: #fff; background: var(--gpll-secondary); border-radius: 16px; font-size: 1.6rem; }
.about-feature-panel h2 { font-size: 1.6rem; }
.concern-card, .affiliation-card { padding: 1.8rem; text-align: center; }
.concern-mark, .affiliation-icon { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 1.2rem; color: #fff; background: linear-gradient(135deg,var(--gpll-primary),var(--gpll-secondary)); border-radius: 20px; font-family: Poppins,sans-serif; font-size: 1.25rem; font-weight: 800; }
.concern-mark img, .affiliation-icon img { max-width: 70%; max-height: 70%; object-fit: contain; }
.affiliation-icon i { font-size: 2rem; }
.concern-card h3, .affiliation-card h3 { font-size: 1.05rem; }
.concern-card p, .affiliation-card p { color: var(--gpll-muted); font-size: .88rem; }

.solution-card { position: relative; padding: 2rem; overflow: hidden; background: #fff; border: 1px solid var(--gpll-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; counter-increment: solution; }
.solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.solution-card > i { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.2rem; color: #fff; background: var(--gpll-primary); border-radius: 15px; font-size: 1.45rem; }
.solution-card h3 { font-size: 1.18rem; }
.solution-card p { color: var(--gpll-muted); font-size: .9rem; }
.solution-number::before { position: absolute; right: 20px; top: 10px; content: counter(solution, decimal-leading-zero); color: rgba(7,27,82,.06); font-family: Poppins,sans-serif; font-size: 4.5rem; font-weight: 800; line-height: 1; }
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.2rem; }
.process-step { position: relative; padding: 2rem 1.5rem; background: #fff; border: 1px solid var(--gpll-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.process-step:not(:last-child)::after { position: absolute; top: 42px; right: -22px; z-index: 2; width: 42px; height: 2px; content: ""; background: var(--gpll-accent); }
.process-step > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.2rem; color: #fff; background: var(--gpll-accent); border-radius: 50%; font-weight: 800; }
.process-step h3 { font-size: 1.15rem; }
.process-step p { color: var(--gpll-muted); font-size: .88rem; }

.service-search { position: relative; }
.service-search i { position: absolute; left: 16px; top: 50%; z-index: 2; color: var(--gpll-muted); transform: translateY(-50%); }
.service-search .form-control { min-height: 54px; padding-left: 45px; border-color: var(--gpll-border); border-radius: 12px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: .65rem; }
.filter-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .65rem 1rem; color: #425069; background: #fff; border: 1px solid var(--gpll-border); border-radius: 999px; font-size: .86rem; font-weight: 700; }
.filter-pill:hover, .filter-pill.active { color: #fff; background: var(--gpll-primary); border-color: var(--gpll-primary); }
.filter-pill small { display: grid; place-items: center; min-width: 22px; height: 22px; color: inherit; background: rgba(255,255,255,.16); border-radius: 50%; }
.mode-card { padding: 1.8rem; background: #fff; border: 1px solid var(--gpll-border); border-radius: var(--radius); }
.mode-card i { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1rem; color: var(--gpll-primary); background: #eaf0f9; border-radius: 14px; font-size: 1.35rem; }
.mode-card h3 { font-size: 1.15rem; }
.mode-card p { color: var(--gpll-muted); font-size: .9rem; }
.empty-filter-state { padding: 4rem 1rem; text-align: center; }
.empty-filter-state i { color: var(--gpll-secondary); font-size: 3rem; }

.detail-content h2 { margin: 2.4rem 0 1rem; font-size: 1.7rem; }
.detail-hero-image { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.detail-hero-image img { width: 100%; max-height: 600px; object-fit: cover; }
.detail-rich { color: #48546a; font-size: 1.02rem; }
.feature-list-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.feature-list-item { display: flex; align-items: flex-start; gap: .8rem; padding: 1rem; background: var(--gpll-light); border: 1px solid var(--gpll-border); border-radius: 12px; }
.feature-list-item > i { color: var(--gpll-accent); font-size: 1.2rem; }
.feature-list-item h3 { margin: 0; font-family: Inter,sans-serif; font-size: .92rem; }
.feature-list-item p { margin: .35rem 0 0; color: var(--gpll-muted); font-size: .82rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.gallery-item { position: relative; display: block; height: 260px; overflow: hidden; border-radius: 14px; }
.gallery-item-wide { grid-column: span 2; height: 380px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(7,27,82,.18); opacity: 0; transition: opacity .2s ease; }
.gallery-item:hover span { opacity: 1; }
.gallery-item span i { display: grid; place-items: center; width: 52px; height: 52px; background: rgba(7,27,82,.82); border-radius: 50%; font-size: 1.2rem; }
.gallery-modal { position: fixed; inset: 0; z-index: 1100; display: none; align-items: center; justify-content: center; padding: 3rem; background: rgba(2,9,25,.94); }
.gallery-modal.is-open { display: flex; }
.gallery-modal img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.gallery-modal button { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 48px; height: 48px; color: #fff; background: rgba(255,255,255,.12); border: 0; border-radius: 50%; font-size: 1.4rem; }
/* Keep detail-page sidebars below the sticky public header. Bootstrap's
   .sticky-lg-top utility otherwise applies top: 0 and z-index: 1020, which
   lets the sidebar cover the navigation while scrolling. */
.detail-sidebar { top: auto; }
@media (min-width: 992px) {
    .detail-sidebar.sticky-lg-top {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 100px !important;
        z-index: 10 !important;
        max-height: calc(100vh - 116px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
        padding-right: .3rem;
    }
}
.sidebar-card { margin-bottom: 1.2rem; padding: 1.5rem; background: #fff; border: 1px solid var(--gpll-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.sidebar-card h2 { font-size: 1.18rem; }
.sidebar-quote-card { color: #fff; background: linear-gradient(135deg,var(--gpll-primary),#0d3d86); border: 0; }
.sidebar-quote-card > i { color: var(--gpll-accent); font-size: 2.2rem; }
.sidebar-quote-card h2 { color: #fff; }
.sidebar-quote-card p { color: rgba(255,255,255,.74); font-size: .9rem; }
.sidebar-links { display: grid; gap: .35rem; }
.sidebar-links a { display: flex; align-items: center; gap: .65rem; padding: .7rem .75rem; color: #425069; border-radius: 8px; font-size: .85rem; font-weight: 650; }
.sidebar-links a:hover, .sidebar-links a.active { color: var(--gpll-primary); background: var(--gpll-light); }
.sidebar-links i { color: var(--gpll-accent); }
.contact-mini { display: grid; gap: .65rem; }
.contact-mini a { display: flex; gap: .55rem; color: #425069; font-size: .85rem; }
.project-facts dl { margin: 0; }
.project-facts dl > div { display: grid; grid-template-columns: 110px 1fr; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--gpll-border); }
.project-facts dl > div:last-child { border: 0; }
.project-facts dt { color: var(--gpll-muted); font-size: .82rem; font-weight: 650; }
.project-facts dd { margin: 0; color: var(--gpll-dark); font-size: .88rem; font-weight: 700; }
.sector-tile { display: grid; place-items: center; min-height: 145px; padding: 1rem; text-align: center; background: #fff; border: 1px solid var(--gpll-border); border-radius: 14px; }
.sector-tile i { margin-bottom: .7rem; color: var(--gpll-secondary); font-size: 2rem; }
.sector-tile span { color: var(--gpll-dark); font-size: .82rem; font-weight: 750; }

.client-tile { padding: 1.5rem; text-align: center; }
.client-logo-wrap { display: grid; place-items: center; height: 110px; margin-bottom: 1rem; background: var(--gpll-light); border-radius: 13px; }
.client-logo-wrap img { max-width: 78%; max-height: 72px; object-fit: contain; }
.client-placeholder { display: grid; place-items: center; width: 68px; height: 68px; color: #fff; background: linear-gradient(135deg,var(--gpll-primary),var(--gpll-secondary)); border-radius: 18px; font-family: Poppins,sans-serif; font-weight: 800; }
.client-tile h3 { font-size: .98rem; }
.client-tile p { color: var(--gpll-muted); font-size: .84rem; }

.licence-assurance { display: flex; align-items: center; gap: 1rem; padding: 1.4rem; color: #fff; background: var(--gpll-primary); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.licence-assurance i { color: var(--gpll-accent); font-size: 2.5rem; }
.licence-assurance strong, .licence-assurance span { display: block; }
.licence-assurance span { color: rgba(255,255,255,.7); font-size: .82rem; }
.licence-table-wrap { overflow: hidden; border: 1px solid var(--gpll-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.licence-table { margin: 0; }
.licence-table thead th { padding: 1rem; color: #fff; background: var(--gpll-primary); border: 0; font-size: .8rem; letter-spacing: .03em; }
.licence-table td { padding: 1rem; border-color: var(--gpll-border); font-size: .84rem; }
.licence-table td small { display: block; color: var(--gpll-muted); }
.document-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.document-links a { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .55rem; color: #a52626; background: #fff0f0; border-radius: 7px; font-size: .72rem; font-weight: 750; }
.commodity-card { padding: 1.5rem; }
.commodity-card > img { width: calc(100% + 3rem); height: 170px; margin: -1.5rem -1.5rem 1.2rem; object-fit: cover; }
.commodity-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 1.2rem; color: #fff; background: var(--gpll-primary); border-radius: 15px; font-size: 1.45rem; }
.commodity-card h3 { font-size: 1rem; }
.commodity-card p { color: var(--gpll-muted); font-size: .85rem; }

.office-card-detailed { padding: 1.65rem; }
.office-card-detailed address { min-height: 116px; }
.office-contact-list { display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--gpll-border); }
.office-contact-list a { display: flex; align-items: center; gap: .55rem; color: #425069; font-size: .8rem; font-weight: 650; }
.office-contact-list i { color: var(--gpll-accent); }
.office-hours { margin-top: 1rem; font-size: .8rem; }
.office-hours summary { color: var(--gpll-primary); cursor: pointer; font-weight: 750; }
.office-hours ul { padding: .7rem 0 0; list-style: none; }
.office-hours li { display: flex; justify-content: space-between; gap: .8rem; padding: .2rem 0; }
.contact-direct { display: grid; gap: .7rem; }
.contact-direct a { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; color: #fff; background: var(--gpll-primary); border-radius: 12px; }
.contact-direct i { color: var(--gpll-accent); font-size: 1.3rem; }
.contact-direct span, .contact-direct strong { display: block; }
.contact-direct span { font-size: .72rem; }
.contact-direct strong { color: #fff; font-size: .88rem; }
.contact-benefits { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-benefits > div { display: flex; gap: .9rem; }
.contact-benefits i { flex: 0 0 48px; display: grid; place-items: center; width: 48px; height: 48px; color: #fff; background: var(--gpll-primary); border-radius: 12px; }
.contact-benefits strong, .contact-benefits span { display: block; }
.contact-benefits strong { color: var(--gpll-dark); }
.contact-benefits span { color: var(--gpll-muted); font-size: .86rem; }
.card-form { padding: clamp(1.5rem,4vw,2.5rem); background: #fff; border: 1px solid var(--gpll-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.public-form fieldset { margin: 0 0 2rem; padding: 0; border: 0; }
.public-form legend { margin-bottom: 1.2rem; padding-bottom: .7rem; color: var(--gpll-dark); border-bottom: 1px solid var(--gpll-border); font-family: Poppins,sans-serif; font-size: 1.12rem; font-weight: 700; }
.form-label { color: #344158; font-size: .84rem; font-weight: 700; }
.form-label span, .consent-check span { color: #c83b3b; }
.form-control, .form-select { min-height: 52px; color: #253149; border-color: #d8e0ec; border-radius: 10px; }
textarea.form-control { min-height: auto; }
.form-control:focus, .form-select:focus { border-color: var(--gpll-secondary); box-shadow: 0 0 0 .22rem rgba(61,120,184,.12); }
.form-control.is-invalid, .form-select.is-invalid { border-color: #d83e4f; }
.invalid-feedback { font-size: .78rem; }
.form-alert { margin-bottom: 1.25rem; padding: 1rem; border-radius: 10px; font-size: .9rem; }
.form-alert.alert-success { color: #0c6446; background: #e8f7f1; border: 1px solid #bce8d7; }
.form-alert.alert-danger { color: #8c2630; background: #fff0f1; border: 1px solid #f3c9cd; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.consent-check { margin-bottom: 1.5rem; }
.form-text { color: var(--gpll-muted); font-size: .72rem; }
.map-section iframe { display: block; width: 100%; height: 460px; border: 0; }
.quote-info-panel { top: 120px; padding: 2rem; color: #fff; background: radial-gradient(circle at right top, rgba(247,148,61,.24), transparent 35%), linear-gradient(145deg,var(--gpll-primary),#0d3d86); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.quote-info-panel h2 { color: #fff; }
.quote-info-panel .rich-content { color: rgba(255,255,255,.76); }
.quote-steps { display: grid; gap: 1.2rem; margin: 2rem 0; padding: 0; list-style: none; }
.quote-steps li { display: flex; gap: .8rem; }
.quote-steps li > span { flex: 0 0 36px; display: grid; place-items: center; width: 36px; height: 36px; color: #fff; background: var(--gpll-accent); border-radius: 50%; font-weight: 800; }
.quote-steps strong, .quote-steps small { display: block; }
.quote-steps strong { color: #fff; }
.quote-steps small { color: rgba(255,255,255,.67); }
.quote-security { display: flex; gap: .8rem; padding-top: 1.2rem; color: rgba(255,255,255,.72); border-top: 1px solid rgba(255,255,255,.16); font-size: .78rem; }
.quote-security i { color: var(--gpll-accent); font-size: 1.2rem; }

.legal-content { max-width: 850px; padding: clamp(1.5rem,5vw,4rem); background: #fff; border: 1px solid var(--gpll-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.legal-content h2 { margin: 2rem 0 .8rem; font-size: 1.35rem; }
.not-found-page { min-height: 65vh; display: grid; align-items: center; }
.not-found-code { color: rgba(7,27,82,.08); font-family: Poppins,sans-serif; font-size: clamp(7rem,20vw,15rem); font-weight: 800; line-height: .8; }
.not-found-page h1 { margin-top: -1rem; font-size: clamp(2rem,4vw,3.5rem); }
.not-found-page p { margin-bottom: 2rem; color: var(--gpll-muted); }

.site-footer { color: rgba(255,255,255,.72); background: #06142f; }
.footer-main { padding: 80px 0 60px; }
.footer-brand img { filter: brightness(0) invert(1); }
.site-footer p { font-size: .88rem; }
.footer-title { margin-bottom: 1.2rem; color: #fff; font-size: 1rem; }
.footer-links { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: rgba(255,255,255,.68); font-size: .84rem; }
.footer-links a:hover { color: var(--gpll-accent); }
.footer-contact { display: grid; gap: .7rem; margin: 0; font-style: normal; }
.footer-contact > span, .footer-contact a { display: flex; align-items: flex-start; gap: .65rem; color: rgba(255,255,255,.68); font-size: .8rem; }
.footer-contact i { margin-top: .15rem; color: var(--gpll-accent); }
.social-links { display: flex; gap: .55rem; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; color: #fff; background: rgba(255,255,255,.08); border-radius: 10px; }
.social-links a:hover { background: var(--gpll-accent); }
.footer-bottom { padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.footer-bottom a { color: rgba(255,255,255,.68); }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 1010; display: grid; place-items: center; width: 45px; height: 45px; color: #fff; background: var(--gpll-accent); border: 0; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 1199.98px) {
    .site-header .navbar { min-height: 76px; }
    .offcanvas .navbar-nav { align-items: stretch !important; }
    .offcanvas .nav-link { padding: .8rem .4rem !important; }
    .offcanvas .nav-link::after { display: none; }
    .nav-cta { margin: .7rem 0; text-align: center; }
    .service-dropdown { width: 100%; box-shadow: none; }
    .admin-link { margin-top: .25rem; }
    .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .process-step:nth-child(2)::after { display: none; }
}

@media (max-width: 991.98px) {
    .section-space { padding: 78px 0; }
    .home-hero .carousel-item { min-height: 620px; height: 72vh; }
    .hero-overlay { background: linear-gradient(90deg, rgba(4,15,43,.9), rgba(4,20,55,.52)); }
    .quote-cta-card { align-items: flex-start; flex-direction: column; }
    .detail-sidebar, .quote-info-panel { position: static !important; }
    .capability-strip { padding-bottom: 78px; }
    .quote-cta-section { padding-bottom: 78px; }
    .image-main, .solution-image-wrap img { min-height: 430px; }
}

@media (max-width: 767.98px) {
    body { font-size: 15px; }
    .section-space { padding: 64px 0; }
    .brand-logo { width: 35px; height: 42px; }
    .brand-wordmark { width: 180px; }
    .home-hero .carousel-item { min-height: 590px; height: calc(100vh - 76px); max-height: 720px; }
    .hero-copy h1 { font-size: clamp(2.4rem,11vw,4rem); }
    .hero-description { font-size: 1rem; }
    .home-hero .carousel-control-prev, .home-hero .carousel-control-next { display: none; }
    .page-hero { min-height: 350px; }
    .page-hero-content { padding: 60px 0; }
    .image-composition { padding: 0 22px 30px 0; }
    .image-main { min-height: 360px; }
    .experience-badge { right: 0; bottom: 50px; }
    .feature-mini-grid .col-sm-6 { width: 100%; }
    .check-grid, .feature-list-grid { grid-template-columns: 1fr; }
    .solution-image-wrap { padding-left: 20px; }
    .solution-image-wrap img { min-height: 390px; }
    .capability-card { height: 380px; }
    .about-service-list { grid-template-columns: 1fr; }
    .about-feature-panel { flex-direction: column; }
    .process-grid { grid-template-columns: 1fr; }
    .process-step::after { display: none !important; }
    .gallery-item, .gallery-item-wide { grid-column: auto; height: 240px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-modal { padding: 1rem; }
    .quote-cta-card { border-radius: 18px; }
    .licence-table-wrap { border: 0; box-shadow: none; }
    .licence-table thead { display: none; }
    .licence-table, .licence-table tbody, .licence-table tr, .licence-table td { display: block; width: 100%; }
    .licence-table tr { margin-bottom: 1rem; padding: 1rem; background: #fff; border: 1px solid var(--gpll-border); border-radius: 14px; box-shadow: var(--shadow-sm); }
    .licence-table td { display: grid; grid-template-columns: 115px 1fr; gap: .7rem; padding: .55rem 0; border: 0; }
    .licence-table td::before { content: attr(data-label); color: var(--gpll-muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; }
}

@media (max-width: 575.98px) {
    .brand-wordmark { width: 155px; }
    .navbar-brand { gap: 8px; }
    .hero-actions .btn { width: 100%; }
    .page-hero h1 { font-size: 2.4rem; }
    .section-heading { margin-bottom: 2.4rem; }
    .filter-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; }
    .filter-pill { flex: 0 0 auto; }
    .about-feature-panel, .value-card, .card-form, .quote-info-panel { padding: 1.35rem; }
    .project-facts dl > div { grid-template-columns: 92px 1fr; }
    .footer-main { padding: 60px 0 45px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Home Page module-driven section variants */
.home-section-navy { color: #fff; background: linear-gradient(120deg, var(--gpll-primary), #0a357d); }
.home-section-navy .section-heading h2,
.home-section-navy .section-heading p,
.home-section-navy .display-section,
.home-section-navy .rich-content,
.home-section-navy .rich-content p { color: #fff; }
.home-section-navy .section-heading p,
.home-section-navy .rich-content p { opacity: .78; }
.home-section-accent { background: linear-gradient(135deg, rgba(247,148,61,.16), rgba(61,120,184,.10)); }
.capability-strip.home-section-navy { padding-top: 100px; }
.capability-strip .section-heading h2,
.capability-strip .section-heading p { color: inherit; }
.capability-card-no-image { background: linear-gradient(135deg, var(--gpll-primary), var(--gpll-secondary)); }
.stats-heading { margin-bottom: 2.5rem; }
.stats-heading .section-heading h2 { color: #fff; }
.stats-heading .section-heading p { color: rgba(255,255,255,.72); }
.client-marquee-item img { width: auto; max-width: 150px; height: 48px; margin-bottom: .65rem; object-fit: contain; }
.home-cta-content { max-width: 700px; color: rgba(255,255,255,.78); }
.home-cta-content p:last-child { margin-bottom: 0; }
.home-final-cta.home-section-navy { padding-top: 100px; }

@media (max-width: 991.98px) {
    .capability-strip.home-section-navy,
    .home-final-cta.home-section-navy { padding-top: 78px; }
}


/* Shared managed About Us and Clients page renderer */
.bg-navy-section { color: #fff; background: linear-gradient(120deg, var(--gpll-primary), #0a357d); }
.bg-accent-section { background: linear-gradient(135deg, rgba(247,148,61,.17), rgba(61,120,184,.10)); }
.bg-navy-section .section-heading h2,
.bg-navy-section .section-heading p,
.bg-navy-section .display-section,
.bg-navy-section .rich-content,
.bg-navy-section .rich-content p { color: #fff; }
.bg-navy-section .section-heading p,
.bg-navy-section .rich-content p { opacity: .8; }
.managed-page-hero { background: linear-gradient(90deg, rgba(4,15,43,var(--managed-hero-opacity,.58)), rgba(4,20,55,.48)), var(--hero-image) center/cover no-repeat; }
.managed-page-hero.text-center .page-hero-content { margin-inline: auto; text-align: center; }
.managed-page-hero.text-center .lead,
.managed-page-hero.text-center .managed-hero-copy { margin-inline: auto; }
.managed-page-hero.text-center .breadcrumb { justify-content: center; }
.managed-page-hero.text-right .page-hero-content { margin-left: auto; text-align: right; }
.managed-page-hero.text-right .lead,
.managed-page-hero.text-right .managed-hero-copy { margin-left: auto; }
.managed-page-hero.text-right .breadcrumb { justify-content: flex-end; }
.managed-hero-copy { max-width: 760px; color: rgba(255,255,255,.84); }
.managed-hero-copy p { color: inherit; }
.about-strength-card { min-width: 0; overflow: hidden; }
.about-strength-card--with-image { display: grid; grid-template-columns: minmax(210px, 42%) minmax(0, 1fr); gap: 0; padding: 0; }
.about-strength-media { min-width: 0; min-height: 100%; overflow: hidden; background: var(--gpll-light); }
.about-feature-image { display: block; width: 100%; height: 100%; min-height: 310px; object-fit: cover; }
.about-strength-body { min-width: 0; padding: 2.2rem; overflow-wrap: anywhere; }
.about-strength-card:not(.about-strength-card--with-image) .about-strength-body { padding: 0; }
.about-strength-body .rich-content,
.about-strength-body .rich-content p { max-width: 100%; }
.sector-tile-managed { align-content: start; gap: .55rem; min-height: 190px; padding: 1.35rem 1rem; }
.sector-tile-managed > i { margin-bottom: .15rem; }
.sector-description { color: var(--gpll-muted); font-size: .82rem; line-height: 1.55; }
.sector-description p { margin-bottom: 0; }
.sector-tile-managed .text-link { margin-top: auto; font-size: .8rem; }
.managed-final-cta { padding-top: 100px; }
.bg-navy-section .client-tile,
.bg-navy-section .concern-card,
.bg-navy-section .about-feature-panel,
.bg-navy-section .sector-tile,
.bg-accent-section .client-tile,
.bg-accent-section .concern-card,
.bg-accent-section .about-feature-panel,
.bg-accent-section .sector-tile { color: var(--gpll-text); }

@media (max-width: 991.98px) {
    .managed-final-cta { padding-top: 78px; }
}

@media (max-width: 1199.98px) {
    .about-strength-card--with-image { grid-template-columns: 1fr; }
    .about-feature-image { height: 250px; min-height: 0; }
}

@media (max-width: 575.98px) {
    .about-strength-body { padding: 1.35rem; }
    .about-feature-image { height: 210px; }
}

/* Licences Page Super Admin renderer */
.licences-page-hero { background: linear-gradient(90deg, rgba(4,15,43,var(--licences-hero-opacity,.58)), rgba(4,20,55,.48)), var(--hero-image) center/cover no-repeat; }
.licences-page-hero.text-center .page-hero-content { margin-inline: auto; text-align: center; }
.licences-page-hero.text-center .lead { margin-inline: auto; }
.licences-page-hero.text-center .breadcrumb { justify-content: center; }
.licences-page-hero.text-right .page-hero-content { margin-left: auto; text-align: right; }
.licences-page-hero.text-right .lead { margin-left: auto; }
.licences-page-hero.text-right .breadcrumb { justify-content: flex-end; }
.licences-hero-copy { max-width: 760px; color: rgba(255,255,255,.84); }
.licences-page-hero.text-center .licences-hero-copy { margin-inline: auto; }
.licences-page-hero.text-right .licences-hero-copy { margin-left: auto; }
.licences-intro-image { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.licences-assurance-wide { max-width: 920px; margin-inline: auto; }
.licence-document-card { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.6rem; background: #fff; border: 1px solid var(--gpll-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.licence-document-icon { flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; color: #b42323; background: #fff0f0; border-radius: 16px; font-size: 1.8rem; }
.licence-document-card h3 { margin-bottom: .45rem; font-size: 1.15rem; }
.licence-document-card p { margin-bottom: .55rem; color: var(--gpll-muted); font-size: .9rem; }
.licence-document-card small { display: block; margin-bottom: 1rem; color: var(--gpll-muted); }
.licence-document-card .btn { margin-top: auto; }
.bg-navy-section .licence-document-card, .bg-accent-section .licence-document-card { color: var(--gpll-text); }

@media (max-width: 575.98px) {
    .licence-document-card { flex-direction: column; }
}

/* Managed Services page */
.service-card-no-image .service-card-body { padding-top: 2rem; }
.managed-service-inline-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1rem; border-radius: 14px; color: var(--gpll-primary); background: #eaf0f9; font-size: 1.35rem; }
.mode-card-content > :last-child { margin-bottom: 0; }
.mode-card-content p { color: var(--gpll-muted); font-size: .9rem; }
.bg-navy-section .mode-card-content p,
.bg-accent-section .mode-card-content p { color: inherit; opacity: .86; }

/* Super Admin managed Contact page */
.contact-map-managed .map-section iframe { height: var(--contact-map-height, 460px); }
.office-hours li { flex-wrap: wrap; }
.office-hours li small { flex-basis: 100%; color: var(--gpll-muted); font-size: .72rem; }
.bg-navy-section .contact-benefits strong,
.bg-navy-section .contact-benefits span,
.bg-navy-section .rich-content,
.bg-navy-section .rich-content p,
.bg-accent-section .contact-benefits strong,
.bg-accent-section .contact-benefits span,
.bg-accent-section .rich-content,
.bg-accent-section .rich-content p { color: inherit; }

/* Super Admin controlled header/footer additions */
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding-inline: 1rem;
    border-radius: 9px;
    white-space: nowrap;
}
.site-topbar .container > p:only-child { width: 100%; text-align: center; }
@media (max-width: 1199.98px) {
    .header-cta { width: 100%; min-height: 44px; }
}


/* Mobile viewport and offcanvas navigation hotfix — 2026-07-04
   The sticky header is a stacking context. Keep it above Bootstrap's
   offcanvas backdrop so the drawer remains visible and clickable. */
#main-content {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 1199.98px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Defensive full-viewport rule for mobile/tablet. This prevents a stale
       layout rule or malformed containing block from constraining the public
       page to half of the screen. */
    #main-content {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: clip;
    }

    #main-content > section,
    #main-content > div {
        width: 100% !important;
        max-width: 100% !important;
    }

    .site-header {
        z-index: 1050;
    }

    #siteMenu.offcanvas {
        --bs-offcanvas-width: min(92vw, 400px);
        z-index: 1060;
        color: var(--gpll-text);
        background-color: #fff;
        box-shadow: -18px 0 55px rgba(7, 27, 82, .2);
    }

    #siteMenu .offcanvas-header {
        flex: 0 0 auto;
        gap: 1rem;
        padding: 1rem 1.25rem;
        background: #fff;
    }

    #siteMenu .offcanvas-title {
        margin: 0;
        color: var(--gpll-dark);
        font-size: 1.05rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    #siteMenu .btn-close {
        flex: 0 0 auto;
        margin-left: auto;
    }

    #siteMenu .offcanvas-body {
        display: block !important;
        width: 100%;
        padding: 1rem 1.25rem 1.5rem;
        overflow-x: hidden;
        overflow-y: auto;
        color: var(--gpll-text);
        background: #fff;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #siteMenu .navbar-nav {
        display: flex !important;
        width: 100%;
        align-items: stretch !important;
        gap: .2rem;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #siteMenu .nav-item {
        display: block !important;
        width: 100%;
    }

    #siteMenu .nav-link {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 44px;
        padding: .72rem .25rem !important;
        color: #26334a !important;
        white-space: normal;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #siteMenu .nav-link:hover,
    #siteMenu .nav-link:focus,
    #siteMenu .nav-link.active {
        color: var(--gpll-primary) !important;
    }

    #siteMenu .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        max-width: none;
        margin: .25rem 0 .55rem;
        border: 1px solid var(--gpll-border);
        box-shadow: none;
        transform: none !important;
    }

    .navbar-brand {
        min-width: 0;
        max-width: calc(100% - 64px);
    }

    .navbar-brand .brand-logo,
    .navbar-brand .brand-wordmark {
        flex: 0 1 auto;
    }

    .brand-wordmark {
        max-width: min(216px, calc(100vw - 130px));
    }
}

@media (max-width: 575.98px) {
    #siteMenu.offcanvas {
        --bs-offcanvas-width: min(94vw, 360px);
    }

    .site-header .navbar > .container {
        flex-wrap: nowrap;
    }

    .home-hero .carousel-caption .container,
    .home-hero-static > .container {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }
}

/* Mobile navigation drawer UX refinement — 2026-07-04
   backdrop-filter on a sticky ancestor creates a containing block for fixed
   descendants in mobile browsers. Disable it below the desktop breakpoint so
   Bootstrap's offcanvas can occupy the real viewport instead of the header. */
@media (max-width: 1199.98px) {
    .site-header,
    .site-header.is-scrolled {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        background: rgba(255, 255, 255, .99);
    }

    #siteMenu.offcanvas {
        position: fixed !important;
        inset: 0 0 0 auto !important;
        display: flex;
        flex-direction: column;
        width: min(88vw, 390px) !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-width: 100%;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        overflow: hidden;
        border: 0;
        border-radius: 22px 0 0 22px;
        box-shadow: -22px 0 65px rgba(4, 20, 55, .24);
    }

    #siteMenu .offcanvas-header {
        min-height: 88px;
        padding: calc(1rem + env(safe-area-inset-top, 0px)) 1.2rem 1rem;
        border-bottom: 1px solid rgba(7, 27, 82, .09) !important;
        background:
            linear-gradient(135deg, rgba(7, 27, 82, .045), transparent 62%),
            #fff;
    }

    #siteMenu .offcanvas-title {
        max-width: calc(100% - 58px);
        color: var(--gpll-primary);
        font-family: Poppins, sans-serif;
        font-size: clamp(1.05rem, 4.8vw, 1.25rem);
        font-weight: 750;
        letter-spacing: -.02em;
        line-height: 1.28;
    }

    #siteMenu .btn-close {
        width: 42px;
        height: 42px;
        margin: 0 0 0 auto;
        padding: .78rem;
        border-radius: 50%;
        background-color: #f1f4f9;
        background-size: .78rem;
        opacity: .72;
        transition: background-color .2s ease, opacity .2s ease, transform .2s ease;
    }

    #siteMenu .btn-close:hover,
    #siteMenu .btn-close:focus-visible {
        background-color: #e7ecf5;
        opacity: 1;
        transform: rotate(6deg);
    }

    #siteMenu .offcanvas-body {
        flex: 1 1 auto;
        min-height: 0;
        padding: .85rem .9rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
        background: #fff;
    }

    #siteMenu .navbar-nav {
        gap: .35rem;
        margin: 0 !important;
        padding: 0;
    }

    #siteMenu .nav-link {
        min-height: 50px;
        padding: .78rem .9rem !important;
        border: 1px solid transparent;
        border-radius: 12px;
        color: #25324a !important;
        font-size: .98rem;
        font-weight: 650;
        line-height: 1.3;
        transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
    }

    #siteMenu .nav-link:hover,
    #siteMenu .nav-link:focus-visible {
        color: var(--gpll-primary) !important;
        background: rgba(7, 27, 82, .055);
        border-color: rgba(7, 27, 82, .07);
        transform: translateX(2px);
    }

    #siteMenu .nav-link.active {
        color: var(--gpll-primary) !important;
        background: linear-gradient(90deg, rgba(247, 148, 61, .16), rgba(247, 148, 61, .055));
        border-color: rgba(247, 148, 61, .24);
        box-shadow: inset 3px 0 0 var(--gpll-accent);
    }

    #siteMenu .dropdown-toggle::after {
        flex: 0 0 auto;
        margin-left: .75rem;
        transition: transform .2s ease;
    }

    #siteMenu .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    #siteMenu .dropdown-menu {
        margin: .2rem 0 .45rem;
        padding: .45rem;
        border: 0;
        border-radius: 12px;
        background: #f5f7fb;
    }

    #siteMenu .dropdown-item {
        padding: .68rem .75rem;
        border-radius: 9px;
        color: #344158;
        font-size: .9rem;
        white-space: normal;
    }

    #siteMenu .dropdown-item:hover,
    #siteMenu .dropdown-item:focus {
        color: var(--gpll-primary);
        background: #fff;
    }

    #siteMenu .admin-link {
        margin-top: .2rem;
        color: #5f6b80 !important;
        background: #f7f8fb;
    }

    #siteMenu .header-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        margin-top: .35rem;
        border-radius: 12px;
        font-size: .95rem;
        font-weight: 750;
        box-shadow: 0 10px 24px rgba(7, 27, 82, .16);
    }

    .offcanvas-backdrop {
        z-index: 1040;
        background-color: #020b20;
    }

    .offcanvas-backdrop.show {
        opacity: .62;
    }
}

@media (max-width: 575.98px) {
    #siteMenu.offcanvas {
        width: 100vw !important;
        max-width: 100vw;
        border-radius: 0;
        box-shadow: none;
    }

    #siteMenu .offcanvas-header {
        min-height: 82px;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    #siteMenu .offcanvas-body {
        padding-right: .75rem;
        padding-left: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    #siteMenu.offcanvas,
    #siteMenu .nav-link,
    #siteMenu .btn-close,
    #siteMenu .dropdown-toggle::after {
        transition: none !important;
    }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
    /* The header must stay above Bootstrap's backdrop because the drawer is
       nested inside it. Dim the exposed header strip so it visually matches
       the rest of the page while the tablet drawer is open. */
    .site-header:has(#siteMenu.show)::before,
    .site-header:has(#siteMenu.showing)::before {
        position: absolute;
        inset: 0;
        z-index: 1055;
        content: "";
        background: rgba(2, 11, 32, .62);
        pointer-events: none;
    }

    #siteMenu.offcanvas {
        z-index: 1060;
    }
}

/* Shared dynamic PDF cards for About Us and Licences pages */
.managed-pdf-card { height: 100%; }
.managed-pdf-card-body { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; }
.managed-pdf-card-body .btn { align-self: flex-start; }
.bg-navy-section .managed-pdf-card-body p,
.bg-accent-section .managed-pdf-card-body p { color: var(--gpll-muted); }
@media (max-width: 575.98px) {
    .managed-pdf-card-body { width: 100%; }
    .managed-pdf-card-body .btn { width: 100%; }
}
