/* =========================================================
   GWPL brand layer on top of the AirCon template.
   All colours, fonts and sizes come from CSS variables that
   are printed from Admin → Settings (see views/partials/head.php).
   ========================================================= */
:root {
    --primary: #C99A2E;
    --primary-dark: #A67C1E;
    --secondary: #111111;
    --dark: #0B0B0B;
    --light: #F8F6F1;
    --body-color: #4A4A4A;
    --heading-color: #0B0B0B;
    --font-heading: "Roboto Slab", serif;
    --font-body: "Roboto", sans-serif;
    --fs-base: 16px;
    --body-align: justify;
    --topbar-bg: #0B0B0B;
    --topbar-color: rgba(255, 255, 255, .7);
    --topbar-size: 13px;
    --nav-bg: #FFFFFF;
    --nav-color: #333333;
    --nav-hover: #C99A2E;
    --nav-size: 15px;
    --nav-weight: 500;
    --logo-height: 62px;
    --footer-bg: #0B0B0B;
    --footer-text: #B5B5B5;
    --footer-heading: #FFFFFF;
    --footer-link: #B5B5B5;
    --footer-size: 15px;
    --footer-align: left;
    --page-header-img: none;
}

html { font-size: var(--fs-base); }
img[width][height] { height: auto; }
body {
    font-family: var(--font-body);
    color: var(--body-color);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-4, .display-6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
}
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

/* Body copy is justified by default; centred blocks keep their centring. */
.sec-text p, .sec-text li, .item-text, .entry-content p, .entry-content li, p.just {
    text-align: var(--body-align);
    hyphens: auto;
    -webkit-hyphens: auto;
}
.text-center .item-text, .text-center.item-text { text-align: center; }
.sec-head.text-center .sec-subtitle { text-align: center; }

/* ---------- Bootstrap colour overrides (compiled CSS ships orange) ---------- */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-light { background-color: var(--light) !important; }
.text-dark { color: var(--dark) !important; }
.border-primary { border-color: var(--primary) !important; }
.btn-primary, .btn-primary:focus { background-color: var(--primary); border-color: var(--primary); color: #fff; font-weight: 500; }
.btn-primary:hover, .btn-primary:active { background-color: var(--secondary) !important; border-color: var(--secondary) !important; color: #fff; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); font-weight: 500; }
.btn-outline-primary:hover { background-color: var(--primary); border-color: var(--primary); color: #fff; }
.btn-dark { background: var(--dark); border-color: var(--dark); }
.btn-dark:hover { background: var(--primary); border-color: var(--primary); }
.spinner-grow.text-primary { color: var(--primary) !important; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(201, 154, 46, .25); }
.page-link { color: var(--primary); }
.page-item.active .page-link { background-color: var(--primary); border-color: var(--primary); }
.dropdown-item.active, .dropdown-item:active { background-color: var(--primary); }
::selection { background: var(--primary); color: #fff; }

/* ---------- Topbar ---------- */
.gw-topbar { background: var(--topbar-bg); color: var(--topbar-color); font-size: var(--topbar-size); }
.gw-topbar a, .gw-topbar small { color: var(--topbar-color); font-size: var(--topbar-size); }
.gw-topbar a:hover { color: var(--primary); }
.gw-topbar .ndpc-pill { background: var(--primary); color: #000; font-weight: 700; border-radius: 30px; padding: 2px 12px; }
.gw-topbar .ndpc-pill:hover { background: #fff; color: #000; }

/* ---------- Navbar ---------- */
.navbar.gw-nav { background: var(--nav-bg) !important; }
.navbar .navbar-brand img { max-height: var(--logo-height); height: var(--logo-height); width: auto; }
.navbar .navbar-brand .brand-text { font-family: var(--font-heading); color: var(--heading-color); font-size: 1.05rem; line-height: 1.15; font-weight: 700; }
.navbar .navbar-brand .brand-text small { display: block; font-size: .72rem; color: var(--primary); letter-spacing: .5px; font-weight: 500; }
.navbar .navbar-nav { background: transparent !important; }
.navbar .navbar-nav .nav-link { color: var(--nav-color); font-size: var(--nav-size); font-weight: var(--nav-weight); margin-left: 22px; }
.navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link.active { color: var(--nav-hover); }
.navbar .dropdown-menu { background: #fff !important; border-top: 3px solid var(--primary) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); min-width: 240px; padding: .5rem 0; }
.navbar .dropdown-menu .dropdown-item { font-size: calc(var(--nav-size) - 1px); padding: .45rem 1.2rem; color: var(--nav-color); }
.navbar .dropdown-menu .dropdown-item:hover, .navbar .dropdown-menu .dropdown-item.active { background: var(--light); color: var(--nav-hover); }
.navbar .dropdown-menu .dropdown-header { font-family: var(--font-heading); color: var(--primary); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; padding: .6rem 1.2rem .25rem; }
.navbar .dropdown-menu.mega { min-width: 560px; }
.navbar .dropdown-menu.mega .mega-col { padding: 0 .25rem; }
@media (min-width: 992px) {
    .navbar .dropdown-menu.mega { display: flex !important; left: 50%; transform: translateX(-50%); right: auto; }
    .navbar .dropdown-menu.mega .mega-col { flex: 1; }
    .navbar .dropdown-menu { left: 0; right: auto; }
}
@media (max-width: 991.98px) {
    .navbar .dropdown-menu.mega { min-width: 0; }
    .navbar .navbar-nav .nav-link { margin-left: 0; }
}
.navbar .btn-cta { white-space: nowrap; }

/* ---------- Hero carousel ---------- */
#header-carousel .carousel-item { height: var(--hero-h, 640px); min-height: 460px; }
#header-carousel .carousel-item picture, #header-carousel .carousel-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#header-carousel .carousel-caption { background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .55)); }
#header-carousel .hero-eyebrow { color: var(--primary); letter-spacing: 3px; text-transform: uppercase; font-weight: 700; }
#header-carousel h1, #header-carousel h2 { color: #fff; }
#header-carousel .hero-text { color: rgba(255, 255, 255, .85) !important; }
#header-carousel .carousel-indicators [data-bs-target] { background-color: var(--primary); }
.hero-gold-line { width: 90px; height: 4px; background: var(--primary); margin: 0 auto 1.5rem; }

/* ---------- Page header ---------- */
.page-header { background-size: cover !important; }
.page-header h1 { color: #fff; }
.page-header .lead { color: rgba(255, 255, 255, .85); max-width: 820px; margin: 0 auto 1rem; }

/* ---------- Generic sections ---------- */
.gw-section { position: relative; }
.sec-eyebrow { letter-spacing: 2px; font-size: .85rem; }
.sec-eyebrow::before { content: ""; display: inline-block; width: 30px; height: 2px; background: var(--primary); vertical-align: middle; margin-right: 10px; }
.sec-head.text-center .sec-eyebrow::after { content: ""; display: inline-block; width: 30px; height: 2px; background: var(--primary); vertical-align: middle; margin-left: 10px; }
.gold-rule { width: 70px; height: 3px; background: var(--primary); }
.sec-text img { max-width: 100%; height: auto; }
.sec-text ul { padding-left: 1.2rem; }
.sec-text ul li::marker { color: var(--primary); }

/* Icon circles */
.icon-circle { width: 70px; height: 70px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-size: 1.6rem; flex-shrink: 0; }
.icon-circle.lg { width: 90px; height: 90px; font-size: 2rem; }
.icon-circle.outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }

/* About collage */
.about-collage img { border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }

/* Service cards (template .service-item) */
.service-item { background: #fff; box-shadow: 0 0 45px rgba(0, 0, 0, .07); height: 100%; display: flex; flex-direction: column; transition: .4s; }
.service-item:hover { transform: translateY(-6px); box-shadow: 0 15px 45px rgba(0, 0, 0, .12); }
.service-item .service-img { overflow: hidden; aspect-ratio: 16/10; }
.service-item .service-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.service-item:hover .service-img img { transform: scale(1.06); }
.service-item .service-icon { background: var(--primary); color: #fff; font-size: 2rem; width: 80px; height: 80px; }
.service-item .service-title { background: var(--dark); }
.service-item .service-title a, .service-item .service-title h3 { color: #fff; font-size: 1.15rem; }
.service-item .service-title a:hover { color: var(--primary); }
.service-item .service-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-item .service-body .btn { align-self: flex-start; margin-top: auto; }

/* Icon cards */
.gw-card { background: #fff; border: 1px solid #eee; border-bottom: 3px solid var(--primary); padding: 2rem; height: 100%; transition: .4s; }
.gw-card:hover { box-shadow: 0 15px 40px rgba(0, 0, 0, .09); transform: translateY(-4px); }
.cards-dark .gw-card { background: var(--dark); border-color: #222; border-bottom-color: var(--primary); }
.cards-dark .gw-card h3, .cards-dark .gw-card h4 { color: #fff; }
.cards-dark .gw-card .item-text { color: #bbb; }
.cards-plain .gw-card { border: 0; padding: 1rem 0; background: transparent; }
.cards-plain .gw-card:hover { box-shadow: none; transform: none; }
.gw-card .card-letter { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 800; color: var(--primary); line-height: 1; }

/* Checklist */
.gw-list li { margin-bottom: .8rem; display: flex; gap: .7rem; align-items: flex-start; }
.gw-list li i { color: var(--primary); margin-top: .25rem; }
.gw-list li strong { color: var(--heading-color); }

/* Steps */
.gw-step { position: relative; background: var(--light); padding: 2rem 1.75rem; height: 100%; border-left: 4px solid var(--primary); }
.gw-step .step-label { font-family: var(--font-heading); color: var(--primary); font-weight: 800; letter-spacing: 1px; font-size: .85rem; }

/* Facts */
.facts { background-color: rgba(0, 0, 0, .82) !important; }
.facts .display-4 { color: #fff; }
.facts .fact-label { color: var(--primary); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* CTA banner */
.gw-cta { background: var(--dark); position: relative; overflow: hidden; }
.gw-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border: 40px solid rgba(201, 154, 46, .15); border-radius: 50%; }
.gw-cta h2 { color: #fff; }
.gw-cta .sec-text, .gw-cta .sec-text p { color: rgba(255, 255, 255, .8); }

/* Quote block (template) */
.container.quote .quote-form .bg-white { box-shadow: 0 0 45px rgba(0, 0, 0, .08); }

/* ---------- NDPC compliance badge — intentionally bold ---------- */
.ndpc-band { background: linear-gradient(135deg, #0B0B0B 0%, #1a1a1a 60%, #2b2210 100%); border-top: 5px solid var(--primary); border-bottom: 5px solid var(--primary); }
.ndpc-band h2, .ndpc-band .sec-heading { color: #fff; font-weight: 800; }
.ndpc-band .sec-text, .ndpc-band .sec-text p { color: rgba(255, 255, 255, .85); }
.ndpc-band .ndpc-badge-link { display: inline-block; cursor: zoom-in; border-radius: 16px; }
.ndpc-band .ndpc-badge-img { display: block; width: 300px; max-width: 100%; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; padding: 8px; border: 3px solid var(--primary); border-radius: 16px; box-shadow: 0 0 0 6px rgba(201, 154, 46, .18), 0 18px 40px rgba(0, 0, 0, .45); animation: ndpcGlow 3.5s ease-in-out infinite; transition: transform .3s; }
.ndpc-band .ndpc-badge-link:hover .ndpc-badge-img { transform: translateY(-4px); }
.ndpc-band .ndpc-zoom-hint { display: block; margin-top: .9rem; color: rgba(255, 255, 255, .6); font-size: .8rem; letter-spacing: .5px; }
.ndpc-band .ndpc-stamp { display: inline-flex; align-items: center; gap: .5rem; background: var(--primary); color: #000; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; padding: .45rem 1.1rem; border-radius: 40px; font-size: .85rem; }
.ndpc-band .ndpc-point { color: #fff; font-weight: 500; }
.ndpc-band .ndpc-point i { color: var(--primary); }
@keyframes ndpcGlow { 0%, 100% { box-shadow: 0 0 0 6px rgba(201, 154, 46, .18), 0 18px 40px rgba(0, 0, 0, .45); } 50% { box-shadow: 0 0 0 11px rgba(201, 154, 46, .08), 0 18px 40px rgba(0, 0, 0, .45); } }
.ndpc-float { position: fixed; left: 20px; bottom: 95px; z-index: 98; background: #fff; border: 3px solid var(--primary); border-radius: 10px; padding: 4px; box-shadow: 0 8px 25px rgba(0, 0, 0, .25); width: 92px; transition: .3s; }
.ndpc-float:hover { transform: scale(1.06); }
.ndpc-float { cursor: zoom-in; }
.ndpc-float img { width: 100%; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.ndpc-float span { display: block; text-align: center; font-size: 10px; font-weight: 800; color: #000; text-transform: uppercase; letter-spacing: .5px; }
.footer .ndpc-footer { display: inline-block; background: #fff; border: 3px solid var(--primary); border-radius: 10px; padding: 4px; width: 130px; cursor: zoom-in; transition: .3s; }
.footer .ndpc-footer:hover { transform: scale(1.04); }
.footer .ndpc-footer img { width: 100%; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
/* NDPC certificate popup */
#ndpcModal .modal-content { border: 0; border-top: 5px solid var(--primary); border-radius: 14px; overflow: hidden; }
#ndpcModal .modal-header { background: var(--dark); color: #fff; border: 0; }
#ndpcModal .modal-header .modal-title { color: #fff; font-size: 1.05rem; }
#ndpcModal .btn-close { filter: invert(1) grayscale(1) brightness(2); opacity: .8; }
#ndpcModal .ndpc-modal-img { width: 100%; max-width: 520px; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain; display: block; margin: 0 auto; }

/* ---------- Logo carousel / grid ---------- */
.logo-carousel .owl-item, .logo-grid .logo-cell { display: flex; align-items: center; justify-content: center; }
.logo-box { background: #fff; border: 1px solid #eee; height: 120px; width: 100%; display: flex; align-items: center; justify-content: center; padding: 14px; transition: .3s; }
.logo-box:hover { border-color: var(--primary); box-shadow: 0 8px 25px rgba(0, 0, 0, .07); }
.logo-box img { max-height: 90px; max-width: 100%; width: auto !important; object-fit: contain; filter: grayscale(30%); transition: .3s; }
.logo-box:hover img { filter: none; }
.logo-carousel .owl-dots { text-align: center; margin-top: 20px; }
.logo-carousel .owl-dot span { width: 10px; height: 10px; background: #ddd; display: block; border-radius: 50%; margin: 0 4px; }
.logo-carousel .owl-dot.active span { background: var(--primary); }

/* ---------- Tools ---------- */
.tool-card { background: #fff; border: 1px solid #eee; padding: 2rem 1.6rem; height: 100%; display: flex; flex-direction: column; transition: .35s; position: relative; overflow: hidden; }
.tool-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--primary); transition: .4s; }
.tool-card:hover::before { width: 100%; }
.tool-card:hover { box-shadow: 0 18px 45px rgba(0, 0, 0, .1); transform: translateY(-5px); }
.tool-card .tool-icon { width: 72px; height: 72px; border-radius: 16px; background: var(--dark); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.9rem; margin-bottom: 1.25rem; transition: .35s; }
.tool-card:hover .tool-icon { background: var(--primary); color: #fff; }
.tool-card .btn { align-self: flex-start; margin-top: auto; }
.tool-filter .btn { margin: 0 .25rem .5rem; }

/* ---------- Blog ---------- */
.blog-card { background: #fff; box-shadow: 0 0 40px rgba(0, 0, 0, .06); height: 100%; display: flex; flex-direction: column; transition: .35s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(0, 0, 0, .1); }
.blog-card .blog-img { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.blog-card .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-card .blog-cat { position: absolute; left: 0; bottom: 0; background: var(--primary); color: #fff; font-size: .75rem; padding: .35rem .9rem; text-transform: uppercase; letter-spacing: 1px; }
.blog-card .blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { font-size: 1.2rem; line-height: 1.4; }
.blog-card h3 a { color: var(--heading-color); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-meta { font-size: .85rem; color: #888; }
.blog-meta i { color: var(--primary); }
.blog-sidebar .widget { background: var(--light); padding: 1.75rem; margin-bottom: 1.75rem; }
.blog-sidebar .widget h4 { font-size: 1.15rem; border-bottom: 2px solid var(--primary); padding-bottom: .6rem; margin-bottom: 1rem; }
.tag-cloud a { display: inline-block; background: #fff; border: 1px solid #e5e5e5; color: #555; font-size: .8rem; padding: .3rem .7rem; margin: 0 .3rem .45rem 0; transition: .25s; }
.tag-cloud a:hover, .tag-cloud a.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.post-hero img { width: 100%; height: auto; }

/* Article body: editor output (TinyMCE alignment classes and inline styles) */
.entry-content { font-size: 1.06rem; line-height: 1.85; }
.entry-content h2 { font-size: 1.65rem; margin: 2rem 0 1rem; }
.entry-content h3 { font-size: 1.35rem; margin: 1.6rem 0 .8rem; }
.entry-content blockquote { border-left: 4px solid var(--primary); background: var(--light); padding: 1rem 1.5rem; font-style: italic; margin: 1.5rem 0; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content img.align-left, .entry-content img[style*="float: left"], .entry-content .alignleft { float: left; margin: .4rem 1.5rem 1rem 0; max-width: 50%; }
.entry-content img.align-right, .entry-content img[style*="float: right"], .entry-content .alignright { float: right; margin: .4rem 0 1rem 1.5rem; max-width: 50%; }
.entry-content img.align-center, .entry-content .aligncenter { display: block; margin: 1.5rem auto; }
.entry-content figure { margin: 1.5rem 0; }
.entry-content figure.image { display: table; }
.entry-content figure.image figcaption { display: table-caption; caption-side: bottom; font-size: .85rem; color: #777; text-align: center; padding-top: .4rem; }
.entry-content table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; }
.entry-content table td, .entry-content table th { border: 1px solid #e5e5e5; padding: .6rem .8rem; }
.entry-content::after { content: ""; display: table; clear: both; }
@media (max-width: 575px) {
    .entry-content img.align-left, .entry-content img.align-right, .entry-content img[style*="float"] { float: none !important; max-width: 100%; margin: 1rem 0; }
}
.share-links a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--dark); color: #fff; margin-right: .4rem; }
.share-links a:hover { background: var(--primary); }

/* ---------- FAQ ---------- */
.gw-faq .accordion-button { font-family: var(--font-heading); font-weight: 600; color: var(--heading-color); }
.gw-faq .accordion-button:not(.collapsed) { background: var(--light); color: var(--primary); box-shadow: none; }
.gw-faq .accordion-button:focus { box-shadow: none; border-color: var(--primary); }
.gw-faq .accordion-item { border-left: 3px solid var(--primary); margin-bottom: .75rem; }

/* ---------- Offices ---------- */
.office-card { background: #fff; border: 1px solid #eee; border-top: 4px solid var(--primary); padding: 2rem; height: 100%; }
.office-card p { margin-bottom: .5rem; }
.office-card i { color: var(--primary); width: 22px; }

/* Gallery */
.gw-gallery a { display: block; overflow: hidden; position: relative; }
.gw-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: .5s; }
.gw-gallery a:hover img { transform: scale(1.06); }
.gw-gallery .cap { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: #fff; padding: 1.5rem 1rem .75rem; font-size: .9rem; }

/* ---------- Footer ---------- */
.footer { background: var(--footer-bg) !important; color: var(--footer-text); font-size: var(--footer-size); text-align: var(--footer-align); }
.footer h5, .footer h4 { color: var(--footer-heading) !important; }
.footer p, .footer span { color: var(--footer-text); }
.footer .btn.btn-link { color: var(--footer-link); text-align: var(--footer-align); font-size: var(--footer-size); }
.footer .btn.btn-link::before { color: var(--primary); }
.footer .btn.btn-link:hover { color: var(--primary); }
.footer .btn.btn-square { color: var(--footer-text); border-color: rgba(255, 255, 255, .25); }
.footer .btn.btn-square:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer .footer-logo { max-height: 90px; width: auto; }
.footer .country-links a { display: inline-block; border: 1px solid rgba(255, 255, 255, .2); color: var(--footer-link); padding: .3rem .8rem; margin: 0 .4rem .5rem 0; font-size: .85rem; border-radius: 30px; }
.footer .country-links a:hover { border-color: var(--primary); color: var(--primary); }
.footer .form-control { color: #fff; border-color: rgba(255, 255, 255, .25); }
.footer .form-control::placeholder { color: rgba(255, 255, 255, .5); }
.footer .copyright { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer .copyright a { color: var(--primary); }
.footer .seo-footer-note { font-size: .82rem; color: rgba(255, 255, 255, .45); }

/* ---------- WhatsApp floating button ---------- */
.wa-float { position: fixed; left: 22px; bottom: 22px; z-index: 99; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 8px 25px rgba(37, 211, 102, .45); transition: .3s; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waPulse 2s infinite; }
.wa-float.right { left: auto; right: 22px; bottom: 90px; }
.wa-float .wa-tip { position: absolute; left: 70px; white-space: nowrap; background: #fff; color: #222; font-size: 13px; padding: 6px 12px; border-radius: 6px; box-shadow: 0 4px 15px rgba(0, 0, 0, .15); opacity: 0; pointer-events: none; transition: .3s; }
.wa-float.right .wa-tip { left: auto; right: 70px; }
.wa-float:hover .wa-tip { opacity: 1; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

.back-to-top { background: var(--primary) !important; border-color: var(--primary) !important; opacity: 0; visibility: hidden; transition: .4s; }
.back-to-top.show { opacity: 1; visibility: visible; }

/* Form helpers */
.gw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gw-form .form-privacy a { color: var(--primary); }

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: #000; padding: .5rem 1rem; z-index: 100000; }
.skip-link:focus { left: 0; }

@media (max-width: 767px) {
    #header-carousel .carousel-item { height: 520px; }
    .display-4 { font-size: 2rem; }
    .display-6 { font-size: 1.6rem; }
    .ndpc-float { width: 70px; bottom: 90px; left: 14px; }
    .wa-float { left: 14px; bottom: 14px; }
}

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

/* Section wrappers span the full width so background colours/images reach the edges;
   the inner .container keeps content width. */
.gw-section.container-xxl { max-width: none; }
.btn-primary.active, .btn-primary:active, .btn-check:checked + .btn-primary { background-color: var(--primary) !important; border-color: var(--primary) !important; color: #fff; }
.btn-outline-primary.active, .btn-outline-primary:active { background-color: var(--primary) !important; border-color: var(--primary) !important; color: #fff; }
@media (max-width: 991px) { .ndpc-band .ndpc-badge-img { width: 240px; } }

/* ---------- Cookie consent ---------- */
.cookie-banner { position: fixed; z-index: 1080; color: #ddd; background: rgba(11, 11, 11, .97); border-top: 3px solid var(--primary); box-shadow: 0 -10px 40px rgba(0, 0, 0, .3); transform: translateY(120%); transition: transform .4s ease; }
.cookie-banner.show { transform: none; }
.cookie-banner.cookie-bar { left: 0; right: 0; bottom: 0; }
.cookie-banner.cookie-box { left: 20px; bottom: 20px; max-width: 420px; border-radius: 12px; border: 1px solid #333; border-top: 4px solid var(--primary); }
.cookie-banner.cookie-box-right { right: 20px; bottom: 20px; max-width: 420px; border-radius: 12px; border: 1px solid #333; border-top: 4px solid var(--primary); }
.cookie-inner { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; padding: 1.1rem 1.5rem; max-width: 1320px; margin: 0 auto; }
.cookie-box .cookie-inner, .cookie-box-right .cookie-inner { flex-direction: column; align-items: stretch; gap: 1rem; }
.cookie-title { font-size: 1.05rem; color: #fff !important; margin-bottom: .35rem; }
.cookie-title i { color: var(--primary); }
.cookie-copy p { margin: 0; font-size: .87rem; line-height: 1.55; text-align: left !important; }
.cookie-copy a { color: var(--primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; flex-shrink: 0; }
.cookie-actions .btn { padding: .5rem 1rem; }
.cookie-prefs { position: fixed; inset: 0; z-index: 1090; background: rgba(0, 0, 0, .6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cookie-prefs[hidden] { display: none; }
.cookie-prefs-box { background: #fff; width: 100%; max-width: 560px; border-radius: 14px; overflow: hidden; border-top: 5px solid var(--primary); max-height: 90vh; display: flex; flex-direction: column; }
.cookie-prefs-head { background: var(--dark); color: #fff; padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.cookie-prefs-head h2 { color: #fff; font-size: 1.1rem; margin: 0; }
.cookie-prefs-head i { color: var(--primary); }
.cookie-prefs-body { padding: 1.25rem; overflow-y: auto; }
.cookie-prefs-body p { text-align: left !important; }
.cookie-cat { border: 1px solid #eee; border-left: 3px solid var(--primary); border-radius: 8px; padding: .8rem 1rem; margin-bottom: .75rem; }
.cookie-cat .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.cookie-prefs-foot { padding: 1rem 1.25rem; border-top: 1px solid #eee; display: flex; gap: .5rem; justify-content: flex-end; flex-wrap: wrap; }
body.cookie-prefs-open { overflow: hidden; }
.cookie-embed-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(135deg, #0B0B0B, #2b2210); color: #ddd; padding: 1.5rem; font-size: .9rem; }
.cookie-embed-ph i { font-size: 2rem; color: var(--primary); display: block; }
@media (max-width: 767px) {
    .cookie-inner { flex-direction: column; align-items: stretch; gap: .9rem; padding: 1rem; }
    .cookie-banner.cookie-box, .cookie-banner.cookie-box-right { left: 10px; right: 10px; bottom: 10px; max-width: none; }
    .cookie-actions .btn { flex: 1 1 auto; }
}

/* ---------- Two divisions side by side ---------- */
.divisions-row > .division-col { display: flex; }
.division-card { background: #fff; box-shadow: 0 10px 40px rgba(0, 0, 0, .08); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; width: 100%; border-bottom: 4px solid var(--primary); }
.division-head { background: var(--dark) center/cover no-repeat; color: #fff; padding: 2rem 2rem 1.6rem; position: relative; }
.division-2 .division-head { background-color: #1c160a; }
.division-label { display: inline-block; background: var(--primary); color: #000; font-weight: 700; font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; padding: .3rem .8rem; border-radius: 30px; margin-bottom: .8rem; }
.division-title { color: #fff !important; font-size: 1.45rem; margin-bottom: .5rem; }
.division-intro { color: rgba(255, 255, 255, .78); font-size: .92rem; margin: 0; text-align: left; }
.division-list { padding: .6rem 1rem; flex: 1; }
.division-list li + li { border-top: 1px solid #f0ece2; }
.division-item { display: flex; align-items: center; gap: .9rem; padding: .8rem .6rem; color: var(--body-color); border-radius: 8px; transition: .25s; text-decoration: none; }
a.division-item:hover { background: var(--light); color: var(--body-color); }
.division-ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: rgba(201, 154, 46, .12); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; transition: .25s; }
a.division-item:hover .division-ic { background: var(--primary); color: #fff; }
.division-txt { flex: 1; min-width: 0; }
.division-txt strong { display: block; color: var(--heading-color); font-family: var(--font-heading); font-size: 1rem; line-height: 1.3; }
.division-txt small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .84rem; line-height: 1.45; margin-top: .15rem; text-align: left !important; }
.division-go { color: var(--primary); opacity: .5; transition: .25s; }
a.division-item:hover .division-go { opacity: 1; transform: translateX(3px); }
.division-foot { padding: 0 1.6rem 1.6rem; }
.division-tabs { display: flex; background: var(--light); border-radius: 40px; padding: 4px; gap: 4px; }
.division-tabs button { flex: 1; border: 0; background: transparent; border-radius: 40px; padding: .6rem .5rem; font-weight: 600; font-size: .85rem; color: var(--body-color); }
.division-tabs button.active { background: var(--dark); color: #fff; }
@media (max-width: 991.98px) {
    .divisions-row.has-tabs > .division-col:not(.is-active) { display: none; }
}

.cookie-banner-visible .wa-float, .cookie-banner-visible .ndpc-float, .cookie-banner-visible .back-to-top { opacity: 0 !important; pointer-events: none; }

/* ---------- Blog comments ---------- */
.comment-list > .comment { border-bottom: 1px solid #eee; padding: 1.25rem 0; }
.comment-body { display: flex; gap: 1rem; }
.comment-avatar { width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; background: var(--dark); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; }
.comment-staff > .comment-body .comment-avatar { background: var(--primary); color: #fff; }
.comment-main { flex: 1; min-width: 0; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.comment-meta strong { color: var(--heading-color); font-family: var(--font-heading); }
.comment-meta time { font-size: .8rem; color: #999; }
.comment-text { line-height: 1.7; text-align: var(--body-align); word-wrap: break-word; }
.comment-reply-btn { color: var(--primary); text-decoration: none; font-weight: 500; }
.comment-children { margin: 1rem 0 0 1.5rem; padding-left: 1.25rem; border-left: 2px solid var(--light); }
.comment-children .comment { padding: .9rem 0 0; }
.comment-children .comment-avatar { width: 40px; height: 40px; font-size: .85rem; }
.comment-form-wrap { background: var(--light); padding: 2rem; border-radius: 8px; }
@media (max-width: 575px) { .comment-children { margin-left: .5rem; padding-left: .75rem; } .comment-form-wrap { padding: 1.25rem; } }
.math-captcha label { color: var(--heading-color); }

/* ---------- Embedded app / portal ---------- */
.embed-frame { border-radius: 14px; overflow: hidden; background: #0B0B0B; box-shadow: 0 25px 60px rgba(0, 0, 0, .25); border: 1px solid #222; }
.embed-bar { height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: #151515; border-bottom: 2px solid var(--primary); }
.embed-dots i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #444; margin-right: 5px; }
.embed-dots i:first-child { background: var(--primary); }
.embed-addr { flex: 1; min-width: 0; background: #0B0B0B; color: #aaa; font-size: 12px; border-radius: 20px; padding: 4px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
.embed-addr i { color: var(--primary); }
.embed-btn { width: 30px; height: 30px; border-radius: 6px; border: 0; background: #222; color: #ccc; }
.embed-btn:hover { background: var(--primary); color: #fff; }
.embed-stage { position: relative; height: var(--embed-h, 760px); }
.embed-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #0B0B0B; }
.embed-poster { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; background: radial-gradient(ellipse at center, #2b2210 0%, #0B0B0B 70%) center/cover; }
.embed-poster-icon { width: 96px; height: 96px; border-radius: 50%; background: rgba(201, 154, 46, .15); border: 2px solid var(--primary); color: var(--primary); font-size: 2.6rem; display: inline-flex; align-items: center; justify-content: center; animation: ndpcGlow 3s ease-in-out infinite; }
.embed-loading { position: absolute; inset: 0; z-index: 1; display: none; align-items: center; justify-content: center; background: #0B0B0B; pointer-events: none; }
.embed-stage.is-loading .embed-loading { display: flex; }
.embed-highlights li { margin-bottom: .55rem; font-weight: 500; color: var(--heading-color); }
@media (max-width: 767px) { .embed-stage { height: var(--embed-mh, 640px); } .embed-addr { display: none; } }
.embed-frame:fullscreen { border-radius: 0; }
.embed-frame:fullscreen .embed-stage { height: calc(100vh - 44px); }
