/*
 * Phase 3.2 frontend design system — the storefront's equivalent of
 * Phase 2's assets/css/components.css (which stays loaded here too, so
 * .kt-card/.kt-btn/.kt-badge/.kt-alert etc. remain the shared base
 * building blocks between admin and storefront). This file only adds
 * what a marketing site needs and the admin panel doesn't: a typography
 * scale, scroll/hover animation utilities, and the new component classes
 * listed in the Phase 3.2 brief (site-*). Every color/radius/shadow/font
 * reads a --kt-* token with a Bootstrap fallback, same convention as
 * Phase 2 — no hardcoded colors anywhere in this file.
 */

/* ---------- Storefront Design System: Forms/Tables/Alerts/Badges/Dropdowns ----------
 * Phase 1 of the V2 frontend rebuild. components.css's .kt-form-control/
 * .kt-table/.kt-alert/.kt-badge/.dropdown-menu are shared with the admin
 * panel and deliberately compact/functional there — this layer only ever
 * loads on the storefront (site.css), so it's safe to make these more
 * generous/premium here without touching admin density at all. */

.kt-form-control,
.kt-form-select,
.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border-radius: var(--kt-radius, 0.65rem);
    border-color: var(--bs-border-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.kt-form-control:focus,
.form-control:focus,
.form-select:focus {
    border-color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 45%, transparent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 12%, transparent);
}

.kt-form-label,
.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

/* Tables (Cart, Compare, Order history) — wrapped in a card rather than
   a bare bordered grid, with a bolder header row so it reads as a
   product/order summary, not an admin data grid. */
.kt-table,
.table {
    font-size: 0.9rem;
}

/* Cart/Compare/Order-history all already wrap their table in a plain
   .kt-card (confirmed by reading each view) — styling that existing
   combination directly rather than introducing a wrapper class none of
   them use yet. */
.kt-card .kt-table thead th {
    background: var(--bs-tertiary-bg);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    border-bottom: none;
    padding: 0.9rem 1.1rem;
}

.kt-card .kt-table tbody td {
    padding: 1rem 1.1rem;
}

/* Alerts — icon-led, softer shadow than the admin's flatter version. */
.kt-alert {
    border-radius: var(--kt-radius, 0.65rem);
    box-shadow: 0 0.15rem 0.5rem rgba(15, 23, 42, 0.04);
    padding: 1rem 1.25rem;
}

/* Badges — an accent variant was missing (only primary/success/warning/
   danger/secondary exist in the shared admin+storefront base); storefront
   product/section content (e.g. a "Featured"/"New" tag) needs one that
   isn't a semantic status color. Storefront-only, so it can safely use
   --kt-accent without adding an admin-facing variant nobody asked for. */
.kt-badge-accent {
    background: color-mix(in srgb, var(--kt-accent, var(--bs-info)) 15%, transparent);
    color: var(--kt-accent, var(--bs-info));
}

.kt-badge {
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Dropdowns (account menu, language switcher, any plain Bootstrap
   dropdown on the storefront — mega menu has its own richer treatment
   already) — same premium shadow/radius language as everything else,
   instead of Bootstrap's flat default panel. */
.dropdown-menu {
    border: none;
    border-radius: var(--kt-radius, 0.65rem);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.14);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: calc(var(--kt-radius, 0.65rem) - 0.2rem);
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--bs-tertiary-bg);
}

.dropdown-item.active,
.dropdown-item:active {
    background: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 10%, transparent);
    color: var(--kt-primary, var(--bs-primary));
}

/* ---------- v2 Design System ----------
 * A more assertive, opinionated layer on top of the original Phase 3.2
 * tokens below — bigger spacing/type jumps, sharper depth, a distinct
 * button/divider language — specifically so components stop reading as
 * "Bootstrap defaults with brand colors" and start reading as a designed
 * system. Everything still reads --kt-* tokens (Theme Customizer stays
 * authoritative for color/radius/shadow/font), this only changes HOW
 * those tokens are expressed. site.css-only, so none of this touches the
 * admin panel (components.css/admin.css are untouched). */

:root {
    --kt-space-xs: 0.5rem;
    --kt-space-sm: 1rem;
    --kt-space-md: 1.75rem;
    --kt-space-lg: 3rem;
    --kt-space-xl: 5.5rem;
}

/* Enterprise button language: bolder weight, more assertive padding/
   hover lift, a visible focus ring for accessibility. Primary/secondary
   read as genuinely different weights (filled vs. outline), not just
   different hues, so the CTA hierarchy is legible even in grayscale. */
.site-header .kt-btn,
main .kt-btn {
    font-weight: 700;
    letter-spacing: 0.01em;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-header .kt-btn:hover,
main .kt-btn:hover {
    transform: translateY(-3px);
}

/* Phase 7 accessibility pass: a visible keyboard-focus ring, storefront-
   wide (not just header/main .kt-btn as before — the footer render
   AFTER </main> in layouts/main.php was silently excluded from the old
   selector, so its buttons/links had no visible focus state at all). */
.site-header .kt-btn:focus-visible,
.site-footer .kt-btn:focus-visible,
main .kt-btn:focus-visible,
main a:focus-visible,
.site-footer a:focus-visible,
.site-tab:focus-visible,
.site-social-links a:focus-visible {
    outline: 2px solid var(--kt-primary, var(--bs-primary));
    outline-offset: 2px;
}

.kt-btn-lg {
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
}

/* Angled section divider — the one recurring "this isn't a stock
   template" signature used at every hero/content boundary. Pure CSS
   clip-path, no image asset. Colored to match the page body (not the
   hero) so it reads as the light page content cutting a wedge up into
   the dark hero — a classic, clearly-visible diagonal break, rather than
   navy-on-navy which would be invisible on the gradient-fallback hero. */
.site-divider-angle {
    position: relative;
    height: clamp(2.5rem, 6vw, 5rem);
    margin-top: calc(clamp(2.5rem, 6vw, 5rem) * -1);
    z-index: 2;
    background: var(--bs-body-bg);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    pointer-events: none;
}

@media (max-width: 575.98px) {
    .site-divider-angle {
        display: none;
    }
}

/* ==========================================================================
   Design System v3 — Enterprise Visual Rebuild
   ==========================================================================
   Every rule below is built ONLY from tokens that already exist (--kt-primary/
   --kt-secondary/--kt-accent/--kt-radius/--kt-shadow, all Theme-Customizer-
   driven) plus fixed dark/light surface colors already used sitewide
   (#0b1120/#10182b). No new admin-facing settings, no new database fields —
   this is a presentation-layer expansion, combining what's already chosen
   into gradient-mesh/glass/card-family/icon/typography treatments that
   didn't exist before. Two curated accents (mesh-a/mesh-b below) are the
   admin's OWN primary+secondary colors, never a new hardcoded brand hue —
   this is deliberate: it guarantees the mesh always matches whatever preset
   is active, including a future one nobody has picked yet. */

:root {
    --site-mesh-a: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 60%, transparent);
    --site-mesh-b: color-mix(in srgb, var(--kt-secondary, var(--bs-secondary)) 50%, transparent);
    --site-ink-900: #0b1120;
    --site-ink-800: #10182b;
    --site-ink-700: #182238;
}

/* ---------- Gradient-mesh backgrounds ----------
 * Three soft, off-center radial blooms over a dark base — the "hero/CTA
 * moment" backdrop used sitewide instead of a flat navy fill. Deliberately
 * asymmetric focal points (not a centered vignette) so it reads as a
 * designed composition, not a generic radial-gradient placeholder. */
.site-mesh {
    position: relative;
    background:
        radial-gradient(55% 60% at 12% 8%, var(--site-mesh-a), transparent 60%),
        radial-gradient(45% 55% at 92% 18%, var(--site-mesh-b), transparent 65%),
        radial-gradient(70% 80% at 50% 110%, color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 22%, transparent), transparent 70%),
        linear-gradient(180deg, var(--site-ink-900), var(--site-ink-800));
    color: #fff;
}

/* A lighter mesh for content bands that need the gradient-mesh energy
   without going full-dark — same three blooms, laid over the page's own
   surface color instead of the ink base. */
.site-mesh-light {
    position: relative;
    background:
        radial-gradient(55% 60% at 10% 0%, color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 10%, transparent), transparent 60%),
        radial-gradient(45% 55% at 95% 15%, color-mix(in srgb, var(--kt-secondary, var(--bs-secondary)) 8%, transparent), transparent 65%),
        var(--bs-body-bg);
}

/* Animated drift — the mesh blooms shift position very slowly, giving dark
   hero/CTA sections a subtle "alive" quality on top of the static
   fallback above (background-position on a layered gradient, GPU-cheap,
   no JS). Paused under reduced-motion. */
@media (min-width: 992px) {
    .site-mesh.is-animated {
        background-size: 140% 140%, 140% 140%, 160% 160%, 100% 100%;
        animation: site-mesh-drift 18s ease-in-out infinite alternate;
    }
}

@keyframes site-mesh-drift {
    from { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
    to   { background-position: 8% 6%, 92% 10%, 46% 92%, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    .site-mesh.is-animated {
        animation: none;
    }
}

/* ---------- Universal interior-page hero ----------
 * components.front.layout.page-hero — previously delegated to hero-banner
 * with align=center and NO css of its own at all (a real, confirmed gap:
 * every interior page rendered as plain centered text on the flat page
 * background). Now a self-contained premium hero: dark gradient-mesh +
 * a page-specific illustration motif, left-aligned like the homepage
 * hero rather than dead-center. */
.site-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
    color: #fff;
}

.site-page-hero .site-hero-title,
.site-page-hero .site-lead {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.site-page-hero .kt-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.4);
}

.site-page-hero .kt-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.65);
}

.site-page-hero .kt-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.92);
}

/* ---------- Glassmorphism surfaces ----------
 * Feature-queried with an opaque fallback (same pattern the header's
 * scroll-blur already uses) — never a broken semi-transparent panel with
 * illegible overlapping content on a browser without backdrop-filter. */
.site-glass {
    background: color-mix(in srgb, #fff 12%, transparent);
    border: 1px solid color-mix(in srgb, #fff 22%, transparent);
    border-radius: var(--kt-radius, 1rem);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.25);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .site-glass {
        backdrop-filter: blur(18px) saturate(1.5);
        -webkit-backdrop-filter: blur(18px) saturate(1.5);
    }
}

.site-glass-light {
    background: color-mix(in srgb, var(--bs-body-bg) 78%, transparent);
    border: 1px solid var(--line, var(--bs-border-color));
    border-radius: var(--kt-radius, 1rem);
    box-shadow: var(--kt-shadow);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .site-glass-light {
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}

/* ---------- Card families ----------
 * .kt-card stays the universal base (radius/shadow/border, still Theme-
 * Customizer driven) — these are add-on skins layered on TOP of it for a
 * specific content job, not replacements. */

/* Flat/bordered — technical/spec content (product specs, comparison
   tables, KB reference cards): no shadow, a visible border does the
   separating instead, reads as "reference," not "marketing." */
.site-card-flat {
    box-shadow: none !important;
    border: 1px solid var(--bs-border-color) !important;
    background: var(--bs-body-bg);
}

/* Image-forward — content cards where the photo IS the hook (blog lead
   story, catalogue spotlight): image bleeds to the card's own edges (no
   body padding above it) with a gradient scrim so caption text sits
   directly on the photo, never in a separate white strip beneath it. */
.site-card-image-forward {
    position: relative;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 22rem;
    border-radius: var(--kt-radius, 0.85rem);
}

.site-card-image-forward img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.site-card-image-forward:hover img {
    transform: scale(1.05);
}

.site-card-image-forward::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(6, 10, 20, 0.88) 100%);
    z-index: 1;
}

.site-card-image-forward .site-card-image-forward-body {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

/* Spotlight — the ONE elevated variant reserved for admin-flagged
   featured content (products, articles) so it stays meaningful; a
   gradient-ring border via padding-box/border-box background trick, no
   extra wrapper element needed. */
.site-card-spotlight {
    position: relative;
    border: none !important;
    background:
        linear-gradient(var(--bs-body-bg), var(--bs-body-bg)) padding-box,
        linear-gradient(135deg, var(--kt-primary, var(--bs-primary)), var(--kt-secondary, var(--bs-secondary))) border-box;
    border: 2px solid transparent !important;
    box-shadow: 0 1.5rem 3rem color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 18%, transparent);
}

/* ---------- Icon language v2 ----------
 * The existing .site-icon-box-icon (rounded-square, flat tint) is now the
 * SECONDARY/utility treatment. This blob shape is the new PRIMARY
 * treatment for a page's 3-5 most important feature icons — an organic
 * asymmetric border-radius reads as "designed," not "icon library
 * default," and the animated blob-morph on hover is a small, cheap,
 * distinctly "premium tech" micro-interaction. */
.site-icon-blob {
    width: 3.75rem;
    height: 3.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #fff;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--kt-primary, var(--bs-primary)), var(--kt-secondary, var(--bs-secondary)));
    border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
    box-shadow: 0 0.75rem 1.75rem color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 32%, transparent);
    transition: border-radius 0.6s ease, transform 0.3s ease;
}

.site-card-hover:hover .site-icon-blob,
.site-icon-blob:hover {
    border-radius: 58% 42% 35% 65% / 55% 60% 40% 45%;
    transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
    .site-icon-blob { transition: none; }
}

/* Outline — secondary/utility contexts (contact channel icons, KB
   category icons, filter-group labels) so the blob stays special. */
.site-icon-outline {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    border: 1.5px solid color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 45%, transparent);
    color: var(--kt-primary, var(--bs-primary));
    border-radius: 50%;
    background: transparent;
}

/* ---------- Typography personality ---------- */

/* Gradient-clipped headline words — wrap ONE key word/phrase per headline
   in this span, never the whole heading (a fully gradient-filled long
   line of text loses legibility fast). */
.site-gradient-text {
    background: linear-gradient(120deg, var(--kt-primary, var(--bs-primary)), var(--kt-secondary, var(--bs-secondary)));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--kt-primary, var(--bs-primary));
}

/* Stat numbers — a genuinely different type moment from body headings:
   huge, tight tracking, tabular figures so a row of stats lines up. */
.site-stat-number-lg {
    font-family: var(--kt-font-heading, var(--kt-font, inherit));
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

/* Oversized quotation glyph — sits behind/above the quote text as a
   watermark, not inline with it, so a testimonial reads as "editorial
   quote," not "body text in a card." */
.site-quote-mark {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 5rem;
    line-height: 1;
    color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 20%, transparent);
    display: block;
    margin-bottom: -1.5rem;
}

/* ---------- Section-transition vocabulary ----------
 * .site-divider-angle (above) stays the default. These two are alternates
 * for use where a straight angle would feel repetitive against its
 * neighbors — apply deliberately, not on every boundary. */

/* Soft curve — an SVG-free CSS-only wave via a tall border-radius on a
   pseudo-element, colored to the page body same as the angle divider. */
.site-divider-curve {
    position: relative;
    height: clamp(2.5rem, 6vw, 5rem);
    margin-top: calc(clamp(2.5rem, 6vw, 5rem) * -1);
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.site-divider-curve::before {
    content: '';
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -60%;
    height: 200%;
    background: var(--bs-body-bg);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

@media (max-width: 575.98px) {
    .site-divider-curve { display: none; }
}

/* Overlap bridge — a card/panel that straddles the boundary between two
   sections (negative top margin pulls it up into the section above), the
   technique enterprise product-story pages use to visually STITCH two
   bands together instead of just butting them against each other. Apply
   to a single .kt-card/.site-glass wrapper positioned right at a section
   seam. */
.site-divider-overlap {
    position: relative;
    z-index: 3;
    margin-top: clamp(-5rem, -6vw, -3rem);
}

@media (max-width: 767.98px) {
    .site-divider-overlap {
        margin-top: -2rem;
    }
}

/* ---------- CTA Theater ----------
 * Reserved for the FEW highest-value conversion moments sitewide (hero,
 * pre-footer band) — deliberately bigger than an ordinary .site-cta
 * section so it reads as a closing argument, not another content block. */
.site-cta-theater {
    position: relative;
    padding: clamp(3.5rem, 8vw, 6.5rem) 0;
    overflow: hidden;
    text-align: center;
}

.site-cta-theater .site-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
}

.site-cta-theater .site-lead {
    color: rgba(255, 255, 255, 0.85);
}

.site-cta-theater .site-eyebrow {
    color: rgba(255, 255, 255, 0.9);
}

/* ---------- Contact split-panel (Contact page only) ----------
 * Replaces a light-on-light contact-card grid beside a form card with a
 * dark info panel / light form panel split — the contrast alone signals
 * scale ("a real company," not just a form) per the visual audit. */
.site-contact-split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    border-radius: var(--kt-radius, 1rem);
    overflow: hidden;
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.16);
}

@media (max-width: 991.98px) {
    .site-contact-split {
        grid-template-columns: 1fr;
    }
}

.site-contact-split-info {
    position: relative;
    background:
        radial-gradient(90% 70% at 100% 0%, var(--site-mesh-a), transparent 65%),
        linear-gradient(180deg, var(--site-ink-800), var(--site-ink-900));
    color: #fff;
    padding: clamp(2rem, 4vw, 3rem);
}

.site-contact-split-form {
    background: var(--bs-body-bg);
    padding: clamp(2rem, 4vw, 3rem);
}

.site-contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 1.75rem 0;
}

.site-contact-channel {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: #fff;
    text-decoration: none;
}

/* The generic .site-icon-outline is tinted to --kt-primary for use on a
   light background — on this panel's dark surface it's brightened with a
   touch of white mixed in, same contrast-preserving technique the hero
   trust strip already uses for icons over a dark hero. */
.site-contact-split-info .site-icon-outline {
    border-color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 55%, #fff 15%);
    color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 55%, #fff 30%);
}

.site-contact-channel-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.55);
}

.site-contact-channel-value {
    display: block;
    font-weight: 700;
}

.site-contact-map {
    border-radius: var(--kt-radius, 0.65rem);
    overflow: hidden;
    line-height: 0;
}

/* ---------- Support Help Center — reference register (denser than Blog) ---------- */

.site-kb-category-card:hover {
    border-color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 35%, var(--bs-border-color));
}

.site-kb-count {
    font-family: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.7rem;
    color: var(--bs-secondary-color);
    background: var(--bs-tertiary-bg);
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
}

.site-kb-link-row {
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
}

.site-kb-link-row a {
    color: var(--bs-body-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-kb-link-row a:hover {
    color: var(--kt-primary, var(--bs-primary));
}

.site-kb-link-row i {
    font-size: 0.6rem;
    color: var(--bs-secondary-color);
}

/* ---------- Typography scale ---------- */

/* Theme Customizer: Typography Scale token. Sets the rem base for the
   whole storefront (Bootstrap's own type scale is rem-based throughout),
   so this one declaration resizes body copy, headings, and spacing
   utilities together without touching individual font-size rules. */
html {
    font-size: var(--kt-root-font-size, 16px);
}

.site-hero-title {
    font-family: var(--kt-font-heading, var(--kt-font, inherit));
    font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.site-hero-content .site-hero-title,
.site-hero-content .site-lead {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.site-section-title {
    font-family: var(--kt-font-heading, var(--kt-font, inherit));
    font-size: clamp(1.65rem, 2vw + 1rem, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.site-subtitle {
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem);
    color: var(--bs-secondary-color);
    font-weight: 500;
    line-height: 1.6;
}

.site-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--kt-primary, var(--bs-primary));
    background: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 20%, transparent);
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    margin-bottom: 0.9rem;
}

.site-eyebrow::before {
    content: '';
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--kt-primary, var(--bs-primary));
    flex-shrink: 0;
    animation: site-eyebrow-pulse 2.4s ease-in-out infinite;
}

@keyframes site-eyebrow-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 40%, transparent); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .site-eyebrow::before {
        animation: none;
    }
}

.site-hero-content .site-eyebrow {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
}

.site-hero-content .site-eyebrow::before {
    background: #fff;
}

.site-lead {
    font-size: clamp(1rem, 0.3vw + 0.95rem, 1.2rem);
    color: var(--bs-secondary-color);
    line-height: 1.7;
}

.site-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.site-meta {
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
}

.site-caption {
    font-size: 0.72rem;
    color: var(--bs-secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- Scroll-reveal animation utilities ----------
 * Elements start hidden/offset via [data-animate], and site.js's shared
 * IntersectionObserver adds .is-visible the first time each one scrolls
 * into view. prefers-reduced-motion disables the transition entirely
 * (content is already in the DOM, so nothing is ever truly hidden from
 * assistive tech or reduced-motion users). */

[data-animate] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: none;
}

/* Automatic stagger for grid rows — a CSS-only nth-child delay ladder on
   the wrapper column, so every existing card grid (products, categories,
   services, testimonials, etc.) gets a staggered reveal for free with no
   PHP changes anywhere. The JS observer only overrides this via an
   inline transitionDelay when an element explicitly sets
   data-animate-delay (the hero uses this); everything else falls
   through to this CSS ladder. Capped at 8 — beyond that, items reveal
   together rather than stringing out a long stagger. */
.row > *:nth-child(1) > [data-animate], .row > [data-animate]:nth-child(1) { transition-delay: 0ms; }
.row > *:nth-child(2) > [data-animate], .row > [data-animate]:nth-child(2) { transition-delay: 70ms; }
.row > *:nth-child(3) > [data-animate], .row > [data-animate]:nth-child(3) { transition-delay: 140ms; }
.row > *:nth-child(4) > [data-animate], .row > [data-animate]:nth-child(4) { transition-delay: 210ms; }
.row > *:nth-child(5) > [data-animate], .row > [data-animate]:nth-child(5) { transition-delay: 280ms; }
.row > *:nth-child(6) > [data-animate], .row > [data-animate]:nth-child(6) { transition-delay: 350ms; }
.row > *:nth-child(7) > [data-animate], .row > [data-animate]:nth-child(7) { transition-delay: 420ms; }
.row > *:nth-child(8) > [data-animate], .row > [data-animate]:nth-child(8) { transition-delay: 490ms; }
/* Already handled for prefers-reduced-motion by the existing global rule
   below (transition: none !important makes any transition-delay moot). */

[data-animate="fade-up"] { transform: translateY(24px); }
[data-animate="fade-in"] { transform: none; }
[data-animate="zoom-in"] { transform: scale(0.92); }
[data-animate="slide-left"] { transform: translateX(40px); }
[data-animate="slide-right"] { transform: translateX(-40px); }

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ---------- Hover utilities ---------- */

.site-hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: var(--kt-shadow, 0 1rem 2rem rgba(0, 0, 0, 0.12));
}

.site-hover-glow {
    transition: box-shadow 0.25s ease;
}

.site-hover-glow:hover {
    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 25%, transparent);
}

.site-card-hover {
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.12), 0 0.25rem 0.6rem rgba(0, 0, 0, 0.06);
    border-color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 35%, var(--bs-border-color));
}

/* ---------- Premium surface utilities ----------
 * A restrained, enterprise-grade layer on top of the utilities above:
 * every kt-card rendered on the STOREFRONT (site.css never loads in the
 * admin panel, so this is safely scoped without touching admin.css/
 * components.css) gets a quiet resting elevation instead of a flat
 * bordered rectangle, and a shared accent-bar-on-hover treatment any card
 * variant below can opt into with one extra class. Deliberately avoids
 * filling large areas with solid brand color — depth and hierarchy come
 * from shadow/spacing/typography, and the primary color is reserved for
 * small, deliberate accents (icons, buttons, thin bars, links). */

.kt-card {
    box-shadow: 0 0.15rem 0.5rem rgba(15, 23, 42, 0.05);
}

.site-card-accent-top {
    position: relative;
}

.site-card-accent-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--kt-primary, var(--bs-primary)), color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 40%, transparent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.site-card-accent-top:hover::before {
    transform: scaleX(1);
}

/* Subtle dot-grid texture — for premium dark/tinted sections that need
   more visual interest than a flat fill without resorting to a stock
   photo or a loud gradient. Pure CSS, no image asset. */
.site-pattern-dots {
    position: relative;
}

.site-pattern-dots::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(currentColor 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.06;
    pointer-events: none;
}

.site-glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

/* ---------- Image reveal (subtle scale-in on load) ---------- */

.site-img-reveal {
    overflow: hidden;
    display: block;
}

.site-img-reveal img {
    width: 100%;
    transition: transform 0.4s ease;
}

.site-img-reveal:hover img {
    transform: scale(1.06);
}

/* ---------- Storefront button weight ---------- *
 * This whole file is only ever loaded on the storefront (layouts/
 * admin.php never includes site.css), so targeting .kt-btn's own class
 * names here is already safely scoped away from the admin panel — no
 * extra selector scoping needed on top of that. Adds shadow/lift depth
 * to the same design-system buttons the admin panel uses unmodified. */

.kt-btn-primary,
.kt-btn-secondary {
    box-shadow: 0 0.5rem 1.25rem color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 30%, transparent);
}

.kt-btn:hover {
    transform: translateY(-2px);
}

/* ---------- Button ripple (uses .kt-btn as the base; adds the effect only) ---------- */

.site-ripple {
    position: relative;
    overflow: hidden;
}

.site-ripple-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: site-ripple-anim 0.6s ease-out;
    pointer-events: none;
}

@keyframes site-ripple-anim {
    to { transform: scale(2.5); opacity: 0; }
}

/* ---------- Hero Banner ---------- */

.site-hero {
    position: relative;
    padding: clamp(3.5rem, 9vw, 8rem) 0;
    background-size: cover;
    background-position: center;
    color: inherit;
    overflow: hidden;
}

/* Slow, subtle zoom on any hero WITH a real background image (interior
   page-heroes) — the homepage carousel already gets this via its own
   .site-home-hero-slide/Ken Burns keyframes on the <img>; this covers the
   CSS background-image case with the same quiet motion language. */
.site-hero[style*="background-image"] {
    animation: site-hero-bg-zoom 14s ease-out forwards;
}

@keyframes site-hero-bg-zoom {
    from { background-size: 100% auto; }
    to { background-size: 112% auto; }
}

@media (prefers-reduced-motion: reduce) {
    .site-hero[style*="background-image"] {
        animation: none;
    }
}

/* Interior page-heroes (components.front.hero-banner, used without a
 * background image on most listing/category pages that don't have one
 * set) had no background at all — plain white space instead of a
 * branded band. Detects "no inline background-image was set" via the
 * attribute selector rather than touching the PHP component. Deep,
 * near-black navy base with the brand color only as a faint directional
 * glow — an enterprise "tech" hero treatment rather than a loud, fully
 * brand-colored block. */
.site-hero:not([style*="background-image"]) {
    background:
        radial-gradient(ellipse 60% 90% at 15% 15%, color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 35%, transparent) 0%, transparent 60%),
        radial-gradient(ellipse 50% 70% at 100% 100%, color-mix(in srgb, var(--kt-accent, var(--bs-info)) 22%, transparent) 0%, transparent 60%),
        linear-gradient(160deg, #0b1120 0%, #10182b 55%, #0b1120 100%);
}

.site-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(6, 10, 20, 0.35) 0%,
        rgba(6, 10, 20, 0.55) 55%,
        rgba(6, 10, 20, 0.8) 100%);
    z-index: 0;
}

/* Faint corner glow + dot texture on every hero — the same "quiet depth,
   not a loud color block" principle as .site-pattern-dots, applied
   consistently whether the hero has a photo, video, or the gradient
   fallback above. */
.site-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

/* Trust strip directly under the hero (logos/quick-stats/badges) —
   overlaps the hero's bottom edge slightly for a layered, premium
   composition instead of the hero and the next section just stacking
   flush. Only applies where the caller opts in with this class. */
/* Design System v3: the trust/partner strip now lives inside a solid
   dark "float panel" that straddles the hero/next-section seam (see
   .site-hero-float-panel below) rather than sitting inline in the hero
   with a plain border-top — so the divider/border-top styling that made
   sense for the OLD inline placement is retired here. */
.site-hero-trust-strip {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    align-items: center;
}

/* A solid (not translucent) dark card so it reads cleanly whether the
   part of it currently in view sits over the hero photo or the light
   section below — a glass/blur effect here would look patchy straddling
   that boundary since the backdrop changes color halfway through the
   card. Solid + shadow is the safer, still-premium "floating card
   bridges two bands" execution. */
.site-hero-float-panel {
    position: relative;
    z-index: 4;
    background: var(--site-ink-800, #10182b);
    border-radius: var(--kt-radius, 1rem);
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.28);
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
    color: #fff;
}

@media (max-width: 767.98px) {
    .site-hero-float-panel {
        margin-top: -2rem;
    }
}

.site-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
}

.site-hero-trust-item i {
    color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 60%, #fff);
    font-size: 1.1rem;
}

/* Homepage carousel: replaces Bootstrap's default .carousel-caption
   (narrow, centered, bottom-anchored) with a full-cover flex container so
   the two-column copy/illustration layout can use the whole slide. */
.site-hero-slide-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
}

.site-hero-outline-btn {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.site-hero-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    margin-top: 1.25rem;
}

.site-hero-links-row a,
.site-hero-links-row button {
    background: none;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.15rem;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.site-hero-links-row a:hover,
.site-hero-links-row button:hover {
    color: #fff;
    border-color: #fff;
}

.site-hero-outline-btn:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Compact "as seen with" partner logos inside the hero itself, distinct
   from the full "Our Partners" section further down the page — a small
   preview, not a duplicate of that section's data or layout. */
.site-hero-partner-strip {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.site-hero-partner-strip-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}

.site-hero-partner-strip img {
    max-height: 26px;
    max-width: 90px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.site-hero-partner-strip img:hover {
    opacity: 1;
}

.site-hero-content {
    position: relative;
    z-index: 1;
    /* .site-hero always renders either a background image + dark overlay,
     * or (since the fallback above) a dark gradient — this content block
     * is never placed over a light background, so it always needs light
     * text. Previously unset entirely: a page-hero WITH a background
     * image (e.g. a category page with an image set) would have rendered
     * illegible dark-on-dark text — a real bug, not just a missing style. */
    color: #fff;
}

.site-hero-content .site-eyebrow {
    color: #fff;
    opacity: 0.85;
}

/* Breadcrumb rendered INSIDE a dark hero (service solution-pages put it
   here instead of on the plain page background below, so the primary
   CTA can live in the hero too) needs its own dark-safe colors — the
   base .kt-breadcrumb styling assumes a light page background. */
.site-hero-content .kt-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

.site-hero-content .kt-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
}

.site-hero-content .kt-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

/* ---------- Breadcrumb (below every page-hero) ---------- */

.kt-breadcrumb {
    --bs-breadcrumb-divider: '\203A';
    font-size: 0.85rem;
}

.kt-breadcrumb .breadcrumb-item a {
    color: var(--bs-secondary-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.kt-breadcrumb .breadcrumb-item a:hover {
    color: var(--kt-primary, var(--bs-primary));
}

.kt-breadcrumb .breadcrumb-item.active {
    color: var(--bs-body-color);
    font-weight: 600;
}

/* Decorative hero graphic (components.front.hero-graphic) — pinned to
   the right edge, faded on the left so it never fights the heading/CTA
   text, hidden below lg where there isn't room for it alongside the
   text without crowding. */
.site-hero-graphic {
    position: absolute;
    top: 50%;
    right: -2%;
    transform: translateY(-50%);
    width: min(34rem, 46vw);
    height: auto;
    color: #fff;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
    mask-image: linear-gradient(90deg, transparent, #000 30%);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 991.98px) {
    .site-hero-graphic {
        display: none;
    }
}

.site-hero-graphic-pulse {
    animation: site-hero-graphic-pulse 2.4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes site-hero-graphic-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.35); }
}

@media (prefers-reduced-motion: reduce) {
    .site-hero-graphic-pulse {
        animation: none;
    }
}

.site-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Homepage hero carousel slide image — was a hardcoded inline
   min-height:520px with no mobile scaling, forcing a phone-sized
   viewport to spend most of its visible height on the hero alone. */
.site-home-hero-slide {
    min-height: 320px;
    max-height: 70vh;
    object-fit: cover;
}

@media (min-width: 768px) {
    .site-home-hero-slide {
        min-height: 420px;
    }
}

@media (min-width: 992px) {
    .site-home-hero-slide {
        min-height: 520px;
    }
}

/* Subtle "Ken Burns" slow zoom on the active slide only — Bootstrap's own
   .carousel-inner already clips overflow, so the scaled image never spills
   outside the hero. */
.carousel-item.active .site-home-hero-slide {
    animation: site-hero-kenburns 8s ease-out forwards;
}

@keyframes site-hero-kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-item.active .site-home-hero-slide {
        animation: none;
    }
}

/* ---------- Section Heading ---------- */

.site-section-heading {
    max-width: 720px;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* Storefront-only card body breathing room — components.css's 1.1rem
   admin default reads dense at admin-panel scale but cramped at
   storefront/marketing scale; safe to raise here since site.css never
   loads on the admin panel. */
.kt-card-body {
    padding: 1.5rem;
}

.kt-card-header {
    padding: 1.1rem 1.5rem;
}

.site-section-heading.text-center {
    margin-left: auto;
    margin-right: auto;
}

/* More breathing room between homepage/CMS sections on larger screens —
 * every section wrapper (home.php's $homeSectionOpen, and this project's
 * other full-width content sections) uses Bootstrap's own py-5 utility;
 * scoped to the <section> element specifically (not a blanket .py-5
 * override) so this only affects section-level wrappers, not every
 * unrelated py-5 use elsewhere on the site. Bootstrap's utilities are
 * !important by design, so overriding one needs !important too. */
@media (min-width: 992px) {
    section.py-5 {
        padding-top: var(--kt-section-py, 5.5rem) !important;
        padding-bottom: var(--kt-section-py, 5.5rem) !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    section.py-5 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

/* ---------- CTA Block / Banner ----------
 * A deep neutral (near-navy) base with the brand color used only as a
 * restrained glow + button/accent color — not a full solid brand-color
 * fill. Reads as "enterprise technology" rather than "colorful marketing
 * banner", and still respects the Theme Customizer (the glow/accents are
 * derived from --kt-primary, so it re-tints correctly per client). */

.site-cta {
    position: relative;
    overflow: hidden;
    border-radius: var(--kt-radius, 0.75rem);
    padding: clamp(2.25rem, 5vw, 4rem);
    background:
        radial-gradient(ellipse 70% 100% at 100% 0%, color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 40%, transparent) 0%, transparent 60%),
        linear-gradient(135deg, #10182b 0%, #0b1120 100%);
    color: #fff;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.25);
}

.site-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.05;
    pointer-events: none;
}

.site-cta > * {
    position: relative;
    z-index: 1;
}

.site-cta-light {
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    box-shadow: none;
    border: 1px solid var(--bs-border-color);
}

.site-cta-light::before {
    display: none;
}

/* .site-lead's own color (--bs-secondary-color) is a dark gray meant for
   a light page background — it was never overridden for the dark .site-cta
   variant, so the description paragraph has been low-contrast/illegible
   against this component's dark background since it shipped (same bug
   class as the 2026-08-11 .site-hero-content fix: a component with a
   dark-background variant needs its own text-color override, it doesn't
   inherit one for free). */
.site-cta:not(.site-cta-light) .site-lead {
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- Icon Box / Feature Card ---------- */

.site-icon-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-icon-box-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: var(--kt-radius, 0.65rem);
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 16%, transparent),
        color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 8%, transparent));
    color: var(--kt-primary, var(--bs-primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}

.site-card-hover:hover .site-icon-box-icon {
    transform: scale(1.08) rotate(-4deg);
    background: var(--kt-primary, var(--bs-primary));
    color: #fff;
}

/* Contact-card variant tints (Call/Email/WhatsApp/Address) — small,
   deliberate accent color per channel instead of every icon looking
   identical, without ever filling a whole card in that color. */
.site-icon-box-icon-secondary {
    background: linear-gradient(135deg, color-mix(in srgb, var(--kt-secondary, var(--bs-secondary)) 16%, transparent), color-mix(in srgb, var(--kt-secondary, var(--bs-secondary)) 6%, transparent));
    color: var(--kt-secondary, var(--bs-secondary));
}

.site-icon-box-icon-accent {
    background: linear-gradient(135deg, color-mix(in srgb, var(--kt-accent, var(--bs-info)) 16%, transparent), color-mix(in srgb, var(--kt-accent, var(--bs-info)) 6%, transparent));
    color: var(--kt-accent, var(--bs-info));
}

.site-icon-box-icon-success {
    background: linear-gradient(135deg, color-mix(in srgb, var(--kt-success, var(--bs-success)) 16%, transparent), color-mix(in srgb, var(--kt-success, var(--bs-success)) 6%, transparent));
    color: var(--kt-success, var(--bs-success));
}

/* ---------- Feature rows (Why Choose Us — editorial list, not a card grid) ---------- */

.site-feature-rows {
    display: flex;
    flex-direction: column;
}

.site-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--bs-border-color);
    transition: padding-left 0.2s ease;
}

.site-feature-row:first-child {
    padding-top: 0;
}

.site-feature-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.site-feature-row:hover {
    padding-left: 0.5rem;
}

.site-feature-row .site-icon-box-icon {
    flex-shrink: 0;
}

/* ---------- Product / Category / Team / Testimonial / Client / Certificate / Gallery / Blog cards ---------- */

.site-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--kt-radius, 0.65rem);
    overflow: hidden;
    height: 100%;
}

.site-card-body {
    padding: 1.5rem;
}

.site-product-card {
    display: flex;
    flex-direction: column;
}

.site-product-card .site-product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, var(--bs-tertiary-bg) 0%, color-mix(in srgb, var(--bs-tertiary-bg) 70%, var(--bs-body-bg)) 100%);
    overflow: hidden;
}

.site-product-card .site-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.35s ease;
}

.site-product-card:hover .site-product-image img {
    transform: scale(1.06);
}

.site-product-card .site-product-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 1;
    box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.2);
}

.site-product-card .site-product-actions {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-product-card:hover .site-product-actions {
    opacity: 1;
    transform: none;
}

.site-product-actions .kt-btn {
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    color: var(--bs-body-color);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.15);
}

.site-product-actions .kt-btn:hover,
.site-product-actions .kt-btn.is-active {
    background: var(--kt-primary, var(--bs-primary));
    color: #fff;
}

.site-product-card .kt-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.site-product-card .site-card-title {
    min-height: 2.7rem;
}

.site-product-card .site-product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--bs-body-color);
    margin-top: auto;
    padding-top: 0.5rem;
}

.site-category-card {
    text-align: left;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.site-category-card .site-category-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1rem;
    border-radius: var(--kt-radius, 0.65rem);
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 14%, transparent),
        color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 6%, transparent));
    color: var(--kt-primary, var(--bs-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.site-category-card:hover .site-category-icon {
    transform: scale(1.06);
    background: var(--kt-primary, var(--bs-primary));
    color: #fff;
}

.site-category-card .site-category-thumb {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: var(--kt-radius, 0.65rem);
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--bs-tertiary-bg);
    flex-shrink: 0;
}

.site-category-card .site-category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-category-card .site-category-count {
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
    margin-top: 0.15rem;
}

.site-category-card .site-category-arrow {
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--kt-primary, var(--bs-primary));
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.site-category-card .site-category-arrow i {
    transition: transform 0.2s ease;
}

.site-category-card:hover .site-category-arrow i {
    transform: translateX(4px);
}

.site-service-card .site-card-title {
    min-height: 2.7rem;
}

/* Dark tile variant (homepage Services teaser only — the dedicated
   /services listing keeps the light card, this is deliberately distinct
   so the homepage doesn't repeat the exact same light-card language as
   Products/Categories right above it). */
.site-service-card-dark {
    background: linear-gradient(160deg, #10182b 0%, #0b1120 100%);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.site-service-card-dark .site-icon-box-icon {
    background: rgba(255, 255, 255, 0.08);
    color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 55%, #fff);
}

.site-service-card-dark:hover .site-icon-box-icon {
    background: var(--kt-primary, var(--bs-primary));
    color: #fff;
}

.site-service-card-dark .site-meta {
    color: rgba(255, 255, 255, 0.6);
}

.site-service-card-dark .site-service-card-link {
    color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 55%, #fff);
}

.site-service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--kt-primary, var(--bs-primary));
    text-decoration: none;
}

.site-service-card-link i {
    transition: transform 0.2s ease;
}

.site-service-card:hover .site-service-card-link i {
    transform: translateX(4px);
}

.site-team-card {
    text-align: center;
}

.site-team-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.site-testimonial-card {
    position: relative;
    padding: 2rem 1.75rem 1.75rem;
}

.site-testimonial-card::after {
    content: '\201C';
    position: absolute;
    top: 0.25rem;
    right: 1.5rem;
    font-family: Georgia, serif;
    font-size: 4.5rem;
    line-height: 1;
    color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 10%, transparent);
    pointer-events: none;
}

.site-testimonial-spotlight .site-testimonial-card {
    text-align: center;
    padding: clamp(2rem, 4vw, 3rem);
}

.site-testimonial-spotlight .site-testimonial-card::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.site-testimonial-spotlight .site-testimonial-card p.site-lead {
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
}

.site-testimonial-spotlight .site-testimonial-card .d-flex {
    justify-content: center;
}

.site-testimonial-spotlight .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0.3;
}

.site-testimonial-spotlight .carousel-indicators .active {
    opacity: 1;
}

.site-testimonial-card p.site-lead {
    font-size: 1rem;
    font-style: italic;
    color: var(--bs-body-color);
}

.site-testimonial-rating {
    color: var(--kt-warning, var(--bs-warning));
}

.site-testimonial-card img.rounded-circle {
    border: 2px solid color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 20%, transparent);
}

.site-client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.site-client-logo-card:hover {
    filter: none;
    opacity: 1;
}

.site-client-logo-card img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
}

/* ---------- Technology Partners / Trusted-By marquee ----------
 * home.php duplicates the logo set once and this scrolls the doubled
 * track by exactly -50%, so it loops seamlessly with pure CSS — no JS,
 * no extra library. Pauses on hover/focus so a visitor can actually click
 * a logo, and disables entirely under prefers-reduced-motion (falls back
 * to a plain wrapping row of the single, non-duplicated set — handled by
 * home.php only rendering the track once when reduced motion isn't a
 * factor server-side is not possible, so the CSS keeps the duplicate but
 * simply halts the animation, which still reads fine visually). */
.site-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.site-marquee-track {
    display: flex;
    width: max-content;
    animation: site-marquee-scroll 32s linear infinite;
}

.site-marquee:hover .site-marquee-track,
.site-marquee:focus-within .site-marquee-track {
    animation-play-state: paused;
}

.site-marquee-track .site-client-logo-card {
    flex: 0 0 auto;
    width: clamp(7rem, 14vw, 10rem);
}

@keyframes site-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .site-marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
}

.site-gallery-card {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--kt-radius, 0.5rem);
}

.site-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.site-gallery-card:hover img {
    transform: scale(1.08);
}

.site-gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: flex-end;
    padding: 0.75rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.site-gallery-card:hover .site-gallery-card-overlay {
    opacity: 1;
}

.site-blog-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.site-blog-date-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(11, 17, 32, 0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.3rem 0.6rem;
    border-radius: var(--kt-radius, 0.4rem);
}

/* Case Study card skin — a tinted background (not just the badge above)
   so real project proof reads as visually bolder/more premium than an
   ordinary article, per the visual audit's "Case Studies deserve more
   than a badge" finding. */
.site-blog-card-case-study {
    background: linear-gradient(160deg, color-mix(in srgb, var(--kt-accent, var(--bs-info)) 8%, var(--bs-body-bg)), var(--bs-body-bg));
    border-color: color-mix(in srgb, var(--kt-accent, var(--bs-info)) 30%, var(--bs-border-color));
}

/* ---------- Blog Article (Phase 7 distinct-identity pass) ---------- */

.site-article-image {
    width: 100%;
    max-height: 26rem;
    object-fit: cover;
    border-radius: var(--kt-radius, 0.75rem);
    box-shadow: var(--kt-shadow);
    margin-bottom: 2rem;
}

/* Content is plain-text (nl2br'd, not a rich-text editor field) — this
   just gives paragraphs breathing room and a readable measure, not a
   fully-fledged prose stylesheet for HTML tags that will never appear. */
.site-article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--bs-body-color);
}

.site-article-body p {
    margin-bottom: 1.25rem;
}

/* ---------- Statistics Counter ---------- */

.site-stat {
    text-align: center;
}

.site-stat-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto;
    border-radius: 50%;
    background: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 10%, transparent);
    color: var(--kt-primary, var(--bs-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.site-stat-value {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 800;
    color: var(--kt-primary, var(--bs-primary));
    line-height: 1;
}

.site-stat-label {
    color: var(--bs-secondary-color);
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

/* ---------- Process Steps ---------- */

.site-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.site-process-step {
    text-align: center;
    position: relative;
}

/* Connecting line between steps — turns a row of numbered circles into
   a genuine timeline. Only draws between steps that are actually
   adjacent in the same row (::before on every step but the first),
   sits behind the circle via z-index so it visually passes through it. */
.site-process-step:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--kt-primary, var(--bs-primary)), color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 30%, transparent));
    z-index: 0;
}

@media (max-width: 575.98px) {
    .site-process-step:not(:first-child)::before {
        display: none;
    }
}

.site-process-step-number {
    position: relative;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: var(--kt-primary, var(--bs-primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 0 6px var(--bs-body-bg);
}

/* The ring above assumes a plain page background; homepage's "Workflow"
   section can be admin-set to the dark/primary themes, where a light
   ring would look like a bug rather than a timeline dot. */
.section-theme-dark .site-process-step-number,
.section-theme-primary .site-process-step-number {
    box-shadow: 0 0 0 6px #0b1120;
}

/* Editorial numeral variant — only when a step has no admin-set icon
   (process-steps.php falls back to a plain index otherwise). A much
   bigger, gradient-filled numeral reads as a considered type moment
   ("01 — Discover") instead of a small filled dot with a digit in it,
   per the Services visual-identity pass. Plain solid color (not a text-
   stroke/outline trick) so it degrades safely everywhere, never an
   invisible number if a technique isn't supported. */
.site-process-step-number-editorial {
    width: auto;
    height: auto;
    min-width: 3.5rem;
    background: none;
    border: none;
    box-shadow: none !important;
    font-family: var(--kt-font-heading, var(--kt-font, inherit));
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.site-process-step-number-editorial {
    background: linear-gradient(135deg, var(--kt-primary, var(--bs-primary)), var(--kt-secondary, var(--bs-secondary)));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--kt-primary, var(--bs-primary));
}

/* ---------- Order Tracker (components.front.order-tracker) ---------- */

.site-order-tracker {
    display: flex;
    align-items: flex-start;
    gap: 0;
    overflow-x: auto;
    padding: 0.5rem 0 1rem;
}

.site-order-tracker-step {
    flex: 1 1 0;
    min-width: 84px;
    text-align: center;
    position: relative;
}

.site-order-tracker-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.15rem;
    left: 50%;
    width: 100%;
    height: 3px;
    background: var(--bs-border-color);
    z-index: 0;
}

.site-order-tracker-step.is-complete:not(:last-child)::after {
    background: var(--kt-success, var(--bs-success));
}

.site-order-tracker-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    border: 3px solid var(--bs-body-bg);
}

.site-order-tracker-step.is-complete .site-order-tracker-icon {
    background: var(--kt-success, var(--bs-success));
    color: #fff;
}

.site-order-tracker-step.is-current .site-order-tracker-icon {
    background: var(--kt-primary, var(--bs-primary));
    color: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 20%, transparent);
}

.site-order-tracker-label {
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
}

.site-order-tracker-step.is-current .site-order-tracker-label,
.site-order-tracker-step.is-complete .site-order-tracker-label {
    color: var(--bs-body-color);
    font-weight: 600;
}

@media (max-width: 576px) {
    .site-order-tracker-step {
        min-width: 68px;
    }

    .site-order-tracker-label {
        font-size: 0.68rem;
    }
}

/* ---------- Contact card / Download / PDF / Video cards ---------- */

.site-contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
}

.site-download-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.site-download-card-icon {
    font-size: 2rem;
    color: var(--kt-danger, var(--bs-danger));
    flex-shrink: 0;
}

.site-video-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--kt-radius, 0.65rem);
    overflow: hidden;
    cursor: pointer;
}

.site-video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-video-card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-video-card-play i {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--kt-primary, var(--bs-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.site-video-card:hover .site-video-card-play i {
    transform: scale(1.1);
}

/* ---------- Tag badge ---------- */

.site-tag {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: var(--kt-radius, 2rem);
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
}

.site-tag:hover {
    background: var(--kt-primary, var(--bs-primary));
    color: #fff;
}

/* ---------- Empty state ---------- */

.site-empty-state {
    text-align: center;
    padding: clamp(3rem, 6vw, 5rem) 1rem;
    color: var(--bs-secondary-color);
}

.site-empty-state i {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--bs-tertiary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--bs-secondary-color);
}

/* ---------- Search box / Filter bar ---------- */

.site-search-box {
    position: relative;
}

.site-search-box input {
    padding-left: 2.6rem;
    border-radius: 2rem;
    background: var(--bs-tertiary-bg);
    border-color: transparent;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search-box input:focus {
    background: var(--bs-body-bg);
    border-color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 40%, transparent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 12%, transparent);
}

.site-search-box i {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-secondary-color);
    pointer-events: none;
}

/* Header's own search box gets a bit more room and a visible border at
   rest (the tinted-background version above suits inline listing-page
   search bars; the header sits directly on the header background, which
   can be the same tertiary tone in some themes, so it needs its own
   outline to stay legible). */
.site-nav .site-search-box {
    width: clamp(200px, 16vw, 280px);
}

.site-nav .site-search-box input {
    background: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

/* Premium header search: [category select][input][submit] as one
   pill-shaped compound control — a common enterprise-catalogue search
   pattern (search scoped to a category), built entirely from existing
   filter mechanics (CatalogController already reads category+q together;
   this is just a second entry point into that, not new logic). */
.site-search-box-premium {
    display: flex;
    align-items: stretch;
    width: clamp(240px, 20vw, 340px);
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 2rem;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search-box-premium:focus-within {
    border-color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 45%, transparent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 12%, transparent);
}

.site-search-category {
    border: none;
    border-right: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0 0.6rem;
    max-width: 6.5rem;
    color: var(--bs-secondary-color);
}

/* Removing the native outline here is safe ONLY because the parent
   .site-search-box-premium already grows a visible ring on
   :focus-within (above) — a keyboard user tabbing into this <select>
   still gets a clear focus indicator, just drawn on the whole search
   box rather than clipped by this element's own border-radius. */
.site-search-category:focus {
    outline: none;
}

.site-search-input-wrap {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-width: 0;
}

.site-search-input-wrap i {
    position: absolute;
    left: 0.75rem;
    color: var(--bs-secondary-color);
    font-size: 0.8rem;
    pointer-events: none;
}

.site-search-input-wrap input {
    border: none;
    background: transparent;
    padding-left: 2rem;
    box-shadow: none;
    width: 100%;
}

.site-search-input-wrap input:focus {
    border: none;
    box-shadow: none;
    background: transparent;
}

.site-search-submit {
    border: none;
    background: var(--kt-primary, var(--bs-primary));
    color: #fff;
    width: 2.6rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: filter 0.15s ease;
}

.site-search-submit:hover {
    filter: brightness(0.92);
}

/* Help Center's hero search bar — same component, just wide and tall
   since it's the page's primary action rather than a compact header
   accessory. */
.site-help-search {
    width: 100%;
    box-shadow: var(--kt-shadow);
}

.site-help-search .site-search-input-wrap input {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    font-size: 1rem;
}

.site-help-search .site-search-submit {
    width: 3.5rem;
}

.site-ai-help-card {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--kt-accent, var(--bs-info)) 6%, var(--bs-body-bg)),
        var(--bs-body-bg));
}

/* Suggestions dropdown shell — hidden until a future data source
   toggles it (removes .d-none / populates it via JS). Positioned here
   so the layout is correct the moment it's wired up. */
.site-search-suggestions {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--kt-radius, 0.65rem);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.14);
    z-index: 1050;
    max-height: 320px;
    overflow-y: auto;
}

.site-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--kt-radius, 0.65rem);
    margin-bottom: 1.5rem;
    box-shadow: 0 0.15rem 0.5rem rgba(15, 23, 42, 0.05);
}

/* Category/Brand filter link lists (Catalog + Services listing sidebars) —
   a quiet pill-highlight for the active filter instead of plain bold text,
   consistent with the rest of the premium card language. */
.site-filter-links li {
    margin-bottom: 0.15rem;
}

.site-filter-links a {
    display: block;
    padding: 0.4rem 0.65rem;
    border-radius: var(--kt-radius, 0.5rem);
    color: var(--bs-body-color);
    font-size: 0.9rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-filter-links a:hover {
    background: var(--bs-tertiary-bg);
}

.site-filter-links a.is-active {
    background: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 10%, transparent);
    color: var(--kt-primary, var(--bs-primary));
    font-weight: 700;
}

/* ---------- Newsletter block/strip ---------- */

.site-newsletter-strip {
    background: linear-gradient(135deg,
        var(--kt-primary, var(--bs-primary)) 0%,
        color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 70%, black) 100%);
    color: #fff;
    padding: clamp(2rem, 5vw, 3rem) 0;
}

.site-newsletter-block form {
    display: flex;
    gap: 0.5rem;
    max-width: 420px;
}

@media (max-width: 575.98px) {
    .site-newsletter-block form { flex-direction: column; }
}

/* ---------- Social links ---------- */

.site-social-links {
    display: flex;
    gap: 0.6rem;
}

.site-social-links a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    transition: background 0.2s ease, color 0.2s ease;
}

.site-social-links a:hover {
    background: var(--kt-primary, var(--bs-primary));
    color: #fff;
}

/* ---------- Floating Action Buttons ---------- */

.site-fab-stack {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-end;
}

/* Lifted clear of the mobile persistent conversion bar (always rendered,
   ~4.25rem tall including safe-area padding) so the two fixed elements
   never overlap on small screens. */
@media (max-width: 991.98px) {
    .site-fab-stack {
        bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px) + 0.75rem);
    }
}

.site-fab {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: var(--kt-shadow, 0 0.5rem 1rem rgba(0, 0, 0, 0.2));
    transition: transform 0.15s ease, opacity 0.2s ease;
}

.site-fab:hover {
    transform: translateY(-3px);
    color: #fff;
}

.site-fab-whatsapp { background: #25d366; }
.site-fab-scrolltop {
    background: var(--kt-secondary, var(--bs-secondary));
    opacity: 0;
    pointer-events: none;
}

.site-fab-scrolltop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.site-fab-call, .site-fab-email { background: var(--kt-primary, var(--bs-primary)); }
.site-fab-messenger { background: #0084ff; }
.site-fab-quote, .site-fab-book, .site-fab-consult { background: var(--kt-accent, var(--bs-info)); }
.site-fab-toggle { background: var(--kt-primary, var(--bs-primary)); }

.site-fab.disabled,
.site-fab:disabled {
    background: var(--bs-secondary-color);
    opacity: 0.5;
    cursor: not-allowed;
}

.site-fab-secondary {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-end;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.3s ease;
}

.site-fab-secondary.is-open {
    max-height: 30rem;
    opacity: 1;
    transform: none;
}

.site-fab-toggle.is-open {
    transform: rotate(135deg);
}

/* ---------- Pagination (Bootstrap's .pagination, token-colored) ---------- */

.site-pagination .page-link {
    color: var(--kt-primary, var(--bs-primary));
    border-radius: var(--kt-radius, 0.5rem);
    margin: 0 0.15rem;
    border-color: transparent;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-pagination .page-link:hover {
    background: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 10%, transparent);
    color: var(--kt-primary, var(--bs-primary));
}

.site-pagination .page-item.active .page-link {
    background: var(--kt-primary, var(--bs-primary));
    border-color: var(--kt-primary, var(--bs-primary));
    color: #fff;
    box-shadow: 0 0.35rem 0.75rem color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 35%, transparent);
}

/* ---------- Smooth scroll (CSS-only, no JS needed for anchor links) ---------- */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* ---------- Safe default section rhythm (homepage) ----------
 * When an admin has NOT set an explicit background for a home_sections
 * row (no inline style — the [style*="background"] check), alternate a
 * very quiet tint by default so the homepage has visible section-to-
 * section rhythm out of the box instead of every plain section reading
 * as one continuous page. An admin's own explicit background/color-theme
 * choice always wins (inline style beats any class selector regardless
 * of specificity), so this never overrides real admin configuration —
 * it only fills in a sensible default for sections nobody has styled. */
.site-home-section:nth-of-type(even):not([style*="background"]):not(.section-theme-dark):not(.section-theme-primary) {
    background: color-mix(in srgb, var(--bs-tertiary-bg) 60%, var(--bs-body-bg));
}

/* ---------- Homepage section color themes (admin-configurable per section) ---------- */

.section-theme-dark {
    background: #12151c;
    color: #fff;
}

.section-theme-dark .site-subtitle,
.section-theme-dark .site-meta {
    color: rgba(255, 255, 255, 0.65);
}

/* Deep navy base + a directional brand-color glow, same "restrained
   accent, not a solid color block" language as .site-hero/.site-cta —
   applied here so a "Primary" section-color choice in the Theme
   Customizer/Home Sections admin reads as a premium tech-brand section,
   not a flat, loud color rectangle. */
.section-theme-primary {
    position: relative;
    background:
        radial-gradient(ellipse 60% 90% at 85% 20%, color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 45%, transparent) 0%, transparent 65%),
        linear-gradient(160deg, #10182b 0%, #0b1120 100%);
    color: #fff;
    overflow: hidden;
}

.section-theme-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.05;
    pointer-events: none;
}

.section-theme-primary > * {
    position: relative;
    z-index: 1;
}

.section-theme-primary .site-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.section-theme-primary .site-eyebrow {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.section-theme-primary .site-eyebrow::before {
    background: #fff;
}

/* Statistics counters inside a dark themed section (Primary or Dark) get
   a frosted-glass card treatment per stat instead of floating text
   directly on the gradient — reads as distinct, premium data points
   rather than plain centered numbers. */
.section-theme-primary .site-stat,
.section-theme-dark .site-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--kt-radius, 0.75rem);
    padding: 1.75rem 1rem;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, background 0.25s ease;
}

.section-theme-primary .site-stat:hover,
.section-theme-dark .site-stat:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

.section-theme-primary .site-stat-value,
.section-theme-dark .site-stat-value {
    color: #fff;
}

.section-theme-primary .site-stat-label,
.section-theme-dark .site-stat-label {
    color: rgba(255, 255, 255, 0.7);
}

.section-theme-primary .site-stat-icon,
.section-theme-dark .site-stat-icon {
    background: rgba(255, 255, 255, 0.12);
    color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 55%, #fff);
}

/* ---------- Header: topbar, sticky/transparent/scroll effect, mega menu ---------- */

.site-topbar {
    background: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 92%, black);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    padding: 0.55rem 0;
}

/* 3-zone layout: contact info | trust tagline | language+social — a
   proper grid instead of a two-item flex-justify-between, so the middle
   zone has a real, centered home instead of being crammed next to one
   side. */
.site-topbar-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 1200px) {
    .site-topbar-row {
        grid-template-columns: 1fr auto 1fr;
    }
}

.site-topbar-tagline {
    display: none;
}

@media (min-width: 1200px) {
    .site-topbar-tagline {
        display: flex;
    }
}

.site-topbar-zone {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-topbar-contact { justify-content: flex-start; }
.site-topbar-actions { justify-content: flex-end; }

.site-topbar-tagline {
    justify-content: center;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    font-size: 0.76rem;
    gap: 0;
}

.site-topbar-tagline span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.site-topbar-tagline span + span {
    margin-left: 1.25rem;
}

.site-topbar-tagline span + span::before {
    content: '\2022';
    margin-right: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
}

.site-topbar a,
.site-topbar .text-body,
.site-topbar .btn-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.site-topbar a:hover,
.site-topbar .btn-link:hover {
    color: #fff !important;
}

/* --kt-footer-bg is admin-configurable via the Theme Customizer (Phase 2)
   but had no consumer anywhere in site.css — the footer rendered as plain
   page background with only a border-top, same gap header/sidebar already
   had fixed for --kt-header-bg/--kt-sidebar-bg. */
/* Deep navy base — same restrained "dark surface + a soft brand-color
   glow" language as the hero/CTA blocks, not a raw swap to the admin's
   --kt-footer-bg token. The token still INFLUENCES the tone (blended in
   at 20%) so a Theme Customizer color change is still visible here, but
   the footer can never become a loud, fully brand-colored block — this
   is a deliberate, site-wide design-language decision, not a Theme
   Customizer setting change. */
.site-footer {
    position: relative;
    background:
        radial-gradient(ellipse 70% 60% at 15% 0%, color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 18%, transparent) 0%, transparent 65%),
        color-mix(in srgb, var(--kt-footer-bg, #0b1120) 20%, #0b1120);
    color: rgba(255, 255, 255, 0.82);
    padding-top: 4rem;
    overflow: hidden;
}

.site-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.04;
    pointer-events: none;
}

.site-footer .container,
.site-footer .border-top {
    position: relative;
    z-index: 1;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1;
    background: linear-gradient(90deg,
        var(--kt-primary, var(--bs-primary)) 0%,
        color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 40%, transparent) 60%,
        transparent 100%);
}

.site-footer .site-meta,
.site-footer p {
    color: rgba(255, 255, 255, 0.6);
}

.site-footer .text-body,
.site-footer h1, .site-footer h2, .site-footer h3 {
    color: #fff;
}

.site-footer a:not(.kt-btn):not(.dropdown-item) {
    color: rgba(255, 255, 255, 0.75);
}

.site-footer .site-social-links a {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.site-footer .site-social-links a:hover {
    background: var(--kt-primary, var(--bs-primary));
}

.site-footer .fw-semibold.mb-2 {
    position: relative;
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    padding-bottom: 0.6rem;
}

.site-footer .fw-semibold.mb-2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2rem;
    height: 3px;
    border-radius: 2px;
    background: var(--kt-primary, var(--bs-primary));
}

.site-footer a.text-decoration-none:not(.dropdown-item) {
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.site-footer a.text-decoration-none:not(.dropdown-item):hover {
    color: #fff;
    padding-left: 0.25rem;
}

.site-footer .border-top,
.site-footer .border-bottom {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.site-footer .text-muted {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Contact cards / iframe map need their own dark-surface treatment here
   — their default .kt-card styling assumes a light page background. */
.site-footer .kt-card,
.site-footer .site-contact-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.site-footer .site-newsletter-block .kt-form-control {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.site-footer .site-newsletter-block .kt-form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.site-footer iframe {
    filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

.site-footer-partners-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.9rem;
}

.site-footer-partners-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.75rem;
}

.site-footer-partners-row img {
    max-height: 28px;
    max-width: 100px;
    object-fit: contain;
    /* White silhouette at rest — guarantees visibility against the dark
       footer regardless of a logo's own original colors (a plain
       grayscale filter alone can render a dark-colored logo almost
       invisible on a dark background). Full original color on hover. */
    filter: brightness(0) invert(1);
    opacity: 0.55;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.site-footer-partners-row img:hover {
    filter: none;
    opacity: 1;
}

.site-footer-payments-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.site-footer-payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.site-footer-payment-badge i {
    color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 60%, #fff);
}

.site-footer-bottom-bar {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.15);
    font-size: 0.82rem;
}

.site-footer-bottom-bar a {
    transition: color 0.15s ease;
}

.site-footer-bottom-bar a:hover {
    color: #fff !important;
}

.site-header {
    background: var(--kt-header-bg, var(--bs-body-bg));
    border-bottom: 1px solid var(--bs-border-color);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Theme Customizer: Sticky Header toggle. Set via
   body[data-kt-sticky-header] in layouts/main.php, same mechanism as
   data-kt-container — a structural on/off, not a color/spacing token,
   so it doesn't belong in the generated <style id="kt-theme-tokens">
   block above. */
body[data-kt-sticky-header="0"] .site-header {
    position: static;
}

/* Real glass effect once the page has scrolled past the top — a
   semi-transparent, blurred header reads as "premium web app" rather
   than a plain opaque bar; kept OPAQUE at rest (scroll position 0) so a
   page with no hero image still gets full-contrast nav on first paint.
   Falls back to a plain opaque header on browsers without
   backdrop-filter support (feature-queried, never a broken transparent
   bar with illegible overlapping content). */
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .site-header.is-scrolled {
        background: color-mix(in srgb, var(--kt-header-bg, var(--bs-body-bg)) 78%, transparent);
        backdrop-filter: blur(14px) saturate(1.4);
        -webkit-backdrop-filter: blur(14px) saturate(1.4);
    }
}

.site-header.is-scrolled {
    box-shadow: 0 0.5rem 2rem rgba(15, 23, 42, 0.1);
    border-bottom-color: transparent;
}

.site-header.is-scrolled .navbar {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.site-header.is-scrolled .site-header-logo {
    max-height: 2.15rem;
    transition: max-height 0.3s ease;
}

.site-nav.navbar {
    padding-top: var(--kt-header-py, 1.35rem);
    padding-bottom: var(--kt-header-py, 1.35rem);
    transition: padding 0.25s ease;
}

.site-header:not(.is-scrolled) .site-header-logo {
    max-height: 3rem;
}

/* ---------- Theme Customizer: Header Logo + Layout 2 ---------- */

.site-header-logo {
    max-height: 2.5rem;
    width: auto;
    transition: max-height 0.3s ease;
}

/* Header Quote/Book CTAs need to visibly outrank a plain nav link
   without looking gimmicky — a touch larger than kt-btn-sm, plus a soft
   ambient glow on the primary one so it reads as "the one action we
   want you to take" at a glance. */
.site-header-cta {
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 700;
}

.site-header-cta-primary {
    box-shadow: 0 0.4rem 1rem color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 40%, transparent),
        0 0 0 3px color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 12%, transparent);
}

.site-header-centered-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* Transparent-over-hero only applies on the homepage, and only before
   scrolling — .is-scrolled (added by site.js past a small scroll
   threshold) always wins so nav stays legible once the hero scrolls away. */
.site-header.is-transparent:not(.is-scrolled) {
    background: transparent;
    border-bottom-color: transparent;
    position: absolute;
    width: 100%;
}

.site-header.is-transparent:not(.is-scrolled) .nav-link,
.site-header.is-transparent:not(.is-scrolled) .navbar-brand {
    color: #fff;
}

.site-mega-menu {
    position: static;
}

/* Design System v3: was a plain white Bootstrap dropdown with a flat
   accent border-top — now a genuine floating glass panel (backdrop-blur
   is safe here, unlike the hero float-panel, since this always floats
   over ordinary page content, never straddling a hard light/dark seam)
   with a two-color gradient top edge instead of a single flat line. */
.site-mega-menu .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    border: none;
    border-radius: 0 0 var(--kt-radius, 1rem) var(--kt-radius, 1rem);
    background: color-mix(in srgb, var(--bs-body-bg) 92%, transparent);
    box-shadow: 0 1.75rem 3.5rem rgba(0, 0, 0, 0.18);
    padding: 2rem;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .site-mega-menu .dropdown-menu {
        backdrop-filter: blur(20px) saturate(1.4);
        -webkit-backdrop-filter: blur(20px) saturate(1.4);
    }
}

.site-mega-menu .dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--kt-primary, var(--bs-primary)), var(--kt-secondary, var(--bs-secondary)));
}

.site-mega-menu .dropdown-menu.show {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .site-mega-menu .dropdown-menu {
        transition: none;
    }
}

.site-mega-menu-col + .site-mega-menu-col {
    border-left: 1px solid var(--bs-border-color);
}

.site-mega-menu-heading {
    font-weight: 700;
}

.site-mega-menu-heading i {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    border: 1.5px solid color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 45%, transparent);
    background: transparent;
    color: var(--kt-primary, var(--bs-primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Site-wide trust bar (every page except the homepage — see header.php
   for why). Deliberately quiet: a thin tinted strip, not another CTA. */
.site-trust-bar {
    background: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
}

.site-trust-bar-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2.5rem;
    padding: 0.65rem 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
}

.site-trust-bar-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.site-trust-bar-row i {
    color: var(--kt-primary, var(--bs-primary));
}

.site-mega-menu-promo {
    border-left: 1px solid var(--bs-border-color);
    background:
        radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 12%, transparent), transparent 70%),
        var(--bs-tertiary-bg);
    border-radius: var(--kt-radius, 0.5rem);
    padding: 1.25rem;
    margin: -0.5rem -0.75rem -0.5rem 0;
}

.site-mega-menu-promo .site-icon-blob {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
}

@media (max-width: 767.98px) {
    .site-mega-menu-promo {
        border-left: none;
        border-top: 1px solid var(--bs-border-color);
        margin: 0.5rem 0 0;
        padding-top: 1.25rem;
    }
}

.site-mega-menu-divider {
    border-top: 1px solid var(--bs-border-color);
    margin: 1.25rem 0;
}

.site-mega-menu-subhead {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.85rem;
}

.site-mega-menu-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.site-mega-menu-product {
    display: block;
    text-decoration: none;
    color: inherit;
}

.site-mega-menu-product-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--bs-tertiary-bg);
    border-radius: var(--kt-radius, 0.5rem);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.site-mega-menu-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.site-mega-menu-product-badge {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
}

.site-mega-menu-product-name {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-mega-menu-product-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--kt-primary, var(--bs-primary));
    margin-top: 0.2rem;
}

.site-mega-menu-services li {
    margin-bottom: 0.65rem;
}

.site-mega-menu-services a {
    color: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.site-mega-menu-services i {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 10%, transparent);
    color: var(--kt-primary, var(--bs-primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .site-mega-menu-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

.site-nav .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    margin: 0 0.15rem;
    color: var(--bs-body-color);
    opacity: 0.8;
    position: relative;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.site-nav .nav-link.active,
.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible {
    opacity: 1;
}

.site-nav .dropdown-toggle::after {
    opacity: 0.6;
    vertical-align: 0.1em;
}

.site-nav .nav-link.active,
.site-nav .nav-link:hover {
    color: var(--kt-primary, var(--bs-primary));
}

.site-nav .nav-link.active::after,
.site-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0;
    height: 2px;
    background: var(--kt-primary, var(--bs-primary));
}

.site-nav .nav-link::before {
    /* hover-only underline — separate pseudo-element from ::after (the
       always-on active-page underline) so both can coexist without one
       overwriting the other when a nav-link is both active and hovered. */
    opacity: 0;
    transform: scaleX(0.6);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.site-nav .nav-link:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

/* ---------- Tab bar (site-wide utility — Featured Products Hardware/
   Software filter, Services category filter) ---------- */

.site-tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    background: var(--bs-tertiary-bg);
    padding: 0.35rem;
    border-radius: 2rem;
}

.site-tab {
    display: inline-block;
    border: none;
    background: transparent;
    padding: 0.5rem 1.1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bs-secondary-color);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-tab:hover {
    color: var(--bs-body-color);
}

.site-tab.is-active {
    background: var(--bs-body-bg);
    color: var(--kt-primary, var(--bs-primary));
    box-shadow: 0 0.15rem 0.5rem rgba(15, 23, 42, 0.08);
}

/* ---------- Mobile menu (offcanvas) — premium rebuild ----------
 * Dark backdrop + slide-in animation are both Bootstrap's own offcanvas
 * behavior, unmodified — this only restyles the panel's own content.
 * Touch targets throughout are sized >= 44px tall, per accessibility
 * guidance for mobile tap targets. */

.site-mobile-menu {
    width: min(360px, 88vw);
}

.site-mobile-menu-header {
    border-bottom: 1px solid var(--bs-border-color);
    padding: 1.1rem 1.25rem;
}

.site-mobile-menu-body {
    padding: 1.25rem;
}

.site-mobile-menu-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.site-mobile-menu-cta .kt-btn {
    min-height: 44px;
    font-size: 0.85rem;
}

.site-mobile-menu-section {
    margin-bottom: 1.75rem;
}

.site-mobile-menu-section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.85rem;
}

.site-mobile-menu-categories {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.site-mobile-menu-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    padding: 0 0.75rem;
    border-radius: var(--kt-radius, 0.5rem);
    color: var(--bs-body-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.15s ease;
}

.site-mobile-menu-category:hover {
    background: var(--bs-tertiary-bg);
}

.site-mobile-menu-category i {
    width: 1.5rem;
    text-align: center;
    color: var(--kt-primary, var(--bs-primary));
}

.site-mobile-menu-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-mobile-menu-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    padding: 0 0.75rem;
    border-radius: var(--kt-radius, 0.5rem);
    color: var(--bs-body-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.site-mobile-menu-links a:hover {
    background: var(--bs-tertiary-bg);
}

.site-mobile-menu-links i {
    width: 1.5rem;
    text-align: center;
    color: var(--bs-secondary-color);
    font-size: 0.8rem;
}

.site-mobile-menu-account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.site-mobile-menu-account-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 72px;
    padding: 0.75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--kt-radius, 0.65rem);
    color: var(--bs-body-color);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.site-mobile-menu-account-tile i {
    font-size: 1.2rem;
    color: var(--kt-primary, var(--bs-primary));
}

.site-mobile-menu-account-tile:hover {
    background: var(--bs-tertiary-bg);
    border-color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 30%, var(--bs-border-color));
}

.site-mobile-menu-account-tile .kt-badge {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    font-size: 0.62rem;
    padding: 0.1rem 0.35rem;
}

/* ---------- Catalogue landing header (Product Catalogue listing ONLY) ---------- *
 * A distinct identity from the generic interior page-hero used by every
 * other listing page — per the brief, the catalogue is meant to be one
 * of the strongest pages on the site, not another instance of the same
 * template. */

.site-catalogue-header {
    background:
        radial-gradient(ellipse 70% 100% at 100% 0%, color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 12%, transparent) 0%, transparent 60%),
        var(--bs-tertiary-bg);
    padding: 2rem 0 2.5rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.site-catalogue-header .site-hero-title {
    font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
    color: var(--bs-body-color);
    text-shadow: none;
    margin-top: 0.5rem;
}

.site-catalogue-stats {
    display: flex;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-top: 1.5rem;
}

.site-catalogue-stats strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--kt-primary, var(--bs-primary));
    line-height: 1;
}

.site-catalogue-stats span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ---------- Catalogue filter sidebar (labels/groups only — reuses
   .site-filter-links from the design system for the actual link list) ---------- */

.site-catalogue-filter-group + .site-catalogue-filter-group {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bs-border-color);
}

.site-catalogue-filter-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.85rem;
}

.site-catalogue-filter-label i {
    color: var(--kt-primary, var(--bs-primary));
    margin-right: 0.35rem;
}

/* ---------- Active filter chips (site-wide filter-bar utility) ---------- */

.site-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
}

.site-active-filters > span {
    color: var(--bs-secondary-color);
    font-weight: 600;
}

.site-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem 0.35rem 0.85rem;
    border-radius: 2rem;
    background: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 10%, transparent);
    color: var(--kt-primary, var(--bs-primary));
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease;
}

.site-filter-chip:hover {
    background: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 18%, transparent);
}

.site-filter-chip i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.site-filter-clear-all {
    color: var(--bs-secondary-color);
    font-weight: 600;
    text-decoration: underline;
}

.site-filter-clear-all:hover {
    color: var(--kt-primary, var(--bs-primary));
}

/* ---------- Catalogue Product Card (Product Catalogue listing ONLY) ----------
 * Deliberately distinct from .site-product-card (homepage/mega-menu) per
 * the brief: larger media area, always-visible action icons (not hover-
 * reveal — enterprise catalogues favor clarity over a "reveal on hover"
 * game), a dedicated hardware/software badge, and a spec-chip preview
 * row. Same underlying data/interaction hooks throughout. */

.site-catalogue-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.site-catalogue-grid .site-empty-state {
    grid-column: 1 / -1;
}

@media (max-width: 991.98px) {
    .site-catalogue-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
    .site-catalogue-grid { grid-template-columns: 1fr; }
}

.site-catalogue-card {
    display: flex;
    flex-direction: column;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--kt-radius, 0.75rem);
    overflow: hidden;
    box-shadow: 0 0.15rem 0.5rem rgba(15, 23, 42, 0.05);
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-catalogue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1.5rem 2.5rem rgba(15, 23, 42, 0.12);
    border-color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 30%, var(--bs-border-color));
}

/* Spotlight variant — reserved for admin-flagged (is_featured) products
   only, so it stays meaningful in a grid rather than every card competing
   for attention. Same gradient-ring technique as .site-card-spotlight,
   applied directly here (not the utility class) so it composes cleanly
   with this card's own border/radius/hover-lift rules instead of fighting
   them via !important overrides. */
.site-catalogue-card.is-featured {
    border-color: transparent;
    background:
        linear-gradient(var(--bs-body-bg), var(--bs-body-bg)) padding-box,
        linear-gradient(135deg, var(--kt-primary, var(--bs-primary)), var(--kt-secondary, var(--bs-secondary))) border-box;
    border: 2px solid transparent;
    box-shadow: 0 1rem 2.5rem color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 16%, transparent);
}

.site-catalogue-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(160deg, var(--bs-tertiary-bg) 0%, color-mix(in srgb, var(--bs-tertiary-bg) 70%, var(--bs-body-bg)) 100%);
}

.site-catalogue-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.75rem;
    transition: transform 0.4s ease;
}

.site-catalogue-card:hover .site-catalogue-card-media img {
    transform: scale(1.05);
}

.site-catalogue-card-noimage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--bs-border-color);
}

.site-catalogue-card-badges {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
}

.site-catalogue-card-badges .kt-badge {
    box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.15);
}

/* Always-visible (not hover-reveal) action icons — a deliberate
   departure from .site-product-card's hover-only actions, per the
   brief's request for enterprise clarity over a "reveal" interaction. */
.site-catalogue-card-actions {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.site-catalogue-card-actions form,
.site-catalogue-card-actions button:not(form button) {
    margin: 0;
}

.site-catalogue-card-actions button {
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    color: var(--bs-body-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.1);
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.site-catalogue-card-actions button:hover,
.site-catalogue-card-actions button.is-active {
    background: var(--kt-primary, var(--bs-primary));
    color: #fff;
    border-color: var(--kt-primary, var(--bs-primary));
    transform: scale(1.08);
}

.site-catalogue-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.35rem 1.5rem 1.5rem;
}

.site-catalogue-card-brand {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--kt-primary, var(--bs-primary));
    margin-bottom: 0.35rem;
}

.site-catalogue-card-title {
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.35;
    min-height: 2.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-catalogue-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.site-catalogue-card-specs span {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 0.4rem;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
}

.site-catalogue-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--bs-border-color);
}

.site-catalogue-card-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--bs-body-color);
    line-height: 1.2;
}

.site-catalogue-card-price-quote {
    font-size: 0.85rem;
    color: var(--kt-primary, var(--bs-primary));
}

.site-catalogue-card-price-was {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--bs-secondary-color);
    text-decoration: line-through;
}

/* ---------- Services listing hero (distinct from the catalogue's
   stats-header and the generic interior page-hero) ---------- */

.site-solutions-hero {
    position: relative;
    background:
        radial-gradient(ellipse 70% 100% at 100% 0%, color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 35%, transparent) 0%, transparent 60%),
        linear-gradient(160deg, #0b1120 0%, #10182b 100%);
    color: #fff;
    padding: clamp(3rem, 7vw, 5.5rem) 0;
    overflow: hidden;
}

.site-solutions-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.05;
    pointer-events: none;
}

.site-solutions-hero .container {
    position: relative;
    z-index: 1;
}

.site-solutions-hero .kt-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.4);
}

.site-solutions-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
}

.site-solutions-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.site-solutions-hero .site-hero-title {
    color: #fff;
    margin-top: 0.75rem;
}

.site-solutions-hero .site-lead {
    color: rgba(255, 255, 255, 0.7);
}

.site-solutions-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* ---------- Solution Card (Services LISTING page ONLY) ----------
 * Deliberately distinct from .site-service-card (homepage/related-
 * services) — left-aligned "consulting solution" tile instead of a
 * centered icon+text block, per the brief's "every major page needs its
 * own visual identity" requirement (same reasoning already applied to
 * the Product Catalogue's card in Phase 5). */

.site-solution-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
    height: 100%;
    background: linear-gradient(160deg, var(--bs-body-bg) 0%, var(--bs-tertiary-bg) 130%);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--kt-radius, 0.85rem);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--kt-primary, var(--bs-primary)), color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 30%, transparent));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.site-solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.5rem 2.5rem rgba(15, 23, 42, 0.1);
    border-color: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 30%, var(--bs-border-color));
}

.site-solution-card:hover::before {
    transform: scaleY(1);
}

.site-solution-card-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--kt-radius, 0.75rem);
    background: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 12%, transparent);
    color: var(--kt-primary, var(--bs-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.site-solution-card:hover .site-solution-card-icon {
    background: var(--kt-primary, var(--bs-primary));
    color: #fff;
    transform: scale(1.08) rotate(-4deg);
}

.site-solution-card-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.site-solution-card-desc {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
    margin-bottom: 0.75rem;
}

.site-solution-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--kt-primary, var(--bs-primary));
}

.site-solution-card-cta i {
    transition: transform 0.2s ease;
}

.site-solution-card:hover .site-solution-card-cta i {
    transform: translateX(4px);
}

/* ---------- Benefit ribbons (Service detail — distinct from the
   Features section's feature-card grid, same page) ---------- */

.site-benefit-ribbons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-benefit-ribbon {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(90deg, color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 6%, transparent), transparent 60%);
    border: 1px solid var(--bs-border-color);
    border-left: 3px solid var(--kt-primary, var(--bs-primary));
    border-radius: var(--kt-radius, 0.65rem);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-benefit-ribbon:hover {
    transform: translateX(4px);
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.06);
}

.site-benefit-ribbon-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 12%, transparent);
    color: var(--kt-primary, var(--bs-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* ---------- Product Detail Page ---------- */

.site-product-heading .kt-badge {
    margin-right: 0.6rem;
}

.site-product-heading-brand {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--kt-primary, var(--bs-primary));
}

.site-product-title {
    font-size: clamp(1.5rem, 2vw + 1rem, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-top: 0.5rem;
}

/* Gallery */
.site-product-gallery-main {
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, var(--bs-tertiary-bg) 0%, color-mix(in srgb, var(--bs-tertiary-bg) 70%, var(--bs-body-bg)) 100%);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--kt-radius, 0.75rem);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.site-product-gallery-main:hover img {
    transform: scale(1.08);
}

.site-product-gallery-thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.site-product-gallery-thumb {
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    padding: 0.35rem;
    border: 2px solid var(--bs-border-color);
    border-radius: var(--kt-radius, 0.5rem);
    background: var(--bs-body-bg);
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.site-product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-product-gallery-thumb:hover,
.site-product-gallery-thumb.is-active {
    border-color: var(--kt-primary, var(--bs-primary));
}

/* Specifications grid */
.site-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--kt-radius, 0.5rem);
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .site-spec-grid { grid-template-columns: 1fr; }
}

.site-spec-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bs-border-color);
    font-size: 0.88rem;
}

.site-spec-grid .site-spec-row:nth-child(odd) {
    background: var(--bs-tertiary-bg);
}

.site-spec-key {
    color: var(--bs-secondary-color);
    font-weight: 600;
}

.site-spec-value {
    font-weight: 600;
    text-align: right;
}

/* Sticky purchase panel */
.site-buy-box {
    position: sticky;
    top: 6rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--kt-radius, 0.85rem);
    padding: 1.75rem;
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.06);
}

.site-buy-box-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bs-body-color);
    line-height: 1.15;
}

.site-buy-box-price-quote {
    font-size: 1.35rem;
    color: var(--kt-primary, var(--bs-primary));
}

.site-buy-box-was {
    font-size: 0.95rem;
    color: var(--bs-secondary-color);
    text-decoration: line-through;
}

.site-buy-box-whatsapp {
    background: #25d366;
    color: #fff;
}

.site-buy-box-whatsapp:hover {
    filter: brightness(0.94);
    color: #fff;
}

.site-buy-box-meta {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--bs-border-color);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-buy-box-meta > div {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.site-buy-box-meta span {
    color: var(--bs-secondary-color);
}

.site-buy-box-trust {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bs-border-color);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
}

.site-buy-box-trust i {
    color: var(--kt-primary, var(--bs-primary));
    width: 1.1rem;
}

@media (max-width: 991.98px) {
    .site-buy-box {
        position: static;
    }
}

.site-buy-box-crosssell {
    margin-top: 1.25rem;
    padding: 1rem;
    display: flex;
    gap: 0.85rem;
    background: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 6%, transparent);
    border: 1px dashed color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 25%, transparent);
    border-radius: var(--kt-radius, 0.65rem);
}

.site-buy-box-crosssell i {
    flex-shrink: 0;
    color: var(--kt-primary, var(--bs-primary));
    font-size: 1.15rem;
    margin-top: 0.2rem;
}

/* ---------- Pricing Card (components.front.pricing-card, AMC Packages) ---------- */

.site-pricing-card {
    position: relative;
    overflow: visible;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-pricing-card.is-featured {
    border: 2px solid var(--kt-primary, var(--bs-primary));
    box-shadow: 0 1.5rem 3rem color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 18%, transparent);
    transform: scale(1.03);
    z-index: 1;
}

@media (max-width: 767.98px) {
    .site-pricing-card.is-featured {
        transform: none;
    }
}

.site-pricing-badge {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    box-shadow: 0 0.4rem 0.9rem color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 35%, transparent);
}

.site-pricing-card .site-pricing-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 10%, transparent);
    color: var(--kt-primary, var(--bs-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.site-pricing-card.is-featured .site-pricing-icon {
    background: var(--kt-primary, var(--bs-primary));
    color: #fff;
}

/* ---------- Responsive: never allow horizontal scroll ---------- */

html, body {
    overflow-x: hidden;
}

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

/* ---------- AJAX Product Filters loading state (catalog-filters.js) ---------- */

#products-results {
    position: relative;
    transition: opacity 0.15s ease;
}

#products-results.is-loading {
    opacity: 0.4;
    pointer-events: none;
}

/* Shimmer sweep over the dimmed grid while an AJAX filter/sort/search
   request is in flight — reads as an active loading state rather than
   just "the page went half-transparent". Pure CSS, no markup swap, so
   it works with the results grid at whatever size it already is. */
#products-results.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--kt-primary, var(--bs-primary)) 15%, transparent) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: site-shimmer-sweep 1.1s ease-in-out infinite;
    pointer-events: none;
}

@keyframes site-shimmer-sweep {
    0% { background-position: 150% 0; }
    100% { background-position: -50% 0; }
}

@media (prefers-reduced-motion: reduce) {
    #products-results.is-loading::after {
        animation: none;
        display: none;
    }
}

/* ---------- Mobile persistent conversion bar ---------- */

.site-mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1035;
    display: flex;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: var(--bs-body-bg);
    border-top: 1px solid var(--bs-border-color);
    box-shadow: 0 -0.5rem 1.5rem rgba(15, 23, 42, 0.08);
}

.site-mobile-cta-bar .kt-btn {
    flex: 1 1 0;
    font-size: 0.85rem;
}

@media (min-width: 992px) {
    .site-mobile-cta-bar {
        display: none !important;
    }
}

/* The bar is unconditional (layouts/main.php renders it on every page),
   so body padding to clear it is unconditional too — no :has() needed. */
body {
    padding-bottom: 4.25rem;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

/* ---------- Container Width (Theme Customizer) ---------- *
 * Set via body[data-kt-container] in layouts/main.php — reads
 * ThemeService::tokens()['container_width'] once, so no individual view
 * ever needs its own container/container-fluid conditional. Bootstrap's
 * .container is capped per-breakpoint via !important-free rules, so a
 * plain max-width override here is enough to go full-bleed. */
body[data-kt-container="full"] .container {
    max-width: 100%;
}
