/* ════════════════════════════════════════════════════════════
   DIETZ — BREATHTAKING HERO & NAVIGATION MASTERPIECE
   Replaces generic hero with full-cinematic premium design.
   ════════════════════════════════════════════════════════════ */

/* ── remove blue tint from light mode body background above/behind hero ── */
body:not([data-theme="dark"]) {
    background: #f7f7f7 !important;
}

/* ─────────────────────────────────────
   HEADER LAYOUT & SPACING
   ───────────────────────────────────── */
header .container {
    padding: 0 40px !important;
    height: 72px !important;
    grid-template-columns: auto 1fr auto !important;
    gap: 32px !important;
    overflow: visible !important;
}

/* Nav links: compact gap, centered, don't spread to fill 1fr */
.desktop-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.desktop-nav ul {
    justify-content: center !important;
    gap: clamp(2px, 1.5vw, 20px) !important;
    width: auto !important;
}
.desktop-nav ul li a {
    padding: 8px 16px !important;
}

/* Action buttons group */
.header-actions {
    gap: 8px !important;
}

/* ─────────────────────────────────────
   RESPONSIVE HEADER/NAV FIX
   Prevent nav cropping on small/narrow viewports
   ───────────────────────────────────── */
@media (max-width: 1100px) {
    header .container {
        padding: 0 12px !important;
        height: 64px !important;
        min-height: 64px !important;
        gap: 10px !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center !important;
        overflow: visible !important;
    }

    header .logo img {
        height: 34px !important;
        max-width: 150px !important;
        width: auto !important;
        object-fit: contain !important;
    }

    .desktop-nav {
        display: none !important;
    }

    #mobile-menu-toggle,
    .mobile-menu-toggle {
        display: flex !important;
    }

    .header-actions {
        justify-content: flex-end !important;
        gap: 6px !important;
        min-width: 0 !important;
    }

    /* Make expanded hamburger menu look like a clean full-width dropdown card */
    .mobile-nav {
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        top: calc(var(--header-height, 72px) + 8px) !important;
        border-radius: 16px !important;
        border: 1px solid rgba(255, 255, 255, 0.55) !important;
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16) !important;
        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .mobile-nav ul {
        width: 100% !important;
        align-items: stretch !important;
        padding: 8px 0 4px 0 !important;
    }

    .mobile-nav ul li {
        width: 100% !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    }

    .mobile-nav ul li a {
        display: block !important;
        width: 100% !important;
        padding: 14px 18px !important;
        text-align: left !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        border: none !important;
        border-radius: 0 !important;
    }

    .mobile-nav ul li a:hover {
        transform: none !important;
        background: rgba(237, 28, 36, 0.08) !important;
    }

    .mobile-nav ul li:last-child {
        border-bottom: none !important;
    }

    /* Keep header controls compact to avoid clipping */
    .header-actions .nav-button,
    .header-actions button.nav-btn,
    .header-actions .lang-select,
    .header-actions .lang-display {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }

    /* Keep phone button available on compact header */
    #phone-toggle,
    .phone-toggle {
        display: flex !important;
    }
}

/* ─────────────────────────────────────
   HEADER — Floating glassmorphic bar
   ───────────────────────────────────── */
header {
    background: rgba(6, 6, 8, 0.35) !important;
    backdrop-filter: blur(28px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: none !important;
    transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease !important;
}
body:not([data-theme="dark"]) header {
    background: rgba(255, 255, 255, 0.55) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* scrolled state — JS adds .scrolled-nav to header */
header.scrolled-nav {
    background: rgba(6, 6, 8, 0.92) !important;
    border-bottom: 1px solid rgba(237, 28, 36, 0.22) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55) !important;
}
body:not([data-theme="dark"]) header.scrolled-nav {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid rgba(237, 28, 36, 0.15) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1) !important;
}

/* logo */
header .logo img {
    height: 46px !important;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease !important;
}
header .logo img:hover {
    transform: scale(1.07) !important;
    filter: drop-shadow(0 0 18px rgba(237, 28, 36, 0.7)) !important;
}

/* nav links */
.desktop-nav a {
    position: relative !important;
    font-family: 'DM Sans', 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    padding-bottom: 4px !important;
    transition: color 0.3s ease !important;
}
body:not([data-theme="dark"]) .desktop-nav a {
    color: rgba(15, 15, 15, 0.7) !important;
}
.desktop-nav a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 0 !important;
    height: 2px !important;
    background: #ED1C24 !important;
    box-shadow: 0 0 8px rgba(237, 28, 36, 0.8) !important;
    border-radius: 2px !important;
    transform: translateX(-50%) !important;
    transition: width 0.35s cubic-bezier(0.86, 0, 0.07, 1) !important;
}
/* clear any old ::before underlines */
.desktop-nav a::before { display: none !important; }

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
    color: #fff !important;
}
body:not([data-theme="dark"]) .desktop-nav a:hover {
    color: #111 !important;
}
.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
    width: 100% !important;
}

/* nav action buttons — force every size token to 44px */
.header-actions .nav-button,
.header-actions button.nav-btn {
    --nav-btn-size: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.82) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    outline: none !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease !important;
}
/* suppress style.css ::before pseudo on theme toggle */
.header-actions .theme-toggle::before,
.header-actions .nav-button::before {
    display: none !important;
}
/* light mode */
body:not([data-theme="dark"]) .header-actions .nav-button,
body:not([data-theme="dark"]) .header-actions button.nav-btn {
    background: rgba(255, 255, 255, 0.75) !important;
    border-color: rgba(0, 0, 0, 0.09) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10),
                inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    color: rgba(20, 20, 20, 0.82) !important;
}
/* hover */
.header-actions .nav-button:hover,
.header-actions button.nav-btn:hover {
    transform: translateY(-3px) scale(1.07) !important;
    background: rgba(237, 28, 36, 0.15) !important;
    border-color: rgba(237, 28, 36, 0.38) !important;
    box-shadow: 0 6px 22px rgba(237, 28, 36, 0.28),
                0 2px 8px rgba(0, 0, 0, 0.3) !important;
    color: #fff !important;
}
/* keyboard focus only */
.header-actions .nav-button:focus-visible,
.header-actions button.nav-btn:focus-visible {
    outline: 2px solid rgba(237, 28, 36, 0.7) !important;
    outline-offset: 3px !important;
}
.header-actions .nav-button:focus:not(:focus-visible),
.header-actions button.nav-btn:focus:not(:focus-visible) {
    outline: none !important;
}
/* lang-select wrapper: strip all padding/margin that can distort the circle */
.header-actions .lang-select-wrapper.nav-button {
    padding: 0 !important;
    margin: 0 !important;
    --lang-gap-right: 0px !important;
}
/* inner select and overlay — constrained to same 44px circle */
.header-actions .lang-select {
    --lang-size: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    font-size: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
}
.header-actions .lang-display {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    font-size: 20px !important;
}
.header-actions .lang-display .fi {
    font-size: 22px !important;
    width: 22px !important;
    height: 17px !important;
}

/* ─────────────────────────────────────
   HERO — Cinematic Full-Bleed Section
   ───────────────────────────────────── */

/* Section wrapper */
section#home.hero-v2 {
    position: relative !important;
    min-height: 100svh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #080808 !important;
    padding: 120px 24px 60px !important;
    /* no isolation:isolate — it breaks backdrop-filter on children */
}

/* ── Layer 1: Actual hero photo ── */
section#home.hero-v2 .hero-v2__bg {
    position: absolute !important;
    inset: 0 !important;
    background:
        url('/static/assets/images/hero_bg_dark.jpg')
        no-repeat center 68% / cover !important;
    transform: scale(1.04) !important;
    /* no will-change:transform — it breaks backdrop-filter on siblings */
    animation: subtleZoom 28s ease-in-out infinite alternate !important;
    z-index: 0 !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__bg {
    background:
        url('/static/assets/images/hero_bg_light.jpg')
        no-repeat center 68% / cover !important;
}

@keyframes subtleZoom {
    from { transform: scale(1.04) translate(0, 0); }
    to   { transform: scale(1.1) translate(-1%, 1%); }
}

/* ── Layer 2: Cinematic gradient overlay ── */
section#home.hero-v2 .hero-v2__overlay {
    position: absolute !important;
    inset: 0 !important;
    /* Transparent in center (show the floor) — dark at top (for text contrast) — fade at edges */
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.90) 0%,
            rgba(0, 0, 0, 0.60) 38%,
            rgba(0, 0, 0, 0.30) 68%,
            rgba(0, 0, 0, 0.60) 100%
        ) !important;
    z-index: 1 !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__overlay {
    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.88) 0%,
            rgba(255, 255, 255, 0.55) 38%,
            rgba(255, 255, 255, 0.18) 68%,
            rgba(255, 255, 255, 0.55) 100%
        ) !important;
}

/* ── Layer 3: Animated red spotlight from the ceiling ── */
section#home.hero-v2::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        radial-gradient(
            ellipse 80% 60% at 50% -5%,
            rgba(237, 28, 36, 0.20) 0%,
            transparent 65%
        ) !important;
    z-index: 2 !important;
    animation: spotPulse 8s ease-in-out infinite alternate !important;
    pointer-events: none !important;
}
body:not([data-theme="dark"]) section#home.hero-v2::before {
    background:
        radial-gradient(
            ellipse 80% 60% at 50% -5%,
            rgba(237, 28, 36, 0.10) 0%,
            transparent 65%
        ) !important;
}
@keyframes spotPulse {
    from { opacity: 0.6; }
    to   { opacity: 1.0; }
}

/* ── Layer 4: Sweeping light beam ── */
section#home.hero-v2::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 60% !important;
    height: 100% !important;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 60%
    ) !important;
    z-index: 3 !important;
    animation: lightBeam 12s ease-in-out infinite !important;
    pointer-events: none !important;
}
@keyframes lightBeam {
    0%   { left: -100%; }
    40%  { left: 200%; }
    100% { left: 200%; }
}

/* ── Content: center-aligned text container ── */
section#home.hero-v2 .hero-v2__inner {
    position: relative !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    max-width: 980px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    grid-template-columns: unset !important;
    gap: unset !important;
    /* NO animation here — it creates a stacking context that breaks backdrop-filter on buttons */
}
@keyframes heroContentIn {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: none; }
}

/* ── Eyebrow pill ── */
section#home.hero-v2 .hero-v2__eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 7px 22px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 100px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    margin-bottom: 28px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
    animation: heroContentIn 1.2s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__eyebrow {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: rgba(0, 0, 0, 0.70) !important;
}

section#home.hero-v2 .hero-v2__dot {
    width: 9px !important;
    height: 9px !important;
    border-radius: 50% !important;
    background: #ED1C24 !important;
    box-shadow: 0 0 0 0 rgba(237, 28, 36, 0.7) !important;
    animation: dotRing 2.2s ease-in-out infinite !important;
    flex-shrink: 0 !important;
}
@keyframes dotRing {
    0%   { box-shadow: 0 0 0 0   rgba(237, 28, 36, 0.7); }
    50%  { box-shadow: 0 0 0 8px rgba(237, 28, 36, 0.0); }
    100% { box-shadow: 0 0 0 0   rgba(237, 28, 36, 0.0); }
}

/* ── Main heading ── */
section#home.hero-v2 .hero-v2__heading {
    font-size: clamp(40px, 6vw, 74px) !important;
    font-weight: 900 !important;
    line-height: 1.04 !important;
    letter-spacing: -2px !important;
    color: #ffffff !important;
    margin: 0 0 8px 0 !important;
    text-shadow:
        0 2px 8px  rgba(0, 0, 0, 0.5),
        0 8px 32px rgba(0, 0, 0, 0.3) !important;
    animation: heroContentIn 1.2s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__heading {
    color: #0a0a0a !important;
    text-shadow: 0 2px 12px rgba(255,255,255,0.8) !important;
}

/* ── Decorative bar ── */
section#home.hero-v2 .hero-v2__bar {
    width: 56px !important;
    height: 4px !important;
    background: #ED1C24 !important;
    border-radius: 2px !important;
    margin: 18px 0 22px !important;
    box-shadow: 0 0 16px rgba(237, 28, 36, 0.7) !important;
    animation: heroContentIn 1.2s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

/* ── Subheading ── */
section#home.hero-v2 .hero-v2__sub {
    font-size: clamp(16px, 2vw, 20px) !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.80) !important;
    max-width: 640px !important;
    margin: 0 0 40px 0 !important;
    font-weight: 400 !important;
    animation: heroContentIn 1.2s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__sub {
    color: rgba(10, 10, 10, 0.72) !important;
}

/* ── CTA Buttons ── */
section#home.hero-v2 .hero-v2__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-bottom: 44px !important;
    /* NO animation here — it creates a stacking context that breaks backdrop-filter on buttons */
}

/* PRIMARY button — frosted red glassmorphism (proven recipe) */
section#home.hero-v2 .hero-v2__cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 17px 38px !important;
    background: linear-gradient(135deg, rgba(197, 34, 41, 0.94), rgba(154, 22, 29, 0.96)) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 196, 196, 0.28) !important;
    box-shadow:
        0 14px 28px rgba(119, 12, 20, 0.34),
        0 3px 10px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.18) !important;
    position: relative !important;
    overflow: hidden !important;
    will-change: transform, box-shadow !important;
    /* Graceful exit — slow out when mouse leaves */
    transition:
        transform   0.40s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow  0.40s cubic-bezier(0.22, 1, 0.36, 1),
        background  0.32s ease,
        border-color 0.28s ease !important;
    animation: heroContentIn 1.2s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__cta {
    background: linear-gradient(160deg, #e02027 0%, #b80e14 100%) !important;
    border-color: rgba(255, 120, 120, 0.26) !important;
    box-shadow:
        0 14px 28px rgba(176, 14, 20, 0.38),
        0 3px 10px rgba(80, 0, 5, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.22) !important;
    color: #ffffff !important;
}
/* kill any pseudo-elements on primary button */
section#home.hero-v2 .hero-v2__cta::before,
section#home.hero-v2 .hero-v2__cta::after {
    display: none !important;
}
section#home.hero-v2 .hero-v2__cta:hover {
    /* Fast entry — snappy response when mouse arrives */
    transition:
        transform   0.22s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow  0.22s cubic-bezier(0.22, 1, 0.36, 1),
        background  0.20s ease,
        border-color 0.20s ease !important;
    transform: translateY(-5px) scale(1.03) !important;
    background: linear-gradient(135deg, rgba(224, 42, 50, 0.99), rgba(174, 28, 36, 1)) !important;
    box-shadow:
        0 26px 52px rgba(140, 14, 22, 0.52),
        0 8px 20px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.26) !important;
    color: #fff !important;
}
section#home.hero-v2 .hero-v2__cta:active {
    transform: translateY(-1px) scale(0.99) !important;
    box-shadow:
        0 8px 18px rgba(123, 15, 24, 0.32),
        0 2px 6px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.16) !important;
    transition: transform 0.12s ease, box-shadow 0.12s ease !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__cta:hover {
    background: linear-gradient(160deg, #f02730 0%, #c80f16 100%) !important;
    box-shadow:
        0 26px 50px rgba(176, 14, 20, 0.54),
        0 8px 20px rgba(80, 0, 5, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.22) !important;
    color: #ffffff !important;
}

/* SECONDARY button — frosted glass (proven glassmorphism) */
section#home.hero-v2 .hero-v2__secondary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 17px 34px !important;
    background: linear-gradient(135deg, rgba(35, 39, 46, 0.94), rgba(21, 24, 29, 0.98)) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow:
        0 12px 28px rgba(0,0,0,0.26),
        inset 0 1px 0 rgba(255,255,255,0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    will-change: transform, box-shadow !important;
    /* Graceful exit — slow out when mouse leaves */
    transition:
        transform   0.40s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow  0.40s cubic-bezier(0.22, 1, 0.36, 1),
        background  0.32s ease,
        border-color 0.28s ease !important;
    animation: heroContentIn 1.2s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__secondary {
    background: #ffffff !important;
    color: #111111 !important;
    border-color: rgba(30, 30, 30, 0.18) !important;
    box-shadow:
        0 10px 22px rgba(0,0,0,0.12),
        0 2px 7px rgba(0,0,0,0.07),
        inset 0 1px 0 rgba(255,255,255,1) !important;
}
/* kill any pseudo-elements on secondary button */
section#home.hero-v2 .hero-v2__secondary::before,
section#home.hero-v2 .hero-v2__secondary::after {
    display: none !important;
}
section#home.hero-v2 .hero-v2__secondary:hover {
    /* Fast entry — snappy response when mouse arrives */
    transition:
        transform   0.22s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow  0.22s cubic-bezier(0.22, 1, 0.36, 1),
        background  0.20s ease,
        border-color 0.20s ease !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    background: linear-gradient(135deg, rgba(48, 54, 63, 0.99), rgba(28, 32, 38, 1)) !important;
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow:
        0 24px 48px rgba(0,0,0,0.42),
        inset 0 1px 0 rgba(255,255,255,0.16) !important;
    color: #fff !important;
}
section#home.hero-v2 .hero-v2__secondary:active {
    transform: translateY(-1px) scale(0.99) !important;
    box-shadow:
        0 6px 16px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.08) !important;
    transition: transform 0.12s ease, box-shadow 0.12s ease !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__secondary:hover {
    background: #ffffff !important;
    border-color: rgba(215, 25, 32, 0.50) !important;
    box-shadow:
        0 22px 44px rgba(0,0,0,0.18),
        0 6px 16px rgba(0,0,0,0.10),
        0 0 0 3px rgba(215, 25, 32, 0.10),
        inset 0 1px 0 rgba(255,255,255,1) !important;
    color: #111111 !important;
    transform: translateY(-5px) scale(1.03) !important;
}

/* ── Cert badges row ── */
section#home.hero-v2 .hero-v2__certs {
    display: flex !important;
    gap: 36px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding-top: 6px !important;
    border: none !important;
    animation: heroContentIn 1.2s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

/* Cert badges — minimal floating logos, no box */
section#home.hero-v2 .cert-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.75) !important;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.3s ease !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .cert-wrapper {
    color: rgba(20, 20, 20, 0.65) !important;
}
section#home.hero-v2 .cert-wrapper:hover {
    transform: translateY(-5px) scale(1.05) !important;
    filter: drop-shadow(0 8px 20px rgba(237, 28, 36, 0.35)) !important;
    color: #fff !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .cert-wrapper:hover {
    filter: drop-shadow(0 8px 20px rgba(237, 28, 36, 0.25)) !important;
}
/* cert icon wrapper — kill shine rectangle and any pseudo lines */
section#home.hero-v2 .cert-icon {
    background: none !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
section#home.hero-v2 .cert-icon::after,
section#home.hero-v2 .cert-icon::before,
section#home.hero-v2 .cert-wrapper::before,
section#home.hero-v2 .cert-wrapper::after {
    display: none !important;
}
section#home.hero-v2 .hero-cert-img {
    height: 88px !important;
    width: auto !important;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.55)) !important;
    display: block !important;
    margin: 0 auto !important;
}
section#home.hero-v2 .cert-text {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    text-align: center !important;
    /* pill-free: transparent, float on the background */
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    width: auto !important;
    max-width: none !important;
    pointer-events: auto !important;
    margin-top: 7px !important;
    left: auto !important;
    top: auto !important;
    line-height: 1.3 !important;
    /* white text + deep shadow for legibility on any background */
    color: #ffffff !important;
    filter: drop-shadow(0 1px 6px rgba(0,0,0,0.70)) !important;
}
/* also beat [data-theme="dark"] .cert-text specificity */
[data-theme="dark"] section#home.hero-v2 .cert-text {
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    color: rgba(255,255,255,0.92) !important;
    filter: drop-shadow(0 1px 6px rgba(0,0,0,0.80)) !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .cert-text {
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    /* in light mode the hero bg is light, so use a dark-tinted label */
    color: #1a1a1a !important;
    filter: drop-shadow(0 1px 3px rgba(255,255,255,0.90)) drop-shadow(0 0 8px rgba(255,255,255,0.70)) !important;
}
section#home.hero-v2 .cert-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    display: block !important;
    color: inherit !important;
    white-space: nowrap !important;
}
section#home.hero-v2 .cert-reg-number {
    font-size: 10.5px !important;
    opacity: 1 !important;
    display: block !important;
    margin-top: 2px !important;
    letter-spacing: 0.6px !important;
    white-space: nowrap !important;
    font-weight: 600 !important;
    /* inherits parent color + shadow; accent with a slightly lighter tint */
    color: rgba(255,255,255,0.78) !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .cert-reg-number {
    color: #ED1C24 !important;
    /* override filter on parent so the coloured number isn't washed out */
    filter: none !important;
    text-shadow: 0 1px 4px rgba(255,255,255,0.80) !important;
}
[data-theme="dark"] section#home.hero-v2 .cert-reg-number {
    color: rgba(255, 255, 255, 0.58) !important;
}

/* ─────────────────────────────────────────────────────────────
   FLOATER BADGES — absolutely positioned left & right
   (Huge numbers, deep glassmorphism, premium feel)
   ─────────────────────────────────────────────────────────── */
section#home.hero-v2 .hero-v2__floater {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    /* Deep glass panel */
    background: rgba(8, 8, 10, 0.45) !important;
    backdrop-filter: blur(32px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 24px !important;
    padding: 36px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 28px !important;
    z-index: 10 !important;
    min-width: 140px !important;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    transition:
        transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease !important;
    animation: floaterIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__floater {
    background: rgba(255, 255, 255, 0.60) !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-top: 1px solid rgba(255, 255, 255, 1) !important;
    box-shadow: 0 24px 60px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.9) !important;
}

/* Left floater slides in from left */
section#home.hero-v2 .hero-v2__floater--left {
    left: 3.5% !important;
    animation-name: floaterInLeft !important;
}
section#home.hero-v2 .hero-v2__floater--right {
    right: 3.5% !important;
    animation-name: floaterInRight !important;
}

@keyframes floaterInLeft {
    from { opacity: 0; transform: translateY(-50%) translateX(-40px); }
    to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}
@keyframes floaterInRight {
    from { opacity: 0; transform: translateY(-50%) translateX(40px); }
    to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

section#home.hero-v2 .hero-v2__floater:hover {
    transform: translateY(-50%) scale(1.06) !important;
    border-color: rgba(237, 28, 36, 0.35) !important;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.55),
        0 0 30px rgba(237, 28, 36, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.20) !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__floater:hover {
    background: rgba(255,255,255,0.9) !important;
    transform: translateY(-50%) scale(1.06) !important;
}

/* Top red accent stripe */
section#home.hero-v2 .hero-v2__floater::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 40px !important;
    height: 3px !important;
    background: #ED1C24 !important;
    border-radius: 0 0 3px 3px !important;
    box-shadow: 0 2px 10px rgba(237, 28, 36, 0.6) !important;
}

section#home.hero-v2 .hero-v2__floater-stat {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Giant stat numbers */
section#home.hero-v2 .hero-v2__floater-n {
    display: block !important;
    font-size: 52px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    color: #ffffff !important;
    letter-spacing: -2px !important;
    margin-bottom: 8px !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__floater-n {
    color: #0d0d0d !important;
}
section#home.hero-v2 .hero-v2__floater-n sup {
    font-size: 26px !important;
    color: #ED1C24 !important;
    vertical-align: super !important;
    letter-spacing: 0 !important;
}

section#home.hero-v2 .hero-v2__floater-l {
    font-size: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: rgba(255, 255, 255, 0.45) !important;
    font-weight: 700 !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__floater-l {
    color: rgba(0, 0, 0, 0.45) !important;
}

/* Separator rule between stats */
section#home.hero-v2 .hero-v2__floater-sep {
    width: 100% !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent) !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__floater-sep {
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent) !important;
}

/* Google rating block */
section#home.hero-v2 .hero-v2__floater-google {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: center !important;
}
section#home.hero-v2 .hero-v2__floater-gicon {
    width: 48px !important;
    height: 48px !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
section#home.hero-v2 .hero-v2__floater-stars {
    font-size: 13px !important;
    color: #FBBC05 !important;
    letter-spacing: 2px !important;
}
section#home.hero-v2 .hero-v2__floater-gscore {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.80) !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__floater-gscore {
    color: #333 !important;
}

/* ISO certification block */
section#home.hero-v2 .hero-v2__floater-iso {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    text-align: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.55) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
body:not([data-theme="dark"]) section#home.hero-v2 .hero-v2__floater-iso {
    color: rgba(0,0,0,0.5) !important;
}
section#home.hero-v2 .hero-v2__floater-iso i {
    font-size: 22px !important;
    color: #ED1C24 !important;
}

/* ─────────────────────────────────────
   RESPONSIVE — below 1200px floaters
   stack below the content
   ───────────────────────────────────── */
@media (max-width: 1200px) {
    section#home.hero-v2 .hero-v2__floater {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        animation-name: heroContentIn !important;
        flex-direction: row !important;
        width: 100% !important;
        max-width: 760px !important;
        margin: 32px auto 0 !important;
        padding: 20px 24px !important;
        border-radius: 18px !important;
        justify-content: space-around !important;
        min-width: unset !important;
    }
    section#home.hero-v2 .hero-v2__floater:hover {
        transform: translateY(-4px) !important;
    }
    section#home.hero-v2 .hero-v2__floater--left,
    section#home.hero-v2 .hero-v2__floater--right {
        animation-name: heroContentIn !important;
    }
    section#home.hero-v2 .hero-v2__floater-sep {
        width: 1px !important;
        height: 100% !important;
        background: linear-gradient(180deg, transparent, rgba(255,255,255,0.18), transparent) !important;
    }
    section#home.hero-v2 .hero-v2__floater-n {
        font-size: 38px !important;
    }
}

@media (max-width: 768px) {
    section#home.hero-v2 {
        padding: 120px 16px 40px !important;
    }
    section#home.hero-v2 .hero-v2__floater {
        flex-direction: column !important;
        max-width: 360px !important;
        padding: 20px !important;
    }
    section#home.hero-v2 .hero-v2__floater-sep {
        width: 100% !important;
        height: 1px !important;
    }
}

/* Hide both floater cards on slim aspect ratios (portrait / narrow windows) */
@media (max-aspect-ratio: 4/5) {
    section#home.hero-v2 .hero-v2__floater--left,
    section#home.hero-v2 .hero-v2__floater--right {
        display: none !important;
    }
}
