:root {
    /* Glass Black Base & Uniform Tokens */
    --bg-main: #07090e;
    --bg-glass-card: linear-gradient(135deg, rgba(16, 22, 36, 0.72) 0%, rgba(8, 12, 20, 0.82) 100%);
    --bg-glass-card-hover: linear-gradient(135deg, rgba(24, 33, 54, 0.80) 0%, rgba(12, 17, 30, 0.90) 100%);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-subtle: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(52, 211, 153, 0.5);

    --emerald: #059669;
    --emerald-bright: #00ff85;
    --cyan-bright: #38bdf8;
    --silver: #ffffff;
    --silver-muted: #cbd5e1;
    --silver-subtle: #94a3b8;
    --text-main: #f8fafc;

    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* =========================================
   BASE & TYPOGRAPHY & OVERFLOW FIX
========================================= */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    overscroll-behavior-x: none;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--text-main);
    background-color: #060913;
    background-image: 
        radial-gradient(circle at 12% 15%, rgba(16, 185, 129, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 88% 22%, rgba(6, 182, 212, 0.20) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 15% 75%, rgba(139, 92, 246, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 85% 90%, rgba(16, 185, 129, 0.20) 0%, transparent 45%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) var(--bg-main);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Outfit", sans-serif;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.text-muted { color: var(--silver-muted) !important; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.text-white-50 { color: rgba(248, 250, 252, 0.78) !important; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.text-white-75 { color: rgba(248, 250, 252, 0.88) !important; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }

/* Webkit Scrollbars */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.45); }

/* Utilities */
.fs-8 { font-size: 0.78rem; }
.gap-2\.5 { gap: 0.65rem !important; }
.text-emerald-bright { color: var(--emerald-bright) !important; text-shadow: 0 0 10px rgba(0, 255, 133, 0.4); }
.bg-emerald-bright { background-color: var(--emerald-bright) !important; }
.border-emerald-bright { border-color: var(--emerald-bright) !important; }
.hover-emerald:hover { color: var(--emerald-bright) !important; text-shadow: 0 0 12px rgba(0, 255, 133, 0.5); }

/* =========================================
   1. CANVAS 3D & BACKGROUND EFFECTS
========================================= */
/* Constraints per evitare overflow da elementi fixed */
#threejs-canvas,
.global-glass-overlay,
.action-sheet-overlay,
#preloader {
    width: 100% !important;
    left: 0;
    right: 0;
}

#threejs-canvas {
    position: fixed;
    top: 0; height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 1 !important;
    filter: contrast(118%) brightness(92%) saturate(120%);
    /* Smooth render */
    image-rendering: auto;
}

/* Vivid Ambient Glow Orbs (Multi-Point Dynamic Mesh Illumination) */
.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(105px);
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.orb-1 {
    width: 52vw; height: 52vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.38) 0%, rgba(5, 150, 105, 0.16) 45%, transparent 70%);
    top: -12%; left: -10%;
    opacity: 0.75;
    animation: orb-float 22s infinite alternate ease-in-out;
}

.orb-2 {
    width: 48vw; height: 48vw;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.38) 0%, rgba(56, 189, 248, 0.18) 45%, transparent 70%);
    bottom: -10%; right: -10%;
    opacity: 0.75;
    animation: orb-float 24s infinite alternate ease-in-out;
    animation-delay: -11s;
}

.orb-3 {
    width: 44vw; height: 44vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.30) 0%, rgba(99, 102, 241, 0.14) 45%, transparent 70%);
    top: 32%; right: -6%;
    opacity: 0.65;
    animation: orb-float 20s infinite alternate ease-in-out;
    animation-delay: -5s;
}

.orb-4 {
    width: 46vw; height: 46vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.28) 0%, rgba(79, 70, 229, 0.14) 45%, transparent 70%);
    bottom: 18%; left: -6%;
    opacity: 0.65;
    animation: orb-float 26s infinite alternate ease-in-out;
    animation-delay: -15s;
}

.orb-5 {
    width: 36vw; height: 36vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(6, 182, 212, 0.18) 50%, transparent 70%);
    top: 18%; left: 32%;
    opacity: 0.55;
    animation: orb-float 21s infinite alternate ease-in-out;
    animation-delay: -8s;
}

/* Global Glass Overlay */
.global-glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background: linear-gradient(135deg, rgba(8, 14, 26, 0.06) 0%, rgba(2, 5, 12, 0.25) 100%) !important;
    backdrop-filter: blur(8px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(150%) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03) !important;
    pointer-events: none;
}

/* =========================================
   LAYOUT & SECTIONS
========================================= */
.section-wrapper {
    position: relative;
    z-index: 2;
    padding-bottom: 90px;
}

.section-wrapper > div,
section {
    perspective: 1400px;
    perspective-origin: 50% 20%;
    transform-style: preserve-3d;
}

.section-padding { padding: clamp(28px, 4vw, 50px) 0; }
.section-header { font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); }
.accent-line {
    height: 3px; width: 60px;
    background: linear-gradient(90deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.25) 100%);
    margin: 14px auto 20px; border-radius: 3px;
    box-shadow: 0 0 10px rgba(255,255,255,0.15);
}

/* EVEN SECTIONS: Luminous Frosted Glass Canvas */
#brands,
#training,
#contact,
#message,
.section-wrapper > div:nth-child(even) section {
    background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.14) 0%, rgba(16, 185, 129, 0.08) 45%, transparent 75%),
                linear-gradient(180deg, rgba(8, 14, 24, 0.42) 0%, rgba(5, 8, 15, 0.62) 100%);
    position: relative;
    border-top: none;
    border-bottom: none;
}

.section-lead {
    color: #cbd5e1 !important;
    font-size: 1.05rem;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* =========================================
   HERO TYPOGRAPHY & BRAND LOGO
========================================= */
.masthead {
    min-height: 100vh;
    padding: 120px 0 80px 0;
}

#home.masthead {
    background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.15) 100%) !important;
    position: relative;
    overflow: hidden;
}

#home.masthead::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw; height: 70vh;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.12) 0%, transparent 65%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

#home.masthead .hero-content {
    z-index: 2 !important;
}

#hero-intro { background: transparent; }

.hero-title {
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.hero-subtitle {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #cbd5e1;
    max-width: 850px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.7;
}

/* HERO HEADQUARTERS & HERITAGE SUBSECTION (Ultra-Premium Frosted Glass Executive Capsule) */
.hero-hq-subsection {
    max-width: 540px;
    width: 100%;
    margin: clamp(2.5rem, 5.5vh, 4.25rem) auto clamp(2.85rem, 6vh, 4.75rem) auto;
    position: relative;
    z-index: 5;
}

.hero-hq-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%), rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-top: 1px solid rgba(255, 255, 255, 0.38);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    padding: 1.15rem 1.5rem;
    box-shadow: 
        0 16px 40px -10px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(255, 255, 255, 0.03),
        inset 0 1px 1.5px rgba(255, 255, 255, 0.35),
        inset 0 -1px 1px rgba(0, 0, 0, 0.25);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-hq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    pointer-events: none;
}

.hero-hq-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 48px -8px rgba(0, 0, 0, 0.7),
        0 0 32px rgba(255, 255, 255, 0.06),
        inset 0 1px 2px rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

.hero-hq-ambient-glow {
    position: absolute;
    top: -50px;
    left: 15%;
    width: 70%;
    height: 90px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(56, 189, 248, 0.06) 40%, transparent 75%);
    filter: blur(30px);
    pointer-events: none;
    z-index: 1;
}

/* Heritage Frosted Glass Badge (No Sede Operativa, Centered) */
.hero-hq-badge {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-top: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 9999px;
    padding: 0.38rem 1.25rem;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.hero-hq-badge i {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
    margin: 0 !important;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-hq-badge .badge-chip-text {
    display: inline-block;
    line-height: 1;
}

.hero-hq-desc {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(0.82rem, 1.2vw, 0.92rem);
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 400;
    max-width: 480px;
    text-wrap: balance;
}

/* Fallback for classic class */
.hero-masthead-desc-container {
    max-width: 620px;
    margin: 2.25rem auto 2.5rem auto;
}

.hero-masthead-subdesc {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(0.88rem, 1.3vw, 1.02rem);
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    font-weight: 400;
    margin-bottom: 0;
    text-wrap: balance;
    padding: 0 1rem;
}

@media (max-width: 767.98px) {
    .hero-hq-subsection {
        max-width: 90% !important;
        margin: clamp(1.85rem, 4.5vh, 2.75rem) auto clamp(2.25rem, 5vh, 3.25rem) auto !important;
    }
    .hero-hq-card {
        padding: 0.85rem 1rem !important;
        border-radius: 18px !important;
    }
    .hero-hq-badge {
        font-size: 0.72rem !important;
        padding: 0.32rem 0.95rem !important;
        letter-spacing: 0.02em !important;
        gap: 0.4rem !important;
        margin: 0 auto !important;
    }
    .hero-hq-desc {
        font-size: 0.80rem !important;
        line-height: 1.48 !important;
        max-width: 100% !important;
    }
    .hero-masthead-desc-container {
        max-width: 380px !important;
        margin: 1.5rem auto 2rem auto !important;
    }
    .hero-masthead-subdesc {
        font-size: 0.84rem !important;
        line-height: 1.55 !important;
        padding: 0 0.75rem !important;
    }
}

@media (max-width: 360px) {
    .hero-hq-badge {
        font-size: 0.67rem !important;
        padding: 0.25rem 0.65rem !important;
    }
}

@keyframes float-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.arrow-float {
    animation: float-down 1.8s infinite ease-in-out;
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn-hero-explore {
    padding: 0.62rem 1.65rem !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
}

.btn-hero-explore:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    border-top-color: rgba(255, 255, 255, 0.65) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.btn-hero-explore:hover .arrow-float {
    transform: translateY(3px);
}

.hero-cta-container {
    position: relative;
    z-index: 5;
    margin-top: clamp(0.75rem, 1.8vh, 1.5rem);
    margin-bottom: 1.25rem;
}

/* HERO LOGO - ALIGNED TO "S.A.F.A." CENTER */
.brand-logo-container {
    position: relative;
    z-index: 15 !important;
    opacity: 1 !important;
    user-select: none;
    margin-bottom: clamp(0.5rem, 1.5vh, 1rem);
    padding-bottom: clamp(15px, 2.5vh, 32px);
}

.logo-canvas-wrapper {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 15 !important;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 12px rgba(0, 255, 133, 0.25)) !important;
    overflow: visible !important;
    cursor: pointer !important;
    touch-action: manipulation;
    user-select: none;
}

.logo-canvas-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    cursor: pointer !important;
    touch-action: manipulation;
}

.logo-text-group {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    z-index: 15 !important;
}

.brand-title {
    font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
    font-size: 3.8rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    margin-right: -0.18em !important;
    line-height: 0.9 !important;
    text-transform: uppercase;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    text-shadow: 0 0 35px rgba(255, 255, 255, 0.35), 0 4px 20px rgba(0, 0, 0, 0.95) !important;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.9)) !important;
}

.brand-subtitle-wrapper {
    position: relative;
    width: 100%;
    margin-top: 10px;
    text-align: justify;
}

.brand-subtitle {
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff !important;
    text-transform: uppercase;
    line-height: 1 !important;
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    letter-spacing: normal !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 4px 15px rgba(0, 0, 0, 0.98) !important;
}

.brand-subtitle span {
    display: inline-block;
}

/* =========================================
   LANGUAGE SWITCHER
========================================= */
.lang-switcher-wrapper {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 100001 !important;
    pointer-events: auto !important;
    display: block !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease !important;
    transform: translateY(0);
    opacity: 1;
}

.lang-switcher-wrapper.lang-hidden {
    transform: translateY(-80px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.lang-switcher-glass {
    background: rgba(10, 16, 28, 0.75) !important;
    backdrop-filter: blur(28px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.32) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), inset 0 1px 1.5px rgba(255, 255, 255, 0.22) !important;
    gap: 3px;
    padding: 3px !important;
    border-radius: 40px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.lang-switcher-glass:hover {
    background: rgba(12, 20, 36, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), inset 0 1px 2px rgba(255, 255, 255, 0.3) !important;
}

.btn-lang-item {
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-family: "Outfit", sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    line-height: 1 !important;
}

.btn-lang-item:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

.btn-lang-item.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.9) 0%, rgba(16, 185, 129, 0.8) 100%) !important;
    box-shadow: 0 2px 10px rgba(52, 211, 153, 0.4) !important;
}

/* =========================================
   BADGES & PILLS
========================================= */
.hero-badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .logo-text-group .hero-badge-container {
        justify-content: flex-start !important;
        margin: 0 0 0.65rem 0 !important;
        width: auto !important;
    }
}

@media (max-width: 767.98px) {
    .logo-text-group .hero-badge-container {
        justify-content: center !important;
        margin: 0.35rem 0 0.85rem 0 !important;
        width: 100% !important;
    }
}

.hero-single-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.52rem 1.45rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.12), inset 0 1px 1.5px rgba(255, 255, 255, 0.25) !important;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-single-badge:hover {
    background: rgba(15, 23, 42, 0.85) !important;
    border-color: rgba(52, 211, 153, 0.5) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65), 0 0 26px rgba(52, 211, 153, 0.25) !important;
    transform: translateY(-1px);
}

.hero-single-badge i {
    font-size: 0.85rem;
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.6));
}

.hero-sub-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.6rem 1.6rem;
    border-radius: 9999px;
    position: relative;

    /* High-contrast luxury frosted glass */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(6, 10, 18, 0.92) 100%) !important;
    backdrop-filter: blur(35px) saturate(220%) !important;
    -webkit-backdrop-filter: blur(35px) saturate(220%) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(52, 211, 153, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;

    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-badge-glow {
    position: absolute;
    inset: -2px;
    border-radius: 9999px;
    background: radial-gradient(circle at 50% 50%, rgba(52, 211, 153, 0.25) 0%, rgba(56, 189, 248, 0.1) 50%, transparent 80%);
    filter: blur(14px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.hero-sub-badge:hover {
    background: rgba(14, 22, 38, 0.92) !important;
    border-color: rgba(52, 211, 153, 0.5) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(52, 211, 153, 0.3) !important;
    transform: translateY(-2px);
}

.hero-sub-badge:hover .hero-badge-glow {
    opacity: 1;
}

.badge-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.badge-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(52, 211, 153, 0.35);
}

.badge-chip-text {
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: #ffffff !important;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

.badge-text {
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ffffff !important;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
}

.badge-separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    margin: 0 0.2rem;
}

.pulse-led {
    width: 9px; height: 9px;
    background-color: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 12px #34d399, 0 0 4px #ffffff;
    animation: pulse-glow-led 1.8s infinite;
}

/* Slim luminous rule – replaces dot divider in hero badge */
.badge-rule-divider {
    width: 1px;
    height: 22px;
    background: linear-gradient(180deg, transparent 0%, rgba(52, 211, 153, 0.55) 35%, rgba(255,255,255,0.55) 50%, rgba(52, 211, 153, 0.55) 65%, transparent 100%);
    border-radius: 1px;
    flex-shrink: 0;
    margin: 0 0.25rem;
    opacity: 0.85;
}

/* =========================================
   GLASS CARDS & BRANDS LOGO GRID
========================================= */
.glass-card-dark {
    background: linear-gradient(135deg, rgba(16, 22, 36, 0.72) 0%, rgba(8, 12, 20, 0.82) 100%) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.14) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glass-card-dark:hover {
    background: linear-gradient(135deg, rgba(22, 30, 48, 0.78) 0%, rgba(11, 16, 26, 0.88) 100%) !important;
    border-color: rgba(52, 211, 153, 0.35) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(52, 211, 153, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.22) !important;
}

.flagship-card {
    background: linear-gradient(135deg, rgba(16, 22, 36, 0.75) 0%, rgba(8, 12, 20, 0.85) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.flagship-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 211, 153, 0.3) !important;
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.65), 0 0 25px rgba(52, 211, 153, 0.1);
}

.logo-card-anim { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important; cursor: pointer; }
.logo-card-anim:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%) !important;
    border-color: #ffffff !important;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}
.logo-card-anim:hover .dynamic-logo {
    filter: none !important;
    transform: scale(1.08);
}
.logo-card-anim:hover .hover-glow-anim { opacity: 0; }

.tool-badge-anim:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.flagship-btn-anim:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}
.flagship-btn-anim:hover .arrow-anim { transform: translateX(5px); color: #ffffff; opacity: 1 !important; }

/* Inner Brand Logo Grid Card */
.brand-card {
    background: linear-gradient(135deg, rgba(16, 22, 36, 0.72) 0%, rgba(8, 12, 20, 0.82) 100%) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 22px 18px !important;
    margin: 0 auto !important;
    height: 195px;
    min-height: 195px;
    isolation: isolate;
    position: relative;
    overflow: hidden;
}

.brand-card img {
    max-width: 86% !important;
    max-height: 75px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    filter: brightness(0) invert(1) opacity(0.88);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
    backface-visibility: hidden;
}

.brand-card img.brand-logo-grid-large {
    max-height: 95px !important;
    max-width: 90% !important;
}

/* Category card info button - Green Glassmorphism with crisp white icon */
.btn-category-info {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.35) 0%, rgba(5, 150, 105, 0.18) 100%) !important;
    backdrop-filter: blur(12px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(190%) !important;
    border: 1px solid rgba(52, 211, 153, 0.45) !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer;
    text-decoration: none !important;
}

.btn-category-info i {
    color: #ffffff !important;
    font-size: 0.92rem !important;
    transition: transform 0.3s ease;
}

.btn-category-info:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.6) 0%, rgba(5, 150, 105, 0.4) 100%) !important;
    border-color: rgba(52, 211, 153, 0.8) !important;
    color: #ffffff !important;
    transform: scale(1.12);
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}

.btn-category-info:hover i {
    transform: scale(1.1);
    color: #ffffff !important;
}

/* Green Glassmorphism Icon Badge — icona bianca su sfondo verde glass */
.icon-glass-emerald {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.35) 0%, rgba(5, 150, 105, 0.18) 100%) !important;
    backdrop-filter: blur(12px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(190%) !important;
    border: 1px solid rgba(52, 211, 153, 0.45) !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
}

.icon-glass-emerald i {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.icon-glass-emerald:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.55) 0%, rgba(5, 150, 105, 0.38) 100%) !important;
    border-color: rgba(52, 211, 153, 0.75) !important;
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.08);
}

/* HOVER: Card illuminates to white frosted satin glass and logo restores FULL ORIGINAL COLORS */
.brand-card.hover-lift:hover,
.brand-card:hover {
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%) !important;
    transform: translateY(-6px) scale(1.03) !important;
    border-color: #ffffff !important;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.8), 0 0 35px rgba(52, 211, 153, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
}

.brand-card:hover img,
.brand-card.hover-lift:hover img {
    filter: none !important;
    opacity: 1 !important;
    transform: scale(1.15) !important;
    mix-blend-mode: normal !important;
}

.brand-card:hover span,
.brand-card.hover-lift:hover span {
    color: #0f172a !important;
    transform: scale(1.1);
}

/* Logos with dark backgrounds (blend-logo) */
img.blend-logo {
    filter: grayscale(1) invert(1) brightness(2) !important;
    mix-blend-mode: screen !important;
}
.brand-card:hover img.blend-logo,
.brand-card.hover-lift:hover img.blend-logo {
    filter: none !important;
    mix-blend-mode: multiply !important;
    transform: scale(1.15) !important;
}

.brand-card .logo-white {
    filter: brightness(0) invert(1) opacity(0.88);
}
.brand-card:hover .logo-white,
.brand-card.hover-lift:hover .logo-white {
    filter: none !important;
    opacity: 1 !important;
}

.logo-white { filter: brightness(0) invert(1) !important; }

/* Special handling for logos with solid backgrounds */
.brand-card:hover img.blend-logo {
    filter: none !important;
    mix-blend-mode: multiply !important;
}

/* =========================================
   OTHER CATEGORIES & PARTNERS - BREAKOUT ZOOM ON HOVER
========================================= */
.categoriesSwiper {
    overflow: hidden !important;
    padding-top: 10px;
    padding-bottom: 20px;
}
.categoriesSwiper .swiper-slide {
    height: auto;
    display: flex;
}
.categoriesSwiper .brand-card {
    overflow: visible !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}
.categoriesSwiper .brand-card:hover {
    overflow: visible !important;
    z-index: 25 !important;
    transform: translateY(-6px) scale(1.03) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(52, 211, 153, 0.35) !important;
}
.categoriesSwiper .brand-card:hover img,
.categoriesSwiper .brand-card.hover-lift:hover img {
    transform: scale(1.36) translateY(-2px) !important;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45)) !important;
    z-index: 30 !important;
    position: relative;
    pointer-events: none;
}
.categoriesSwiper .brand-card:hover img.blend-logo,
.categoriesSwiper .brand-card.hover-lift:hover img.blend-logo {
    transform: scale(1.36) translateY(-2px) !important;
    filter: none !important;
    mix-blend-mode: multiply !important;
    z-index: 30 !important;
    position: relative;
    pointer-events: none;
}
.categoriesSwiper .brand-card:hover span,
.categoriesSwiper .brand-card.hover-lift:hover span {
    transform: scale(1.30) translateY(-2px) !important;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35) !important;
    z-index: 30 !important;
    position: relative;
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    font-family: "Outfit", sans-serif;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    font-size: 0.9rem; letter-spacing: 1px;
    position: relative; overflow: hidden;
    will-change: transform, box-shadow;
}

.btn-emerald {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.9) 0%, rgba(4, 120, 87, 0.9) 100%);
    color: #ffffff !important; border: none; font-weight: 700;
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-emerald:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(52, 211, 153, 0.5);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important; font-weight: 600;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.1);
}

.btn-flagship {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem !important;
    border-radius: 50px !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.5px;
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
}

.btn-flagship .btn-icon {
    font-size: 1rem;
    transition: color 0.3s ease;
}

.btn-flagship .btn-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    opacity: 0.7;
}

.btn-flagship:hover {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: var(--emerald-bright);
    box-shadow: 0 8px 25px rgba(52, 211, 153, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-flagship:hover .btn-icon,
.btn-flagship:hover .btn-arrow {
    color: var(--emerald-bright);
    opacity: 1;
}

.btn-flagship:hover .btn-arrow {
    transform: translateX(4px) !important;
}

.btn-glass-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-glass-nav:hover {
    background: rgba(52, 211, 153, 0.25) !important;
    border-color: #34d399 !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-glow { animation: pulse-glow 2s infinite; }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
    70% { box-shadow: 0 0 0 15px rgba(52, 211, 153, 0); }
}

/* Carousel Indicators */
.carousel-indicators [data-bs-target] {
    width: 28px; height: 4px; border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.25);
    border: none; transition: all 0.3s ease;
}

.carousel-indicators .active {
    width: 42px; background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

/* =========================================
   CONTACTS & FORMS
========================================= */
.contact-module {
    background: linear-gradient(135deg, rgba(16, 22, 36, 0.72) 0%, rgba(8, 12, 20, 0.82) 100%) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px; padding: 45px 30px; text-align: center; height: 100%;
    transition: var(--transition-smooth);
    will-change: transform, box-shadow;
}

.contact-module:hover {
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-6px) scale(1.01);
}

.icon-wrapper {
    width: 44px; min-width: 44px;
    height: 44px; min-height: 44px;
    flex-shrink: 0; aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.35) 0%, rgba(5, 150, 105, 0.18) 100%);
    backdrop-filter: blur(12px) saturate(190%);
    -webkit-backdrop-filter: blur(12px) saturate(190%);
    border: 1px solid rgba(52, 211, 153, 0.45);
    font-size: 1rem; color: #ffffff;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.icon-wrapper i {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Dedicated Non-Conflicting Contact Badges */
.contact-badge-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.contact-badge-icon i {
    color: #ffffff !important;
}

.contact-badge-icon.badge-square {
    border-radius: 12px;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
}

.contact-badge-whatsapp {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25D366 !important;
    color: #ffffff !important;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

.contact-badge-whatsapp svg,
.contact-badge-whatsapp i {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.contact-link { color: #f8fafc; text-decoration: none; font-weight: 600; transition: color 0.2s; }
.contact-link:hover,
.hover-white:hover {
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.inner-dark-box {
    background: rgba(12, 18, 30, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 14px !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    transform: translateZ(0);
    isolation: isolate;
}

.custom-form {
    background: linear-gradient(135deg, rgba(16, 22, 36, 0.72) 0%, rgba(8, 12, 20, 0.82) 100%) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.14) !important;
    border-radius: 28px; padding: 45px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
}

.custom-form .input-group-text {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px 0 0 12px;
    color: var(--silver-muted);
    padding-left: 15px;
    padding-right: 10px;
}

.custom-form .input-group .form-control {
    border-radius: 0 12px 12px 0 !important;
}

.custom-form .form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    width: 1.1em;
    height: 1.1em;
}

.custom-form .form-check-input:checked {
    background-color: var(--emerald-bright);
    border-color: var(--emerald-bright);
}

.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px; padding: 15px 20px;
    color: #fff; font-family: "Plus Jakarta Sans", sans-serif;
    transition: var(--transition-smooth);
}
.form-control::placeholder { color: #64748b; }
.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--emerald-bright);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
    color: #fff; outline: none;
}
.form-label {
    font-family: "Outfit", sans-serif; font-weight: 600;
    font-size: 0.95rem; color: #e2e8f0; margin-bottom: 8px;
}
.text-link-accent { color: #38bdf8; transition: color 0.2s ease; }
.text-link-accent:hover { color: #7dd3fc; }

/* =========================================
   FLOATING GLASS HUD DOCK
========================================= */
.hud-dock-wrapper {
    position: fixed !important;
    bottom: 24px !important;
    left: 0 !important; right: 0 !important; top: auto !important;
    margin-left: auto !important; margin-right: auto !important;
    width: -webkit-fit-content !important; width: -moz-fit-content !important; width: fit-content !important;
    max-width: calc(100vw - 24px) !important;
    z-index: 10000 !important;
    pointer-events: none;
    display: flex !important; justify-content: center !important; align-items: center !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease !important;
    transform: translateY(0);
    opacity: 1;
}

.hud-dock-wrapper.hud-hidden {
    transform: translateY(calc(100% + 50px)) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.hud-dock {
    pointer-events: all;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 8px 14px;
    margin: 0 auto !important; text-align: center;
    border-radius: 40px;
    background: rgba(8, 14, 24, 0.76) !important;
    backdrop-filter: blur(32px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.34) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(5, 150, 105, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.2) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-dock:hover {
    background: rgba(10, 18, 32, 0.86) !important;
    border-color: rgba(52, 211, 153, 0.5) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(52, 211, 153, 0.28), inset 0 1px 2px rgba(255, 255, 255, 0.28) !important;
}

.hud-item {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 16px; color: #94a3b8; text-decoration: none;
    font-family: "Outfit", sans-serif; font-size: 0.88rem; font-weight: 600;
    border-radius: 30px; background: transparent; border: none;
    cursor: pointer; transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.hud-item i { font-size: 1.05rem; transition: transform 0.25s ease; }
.hud-item:hover { color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.hud-item:hover i { transform: scale(1.15); }

.hud-item.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.45) 0%, rgba(16, 185, 129, 0.2) 100%) !important;
    border: 1px solid rgba(52, 211, 153, 0.5) !important;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.3) !important;
}

.hud-item.active i { color: #ffffff !important; text-shadow: 0 0 10px rgba(255, 255, 255, 0.75); }

.hud-divider { width: 1px; height: 22px; background: rgba(255, 255, 255, 0.15); margin: 0 4px; }

.hud-cta {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff !important; border: none;
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.4);
    animation: hud-pulse 3s infinite ease-in-out;
}

.hud-cta:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 211, 153, 0.6);
}

.hud-cta i { color: #fde047; }

/* =========================================
   ACTION SHEET & PRELOADER
========================================= */
#action-sheet-container { position: relative; z-index: 99999 !important; }

.action-sheet-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(4, 7, 13, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
    z-index: 99998 !important;
}

.action-sheet {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh;
    background: 
        radial-gradient(circle at 18% 12%, rgba(16, 185, 129, 0.32) 0%, transparent 48%),
        radial-gradient(circle at 85% 18%, rgba(6, 182, 212, 0.28) 0%, transparent 48%),
        radial-gradient(circle at 50% 55%, rgba(59, 130, 246, 0.20) 0%, transparent 55%),
        radial-gradient(circle at 82% 85%, rgba(16, 185, 129, 0.22) 0%, transparent 48%),
        linear-gradient(180deg, rgba(8, 14, 25, 0.90) 0%, rgba(4, 7, 14, 0.96) 100%) !important;
    backdrop-filter: blur(40px) saturate(210%);
    -webkit-backdrop-filter: blur(40px) saturate(210%);
    border: none; border-radius: 0;
    padding: 0; z-index: 99999 !important;
    transform: translateY(100%);
    opacity: 0; pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    overflow-y: auto; overflow-x: hidden;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.9);
}

.action-sheet.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}
.action-sheet-overlay.active { opacity: 1; pointer-events: all; }

/* Dialog container inside full-screen action sheet */
.action-sheet-dialog {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    min-height: 100vh;
    padding: 1.75rem 1.5rem 0.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* Centered Main Body Content */
.action-sheet-body {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: auto 0;
    padding: 1.25rem 0;
}

/* Dedicated Action Sheet Footer (Docked Bottom Luxury Bar) */
.action-sheet-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(10, 16, 28, 0.96) 0%, rgba(5, 8, 15, 0.99) 100%) !important;
    backdrop-filter: blur(36px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(36px) saturate(210%) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-bottom: none !important;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.22) !important;
    padding: 1.1rem 1.75rem calc(1.1rem + env(safe-area-inset-bottom, 0px)) 1.75rem !important;
    z-index: 25;
    margin-top: 1.25rem;
}
.action-sheet-footer .d-flex {
    flex-wrap: nowrap !important;
}
.action-sheet-footer .btn {
    white-space: nowrap !important;
}
#as-footer-rapid.d-none,
#as-footer-quote.d-none {
    display: none !important;
}

/* Ambient glow orbs in Action Sheet (Vibrant Glassmorphism Backlight) */
.as-ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(95px);
    pointer-events: none;
    z-index: 1;
}
.as-orb-1 {
    width: 500px; height: 500px;
    top: -80px; right: 5%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.38) 0%, rgba(5, 150, 105, 0.16) 45%, transparent 70%);
    opacity: 0.80;
}
.as-orb-2 {
    width: 550px; height: 550px;
    bottom: -80px; left: -5%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.34) 0%, rgba(59, 130, 246, 0.16) 45%, transparent 70%);
    opacity: 0.80;
}
.as-orb-3 {
    width: 480px; height: 480px;
    top: 36%; left: 24%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.26) 0%, rgba(139, 92, 246, 0.12) 50%, transparent 70%);
    opacity: 0.70;
}

/* =========================================
   ACTION SHEET PREMIUM LUXURY HUD HEADER
========================================= */
.action-sheet-header {
    background: linear-gradient(135deg, rgba(16, 24, 40, 0.85) 0%, rgba(8, 14, 23, 0.94) 100%) !important;
    backdrop-filter: blur(28px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    padding: 1.15rem 1.6rem !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.18) !important;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.85rem;
}

.as-header-inner {
    position: relative;
    z-index: 2;
}

/* Subtle top edge shimmer highlight */
.action-sheet-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
    pointer-events: none;
}

/* Bottom luxury silver accent bar */
.as-header-accent-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.55) 25%, rgba(220, 230, 250, 0.4) 75%, transparent 100%);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.as-header-icon-pill {
    width: 52px;
    height: 52px;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.35) 0%, rgba(5, 150, 105, 0.18) 100%) !important;
    backdrop-filter: blur(12px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(190%) !important;
    border: 1px solid rgba(52, 211, 153, 0.48) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(52, 211, 153, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #ffffff !important;
}
.as-header-icon-pill i {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}
.as-header-icon-pill:hover {
    transform: scale(1.06);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.55) 0%, rgba(5, 150, 105, 0.38) 100%) !important;
    box-shadow: 0 0 32px rgba(52, 211, 153, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}

.as-title-text {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 40%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.as-status-badge {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.02em;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.06);
}

.as-subtitle-text {
    font-size: 0.84rem;
    color: #94a3b8 !important;
    font-weight: 400;
    line-height: 1.4;
    display: inline-block;
}

.pulse-led-sm {
    width: 6px; height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: pulse-glow-led 1.8s infinite;
}

.as-esc-hint {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    font-size: 0.74rem;
}

.as-kbd {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    padding: 2px 7px;
    color: #ffffff;
    font-size: 0.70rem;
    font-family: inherit;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.close-sheet-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #f1f5f9 !important;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    z-index: 10;
}
.close-sheet-btn:hover {
    background: rgba(239, 68, 68, 0.9) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    transform: rotate(90deg) scale(1.08) !important;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.55) !important;
}
.form-select option { background: #0c121d; color: #fff; }

/* AOS Animations */
[data-aos="unfold"] {
    opacity: 0;
    transform: perspective(1400px) rotateX(-28deg) translateY(80px) scale(0.88);
    transform-origin: top center;
    filter: blur(12px);
    transition-property: transform, opacity, filter;
    will-change: transform, opacity, filter;
}

[data-aos="unfold"].aos-animate {
    opacity: 1;
    transform: perspective(1400px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0px);
    transition-duration: 1.1s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card[data-aos="unfold"],
.contact-module[data-aos="unfold"],
.custom-form[data-aos="unfold"] {
    transform: perspective(1000px) rotateX(-20deg) translateY(50px) scale(0.92);
    transform-origin: 50% 0%;
}

.brand-card[data-aos="unfold"].aos-animate,
.contact-module[data-aos="unfold"].aos-animate,
.custom-form[data-aos="unfold"].aos-animate {
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
}

/* Preloader Hero Style (Dual Ring High-Tech Spinner & Executive Typography) */
#preloader {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 50% 50%, #0d1726 0%, #030710 100%);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s ease;
}

#preloader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-hero-card {
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    padding: clamp(3rem, 6vh, 4.4rem) clamp(2.4rem, 6vw, 3.8rem);
    min-height: 420px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    width: clamp(330px, 86vw, 410px);
    position: relative;
    overflow: hidden;
}

.preloader-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(52, 211, 153, 0.10) 0%, transparent 60%);
    pointer-events: none;
}

.preloader-spinner-wrap {
    width: 80px;
    height: 80px;
    position: relative;
    margin: 0 auto 2.2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-spinner-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3.5px solid rgba(255, 255, 255, 0.08);
    border-top: 3.5px solid #34d399;
    border-right: 3.5px solid #06b6d4;
    box-shadow: 0 0 28px rgba(52, 211, 153, 0.5);
    animation: spin-preloader-smooth 1.1s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

@keyframes spin-preloader-smooth {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-spinner-core {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-gear-anim {
    color: #34d399 !important;
    animation: spin-preloader-reverse 6s linear infinite;
    filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.65));
}

@keyframes spin-preloader-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

.preloader-brand-title {
    font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
    font-size: 2.3rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-right: -0.2em;
    line-height: 1;
    text-transform: uppercase;
    color: #ffffff !important;
    text-shadow: 0 0 35px rgba(255, 255, 255, 0.35), 0 4px 20px rgba(0, 0, 0, 0.95);
    margin-bottom: 0.75rem;
}

.preloader-brand-sub {
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
    color: #34d399;
    letter-spacing: 0.38em;
    margin-right: -0.38em;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
    margin-bottom: 0;
}

.preloader-badge-wrap {
    margin-top: 1.85rem;
}

.preloader-micro-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
}

.preloader-bar-wrap {
    width: 160px;
    height: 3.5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    margin-top: 2.2rem;
}

.preloader-bar-fill {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #10b981, #34d399, #06b6d4);
    border-radius: 99px;
    animation: preloader-progress 1.6s ease-in-out infinite alternate;
}

@keyframes preloader-progress {
    0% { transform: translateX(-50%); width: 25%; }
    100% { transform: translateX(250%); width: 45%; }
}

/* Dynamic Animations */
.btn-emerald, .btn-glow { position: relative; animation: btn-breath 3.5s infinite ease-in-out; }
@keyframes btn-breath {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(5, 150, 105, 0.35); }
    50% { transform: scale(1.02); box-shadow: 0 14px 40px rgba(52, 211, 153, 0.55), 0 0 20px rgba(52, 211, 153, 0.3); }
}

.btn-emerald::after, .btn-glass::after {
    content: ''; position: absolute; top: -50%; left: -150%; width: 60%; height: 200%;
    background: linear-gradient(60deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
    transform: rotate(25deg); animation: shimmer-sweep 6s infinite ease-in-out; pointer-events: none;
}
@keyframes shimmer-sweep { 0%, 70% { left: -150%; } 100% { left: 200%; } }

@keyframes icon-float {
    0% { transform: translateY(0px) rotate(0deg); box-shadow: inset 0 0 15px rgba(52, 211, 153, 0.1); }
    100% { transform: translateY(-4px) rotate(2deg); box-shadow: inset 0 0 20px rgba(52, 211, 153, 0.25), 0 8px 20px rgba(52, 211, 153, 0.15); }
}

@keyframes hud-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(5, 150, 105, 0.4); }
    50% { box-shadow: 0 6px 28px rgba(52, 211, 153, 0.75), 0 0 12px rgba(253, 224, 71, 0.4); }
}

.hero-badge { animation: badge-glow 4s infinite alternate ease-in-out; }
@keyframes badge-glow {
    0% { border-color: rgba(52, 211, 153, 0.3); box-shadow: 0 0 10px rgba(52, 211, 153, 0.1); }
    100% { border-color: rgba(52, 211, 153, 0.6); box-shadow: 0 0 20px rgba(52, 211, 153, 0.3); }
}

/* =========================================
   MEDIA QUERIES (Mobile Optimization)
========================================= */

@media (max-width: 991.98px) {
    .brand-card { height: 175px; padding: 20px; }
    .brand-card img { max-width: 90% !important; max-height: 68px !important; }
    .brand-card img.brand-logo-grid-large { max-height: 85px !important; }
    .logo-card-anim { min-height: 250px !important; padding: 3rem !important; }
    .logo-card-anim img { max-width: 250px !important; }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding-top: 24px !important;
        padding-bottom: 28px !important;
    }
    #message.section-padding {
        padding-bottom: 80px !important;
    }
    .glass-card-dark { padding: 1.25rem !important; border-radius: 18px !important; }
    .brand-card { height: 140px !important; padding: 12px 14px !important; border-radius: 16px !important; }
    .brand-card img { max-width: 88% !important; max-height: 52px !important; }
    .brand-card img.brand-logo-grid-large { max-height: 62px !important; }
    .logo-card-anim { min-height: 200px !important; padding: 2rem !important; }
    .logo-card-anim img { max-width: 200px !important; }
    .btn-flagship { font-size: 0.78rem !important; padding: 0.6rem 1rem !important; }
    .btn-glass-nav { width: 36px; height: 36px; font-size: 0.85rem; }

    /* Action Sheet Mobile Optimization: Native luxury bottom sheet feel with balanced vertical distribution */
    .action-sheet-dialog {
        padding: 0.45rem 0.75rem 0.5rem 0.75rem !important;
        min-height: 100vh !important;
        max-width: 100vw !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    .as-sheet-handle {
        padding: 4px 0 6px 0 !important;
    }
    .as-handle-bar {
        display: inline-block !important;
        width: 42px !important;
        height: 4.5px !important;
        background: rgba(255, 255, 255, 0.28) !important;
        border-radius: 99px !important;
    }
    .action-sheet-header {
        padding: 0.65rem 0.85rem !important;
        border-radius: 16px !important;
        margin-bottom: 0.5rem !important;
        background: linear-gradient(135deg, rgba(20, 30, 48, 0.9) 0%, rgba(10, 16, 26, 0.96) 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
    }
    .as-header-inner {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    .as-header-icon-pill {
        width: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
    }
    .as-header-icon-pill i,
    .as-header-icon-pill img {
        font-size: 1rem !important;
        max-height: 20px !important;
        max-width: 26px !important;
    }
    .as-title-text {
        font-size: 1.05rem !important;
    }
    .as-status-badge {
        font-size: 0.70rem !important;
        padding: 0.2rem 0.6rem !important;
        gap: 5px !important;
        letter-spacing: 0.02em !important;
    }
    .pulse-led-sm {
        width: 5px !important;
        height: 5px !important;
        margin-right: 5px !important;
    }
    .close-sheet-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.90rem !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        color: #ffffff !important;
        align-self: center !important;
    }
    .action-sheet-body {
        padding: 0.35rem 0 !important;
        margin: auto 0 !important;
        width: 100% !important;
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    .as-brand-carousel-section {
        padding: 0.6rem 0.75rem 0.45rem 0.75rem !important;
        border-radius: 14px !important;
        margin-bottom: 0.65rem !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .as-carousel-nav {
        display: none !important; /* Touch swipe is primary on mobile */
    }
    .as-brand-card {
        min-height: 60px !important;
        height: 60px !important;
        padding: 6px 8px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    .as-brand-card.active {
        background: linear-gradient(145deg, rgba(52, 211, 153, 0.18) 0%, rgba(16, 185, 129, 0.08) 100%) !important;
        border-color: #34d399 !important;
    }
    .as-card-img-wrap {
        height: 28px !important;
    }
    .as-brand-card img {
        max-height: 24px !important;
        max-width: 80px !important;
    }
    .as-brand-name-tag {
        font-size: 0.70rem !important;
        margin-top: 2px !important;
        line-height: 1 !important;
    }
    .as-brand-card.active::after {
        width: 16px !important;
        height: 16px !important;
        font-size: 0.55rem !important;
        top: 4px !important;
        right: 5px !important;
    }
    .carousel-pagination-wrapper {
        margin-top: 4px !important;
        margin-bottom: 0 !important;
    }
    .carousel-pagination-capsule {
        padding: 2px 6px !important;
        min-height: 10px !important;
        background: rgba(0, 0, 0, 0.3) !important;
    }
    .as-swiper-pagination .swiper-pagination-bullet {
        width: 5px !important;
        height: 5px !important;
    }
    .as-swiper-pagination .swiper-pagination-bullet-active {
        width: 14px !important;
    }
    .as-form-card {
        padding: 1.15rem 1rem !important;
        border-radius: 18px !important;
        background: rgba(18, 26, 42, 0.65) !important;
        backdrop-filter: blur(28px) saturate(200%) !important;
        -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.22) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.85rem !important;
    }
    .as-spotlight-banner,
    .as-form-card .rounded-3.mb-3 {
        padding: 0.55rem 0.75rem !important;
        border-radius: 12px !important;
        margin-bottom: 0 !important;
        overflow: hidden !important;
        position: relative !important;
        width: 100% !important;
    }
    .as-spotlight-logo-box {
        width: 76px !important;
        min-width: 76px !important;
        max-width: 76px !important;
        height: 40px !important;
        padding: 3px 5px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.06) !important;
    }
    .as-spotlight-logo-box img,
    .as-spotlight-img {
        max-height: 100% !important;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
    }
    #as-spotlight-category {
        font-size: 0.65rem !important;
        letter-spacing: 0.03em !important;
    }
    #as-spotlight-name {
        font-size: 0.98rem !important;
        line-height: 1.2 !important;
    }
    .as-btn-site {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        padding: 0 !important;
        border-radius: 9px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        font-size: 0.85rem !important;
    }
    #as-generic-brand-panel {
        margin-bottom: 0 !important;
    }
    #as-generic-brand-panel .form-label {
        font-size: 0.74rem !important;
        margin-bottom: 0.3rem !important;
    }
    #as-brand-select {
        font-size: 0.85rem !important;
        padding: 0.55rem 0.75rem !important;
        border-radius: 10px !important;
    }
    #as-sandvik-panel {
        margin-bottom: 0 !important;
    }
    #as-sandvik-panel .form-label {
        font-size: 0.76rem !important;
        margin-bottom: 0.35rem !important;
    }
    .as-message-group {
        margin-bottom: 0 !important;
    }
    .as-message-group .form-label {
        font-size: 0.74rem !important;
        margin-bottom: 0.3rem !important;
    }
    .as-form-card textarea {
        min-height: 110px !important;
        font-size: 0.86rem !important;
        padding: 0.65rem 0.85rem !important;
        border-radius: 12px !important;
        line-height: 1.4 !important;
        background: rgba(8, 12, 22, 0.65) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
    }
    .as-sandvik-chips,
    .as-sandvik-chips-scroll {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 8px !important;
        padding-top: 2px;
        padding-bottom: 8px !important;
        padding-right: 1.5rem !important;
        margin-bottom: 0;
        scrollbar-width: none;
    }
    .as-sandvik-chips::-webkit-scrollbar,
    .as-sandvik-chips-scroll::-webkit-scrollbar {
        display: none;
    }
    .as-sandvik-chips .as-chip,
    .as-sandvik-chips-scroll .as-chip {
        font-size: 0.84rem !important;
        font-weight: 600 !important;
        padding: 0.55rem 0.95rem !important;
        border-radius: 10px !important;
        min-height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 7px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        color: rgba(248, 250, 252, 0.92) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        transition: all 0.25s ease !important;
    }
    .as-sandvik-chips .as-chip i,
    .as-sandvik-chips-scroll .as-chip i {
        font-size: 0.95rem !important;
    }
    .as-sandvik-chips .as-chip.active,
    .as-sandvik-chips-scroll .as-chip.active {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.32) 0%, rgba(6, 182, 212, 0.22) 100%) !important;
        border-color: rgba(52, 211, 153, 0.85) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
        transform: translateY(-1px) !important;
    }
    .action-sheet-footer {
        position: sticky !important;
        bottom: 0 !important;
        padding: 0.75rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom, 0px)) 0.85rem !important;
        border-radius: 20px 20px 0 0 !important;
        background: rgba(10, 16, 26, 0.97) !important;
        backdrop-filter: blur(32px) saturate(210%) !important;
        -webkit-backdrop-filter: blur(32px) saturate(210%) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
        box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.8) !important;
        margin-top: 0 !important;
        z-index: 50 !important;
    }
    .action-sheet-footer #as-footer-rapid {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .action-sheet-footer .btn {
        flex: 1 1 50% !important;
        padding: 0.65rem 0.85rem !important;
        font-size: 0.82rem !important;
        min-width: 0 !important;
        width: 50% !important;
        height: 46px !important;
        padding: 0 8px !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        border-radius: 9999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        white-space: nowrap !important;
    }
    .as-btn-whatsapp {
        background: rgba(37, 211, 102, 0.16) !important;
        border: 1px solid rgba(37, 211, 102, 0.45) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2) !important;
    }
    .as-btn-whatsapp i {
        color: #25D366 !important;
    }
    .btn-emerald.btn-glow {
        background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
        border: 1px solid rgba(52, 211, 153, 0.5) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 15px rgba(5, 150, 105, 0.35) !important;
    }

    /* Preloader Mobile Vertical Spacing */
    .preloader-hero-card {
        padding: 2.8rem 1.6rem !important;
        min-height: 390px !important;
        width: 88vw !important;
    }
    .preloader-spinner-wrap {
        margin-bottom: 1.8rem !important;
    }
    .preloader-brand-title {
        font-size: 2rem !important;
        margin-bottom: 0.65rem !important;
    }
    .preloader-badge-wrap {
        margin-top: 1.5rem !important;
    }
    .preloader-bar-wrap {
        margin-top: 1.85rem !important;
    }

    /* Perfect vertical centering and breathing room for the whole masthead */
    .masthead {
        padding: 3rem 1rem 4.5rem 1rem !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100dvh;
    }

    .hero-content {
        min-height: 84vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .brand-logo-container {
        padding-bottom: 5px !important;
        margin-bottom: 0.5rem !important;
        gap: 0.85rem !important;
        margin-top: 0 !important;
    }

    .hero-single-badge {
        padding: 0.48rem 1.25rem !important;
        font-size: 0.74rem !important;
        letter-spacing: 0.07em !important;
        white-space: nowrap !important;
        gap: 0.45rem !important;
    }

    .hero-cta-container {
        margin-top: 0.65rem !important;
        margin-bottom: 1.25rem !important;
    }

    .btn-hero-explore {
        padding: 0.58rem 1.45rem !important;
        font-size: 0.78rem !important;
    }

    .hero-sub-badge {
        padding: 0.55rem 1rem !important;
        gap: 0.35rem !important;
        max-width: 92vw;
        width: fit-content !important;
        margin: 0 auto !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 20px !important;

        /* High-contrast frosted glass on mobile */
        background: rgba(10, 16, 28, 0.85) !important;
        backdrop-filter: blur(32px) saturate(200%) !important;
        -webkit-backdrop-filter: blur(32px) saturate(200%) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
        box-shadow: 0 16px 35px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
    }

    .hero-sub-badge .badge-chip {
        padding: 0.22rem 0.65rem !important;
        border-radius: 9999px !important;
        white-space: nowrap;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .hero-sub-badge .badge-chip i {
        display: inline-block !important;
        color: #ffffff !important;
        font-size: 0.74rem !important;
        margin-right: 0.4rem !important;
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    }

    .hero-sub-badge .badge-chip-text {
        font-family: 'Outfit', 'Inter', system-ui, sans-serif !important;
        font-size: 0.76rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.03em !important;
        color: #ffffff !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
        white-space: nowrap;
    }

    .hero-sub-badge .badge-rule-divider {
        display: none !important;
    }

    .logo-canvas-wrapper {
        width: 150px !important;
        height: 150px !important;
        margin-bottom: 0.25rem !important;
    }

    .brand-subtitle-wrapper {
        position: relative;
        margin-top: 4px;
        width: 100%;
        text-align: center;
    }

    .brand-title {
        font-size: 3.5rem !important;
        letter-spacing: 0.16em !important;
        margin-right: -0.16em !important;
        text-align: center !important;
        line-height: 1 !important;
    }

    .brand-subtitle {
        font-size: 1rem !important;
        font-weight: 700 !important;
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        letter-spacing: normal !important;
        padding-left: 0 !important;
        color: rgba(248, 250, 252, 0.85) !important;
    }

    /* Contact Mobile Alignments */
    #contact, #message {
        padding-top: 60px !important;
        padding-bottom: 140px !important;
    }

    .contact-module, .custom-form {
        padding: 1.25rem 1rem !important;
        border-radius: 20px !important;
    }

    .contact-module[data-aos="unfold"],
    .contact-module[data-aos="unfold"].aos-animate {
        transform: none !important; /* Disable 3D perspective to avoid Android GPU compositor clipping */
    }

    .contact-module .icon-wrapper {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        animation: none !important; /* Disable continuous floating on mobile */
    }

    .contact-module h3 {
        font-size: 1.05rem !important;
        line-height: 1.25 !important;
    }

    .inner-dark-box {
        padding: 0.85rem 1rem !important;
        backdrop-filter: none !important; /* Module already has glass filter; nested blur causes Blink drops */
        -webkit-backdrop-filter: none !important;
        background: rgba(12, 18, 30, 0.82) !important;
        transform: translateZ(0);
    }

    .inner-dark-box .d-flex.flex-column {
        min-width: 0 !important;
        width: 100% !important;
    }

    .map-prominent-container,
    .map-prominent-container #safa-contact-map,
    .map-prominent-container iframe {
        min-height: 220px !important;
        height: 220px !important;
    }

    /* Form Mobile Opts */
    .custom-form .form-control,
    .custom-form .form-select {
        font-size: 16px !important; /* Previene zoom iOS */
        padding: 12px 14px !important;
    }

    .custom-form .input-group-text {
        padding-left: 12px !important;
        padding-right: 8px !important;
        font-size: 0.9rem !important;
    }

    .custom-form .form-label {
        font-size: 0.75rem !important;
        margin-bottom: 4px !important;
    }

    .custom-form textarea.form-control {
        min-height: 100px;
    }

    .custom-form .btn-emerald {
        padding: 0.85rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 576px) {
    .brand-title {
        font-size: 2.5rem !important;
        letter-spacing: 0.16em !important;
        margin-right: -0.16em !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    .brand-subtitle {
        font-size: 0.95rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        letter-spacing: 0.35em !important;
        padding-left: 0.35em !important;
    }

    #hero-intro .hero-title { font-size: 2.2rem !important; }
    #hero-intro .hero-subtitle { font-size: 0.95rem !important; }

    /* Hero Sub-Badge — Small Mobile (single-row compact) */
    .hero-badge-container {
        margin-top: 1.1rem !important;
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0 10px;
    }

    .hero-sub-badge {
        flex-direction: column !important;
        gap: 0.3rem !important;
        padding: 0.45rem 0.85rem !important;
        border-radius: 18px !important;
        width: fit-content !important;
        max-width: 94vw;
        margin: 0 auto !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-sub-badge .badge-chip {
        flex: 0 0 auto !important;
        min-width: auto !important;
        justify-content: center !important;
        align-items: center !important;
        display: inline-flex !important;
        padding: 0.18rem 0.5rem !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.09) !important;
        border-radius: 9999px !important;
    }

    .hero-sub-badge .badge-chip i {
        display: inline-block !important;
        font-size: 0.68rem !important;
        margin-right: 0.35rem !important;
        color: #ffffff !important;
    }

    .hero-sub-badge .badge-chip-text {
        font-size: 0.72rem !important;
        letter-spacing: 0.025em !important;
        white-space: nowrap !important;
    }

    .hero-sub-badge .badge-rule-divider {
        display: none !important;
    }

    /* Mobile HUD Dock: Ultra-premium frosted glass and ergonomic touch targets */
    .hud-dock-wrapper {
        bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
        max-width: calc(100vw - 16px) !important;
        width: auto !important;
    }

    .hud-dock {
        padding: 6px 10px !important;
        gap: 4px !important;
        background: rgba(8, 14, 24, 0.85) !important;
        backdrop-filter: blur(36px) saturate(220%) !important;
        -webkit-backdrop-filter: blur(36px) saturate(220%) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.38) !important;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(5, 150, 105, 0.22), inset 0 1px 2px rgba(255, 255, 255, 0.25) !important;
        border-radius: 36px !important;
    }

    .hud-label { display: none !important; }

    .hud-item {
        min-width: 42px !important;
        height: 42px !important;
        padding: 0 10px !important;
        border-radius: 21px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #cbd5e1 !important;
    }

    .hud-item.active {
        color: #ffffff !important;
        background: linear-gradient(135deg, rgba(5, 150, 105, 0.55) 0%, rgba(16, 185, 129, 0.3) 100%) !important;
        border: 1px solid rgba(52, 211, 153, 0.6) !important;
        box-shadow: 0 0 16px rgba(52, 211, 153, 0.4) !important;
    }

    .hud-item i { font-size: 1.12rem !important; }

    .hud-cta {
        padding: 0 12px !important;
        height: 42px !important;
        border-radius: 21px !important;
        gap: 6px !important;
    }

    .hud-cta .hud-cta-text {
        font-size: 0.78rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
    }

    .hud-divider {
        height: 20px !important;
        margin: 0 2px !important;
    }

    .logo-card-anim { min-height: 180px !important; padding: 1.5rem !important; }
    .logo-card-anim img { max-width: 180px !important; }

    .lang-switcher-wrapper {
        top: 14px !important;
        right: 14px !important;
    }

    .btn-lang-item {
        padding: 5px 12px !important;
        font-size: 0.72rem !important;
    }
}

@media (max-width: 400px) {
    .glass-card-dark { padding: 1rem !important; }
    .btn-flagship span { font-size: 0.72rem !important; }
    #hero-intro .hero-title { font-size: 1.9rem !important; }
    .logo-canvas-wrapper { width: 110px !important; height: 110px !important; }

    .brand-title {
        font-size: 2.1rem !important;
        letter-spacing: 0.14em !important;
        margin-right: -0.14em !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    .brand-subtitle {
        font-size: 0.82rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        letter-spacing: 0.28em !important;
        padding-left: 0.28em !important;
    }

    .hud-dock-wrapper {
        bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
        max-width: calc(100vw - 12px) !important;
    }

    .hud-dock {
        padding: 5px 6px !important;
        gap: 2px !important;
    }

    .hud-item {
        min-width: 38px !important;
        height: 38px !important;
        padding: 0 6px !important;
        border-radius: 19px !important;
    }

    .hud-item i { font-size: 1.05rem !important; }

    .hud-cta {
        padding: 0 10px !important;
        height: 38px !important;
        border-radius: 19px !important;
    }

    .hud-cta .hud-cta-text {
        display: none !important;
    }

    .custom-form { padding: 1rem 0.85rem !important; }
}

@media (min-width: 992px) {
    .brand-logo-container { gap: 1.5rem; }
    .logo-canvas-wrapper { width: 160px; height: 160px; }
    .brand-title { font-size: 4.8rem !important; letter-spacing: 0.25em !important; line-height: 0.9 !important; }
    .brand-subtitle { font-size: 1.6rem !important; letter-spacing: 0.42em !important; }
}

@media (min-width: 1400px) {
    .logo-canvas-wrapper { width: 200px; height: 200px; }
    .brand-title { font-size: 5.8rem !important; letter-spacing: 0.28em !important; }
    .brand-subtitle { font-size: 1.95rem !important; letter-spacing: 0.45em !important; }
}

/* =========================================
   ACTION SHEET BIG LOGOS SWIPER CAROUSEL
========================================= */
.as-brand-carousel-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.25rem 1.25rem 0.75rem 1.25rem;
    backdrop-filter: blur(16px);
}
.as-btn-nav {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.as-btn-nav:hover {
    background: #34d399;
    border-color: #34d399;
    color: #06090e;
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.4);
}

.asSwiper {
    width: 100%;
    overflow: hidden;
}
.asSwiper .swiper-slide {
    height: auto;
    display: flex;
}

/* Large Brand Cards inside Action Sheet */
.as-brand-card {
    min-height: 125px;
    height: 125px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    position: relative;
    user-select: none;
}
.as-brand-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(52, 211, 153, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(52, 211, 153, 0.25);
}
.as-brand-card.active {
    background: linear-gradient(145deg, rgba(52, 211, 153, 0.16) 0%, rgba(16, 185, 129, 0.06) 100%) !important;
    border-color: #34d399 !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(52, 211, 153, 0.35) !important;
}
.as-card-img-wrap {
    width: 100%;
    height: 60px;
}
.as-brand-card img {
    max-height: 52px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.9);
    transition: all 0.35s ease;
}
.as-brand-card img.force-invert {
    filter: grayscale(1) invert(1) brightness(2.2) !important;
    mix-blend-mode: screen;
}
.as-brand-card img.no-filter,
.as-spotlight-logo-box img.no-filter,
.brand-card img.no-filter,
img.no-filter {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 0.95 !important;
}
.as-brand-card:hover img.no-filter,
.as-brand-card.active img.no-filter,
.brand-card:hover img.no-filter {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
}
.as-brand-card:hover img,
.as-brand-card.active img {
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(1.08);
}
.as-brand-card:hover img.no-filter,
.as-brand-card.active img.no-filter {
    filter: none !important;
    -webkit-filter: none !important;
}
.as-brand-card.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 0.7rem;
    color: #06090e;
    background: #34d399;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
}

/* Spotlight & Form Cards */
.as-spotlight-banner {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.85rem 1.15rem;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.as-spotlight-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
}
.as-spotlight-logo-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 110px;
    height: 52px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    overflow: hidden;
}
.as-spotlight-logo-box img,
.as-spotlight-img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.3s ease;
    display: block !important;
}
.as-spotlight-logo-box img.force-invert {
    filter: grayscale(1) invert(1) brightness(2.2) !important;
    mix-blend-mode: screen;
}
.as-info-pill-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.as-btn-whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.24) 0%, rgba(18, 140, 70, 0.2) 100%) !important;
    border: 1px solid rgba(37, 211, 102, 0.55) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.as-btn-whatsapp i {
    color: #25D366;
    transition: transform 0.3s ease, color 0.3s ease;
}
.as-btn-whatsapp:hover {
    background: linear-gradient(135deg, #25D366 0%, #1ea952 100%) !important;
    color: #041008 !important;
    border-color: #25D366 !important;
    box-shadow: 0 6px 26px rgba(37, 211, 102, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}
.as-btn-whatsapp:hover i {
    color: #041008 !important;
    transform: scale(1.1);
}

.as-btn-site {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #e2e8f0 !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.as-btn-site:hover {
    background: rgba(56, 189, 248, 0.15) !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
    color: #38bdf8 !important;
    box-shadow: 0 6px 22px rgba(56, 189, 248, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Action sheet primary CTA */
.action-sheet-footer .btn-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: 1px solid rgba(52, 211, 153, 0.6) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.action-sheet-footer .btn-emerald:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%) !important;
    border-color: #34d399 !important;
    box-shadow: 0 6px 28px rgba(16, 185, 129, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px);
}

.as-form-card {
    background: rgba(18, 26, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
}

/* Specialized Sandvik Coromant Interactive Filter Chips & Horizontal Scrollview */
.as-sandvik-chips,
.as-sandvik-chips-scroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    gap: 10px !important;
    padding-top: 4px;
    padding-bottom: 8px;
    margin-bottom: 2px;
}
.as-sandvik-chips::-webkit-scrollbar,
.as-sandvik-chips-scroll::-webkit-scrollbar {
    display: none; /* WebKit */
}

.as-sandvik-chips .as-chip,
.as-sandvik-chips-scroll .as-chip {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(248, 250, 252, 0.92);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.65rem 1.15rem;
    border-radius: 12px !important;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.as-sandvik-chips .as-chip i,
.as-sandvik-chips-scroll .as-chip i {
    font-size: 0.95rem;
}

.as-sandvik-chips .as-chip:hover,
.as-sandvik-chips-scroll .as-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(52, 211, 153, 0.55);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.as-sandvik-chips .as-chip.active,
.as-sandvik-chips-scroll .as-chip.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.32) 0%, rgba(6, 182, 212, 0.22) 100%) !important;
    border-color: rgba(52, 211, 153, 0.85) !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.38), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-1px);
}

/* =========================================
   PREMIUM CAROUSEL POSITION INDICATOR (CAPSULE PILL)
========================================= */
.carousel-pagination-wrapper {
    position: relative;
    z-index: 5;
    margin-top: 1.25rem;
}
.carousel-pagination-capsule {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9999px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}
.brand-pagination,
.categories-pagination,
.as-swiper-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    position: static !important;
    width: auto !important;
    margin: 0 !important;
}
.brand-pagination .swiper-pagination-bullet,
.categories-pagination .swiper-pagination-bullet,
.as-swiper-pagination .swiper-pagination-bullet {
    width: 9px !important;
    height: 6px !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.28) !important;
    opacity: 0.65 !important;
    margin: 0 !important;
    transform: none !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}
.brand-pagination .swiper-pagination-bullet:hover,
.categories-pagination .swiper-pagination-bullet:hover,
.as-swiper-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.65) !important;
    opacity: 1 !important;
    transform: scaleY(1.3) !important;
}
.brand-pagination .swiper-pagination-bullet-active,
.categories-pagination .swiper-pagination-bullet-active,
.as-swiper-pagination .swiper-pagination-bullet-active {
    width: 32px !important;
    height: 6px !important;
    border-radius: 4px !important;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(220,230,250,0.75) 100%) !important;
    opacity: 1 !important;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.45) !important;
    transform: none !important;
}

/* =========================================
   GLASS FOOTER
========================================= */
.glass-footer {
    background: linear-gradient(180deg, rgba(10, 15, 26, 0.88) 0%, rgba(5, 8, 14, 0.98) 100%) !important;
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    position: relative;
    z-index: 10;
}

/* =========================================
   TRAINING & GALLERY STYLES
========================================= */
.bg-dark-glass {
    background: rgba(10, 15, 26, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.training-gallery-item {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(10, 15, 26, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.training-gallery-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 255, 255, 0.08);
}

/* Gallery Frosted Glass Badges & Indicators */
.gallery-frosted-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(18px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.40) !important;
    border-radius: 9999px !important;
    padding: 0.32rem 0.85rem !important;
    color: #ffffff !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
    transition: all 0.3s ease !important;
}

.gallery-frosted-badge i {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9) !important;
}

.gallery-frosted-pill {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
    font-size: 0.78rem;
}

.gallery-frosted-pill i {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8) !important;
}

/* Gallery image heights */
.gallery-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    height: 260px;
    object-fit: cover;
}

.gallery-img-featured {
    height: 380px;
}

.training-gallery-item:hover .gallery-img {
    transform: scale(1.06);
}

/* Mobile gallery: responsive heights for rich cards */
@media (max-width: 767.98px) {
    .gallery-img {
        height: 185px;
    }
    .gallery-img-featured {
        height: 245px;
    }
}

@media (max-width: 575.98px) {
    .gallery-img {
        height: 175px;
    }
    .gallery-img-featured {
        height: 225px;
    }
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 10, 18, 0.05) 0%, rgba(6, 10, 18, 0.45) 35%, rgba(4, 7, 13, 0.95) 100%);
    transition: opacity 0.3s ease, background 0.3s ease;
}

.training-gallery-item:hover .gallery-overlay {
    background: linear-gradient(180deg, rgba(6, 10, 18, 0.02) 0%, rgba(6, 10, 18, 0.35) 30%, rgba(4, 7, 13, 0.97) 100%);
}

.gallery-card-desc {
    display: none !important;
}

@media (min-width: 992px) {
    .gallery-card-desc {
        display: -webkit-box !important;
        color: rgba(226, 232, 240, 0.85);
        font-size: 0.8rem;
        line-height: 1.4;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
        margin-bottom: 0;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Reduced mobile titles for gallery cards */
@media (max-width: 767.98px) {
    .training-gallery-item h4,
    .training-gallery-item h5 {
        font-size: 0.82rem !important;
        margin-bottom: 0 !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        letter-spacing: -0.01em;
    }
    .training-gallery-item .badge,
    .gallery-frosted-badge {
        font-size: 0.68rem !important;
        padding: 0.22rem 0.55rem !important;
    }
    .gallery-overlay > div {
        padding: 0.6rem !important;
    }
    .zoom-indicator span {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.75rem !important;
    }
}

.zoom-indicator span {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(18px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.zoom-indicator span i {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9) !important;
}

.training-gallery-item:hover .zoom-indicator span {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.1);
    color: #ffffff !important;
}

/* GLightbox Dark Glass Theme Overrides */
.glightbox-clean .gslide-description {
    background: rgba(8, 12, 22, 0.96) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-top: 2px solid rgba(255, 255, 255, 0.4) !important;
    padding: 20px 28px !important;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.85) !important;
}

.glightbox-clean .gslide-title {
    color: #ffffff !important;
    font-family: "Outfit", sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 8px !important;
}

.glightbox-clean .gslide-desc {
    color: #e2e8f0 !important;
    font-size: 0.94rem !important;
    line-height: 1.65 !important;
    max-width: 950px !important;
}

.glightbox-clean .gclose,
.glightbox-clean .gprev,
.glightbox-clean .gnext {
    background: rgba(12, 17, 29, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.glightbox-clean .gclose:hover,
.glightbox-clean .gprev:hover,
.glightbox-clean .gnext:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* =========================================
   GSAP ENHANCEMENT SUPPORT STYLES
========================================= */

/* Brand cards: enable 3D transform perspective for magnetic effect */
.brand-card {
    will-change: transform;
    transform-style: preserve-3d;
}

/* ── Logo canvas wrapper ── */
.logo-canvas-wrapper {
    position: relative;
}

/* ── Swiper: premium slide feel ── */
.brandSwiper .swiper-slide,
.categoriesSwiper .swiper-slide {
    transform-origin: center;
    will-change: transform;
}

/* ── Vignette overlay on top/bottom of canvas ── */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 180px;
    background: linear-gradient(to bottom, rgba(7, 9, 14, 0.6) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 180px;
    background: linear-gradient(to top, rgba(7, 9, 14, 0.6) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* ── Swiper active slide highlight ── */
.brandSwiper .swiper-slide-active .brand-card {
    border-color: rgba(52, 211, 153, 0.3) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(52, 211, 153, 0.12) !important;
}

/* ── Premium scroll-reveal base state (for GSAP) ── */
.glass-card-dark,
.flagship-card {
    will-change: transform, opacity;
}

/* ── Glow effect on hovered navigation buttons ── */
.btn-glass-nav:active {
    transform: scale(0.93) !important;
}

/* ── Parallax orb upgrade ── */
@keyframes orb-float {
    0%   { transform: translate(0px, 0px) scale(1); }
    33%  { transform: translate(15px, -20px) scale(1.04); }
    66%  { transform: translate(-10px, 10px) scale(0.97); }
    100% { transform: translate(5px, -5px) scale(1.01); }
}

/* ── Section transition shimmer bar (disabled to remove vertical gap) ── */
.section-padding::after {
    display: none !important;
}

/* ── Swiper navigation button smooth out ── */
.carousel-nav-controls {
    transition: opacity 0.3s ease;
}

.glass-carousel-wrapper:not(:hover) .carousel-nav-controls {
    opacity: 0.6;
}

/* ── Brand card: colored border accent on "active" ── */
.brand-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.0), rgba(56, 189, 248, 0.0)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    transition: background 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.brand-card:hover::before {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.4), rgba(56, 189, 248, 0.2)) border-box;
}

/* =========================================
   LINKEDIN BLUE GLASSMORPHISM SECTION
========================================= */
.linkedin-glass-card {
    background: radial-gradient(120% 180% at 0% 0%, rgba(14, 100, 210, 0.24) 0%, rgba(10, 50, 115, 0.18) 40%, rgba(6, 20, 50, 0.45) 100%) !important;
    backdrop-filter: blur(28px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
    border: 1px solid rgba(96, 165, 250, 0.25) !important;
    border-top: 1px solid rgba(147, 197, 253, 0.5) !important;
    box-shadow: 0 12px 30px rgba(2, 14, 38, 0.55), inset 0 1px 1.5px rgba(255, 255, 255, 0.25), 0 0 25px rgba(10, 102, 194, 0.15) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.linkedin-glass-card:hover {
    border-color: rgba(96, 165, 250, 0.5) !important;
    border-top-color: rgba(191, 219, 254, 0.75) !important;
    box-shadow: 0 16px 40px rgba(2, 18, 50, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 0 35px rgba(10, 102, 194, 0.28) !important;
    transform: translateY(-2px);
}

.linkedin-glass-glow {
    position: absolute;
    top: -40px;
    right: -25px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(14, 118, 168, 0.3) 0%, rgba(10, 102, 194, 0.1) 45%, transparent 70%);
    filter: blur(25px);
    z-index: 0;
}

.linkedin-glass-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #0a66c2 0%, #004182 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 6px 16px rgba(10, 102, 194, 0.4), inset 0 1px 1.5px rgba(255, 255, 255, 0.4) !important;
}

.btn-linkedin-glass {
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.32) 0%, rgba(14, 118, 168, 0.16) 100%) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(96, 165, 250, 0.4) !important;
    border-top: 1px solid rgba(147, 197, 253, 0.7) !important;
    box-shadow: 0 6px 16px rgba(4, 25, 60, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
    transition: all 0.25s ease !important;
}

.btn-linkedin-glass:hover {
    background: linear-gradient(135deg, #0a66c2 0%, #024a9c 100%) !important;
    border-color: rgba(147, 197, 253, 0.95) !important;
    box-shadow: 0 8px 22px rgba(10, 102, 194, 0.55), 0 0 18px rgba(96, 165, 250, 0.4) !important;
    transform: translateY(-1px);
}

/* ── Interactive Contact Map (Light Cartography, Frosted Controls, Emerald Pin) ── */
.map-prominent-container {
    position: relative;
    background: #f1f3f5;
}

#safa-contact-map {
    width: 100%;
    height: 100%;
    min-height: 260px;
    z-index: 1;
}

/* OpenStreetMap Free & Open Tile Styling: Clean light palette, crisp contrast, site integrated */
#safa-contact-map .leaflet-tile-pane {
    filter: grayscale(70%) brightness(108%) contrast(105%);
}

/* Floating Glass Badges */
.map-floating-badge {
    background: rgba(10, 16, 26, 0.80);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-top: 1px solid rgba(255, 255, 255, 0.40);
    border-radius: 9999px;
    padding: 6px 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
}

.badge-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: badgeGlow 1.8s infinite alternate ease-in-out;
}

@keyframes badgeGlow {
    0% { transform: scale(0.9); opacity: 0.75; }
    100% { transform: scale(1.15); opacity: 1; }
}

.btn-map-shortcut {
    background: rgba(10, 16, 26, 0.80);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-top: 1px solid rgba(255, 255, 255, 0.40);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
}

.btn-map-shortcut:hover {
    background: #059669;
    border-color: #34d399;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.45);
}

/* Custom Pulsing S.A.F.A. Emerald Pin */
.safa-custom-marker-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safa-radar-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    margin-left: -24px;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.45);
    animation: safaRadarPulse 2.4s infinite cubic-bezier(0.2, 0.8, 0.4, 1);
    pointer-events: none;
}

@keyframes safaRadarPulse {
    0% { transform: scale(0.3); opacity: 1; }
    75% { transform: scale(1.6); opacity: 0.15; }
    100% { transform: scale(1.85); opacity: 0; }
}

.safa-map-pin {
    position: relative;
    z-index: 2;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: 2.5px solid #ffffff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(5, 150, 105, 0.6);
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}

.safa-map-pin:hover {
    transform: rotate(-45deg) scale(1.14);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 16px rgba(16, 185, 129, 0.8);
}

.safa-map-pin i {
    transform: rotate(45deg);
    color: #ffffff;
    font-size: 15px;
}

/* Glassmorphic Leaflet Popup */
.safa-leaflet-popup .leaflet-popup-content-wrapper {
    background: rgba(11, 17, 28, 0.94) !important;
    backdrop-filter: blur(18px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.20) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55) !important;
    color: #ffffff !important;
    padding: 6px 4px !important;
}

.safa-leaflet-popup .leaflet-popup-content {
    margin: 12px 14px !important;
    line-height: 1.4 !important;
}

.safa-leaflet-popup .leaflet-popup-tip {
    background: rgba(11, 17, 28, 0.94) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.safa-leaflet-popup .leaflet-popup-close-button {
    color: rgba(255, 255, 255, 0.65) !important;
    padding: 8px 10px !important;
    font-size: 16px !important;
}

.safa-leaflet-popup .leaflet-popup-close-button:hover {
    color: #ffffff !important;
}

/* Leaflet Frosted Zoom Controls */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-top: 56px !important;
    margin-right: 14px !important;
}

.leaflet-control-zoom a {
    background: rgba(11, 17, 28, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 30px !important;
    font-size: 16px !important;
    transition: all 0.2s ease !important;
}

.leaflet-control-zoom a:hover {
    background: #059669 !important;
    color: #ffffff !important;
    border-color: #34d399 !important;
}

.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(8px) !important;
    font-size: 10px !important;
    color: #475569 !important;
    padding: 2px 8px !important;
    border-top-left-radius: 6px !important;
}

.leaflet-control-attribution a {
    color: #059669 !important;
    text-decoration: none !important;
}

.leaflet-control-attribution a:hover {
    text-decoration: underline !important;
}
