/* =============================================================================
   HKHP Services Ltd — Core Stylesheet (Design System)
   -----------------------------------------------------------------------------
   Contents
     1.  Design tokens (colour, type, spacing, shadow, radius)
     2.  Base & reset
     3.  Typography
     4.  Layout helpers & sections
     5.  Buttons
     6.  Navbar
     7.  Hero
     8.  Cards (service, product, feature, value)
     9.  Statistics / counters
     10. Testimonials
     11. FAQ accordion
     12. Breadcrumb
     13. Forms
     14. Footer
     15. Back-to-top button
     16. Utilities, badges & misc
     17. Scroll-reveal animation states
     18. Preloader
   -----------------------------------------------------------------------------
   All colours meet WCAG 2.1 AA contrast on their intended backgrounds.
   ========================================================================== */

/* -----------------------------------------------------------------------------
   1. DESIGN TOKENS
-------------------------------------------------------------------------------- */
:root {
    /* Brand palette */
    --navy:        #12355B;
    --navy-900:    #0C2540;
    --navy-700:    #1A426E;
    --royal:       #1D4ED8;
    --royal-600:   #2563EB;
    --teal:        #0F766E;
    --teal-500:    #12897F;
    --gold:        #D4AF37;
    --gold-600:    #B8942A;

    /* Neutrals */
    --bg:          #F8FAFC;
    --surface:     #FFFFFF;
    --ink:         #1F2937;
    --ink-soft:    #4B5563;
    --muted:       #6B7280;
    --line:        #E5E7EB;
    --line-soft:   #EEF2F6;

    /* Semantic */
    --success:     #15803D;
    --danger:      #B91C1C;
    --focus:       #2563EB;

    /* Gradients */
    --grad-btn:    linear-gradient(135deg, #1D4ED8 0%, #12355B 100%);
    --grad-hero:   linear-gradient(135deg, #0C2540 0%, #12355B 55%, #163A63 100%);
    --grad-teal:   linear-gradient(135deg, #12897F 0%, #0F766E 100%);
    --grad-gold:   linear-gradient(135deg, #E4C15A 0%, #D4AF37 100%);

    /* Typography */
    --font-sans:   'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-head:   'Poppins', var(--font-sans);

    /* Fluid type scale */
    --fs-display:  clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
    --fs-h1:       clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
    --fs-h2:       clamp(1.55rem, 1.25rem + 1.4vw, 2.25rem);
    --fs-h3:       clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    --fs-lead:     clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
    --fs-base:     1rem;
    --fs-sm:       0.9rem;

    /* Spacing scale */
    --space-section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
    --radius-sm:   8px;
    --radius:      14px;
    --radius-lg:   20px;
    --radius-pill: 999px;

    /* Elevation */
    --shadow-xs:   0 1px 2px rgba(15, 23, 42, .06);
    --shadow-sm:   0 4px 14px rgba(15, 23, 42, .06);
    --shadow:      0 10px 30px rgba(15, 23, 42, .08);
    --shadow-lg:   0 24px 60px rgba(12, 37, 64, .16);
    --shadow-focus:0 0 0 3px rgba(37, 99, 235, .35);

    /* Motion */
    --ease:        cubic-bezier(.22, 1, .36, 1);
    --dur:         .35s;

    --container:   1200px;
}

/* -----------------------------------------------------------------------------
   2. BASE & RESET
-------------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--royal);
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}
a:hover { color: var(--teal); }

/* Accessible focus */
:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 2000;
    background: var(--navy);
    color: #fff;
    padding: .65rem 1.1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

::selection { background: rgba(29, 78, 216, .18); }

/* -----------------------------------------------------------------------------
   3. TYPOGRAPHY
-------------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--navy);
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 .6em;
    letter-spacing: -.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1rem; color: var(--ink-soft); }

.lead { font-size: var(--fs-lead); color: var(--ink-soft); }

.container { max-width: var(--container); }

/* Section heading eyebrow + title block */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: .9rem;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--gold);
    display: inline-block;
}
.section-title { margin-bottom: .5rem; }
.section-intro { max-width: 640px; }
.text-gradient {
    background: var(--grad-teal);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* -----------------------------------------------------------------------------
   4. LAYOUT HELPERS & SECTIONS
-------------------------------------------------------------------------------- */
.section { padding: var(--space-section) 0; }
.section--tight { padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0; }
.section--bg { background: var(--surface); }
.section--soft { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.section--navy {
    background: var(--grad-hero);
    color: #E7EEF6;
}
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: #fff; }
.section--navy p { color: #B9C7DA; }

.divider-top {
    border-top: 1px solid var(--line);
}

/* Decorative dotted / grid background accents */
.bg-accent { position: relative; }
.bg-accent::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(29, 78, 216, .06) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
            mask-image: linear-gradient(180deg, #000, transparent 70%);
}

/* -----------------------------------------------------------------------------
   5. BUTTONS
-------------------------------------------------------------------------------- */
.btn {
    --btn-pad-y: .8rem;
    --btn-pad-x: 1.6rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .98rem;
    padding: var(--btn-pad-y) var(--btn-pad-x);
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                background var(--dur) var(--ease),
                color var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    line-height: 1.1;
    cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--grad-btn);
    color: #fff;
    box-shadow: 0 8px 20px rgba(29, 78, 216, .28);
}
.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--grad-teal);
    color: #fff;
    box-shadow: 0 12px 26px rgba(15, 118, 110, .32);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--grad-gold);
    color: var(--navy-900);
    box-shadow: 0 8px 20px rgba(212, 175, 55, .3);
}
.btn-gold:hover,
.btn-gold:focus-visible {
    color: var(--navy-900);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(212, 175, 55, .42);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--line);
}
.btn-outline:hover,
.btn-outline:focus-visible {
    border-color: var(--royal);
    color: var(--royal);
    background: rgba(29, 78, 216, .04);
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--navy);
}
.btn-light:hover,
.btn-light:focus-visible {
    background: var(--gold);
    color: var(--navy-900);
    transform: translateY(-2px);
}

.btn-ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
}
.btn-ghost-light:hover,
.btn-ghost-light:focus-visible {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-lg { --btn-pad-y: 1rem; --btn-pad-x: 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* Text link with arrow */
.link-arrow {
    font-family: var(--font-head);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--royal);
}
.link-arrow i { transition: transform var(--dur) var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* -----------------------------------------------------------------------------
   6. NAVBAR
-------------------------------------------------------------------------------- */
.topbar {
    background: var(--navy-900);
    color: #C6D4E6;
    font-size: .84rem;
}
.topbar a { color: #C6D4E6; }
.topbar a:hover { color: #fff; }
.topbar .topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 0;
    gap: 1rem;
    flex-wrap: wrap;
}
.topbar-contact { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar-contact span { display: inline-flex; align-items: center; gap: .4rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
            backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, .98);
}

.navbar { padding-top: .5rem; padding-bottom: .5rem; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--navy);
    font-size: 1.25rem;
    letter-spacing: -.02em;
}
.brand:hover { color: var(--navy); }
.brand-logo-img {
    height: 48px;
    width: auto;
    display: block;
    transition: transform var(--dur) var(--ease);
}
.brand:hover .brand-logo-img { transform: scale(1.03); }
@media (max-width: 575.98px) {
    .brand-logo-img { height: 40px; }
}
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--grad-hero);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.brand-mark::after {
    content: "";
    position: absolute;
    top: -2px; right: -2px;
    width: 14px; height: 14px;
    background: var(--gold);
    border-radius: 0 0 0 12px;
}
.brand small {
    display: block;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: .62rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal);
    margin-top: 2px;
}

.navbar-nav .nav-link {
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--ink);
    padding: .55rem .95rem !important;
    border-radius: var(--radius-sm);
    position: relative;
    transition: color var(--dur) var(--ease);
}
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: .95rem;
    right: .95rem;
    bottom: .35rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
    border-radius: 2px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible { color: var(--royal); }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: var(--navy); font-weight: 600; }

/* Dropdown */
.navbar .dropdown-menu {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: .6rem;
    margin-top: .6rem;
    min-width: 620px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
    display: block;
    visibility: hidden;
    pointer-events: none;
}
/* Invisible hover bridge — spans the gap between the toggle and the menu so the
   :hover chain is not broken when the cursor moves down onto the dropdown. */
.navbar .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1rem;
    height: 1rem;
    background: transparent;
}
/* Keep the menu open while hovering either the toggle, the list item or the
   menu itself (covers diagonal cursor movement across the bridge). */
.navbar .dropdown:hover > .dropdown-menu,
.navbar .dropdown:focus-within > .dropdown-menu,
.navbar .dropdown-menu:hover,
.navbar .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}
.mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .15rem .6rem;
}
.mega-head {
    font-family: var(--font-head);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    padding: .5rem .7rem .2rem;
    grid-column: 1 / -1;
}
.mega-link {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    padding: .55rem .7rem;
    border-radius: var(--radius-sm);
    color: var(--ink);
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mega-link:hover {
    background: var(--line-soft);
    color: var(--navy);
    transform: translateX(2px);
}
.mega-link i {
    color: var(--teal);
    font-size: 1.05rem;
    margin-top: 2px;
    flex: none;
}
.mega-link strong { font-weight: 600; font-size: .95rem; display: block; }
.mega-link span { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.mega-foot {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-soft);
    margin-top: .4rem;
    padding: .7rem .7rem .2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-toggler {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .4rem .55rem;
}
.navbar-toggler:focus { box-shadow: var(--shadow-focus); }

/* -----------------------------------------------------------------------------
   7. HERO
-------------------------------------------------------------------------------- */
.hero {
    position: relative;
    color: #EAF1F9;
    background: var(--grad-hero);
    overflow: hidden;
    padding: clamp(3.5rem, 3rem + 5vw, 7rem) 0 clamp(4rem, 3rem + 6vw, 8rem);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 400px at 85% -10%, rgba(29, 78, 216, .4), transparent 60%),
        radial-gradient(700px 500px at 10% 110%, rgba(15, 118, 110, .32), transparent 60%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
            mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
    pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 {
    color: #fff;
    /* Reduced hero heading size (fluid: ~30px on mobile → ~44px on desktop) */
    font-size: clamp(1.85rem, 1.4rem + 1.9vw, 2.25rem);
    letter-spacing: -.02em;
    margin-bottom: 1rem;
}
.hero .lead { color: #C4D3E6; max-width: 560px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #DDE7F3;
    padding: .5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: .84rem;
    font-weight: 500;
    margin-bottom: 1.4rem;
}
.hero-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, .25);
}
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* Hero side panel / stat cluster */
.hero-panel {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    box-shadow: var(--shadow-lg);
}
.hero-panel img { border-radius: var(--radius); }

/* Hero image slider (Bootstrap carousel) */
.hero-carousel { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.hero-carousel .carousel-item img {
    width: 100%;
    aspect-ratio: 800 / 502;   /* matches the header slide images (no cropping) */
    object-fit: cover;
    border-radius: var(--radius);
}
.hero-carousel .carousel-item { transition: transform .7s var(--ease), opacity .5s ease; }

/* Circular arrow controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 3.4rem;
    opacity: 1;
    align-items: center;
}
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(12, 37, 64, .55);
    background-size: 42% 42%;
    box-shadow: var(--shadow-sm);
    transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hero-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-carousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--royal);
    transform: scale(1.08);
}
.hero-carousel .carousel-control-prev:focus-visible .carousel-control-prev-icon,
.hero-carousel .carousel-control-next:focus-visible .carousel-control-next-icon {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* Indicators as slim bars with gold active */
.hero-carousel .carousel-indicators { margin-bottom: .8rem; }
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 26px;
    height: 5px;
    border-radius: 3px;
    border: 0;
    background-color: rgba(255, 255, 255, .55);
    opacity: 1;
    transition: background-color var(--dur) var(--ease), width var(--dur) var(--ease);
}
.hero-carousel .carousel-indicators .active {
    background-color: var(--gold);
    width: 38px;
}
.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    color: #AFC0D6;
    font-size: .86rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust i { color: var(--gold); }

/* Sub-hero for interior pages */
.page-hero {
    position: relative;
    background: var(--grad-hero);
    color: #EAF1F9;
    padding: clamp(3rem, 2.5rem + 3vw, 5rem) 0 clamp(2.5rem, 2rem + 2vw, 3.5rem);
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(700px 320px at 80% 0%, rgba(29,78,216,.4), transparent 60%);
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero p { color: #C4D3E6; max-width: 620px; }

/* -----------------------------------------------------------------------------
   8. CARDS
-------------------------------------------------------------------------------- */
.card-surface {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
    height: 100%;
}
.card-surface:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(29, 78, 216, .18);
}

/* Service card */
.service-card {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
}
.service-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: grid; place-items: center;
    font-size: 1.5rem;
    color: #fff;
    background: var(--grad-btn);
    box-shadow: 0 10px 20px rgba(29, 78, 216, .25);
    margin-bottom: 1.1rem;
    transition: transform var(--dur) var(--ease);
}
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.05); }
.service-card.teal .service-icon { background: var(--grad-teal); box-shadow: 0 10px 20px rgba(15,118,110,.25); }
.service-card.gold .service-icon { background: var(--grad-gold); color: var(--navy-900); box-shadow: 0 10px 20px rgba(212,175,55,.3); }
.service-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.service-card p { font-size: .95rem; margin-bottom: 1rem; }
.service-card .link-arrow { margin-top: auto; }

/* Feature (why choose) card */
.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.3rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line-soft);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    height: 100%;
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-item .fi-icon {
    flex: none;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(15, 118, 110, .1);
    color: var(--teal);
    display: grid; place-items: center;
    font-size: 1.25rem;
}
.feature-item h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.feature-item p { font-size: .9rem; margin: 0; }

/* Product card */
.product-card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: linear-gradient(135deg, #EEF3F9, #E3EBF4);
}
.product-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-tag {
    position: absolute;
    top: .8rem; left: .8rem;
    background: rgba(18, 53, 91, .9);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    padding: .3rem .7rem;
    border-radius: var(--radius-pill);
    letter-spacing: .02em;
}
.product-body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.product-body p { font-size: .88rem; margin-bottom: 1rem; }
.product-body .link-arrow { margin-top: auto; font-size: .9rem; }

/* Value card (about) */
.value-card {
    padding: 1.7rem;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line-soft);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card .vc-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.4rem;
    color: rgba(29, 78, 216, .12);
    line-height: 1;
    margin-bottom: .4rem;
}
.value-card h3 { font-size: 1.1rem; }

/* Industry pill card */
.industry-card {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1.05rem 1.2rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line-soft);
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--navy);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
    height: 100%;
}
.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(15, 118, 110, .3);
    color: var(--navy);
}
.industry-card i {
    width: 42px; height: 42px;
    border-radius: 11px;
    background: rgba(29, 78, 216, .08);
    color: var(--royal);
    display: grid; place-items: center;
    font-size: 1.2rem;
    flex: none;
}

/* Process step */
.process-step {
    position: relative;
    padding: 1.6rem;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    height: 100%;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.process-step .ps-num {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--grad-btn);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    display: grid; place-items: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 16px rgba(29,78,216,.25);
}
.process-step h3 { font-size: 1.08rem; }

/* Checklist */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
    position: relative;
    padding: .35rem 0 .35rem 2rem;
    color: var(--ink-soft);
}
.check-list li::before {
    content: "\F26E";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0; top: .35rem;
    color: var(--teal);
    font-size: 1.1rem;
}
.check-list.gold li::before { color: var(--gold-600); }
.check-list.light li { color: #C4D3E6; }
.check-list.light li::before { color: var(--gold); }

/* -----------------------------------------------------------------------------
   9. STATISTICS / COUNTERS
-------------------------------------------------------------------------------- */
.stat {
    text-align: center;
    padding: 1.4rem 1rem;
}
.stat .stat-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
    color: #fff;
    line-height: 1;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat .stat-label {
    margin-top: .5rem;
    color: #C4D3E6;
    font-weight: 500;
    font-size: .95rem;
}
.stat-divider { border-right: 1px solid rgba(255,255,255,.12); }

/* Stats on light bg */
.stat-light .stat-num {
    background: var(--grad-btn);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-light .stat-label { color: var(--muted); }

/* -----------------------------------------------------------------------------
   10. TESTIMONIALS
-------------------------------------------------------------------------------- */
.testimonial {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 1.9rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.testimonial .t-quote {
    font-size: 2.4rem;
    line-height: 1;
    color: var(--gold);
    font-family: Georgia, serif;
    margin-bottom: .4rem;
}
.testimonial .t-stars { color: var(--gold); margin-bottom: .8rem; letter-spacing: 2px; }
.testimonial p { color: var(--ink); font-size: .98rem; }
.testimonial .t-author {
    display: flex; align-items: center; gap: .8rem;
    margin-top: 1.2rem; padding-top: 1.1rem;
    border-top: 1px solid var(--line-soft);
}
.testimonial .t-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--grad-hero);
    color: #fff; font-weight: 700;
    display: grid; place-items: center;
    font-family: var(--font-head);
    flex: none;
}
.testimonial .t-name { font-weight: 600; color: var(--navy); font-family: var(--font-head); }
.testimonial .t-role { font-size: .82rem; color: var(--muted); }

/* -----------------------------------------------------------------------------
   11. FAQ ACCORDION
-------------------------------------------------------------------------------- */
.faq .accordion-item {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius) !important;
    margin-bottom: .8rem;
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-xs);
}
.faq .accordion-button {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--navy);
    padding: 1.15rem 1.3rem;
    background: var(--surface);
    box-shadow: none;
}
.faq .accordion-button:not(.collapsed) {
    color: var(--royal);
    background: rgba(29, 78, 216, .04);
}
.faq .accordion-button:focus { box-shadow: var(--shadow-focus); }
.faq .accordion-button::after {
    background-size: 1.05rem;
    transition: transform var(--dur) var(--ease);
}
.faq .accordion-body { color: var(--ink-soft); padding: 0 1.3rem 1.3rem; }

/* -----------------------------------------------------------------------------
   12. BREADCRUMB
-------------------------------------------------------------------------------- */
.breadcrumb-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--line-soft);
    padding: .9rem 0;
}
.breadcrumb {
    margin: 0;
    font-size: .88rem;
    font-family: var(--font-head);
}
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--royal); }
.breadcrumb .active { color: var(--navy); font-weight: 600; }
.breadcrumb-item + .breadcrumb-item::before { content: "\203A"; color: var(--muted); }

/* -----------------------------------------------------------------------------
   13. FORMS
-------------------------------------------------------------------------------- */
.form-card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.form-label {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .88rem;
    color: var(--navy);
    margin-bottom: .35rem;
}
.form-label .req { color: var(--danger); }
.form-control,
.form-select {
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .75rem .95rem;
    font-size: .96rem;
    color: var(--ink);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    background: #fff;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--royal);
    box-shadow: var(--shadow-focus);
}
.form-control.is-invalid,
.form-select.is-invalid { border-color: var(--danger); }
.form-control.is-valid,
.form-select.is-valid { border-color: var(--success); }
.field-error {
    display: none;
    color: var(--danger);
    font-size: .82rem;
    margin-top: .3rem;
}
.field-error.show { display: block; }

.form-check-input:checked { background-color: var(--royal); border-color: var(--royal); }
.form-check-input:focus { box-shadow: var(--shadow-focus); }
.form-check-label { font-size: .86rem; color: var(--ink-soft); }

.form-alert {
    display: none;
    align-items: flex-start;
    gap: .7rem;
    border-radius: var(--radius-sm);
    padding: .9rem 1.1rem;
    margin-bottom: 1.2rem;
    font-size: .92rem;
}
.form-alert.show { display: flex; }
.form-alert.success { background: rgba(21, 128, 61, .1); color: var(--success); border: 1px solid rgba(21,128,61,.25); }
.form-alert.error   { background: rgba(185, 28, 28, .08); color: var(--danger);  border: 1px solid rgba(185,28,28,.25); }

/* Contact info tiles */
.contact-tile {
    display: flex;
    gap: 1rem;
    padding: 1.3rem;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    height: 100%;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.contact-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-tile .ct-icon {
    flex: none;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--grad-btn);
    color: #fff;
    display: grid; place-items: center;
    font-size: 1.3rem;
}
.contact-tile h3 { font-size: 1rem; margin-bottom: .2rem; }
.contact-tile p, .contact-tile a { font-size: .92rem; margin: 0; color: var(--ink-soft); }
.contact-tile a:hover { color: var(--royal); }

/* Map placeholder */
.map-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line-soft);
    min-height: 320px;
    background:
        repeating-linear-gradient(45deg, #E8EEF5 0 12px, #EDF2F8 12px 24px);
    display: grid;
    place-items: center;
    position: relative;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.map-placeholder {
    text-align: center;
    color: var(--muted);
    padding: 2rem;
}
.map-placeholder i { font-size: 2.6rem; color: var(--royal); }

/* -----------------------------------------------------------------------------
   14. FOOTER
-------------------------------------------------------------------------------- */
.site-footer {
    background: var(--navy-900);
    color: #A9BAD0;
    padding-top: clamp(3rem, 2.5rem + 3vw, 5rem);
}
.site-footer h4 {
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-head);
    margin-bottom: 1.1rem;
    letter-spacing: .01em;
}
.site-footer a { color: #A9BAD0; }
.site-footer a:hover { color: var(--gold); }
.footer-brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem; }
.footer-brand-logo {
    display: inline-block;
    background: #fff;
    padding: .6rem .9rem;
    border-radius: var(--radius);
    margin-bottom: 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease);
}
.footer-brand-logo:hover { transform: translateY(-2px); }
.footer-brand-logo img { height: 46px; width: auto; display: block; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.footer-links a:hover { transform: translateX(4px); }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; font-size: .92rem; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: 3px; }

.newsletter-form { position: relative; margin-top: 1rem; }
.newsletter-form input {
    width: 100%;
    padding: .8rem 3.4rem .8rem 1rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-size: .92rem;
}
.newsletter-form input::placeholder { color: #7E92AD; }
.newsletter-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.25); }
.newsletter-form button {
    position: absolute;
    right: 5px; top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--grad-gold);
    color: var(--navy-900);
    display: grid; place-items: center;
    cursor: pointer;
    transition: transform var(--dur) var(--ease);
}
.newsletter-form button:hover { transform: translateY(-50%) scale(1.08); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
    padding: 1.4rem 0;
    font-size: .86rem;
}
.footer-bottom .fb-links { display: flex; gap: 1.3rem; flex-wrap: wrap; }

/* -----------------------------------------------------------------------------
   15. BACK-TO-TOP
-------------------------------------------------------------------------------- */
.to-top {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--grad-btn);
    color: #fff;
    font-size: 1.2rem;
    display: grid; place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.9);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
    z-index: 1040;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--grad-teal); transform: translateY(-4px) scale(1.05); }
.to-top:focus-visible { box-shadow: var(--shadow-focus), var(--shadow-lg); }

/* -----------------------------------------------------------------------------
   16. UTILITIES, BADGES & MISC
-------------------------------------------------------------------------------- */
.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(15, 118, 110, .1);
    color: var(--teal);
    font-weight: 600;
    font-size: .8rem;
    padding: .35rem .8rem;
    border-radius: var(--radius-pill);
}
.badge-gold {
    background: rgba(212, 175, 55, .14);
    color: var(--gold-600);
}
.badge-navy {
    background: rgba(18, 53, 91, .08);
    color: var(--navy);
}

.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-soft { box-shadow: var(--shadow) !important; }
.text-navy { color: var(--navy) !important; }
.text-teal { color: var(--teal) !important; }
.text-gold { color: var(--gold-600) !important; }
.text-muted-soft { color: var(--muted) !important; }
.bg-soft { background: var(--bg) !important; }
.fw-medium { font-weight: 500 !important; }

.img-cover { width: 100%; height: 100%; object-fit: cover; }
.ratio-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }

.overlap-up { margin-top: -4rem; position: relative; z-index: 3; }

/* CTA band */
.cta-band {
    background: var(--grad-hero);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
    position: relative;
    overflow: hidden;
    color: #fff;
}
.cta-band::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 90% 10%, rgba(212,175,55,.25), transparent 60%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C4D3E6; }
/* CTA buttons sit side by side (wrap only if there is no room) */
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem;
    margin-top: 1.2rem;
}
@media (min-width: 992px) {
    .cta-actions { justify-content: flex-end; margin-top: 0; }
}

/* Logo strip */
.logo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
    opacity: .8;
}
.logo-strip .logo-item {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--muted);
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    letter-spacing: .01em;
}
.logo-strip .logo-item i { color: var(--royal); }

/* Spec / detail tables */
.spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    overflow: hidden;
}
.spec-table tr:nth-child(even) { background: var(--bg); }
.spec-table th, .spec-table td {
    padding: .85rem 1.1rem;
    text-align: left;
    font-size: .93rem;
    border-bottom: 1px solid var(--line-soft);
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table th {
    font-family: var(--font-head);
    color: var(--navy);
    font-weight: 600;
    width: 42%;
}
.spec-table td { color: var(--ink-soft); }

/* Sidebar sticky */
.sticky-side { position: sticky; top: 100px; }

/* Sidebar enquiry box */
.enquiry-box {
    background: var(--grad-hero);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.7rem;
    box-shadow: var(--shadow-lg);
}
.enquiry-box h3 { color: #fff; }
.enquiry-box p { color: #C4D3E6; font-size: .92rem; }

/* Featured brand shelf — soft drinks product lineup laid out horizontally.
   A single white strip spanning the full card width, with the product shots
   sitting side by side like a shelf. */
.brand-grid {
    display: flex;
    align-items: flex-end;
    gap: .5rem;
    width: 100%;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 1rem .75rem .85rem;
    margin-bottom: .5rem;
    box-shadow: var(--shadow-xs);
}
.brand-tile {
    flex: 1 1 0;
    min-width: 0;              /* allow equal shrinking, keeps the strip horizontal */
    text-align: center;
    padding: .25rem;
    background: transparent;
    border: 0;
    border-radius: var(--radius-sm);
    transition: transform var(--dur) var(--ease);
}
.brand-tile:hover { transform: translateY(-5px); }
.brand-tile img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: .55rem;
}
.brand-tile figcaption {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .82rem;
    color: var(--navy);
    line-height: 1.2;
}
@media (max-width: 575.98px) {
    .brand-grid { padding: .75rem .5rem; }
    .brand-tile img { height: 112px; }
    .brand-tile figcaption { font-size: .74rem; }
}

/* Pill list of sizes */
.size-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.size-pills span {
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--navy);
    font-weight: 500;
    font-size: .88rem;
    padding: .45rem .9rem;
    border-radius: var(--radius-pill);
}

/* 404 */
.error-hero { text-align: center; padding: clamp(4rem, 3rem + 6vw, 8rem) 0; }
.error-code {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(5rem, 3rem + 14vw, 11rem);
    line-height: 1;
    background: var(--grad-btn);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* -----------------------------------------------------------------------------
   17. SCROLL-REVEAL ANIMATION STATES
-------------------------------------------------------------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* -----------------------------------------------------------------------------
   17b. COOKIE CONSENT BANNER
-------------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    left: 1rem; right: 1rem; bottom: 1rem;
    z-index: 1050;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.1rem 1.3rem;
    max-width: 1160px;
    margin: 0 auto;
    transform: translateY(140%);
    transition: transform .5s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cookie-text { flex: 1 1 460px; }
.cookie-text strong { font-family: var(--font-head); color: var(--navy); display: block; margin-bottom: .2rem; }
.cookie-text p { font-size: .88rem; margin: 0; }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.cookie-actions .btn { width: auto; }
@media (max-width: 575.98px) {
    .cookie-actions { width: 100%; }
    .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* -----------------------------------------------------------------------------
   18. PRELOADER
-------------------------------------------------------------------------------- */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--navy-900);
    display: grid;
    place-items: center;
    z-index: 3000;
    transition: opacity .5s ease, visibility .5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.spinner {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, .15);
    border-top-color: var(--gold);
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
