/* ==========================================================================
   SOCIALHYPE OFFICIAL BRAND DESIGN SYSTEM & CORE STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Typography Local Font Imports */
@font-face {
    font-family: "Glitz";
    src: url("/fonts/glitz/Glitz.woff2") format("woff2"),
         url("/fonts/glitz/Glitz.woff") format("woff"),
         url("/fonts/glitz/Glitz.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Official Colors from BRANDHYPE.pdf */
    --color-primary: #000F9F;       /* Brand Blue */
    --color-secondary: #FF2F1F;     /* Brand Red */
    --color-dark: #000000;          /* Brand Black */
    --color-light: #FFFFFF;         /* Brand White */
    --color-light-gray: #F4F4F5;
    --color-gray: #6B7280;
    
    /* Semantic properties */
    --font-heading: 'Glitz', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
    --border-radius-lg: 24px;
    --border-radius-md: 12px;
}

/* ==========================================================================
   PRELOADER ANIMATION
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

#preloader.fade-out {
    transform: translateY(-100%);
}

.preloader-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    width: 90px;
    height: 90px;
    animation: preloaderSpin 2s linear infinite;
    filter: drop-shadow(0 0 15px rgba(255, 47, 31, 0.5));
}

@keyframes preloaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   CSS RESET & CORE LAYOUT
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-light);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    /* Safe area: prevent content from being hidden behind mobile browser bottom bar */
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--color-light);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border: 3px solid var(--color-light);
    border-radius: 99px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: normal;
    text-transform: uppercase;
}

p {
    font-size: 1.05rem;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ==========================================================================
   HEADER & NAVIGATION (BRUTALIST HIGH-CONTRAST)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 5%;
    z-index: 1000;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 16px 5%;
    box-shadow: 0 10px 30px rgba(0, 15, 159, 0.2);
    border-bottom: 2px solid var(--color-secondary);
}

.header__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
    transition: var(--transition-smooth);
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav__link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-light);
    position: relative;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-secondary);
    transition: var(--transition-smooth);
}

.nav__link:hover {
    color: var(--color-secondary);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link.active {
    color: var(--color-light) !important;
}

/* Premium Brutalist Button */
.btn-premium {
    font-family: var(--font-body);
    background-color: var(--color-secondary);
    color: var(--color-light) !important;
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid var(--color-secondary);
    position: relative;
    display: inline-block;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-fast);
}

.btn-premium span {
    position: relative;
    z-index: 3;
    display: inline-block;
    transition: var(--transition-smooth);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    transform: translateY(100%);
    transition: var(--transition-smooth);
    z-index: 2;
}

.btn-premium:hover {
    color: var(--color-primary) !important;
    border-color: var(--color-light);
    box-shadow: 4px 4px 0px var(--color-dark);
    transform: translate(-2px, -2px);
}

.btn-premium:hover::before {
    transform: translateY(0);
}

.header .btn-premium {
    background-color: var(--color-light);
    color: var(--color-primary) !important;
    border-color: var(--color-light);
}

.header .btn-premium::before {
    background-color: var(--color-secondary);
}

.header .btn-premium:hover {
    color: var(--color-light) !important;
    border-color: var(--color-secondary);
    box-shadow: 4px 4px 0px var(--color-dark);
}

/* Hamburger for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 2000;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-dark);
    transition: var(--transition-smooth);
}

.hamburger span {
    background-color: var(--color-light);
}

.hamburger.active span {
    background-color: var(--color-light) !important;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-primary);
    z-index: 1500;
    padding: 120px 40px 60px;
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 40px;
    border-left: 3px solid var(--color-secondary);
    box-shadow: -20px 0 50px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav__link {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-light);
    text-transform: uppercase;
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
    color: var(--color-secondary);
    padding-left: 12px;
}

.mobile-nav__contact {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav__contact p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.mobile-nav__contact a {
    color: var(--color-light);
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 1400;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ==========================================================================
   HERO / LANDING PAGE
   ========================================================================== */
.hero {
    min-height: 100vh;
    /* Use dvh for mobile browsers that have dynamic toolbars */
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background-color: var(--color-primary) !important; /* Bold solid blue background */
    color: var(--color-light) !important;
    position: relative;
    padding-top: 100px;
    padding-bottom: env(safe-area-inset-bottom, 20px);
    overflow: hidden;
    width: 100%;
}

/* Giant background asterisk symbol watermark */
.hero__watermark {
    position: absolute;
    width: 70vw;
    height: 70vw;
    max-width: 900px;
    max-height: 900px;
    right: -15%;
    bottom: -15%;
    opacity: 0.08;
    pointer-events: none;
    transform-origin: center;
    animation: rotateSlow 60s linear infinite;
}

@keyframes rotateSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 5;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 47, 31, 0.1);
    border: 2px solid var(--color-secondary);
    padding: 8px 18px;
    border-radius: var(--border-radius-md);
    margin-bottom: 30px;
}

.hero__badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    box-shadow: 0 0 12px var(--color-secondary);
}

.hero__badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-light);
}

.hero__title {
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    line-height: 1.05;
    color: var(--color-light);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero__title span {
    color: var(--color-secondary);
}

.hero__desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 620px;
}

.hero__ctas {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Secondary Button with Arrow */
.btn-secondary {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-light);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding: 10px 0;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    color: var(--color-secondary);
}

.btn-secondary:hover::after {
    width: 100%;
}

.btn-secondary span {
    transition: var(--transition-smooth);
}

.btn-secondary:hover span {
    transform: translateX(8px);
}

/* ==========================================================================
   HERO LOGO SHOWCASE & ANIMATED SIGNALS
   ========================================================================== */
.hero-logo-showcase {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background glowing orbs that float and morph */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    mix-blend-mode: screen;
    pointer-events: none;
}

.glow-orb-1 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, var(--color-secondary) 0%, rgba(255, 47, 31, 0) 70%);
    top: 10%;
    left: 10%;
    animation: floatOrb1 10s ease-in-out infinite alternate;
}

.glow-orb-2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--color-primary) 0%, rgba(0, 15, 159, 0) 70%);
    bottom: 10%;
    right: 5%;
    animation: floatOrb2 14s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.15); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 40px) scale(0.9); }
}

/* Clean Animated Hero Logo (No Card) */
.hero-logo-interactive {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    height: 320px;
    animation: heroLogoFloat 6s ease-in-out infinite;
    cursor: pointer;
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-16px) scale(1.03); }
}

/* Futuristic fine dashed orbit ring around the asterisk */
.hero-logo-orbit {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1.5px dashed rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: spinOrbit 45s linear infinite;
    pointer-events: none;
    transition: border-color 0.4s ease;
}

@keyframes spinOrbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-main-asterisk {
    width: 180px;
    height: 180px;
    filter: drop-shadow(0 15px 40px rgba(255, 47, 31, 0.65));
    animation: rotateLogoInfinite 30s linear infinite;
    transition: filter 0.4s ease, transform 0.4s ease;
}

.hero-logo-interactive:hover .hero-main-asterisk {
    filter: drop-shadow(0 0 70px rgba(255, 47, 31, 0.95));
    transform: scale(1.08) rotate(15deg);
}

.hero-logo-interactive:hover .hero-logo-orbit {
    border-color: rgba(255, 47, 31, 0.45);
}

@keyframes rotateLogoInfinite {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   MODERN SECTION SEPARATORS
   ========================================================================== */
.marquee-divider {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 16px 0;
    border-top: 3px solid var(--color-dark);
    border-bottom: 3px solid var(--color-dark);
    z-index: 10;
    box-sizing: border-box;
}

.marquee-red {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

.marquee-black {
    background-color: var(--color-dark);
    color: var(--color-light);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.marquee-track {
    display: inline-block;
    animation: tickerLoop 30s linear infinite;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.marquee-track span {
    display: inline-block;
    padding-right: 2rem;
}

@keyframes tickerLoop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Minimalist Tech Divider */
.tech-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 5%;
    gap: 20px;
    background-color: var(--color-light);
    box-sizing: border-box;
}

.tech-divider--dark {
    background-color: transparent;
}

.tech-divider__line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.15) 70%, transparent);
}

.tech-divider--dark .tech-divider__line {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.15) 70%, transparent);
}

.tech-divider__label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.03);
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.tech-divider--dark .tech-divider__label {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-divider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    box-shadow: 0 0 10px var(--color-secondary);
    animation: blink-light 1s infinite alternate;
}

.tech-divider__text {
    font-family: var(--font-mono), monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 0.12em;
}

.tech-divider--dark .tech-divider__text {
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   STATS SECTION WITH INLINE VIDEO BACKGROUND
   ========================================================================== */
.stats-video-section {
    position: relative;
    overflow: hidden;
    background-color: #050515 !important;
    border-top: 3px solid var(--color-dark);
    border-bottom: 3px solid var(--color-dark);
}

.stats-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.stats-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
}

.stats-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 5, 21, 0.65) 0%, rgba(5, 5, 21, 0.25) 50%, rgba(5, 5, 21, 0.72) 100%);
    z-index: 1;
}

/* Dark Theme Stat Cards Override - Sleek Glassmorphism */
.stats-video-section .stat-card {
    background: rgba(10, 10, 26, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 35px 25px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease,
                background-color 0.4s ease;
}

.stats-video-section .stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 47, 31, 0.4);
    box-shadow: 0 25px 50px rgba(255, 47, 31, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 26, 0.75);
}

.stats-video-section .stat-card__number {
    color: var(--color-light);
    font-size: clamp(2.4rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.stats-video-section .stat-card__label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

/* ==========================================================================
   DOM PHYSICS PILLS & CAPSLUES STYLING
   ========================================================================== */
#physics-dom-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;   /* pills spawn above the box, wrapper clips them */
    pointer-events: none;
    z-index: 5;
}

.physics-pill {
    position: absolute;
    left: 0;
    top: 0;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 50px;
    white-space: nowrap;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    box-shadow: 4px 4px 0px var(--color-dark);
    border: 2.5px solid var(--color-dark);
    pointer-events: none; /* drag handled by canvas above */
}

.physics-pill span {
    color: var(--color-secondary);
    margin-left: 4px;
    display: inline-block;
}

.physics-pill:active {
    cursor: grabbing;
    box-shadow: 2px 2px 0px var(--color-dark);
}

/* Color palettes matching Brutalist styles */
.pill-red {
    background-color: var(--color-secondary);
    color: var(--color-light);
    border-color: var(--color-dark);
}
.pill-red span {
    color: var(--color-light);
}

.pill-dark {
    background-color: var(--color-dark);
    color: var(--color-light);
    border-color: rgba(255, 255, 255, 0.15);
}

.pill-blue {
    background-color: var(--color-primary);
    color: var(--color-light);
    border-color: var(--color-dark);
}

.pill-green {
    background-color: #0c160b;
    color: #39FF14;
    border-color: #39FF14;
}

.pill-purple {
    background-color: #5A189A;
    color: var(--color-light);
    border-color: var(--color-dark);
}

.pill-yellow {
    background-color: #FF9F1C;
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.pill-teal {
    background-color: #2A9D8F;
    color: var(--color-light);
    border-color: var(--color-dark);
}

.pill-pink {
    background-color: #11000b;
    color: #FF007F;
    border-color: #FF007F;
}

.pill-light {
    background-color: var(--color-light);
    color: var(--color-dark);
    border-color: var(--color-dark);
}

/* ==========================================================================
   METAS / STATS SECTION (NEO-BRUTALIST CARDS)
   ========================================================================== */
.section {
    padding: 100px 5%;
    position: relative;
}

.section-spacing {
    max-width: 1400px;
    margin: 0 auto;
}

.section-light-gray {
    background-color: var(--color-light-gray);
}

.section-dark {
    background-color: var(--color-dark);
    color: var(--color-light);
}

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

.glowing-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.bg-brand-primary {
    background-color: var(--color-secondary);
}

.section-header {
    margin-bottom: 60px;
    max-width: 800px;
}

.section-header span {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-secondary);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--color-primary);
    line-height: 1.1;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.stat-card {
    background-color: var(--color-light);
    border: 3px solid var(--color-dark);
    border-radius: var(--border-radius-md);
    padding: 35px 25px;
    text-align: center;
    box-shadow: 6px 6px 0px var(--color-primary);
    transition: box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    flex: 1 1 220px;
    max-width: 280px;
}

.stat-card.hover-active {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0px var(--color-secondary);
}

.stat-card__number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    color: var(--color-primary);
    margin-bottom: 8px;
    display: block;
}

.stat-card__label {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(0,0,0,0.6);
}

/* ==========================================================================
   BRANDS SHOWCASE — Animated Tag Cloud
   ========================================================================== */
/* ── Animated Wavy Section Divider ────────────────────────────────────────── */
.wavy-separator-container {
    position: relative;
    width: 100%;
    height: 70px;
    background-color: var(--color-dark); /* matches black background of strips above */
    overflow: hidden;
    z-index: 5;
    margin-top: -1px; /* prevent rendering subpixel gaps */
}

.wave-layer {
    position: absolute;
    bottom: -2px; /* overlaps slightly with brands-section to prevent gap */
    left: 0;
    width: 200%;
    height: 100%;
    will-change: transform;
}

.wave-layer svg {
    width: 100%;
    height: 100%;
}

/* Gradients are defined inline in index.html to allow multi-stop transitions */

/* Slide animations for liquid wave effect */
.wave-back {
    animation: waveSlideBack 14s linear infinite;
}

.wave-front {
    animation: waveSlideFront 9s linear infinite;
}

@keyframes waveSlideBack {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-25%, 0, 0); } /* slides exactly 1 wave cycle (600px of 2400px viewBox) */
}

@keyframes waveSlideFront {
    0% { transform: translate3d(-25%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); } /* slides in the opposite direction */
}

.brands-section {
    background: radial-gradient(circle at 60% 50%, #0c0c24 0%, #000000 80%);
    padding: 80px 5% 120px;
    overflow: hidden;
    position: relative;
}

.brands-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.brands-intro .section-header span {
    color: var(--color-secondary);
}

.brands-intro h2 {
    color: var(--color-light);
}

.brands-intro > p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 400px;
    line-height: 1.7;
}

/* ── 3D Isometric Viewport & Wrapper ───────────────────────────────────────── */
.brands-3d-viewport {
    width: 100%;
    overflow: visible;
    perspective: 1200px;
    padding: 20px 0;
}

.brands-3d-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: rotateX(15deg) rotateY(-18deg) rotateZ(3deg) translateZ(0);
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* ── Sliding Track & Rows ─────────────────────────────────────────────────── */
.brands-marquee-row {
    width: 100%;
    overflow: hidden;
    display: flex;
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    padding: 6px 0;
}

.brands-marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
}

/* Row Direction & Speed */
.marquee-left .brands-marquee-track {
    animation: brandsMarqueeLeft 25s linear infinite;
}

.marquee-right .brands-marquee-track {
    animation: brandsMarqueeRight 25s linear infinite;
}

/* Variable animation speeds for organic feel */
.brands-marquee-row:nth-child(2) .brands-marquee-track {
    animation-duration: 30s;
}
.brands-marquee-row:nth-child(3) .brands-marquee-track {
    animation-duration: 20s;
}

@keyframes brandsMarqueeLeft {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes brandsMarqueeRight {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* Hover slows down row movement */
.brands-marquee-row:hover .brands-marquee-track {
    animation-play-state: paused;
}

/* ── Individual Brand Card (Glassmorphism + 3D Hover) ─────────────────────── */
.brand-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 12px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-light);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    cursor: pointer;
    user-select: none;
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.brand-card em {
    font-style: normal;
    color: var(--color-secondary);
    font-size: 1.1em;
}

/* Hover Lift Effect */
.brand-card:hover {
    transform: translate3d(0, -5px, 25px) scale(1.06);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

/* Neon color variants for borders and glows */
.brand-card.pill-red { border-color: rgba(255, 47, 31, 0.35); }
.brand-card.pill-red:hover {
    border-color: rgba(255, 47, 31, 1);
    box-shadow: 0 0 20px rgba(255, 47, 31, 0.55), 0 5px 15px rgba(0,0,0,0.5);
}

.brand-card.pill-blue { border-color: rgba(0, 15, 159, 0.35); }
.brand-card.pill-blue:hover {
    border-color: rgba(0, 15, 159, 1);
    box-shadow: 0 0 20px rgba(0, 15, 159, 0.55), 0 5px 15px rgba(0,0,0,0.5);
}

.brand-card.pill-green {
    border-color: rgba(57, 255, 20, 0.25);
    color: #39FF14;
}
.brand-card.pill-green em { color: #ffffff; }
.brand-card.pill-green:hover {
    border-color: rgba(57, 255, 20, 1);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.55), 0 5px 15px rgba(0,0,0,0.5);
    background: rgba(57, 255, 20, 0.04);
}

.brand-card.pill-purple { border-color: rgba(154, 24, 218, 0.35); }
.brand-card.pill-purple:hover {
    border-color: rgba(154, 24, 218, 1);
    box-shadow: 0 0 20px rgba(154, 24, 218, 0.55), 0 5px 15px rgba(0,0,0,0.5);
}

.brand-card.pill-yellow {
    border-color: rgba(255, 159, 28, 0.35);
    color: #FF9F1C;
}
.brand-card.pill-yellow em { color: #ffffff; }
.brand-card.pill-yellow:hover {
    border-color: rgba(255, 159, 28, 1);
    box-shadow: 0 0 20px rgba(255, 159, 28, 0.55), 0 5px 15px rgba(0,0,0,0.5);
    background: rgba(255, 159, 28, 0.04);
}

.brand-card.pill-teal { border-color: rgba(42, 157, 143, 0.35); }
.brand-card.pill-teal:hover {
    border-color: rgba(42, 157, 143, 1);
    box-shadow: 0 0 20px rgba(42, 157, 143, 0.55), 0 5px 15px rgba(0,0,0,0.5);
}

.brand-card.pill-pink {
    border-color: rgba(255, 0, 127, 0.35);
    color: #FF007F;
}
.brand-card.pill-pink em { color: #ffffff; }
.brand-card.pill-pink:hover {
    border-color: rgba(255, 0, 127, 1);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.55), 0 5px 15px rgba(0,0,0,0.5);
    background: rgba(255, 0, 127, 0.04);
}

.brand-card.pill-dark { border-color: rgba(255, 255, 255, 0.08); }
.brand-card.pill-dark:hover {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25), 0 5px 15px rgba(0,0,0,0.5);
}

.brand-card.pill-light { border-color: rgba(255, 255, 255, 0.45); }
.brand-card.pill-light:hover {
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 5px 15px rgba(0,0,0,0.5);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

/* ==========================================================================
   SERVICES GRID & PREMIUM ILLUSTRATIVE CARDS
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--color-light);
    border: 3px solid var(--color-dark);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    box-shadow: 6px 6px 0px var(--color-primary);
    transition: box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.service-card.hover-active {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translate(-6px, -6px);
    box-shadow: 12px 12px 0px var(--color-secondary);
}

.service-card__number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 25px;
}

.service-card__title {
    font-size: 2.4rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.1;
}

.service-card__desc {
    font-size: 1rem;
    color: rgba(0,0,0,0.7);
    margin-bottom: 30px;
}

.service-card__link {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-card__link span {
    transition: var(--transition-smooth);
}

.service-card:hover .service-card__link span {
    transform: translateX(6px);
}

/* ==========================================================================
   ABOUT US - VERTICAL GALLERY & INFINITE TICKER
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-gallery__item {
    border-radius: var(--border-radius-md);
    border: 3px solid var(--color-dark);
    overflow: hidden;
    height: 300px;
    box-shadow: 6px 6px 0px var(--color-primary);
}

.about-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-gallery__item:nth-child(even) {
    transform: translateY(30px);
}

.about-content span.subtitle {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-secondary);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 12px;
}

.about-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.about-bullets {
    margin: 30px 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-bullets li {
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
}

.about-bullets li::before {
    content: '★';
    color: var(--color-secondary);
    font-size: 1.1rem;
    line-height: 1.4;
    flex-shrink: 0;
}

/* Infinite Brand Ticker */
.logo-slider {
    background-color: var(--color-primary);
    border-top: 3px solid var(--color-dark);
    border-bottom: 3px solid var(--color-dark);
    padding: 30px 0;
    overflow: hidden;
    position: relative;
}

.logo-slider__track {
    display: flex;
    width: calc(280px * 16);
    animation: scrollSlider 25s linear infinite;
}

.logo-slider__item {
    width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-light);
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.logo-slider__item::after {
    content: '*';
    color: var(--color-secondary);
    margin-left: 45px;
    font-size: 2rem;
}

/* ==========================================================================
   CONTACT COMPONENT (NEO-BRUTALIST GLASSMORPHIC)
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 75px;
    align-items: start;
}

.contact-info h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 20px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--color-light-gray);
    border: 3px solid var(--color-dark);
    padding: 24px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: 4px 4px 0px var(--color-primary);
}

.contact-method__icon {
    font-size: 1.8rem;
    color: var(--color-secondary);
}

.contact-method__content h4 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray);
    margin-bottom: 4px;
}

.contact-method__content a,
.contact-method__content p {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
}

.contact-form-container {
    background-color: var(--color-light-gray);
    border: 3px solid var(--color-dark);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: 8px 8px 0px var(--color-primary);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-dark);
    margin-bottom: 8px;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    background-color: var(--color-light);
    border: 3px solid var(--color-dark);
    border-radius: var(--border-radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-dark);
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 4px 4px 0px var(--color-primary);
}

textarea.form-control {
    resize: none;
    height: 140px;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    font-size: 0.75rem;
    color: var(--color-primary);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

select.form-control {
    appearance: auto;
    -webkit-appearance: auto;
}

select.form-control option {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 8px 12px;
}

/* Fix select dropdown in dark backgrounds (contact form) */
.contact-form select.form-control option,
select.form-control option {
    background-color: #000F9F;
    color: #fff;
}

/* ==========================================================================
   BRUTALIST CALL TO ACTION (CTA)
   ========================================================================== */
.cta-banner {
    background-color: var(--color-secondary);
    border: 3px solid var(--color-dark);
    border-radius: var(--border-radius-lg);
    padding: 80px 40px;
    text-align: center;
    box-shadow: 10px 10px 0px var(--color-primary);
    position: relative;
}

.cta-banner h2 {
    color: var(--color-light);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 20px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 40px;
}

.cta-banner .btn-premium {
    background-color: var(--color-light);
    color: var(--color-primary) !important;
    border-color: var(--color-light);
    box-shadow: 4px 4px 0px var(--color-dark);
}

.cta-banner .btn-premium::before {
    background-color: var(--color-primary);
}

.cta-banner .btn-premium:hover {
    color: var(--color-light) !important;
    border-color: var(--color-primary);
    box-shadow: 4px 4px 0px var(--color-dark);
}

/* ==========================================================================
   FOOTER (BRUTALIST DESIGN)
   ========================================================================== */
.footer {
    background-color: var(--color-light);
    color: rgba(0, 0, 0, 0.65);
    padding: 90px 5% 40px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    border-top: 3.5px solid var(--color-dark);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand img {
    height: 40px;
    align-self: flex-start;
    filter: brightness(0); /* Inverts white logo to black for light footer */
}

.footer-brand p {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.95rem;
}

.footer-brand a[href^="mailto:"] {
    color: var(--color-dark) !important;
}

.footer-brand a[href^="mailto:"]:hover {
    color: var(--color-secondary) !important;
}

.footer-links-col h4,
.footer-newsletter h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-dark);
    letter-spacing: 0.1em;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(0, 0, 0, 0.65);
}

.footer-links a:hover {
    color: var(--color-secondary);
    padding-left: 6px;
}

.footer-newsletter p {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form .form-control {
    background-color: var(--color-light-gray);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: var(--color-dark);
}

.newsletter-form .form-control:focus {
    border-color: var(--color-secondary);
    background-color: #ffffff;
}

.newsletter-form button {
    background-color: var(--color-secondary);
    color: var(--color-light);
    border: 3px solid var(--color-secondary);
    border-radius: var(--border-radius-md);
    padding: 0 25px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
    border-color: var(--color-dark);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.5);
}

.footer-legal-links a {
    margin-left: 20px;
    color: rgba(0, 0, 0, 0.6);
}

.footer-legal-links a:hover {
    color: var(--color-dark);
}

/* ── Dark Footer Variant (for Index page) ─────────────────────────────────── */
.footer-dark {
    background-color: var(--color-dark) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    border-top: 3px solid var(--color-secondary) !important;
}

.footer-dark .footer-brand img {
    filter: none !important; /* Keep original white logo */
}

.footer-dark .footer-brand p {
    color: rgba(255, 255, 255, 0.65) !important;
}

.footer-dark .footer-brand a[href^="mailto:"] {
    color: var(--color-light) !important;
}
.footer-dark .footer-brand a[href^="mailto:"]:hover {
    color: var(--color-secondary) !important;
}

.footer-dark .footer-links-col h4,
.footer-dark .footer-newsletter h4 {
    color: var(--color-light) !important;
}

.footer-dark .footer-links a {
    color: rgba(255, 255, 255, 0.7) !important;
}
.footer-dark .footer-links a:hover {
    color: var(--color-secondary) !important;
}

.footer-dark .footer-newsletter p {
    color: rgba(255, 255, 255, 0.65) !important;
}

.footer-dark .newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: var(--color-light) !important;
}

.footer-dark .newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.footer-dark .newsletter-form button {
    background-color: var(--color-secondary) !important;
    color: var(--color-light) !important;
    border: 3px solid var(--color-secondary) !important;
}

.footer-dark .newsletter-form button:hover {
    background-color: var(--color-light) !important;
    color: var(--color-primary) !important;
    border-color: var(--color-light) !important;
}

.footer-dark .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.footer-dark .footer-legal-links a {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-dark .footer-legal-links a:hover {
    color: var(--color-light) !important;
}

/* ==========================================================================
   PAGE HEADERS & COMPLIANCE TEXTS
   ========================================================================== */
.page-header {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 180px 5% 90px;
    border-bottom: 3px solid var(--color-secondary);
    position: relative;
}

.page-header h1 {
    font-size: clamp(3rem, 6vw, 4.8rem);
    margin-bottom: 15px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    max-width: 650px;
}

.legal-content {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 5%;
}

.legal-content h3 {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin: 40px 0 15px;
}

.legal-content p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   KEYFRAME TRANSITIONS
   ========================================================================== */
@keyframes scrollSlider {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-280px * 8)); }
}

@keyframes bounceHorizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

/* ==========================================================================
   SERVICE STRIPS — Modern editorial rows with interactive dark bg
   ========================================================================== */

/* ── Section wrapper ──────────────────────────────────────────────────────── */
.service-strips-section {
    background-color: var(--color-dark);
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Dot-grid background texture */
.service-strips-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* Animated ambient orbs */
.service-strips-section::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,47,31,0.06) 0%, transparent 65%);
    top: -200px;
    right: -200px;
    pointer-events: none;
    animation: driftOrb 14s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes driftOrb {
    0%   { transform: translate(0,0) scale(1); }
    50%  { transform: translate(-60px, 80px) scale(1.15); }
    100% { transform: translate(40px, -40px) scale(0.9); }
}

/* Cursor glow element (driven by JS) */
.strips-cursor-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,47,31,0.10) 0%, transparent 65%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease, left 0.12s linear, top 0.12s linear;
}
.service-strips-section:hover .strips-cursor-glow {
    opacity: 1;
}

/* Header inside dark section */
.service-strips-section .section-header {
    padding: 50px 5% 0;
    position: relative;
    z-index: 2;
}
.service-strips-section .section-header span { color: var(--color-secondary); }
.service-strips-section .section-header h2  { color: var(--color-light); }
.service-strips-section .tech-divider__text,
.service-strips-section .tech-divider__dot  { color: rgba(255,255,255,0.45); }
.service-strips-section .tech-divider__line { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12) 30%, rgba(255,255,255,0.12) 70%, transparent); }

/* ── Strips container ─────────────────────────────────────────────────────── */
.service-strips {
    display: flex;
    flex-direction: column;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

/* ── Single strip ─────────────────────────────────────────────────────────── */
.service-strip {
    position: relative;
    display: flex;
    align-items: center;
    height: 110px;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
    cursor: pointer;
    transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.4s ease;
}
.service-strip:last-child { border-bottom: none !important; }
.service-strip:hover      { height: 185px; background-color: rgba(255,255,255,0.018); }

/* Red accent bar (left edge, grows on hover) */
.service-strip::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 3px;
    height: 100%;
    background: var(--color-secondary);
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 4;
}
.service-strip:hover::before { transform: scaleY(1); }

/* ── Background image — clips in from right on hover ─────────────────────── */
.service-strip__bg {
    position: absolute;
    top: 0; right: 0;
    width: 45%;
    height: 100%;
    z-index: 1;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-strip:hover .service-strip__bg {
    clip-path: inset(0 0% 0 0);
}

.service-strip__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-dark) 0%, rgba(5,5,21,0.1) 60%);
    z-index: 1;
}
.service-strip__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.75) saturate(1.1);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-strip:hover .service-strip__bg img { transform: scale(1.06); }

/* ── Foreground content ───────────────────────────────────────────────────── */
.service-strip__content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    padding: 0 5%;
}

/* Large watermark number */
.service-strip__num {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    min-width: 90px;
    text-align: right;
    letter-spacing: -0.04em;
    transition: color 0.4s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    flex-shrink: 0;
}
.service-strip:hover .service-strip__num {
    color: rgba(255,47,31,0.18);
    transform: scale(1.08) translateX(6px);
}

/* Text block */
.service-strip__text {
    flex: 1;
    min-width: 0;
}
.service-strip__label {
    display: block;
    font-family: var(--font-mono), monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-secondary);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease 0.05s, transform 0.4s ease 0.05s;
    margin-bottom: 4px;
}
.service-strip:hover .service-strip__label {
    opacity: 1;
    transform: translateY(0);
}
.service-strip__text h3 {
    font-size: clamp(1.35rem, 2.8vw, 2.1rem);
    font-weight: 900;
    color: var(--color-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1;
    margin: 0;
    transition: color 0.3s ease, letter-spacing 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-strip:hover .service-strip__text h3 {
    color: #fff;
    letter-spacing: 0.06em;
}
.service-strip__text p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.55;
    margin: 0;
    max-width: 480px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
                opacity    0.4s ease 0.1s,
                margin-top 0.45s ease;
}
.service-strip:hover .service-strip__text p {
    max-height: 80px;
    opacity: 1;
    margin-top: 9px;
}

/* CTA pill */
.service-strip__arrow {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-dark);
    background: var(--color-secondary);
    padding: 9px 20px;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    opacity: 0;
    transform: translateX(20px) scale(0.9);
    transition: opacity 0.35s ease 0.08s,
                transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
                background 0.2s ease;
}
.service-strip:hover .service-strip__arrow {
    opacity: 1;
    transform: translateX(0) scale(1);
}
.service-strip__arrow:hover {
    background: #fff;
}


/* Service Card Image Container */
.service-card__img-container {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 25px;
    border: 3px solid var(--color-dark);
    position: relative;
    background-color: var(--color-primary);
}

.service-card__img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-card__img-container img {
    transform: scale(1.06);
}

/* Alert Toast Notification */
.alert-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 20px 30px;
    border-radius: var(--border-radius-md);
    border: 3px solid var(--color-secondary);
    box-shadow: 6px 6px 0px var(--color-dark);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 9000;
    transform: translateX(150%);
    transition: var(--transition-smooth);
}

.alert-toast.show {
    transform: translateX(0);
}

/* Preloader custom transitions */
#preloader {
    will-change: transform;
}

/* Decorative shapes & floating animations */
.hero__bg-shape {
    position: absolute;
    top: 15%;
    left: 8%;
    width: 180px;
    height: auto;
    opacity: 0.12;
    pointer-events: none;
    animation: floatingSlow 10s ease-in-out infinite;
    z-index: 1;
}

.cta-quote-icon {
    position: absolute;
    width: 150px;
    height: auto;
    opacity: 0.05;
    pointer-events: none;
}

.cta-quote-icon.icon-left {
    top: 10%;
    left: 6%;
    transform: rotate(180deg);
}

.cta-quote-icon.icon-right {
    bottom: 10%;
    right: 6%;
}

@keyframes floatingSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(8deg); }
}/* ==========================================================================
   RESPONSIVE OVERRIDES — COMPLETE MOBILE & TABLET SYSTEM
   ========================================================================== */

/* ── LARGE TABLET (≤1200px) ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-item {
        height: 350px;
    }

    .hero__inner {
        gap: 40px;
    }

    .hero-logo-showcase {
        max-width: 380px;
        height: 380px;
    }

    .hero-logo-interactive {
        width: 260px;
        height: 260px;
    }

    .hero-main-asterisk {
        width: 150px;
        height: 150px;
    }

    .hero-logo-orbit {
        width: 230px;
        height: 230px;
    }

    .contact-grid {
        gap: 50px;
    }

    .brands-layout {
        gap: 40px;
    }

    .about-grid {
        gap: 50px;
    }
}

/* ── TABLET (≤991px) ─────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    /* Header & Navigation */
    .nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }

    .header {
        padding: 18px 5%;
    }
    .header.scrolled {
        padding: 14px 5%;
    }

    /* Hero Section — single column, centered */
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero__badge {
        justify-content: center;
    }
    .hero__desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero__ctas {
        justify-content: center;
    }

    /* Hero Logo — smaller but visible on tablet */
    .hero__media {
        display: flex;
        justify-content: center;
    }
    .hero-logo-showcase {
        max-width: 300px;
        height: 300px;
    }
    .hero-logo-interactive {
        width: 220px;
        height: 220px;
    }
    .hero-main-asterisk {
        width: 120px;
        height: 120px;
    }
    .hero-logo-orbit {
        width: 190px;
        height: 190px;
    }

    /* Brands Section */
    .brands-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .brands-intro {
        text-align: center;
    }
    .brands-intro > p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .brands-intro .btn-premium {
        display: inline-block;
    }
    .brands-3d-wrapper {
        transform: rotateX(10deg) rotateY(-10deg) rotateZ(2deg);
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .about-gallery__item {
        height: 220px;
    }
    .about-gallery__item:nth-child(even) {
        transform: translateY(20px);
    }
    .about-content {
        text-align: left;
    }

    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Page Headers */
    .page-header {
        padding: 150px 5% 70px;
    }
    .page-header h1 {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
    }

    /* Service Cards */
    .service-card {
        padding: 40px 30px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }

    /* Stats Cards */
    .stats-grid {
        gap: 20px;
    }
    .stat-card {
        flex: 1 1 200px;
        max-width: 100%;
    }
}

/* ── MOBILE LANDSCAPE / SMALL TABLET (≤768px) ───────────────────────────── */
@media (max-width: 768px) {
    /* General Section Spacing */
    .section {
        padding: 60px 5%;
    }
    .section-spacing {
        padding: 0;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 40px;
    }
    .section-header h2 {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
    }

    /* Hero adjustments */
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    .hero__title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 20px;
    }
    .hero__desc {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }
    .hero__badge {
        margin-bottom: 20px;
    }
    .hero__badge-text {
        font-size: 0.75rem;
    }
    .hero__media {
        display: none;
    }
    .hero__watermark {
        width: 90vw;
        height: 90vw;
        right: -30%;
        bottom: -20%;
        opacity: 0.05;
    }
    .hero__bg-shape {
        width: 120px;
        opacity: 0.08;
    }

    /* Preloader */
    .preloader-logo {
        width: 65px;
        height: 65px;
    }

    /* Mobile Sidebar Nav */
    .mobile-nav {
        max-width: 100%;
        padding: 100px 30px 50px;
        gap: 30px;
    }
    .mobile-nav__link {
        font-size: 1.8rem;
    }
    .mobile-nav__contact a {
        font-size: 1.05rem;
    }

    /* Buttons — larger touch targets */
    .btn-premium {
        padding: 14px 24px;
        font-size: 0.85rem;
    }
    .btn-secondary {
        font-size: 0.95rem;
    }

    /* Stats Grid — 2-column layout */
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .stat-card {
        flex: none;
        max-width: 100%;
        padding: 24px 16px;
        border-radius: 16px;
    }
    .stat-card__number {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
    }
    .stat-card__label {
        font-size: 0.82rem;
    }
    /* Center last card if odd count */
    .stats-grid .stat-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 280px;
        justify-self: center;
    }

    /* Stats Video Section Dark Card Overrides */
    .stats-video-section .stat-card {
        padding: 24px 16px;
        border-radius: 16px;
    }
    .stats-video-section .stat-card__number {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
    }
    .stats-video-section .stat-card__label {
        font-size: 0.82rem;
    }

    /* Tech Dividers */
    .tech-divider {
        padding: 16px 4% !important;
    }
    .tech-divider__text {
        font-size: 0.65rem;
        letter-spacing: 0.08em;
    }

    /* Marquee Dividers */
    .marquee-divider {
        padding: 12px 0;
    }
    .marquee-track {
        font-size: 0.85rem;
    }

    /* Brand 3D Carousel — flat on mobile */
    .brands-section {
        padding: 60px 5% 80px;
    }
    .brands-3d-viewport {
        overflow: hidden !important;
        padding: 10px 0;
    }
    .brands-3d-wrapper {
        transform: none !important;
        gap: 10px;
    }
    .brand-card {
        padding: 10px 16px !important;
        font-size: 0.78rem !important;
        transform: none !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
        border-radius: 10px !important;
    }
    .brand-card:hover {
        transform: translateY(-2px) scale(1.03) !important;
    }
    .brand-card em {
        font-size: 1em !important;
    }

    /* Service Strips — touch-friendly with scroll activation */
    .service-strip {
        height: auto !important;
        min-height: 90px;
        padding: 20px 5% !important;
        transition: background-color 0.4s ease !important;
    }
    .service-strip:hover {
        height: auto !important;
    }
    .service-strip.is-active {
        min-height: 180px;
        background-color: rgba(255, 255, 255, 0.025) !important;
    }
    .service-strip__bg {
        width: 100% !important;
        clip-path: none !important;
        opacity: 0.08 !important;
        transition: opacity 0.5s ease !important;
    }
    .service-strip:hover .service-strip__bg {
        clip-path: none !important;
    }
    .service-strip.is-active .service-strip__bg {
        opacity: 0.2 !important;
    }
    .service-strip__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .service-strip__num {
        display: none !important;
    }
    .service-strip__text h3 {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }
    .service-strip__label {
        opacity: 0 !important;
        transform: translateY(6px) !important;
        transition: opacity 0.35s ease, transform 0.4s ease !important;
        font-size: 0.62rem;
    }
    .service-strip.is-active .service-strip__label {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .service-strip__text p {
        max-height: 0 !important;
        opacity: 0 !important;
        margin-top: 0 !important;
        font-size: 0.82rem;
        transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                    opacity 0.4s ease !important;
    }
    .service-strip.is-active .service-strip__text p {
        max-height: 100px !important;
        opacity: 1 !important;
        margin-top: 8px !important;
    }
    .service-strip__arrow {
        opacity: 0 !important;
        transform: translateX(15px) scale(0.9) !important;
        margin-top: 10px;
        margin-left: 0;
        align-self: flex-start;
        font-size: 0.72rem;
        padding: 8px 16px;
        transition: opacity 0.35s ease,
                    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    .service-strip.is-active .service-strip__arrow {
        opacity: 1 !important;
        transform: translateX(0) scale(1) !important;
    }
    .service-strip::before {
        width: 3px;
    }
    .strips-cursor-glow {
        display: none;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .service-card {
        padding: 35px 25px;
        box-shadow: 4px 4px 0px var(--color-primary);
    }
    .service-card__title {
        font-size: 1.8rem;
    }
    .service-card__number {
        font-size: 1.8rem;
        margin-bottom: 18px;
    }

    /* About Section */
    .about-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .about-gallery__item {
        height: 180px;
        box-shadow: 4px 4px 0px var(--color-primary);
    }
    .about-gallery__item:nth-child(even) {
        transform: translateY(16px);
    }
    .about-content h2 {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .about-content p {
        font-size: 1rem;
    }

    /* Contact Section */
    .contact-form-container {
        padding: 30px 20px;
        box-shadow: 5px 5px 0px var(--color-primary);
    }
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-method {
        padding: 18px 20px;
        box-shadow: 3px 3px 0px var(--color-primary);
    }
    .contact-method__icon {
        font-size: 1.5rem;
    }
    .contact-method__content a,
    .contact-method__content p {
        font-size: 1rem;
    }
    .contact-info h3 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    /* CTA Banner */
    .cta-banner {
        padding: 50px 20px;
        border-radius: 18px;
        box-shadow: 6px 6px 0px var(--color-primary);
    }
    .cta-banner h2 {
        font-size: clamp(1.8rem, 5vw, 3rem);
        margin-bottom: 16px;
    }
    .cta-banner p {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }
    .cta-quote-icon {
        width: 80px;
    }
    .cta-quote-icon.icon-left {
        top: 5%;
        left: 3%;
    }
    .cta-quote-icon.icon-right {
        bottom: 5%;
        right: 3%;
    }

    /* Footer */
    .footer {
        padding: 60px 5% 35px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-brand {
        grid-column: auto;
    }
    .footer-brand img {
        height: 35px;
    }
    .footer-brand p {
        font-size: 0.9rem;
    }
    .footer-links-col h4,
    .footer-newsletter h4 {
        margin-bottom: 16px;
    }
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    .newsletter-form button {
        padding: 14px 25px;
        width: 100%;
    }
    .newsletter-form .form-control {
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding-top: 25px;
    }
    .footer-legal-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }
    .footer-legal-links a {
        margin: 0;
        display: inline-block;
        font-size: 0.8rem;
    }

    /* Page Header */
    .page-header {
        padding: 130px 5% 55px;
    }
    .page-header p {
        font-size: 1.05rem;
    }

    /* Logo Slider */
    .logo-slider {
        padding: 20px 0;
    }
    .logo-slider__item {
        width: 220px;
        font-size: 1.2rem;
    }
    .logo-slider__item::after {
        margin-left: 30px;
        font-size: 1.5rem;
    }

    /* Portfolio Grid */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .portfolio-item {
        height: 280px;
    }

    /* Physics Section */
    .physics-canvas-wrapper {
        height: 320px;
    }

    /* Wavy Separator */
    .wavy-separator-container {
        height: 50px;
    }

    /* Alert Toast */
    .alert-toast {
        bottom: 20px;
        right: 15px;
        left: 15px;
        font-size: 0.88rem;
        padding: 16px 20px;
    }

    /* Legal Content */
    .legal-content {
        margin: 50px auto;
    }
    .legal-content h3 {
        font-size: 1.3rem;
        margin: 30px 0 12px;
    }
}

/* ── MOBILE PORTRAIT (≤480px) ────────────────────────────────────────────── */
@media (max-width: 480px) {
    /* General */
    .section {
        padding: 50px 4%;
    }

    /* Hero */
    .hero {
        padding-top: 85px;
        padding-bottom: 50px;
    }
    .hero__title {
        font-size: clamp(1.75rem, 7vw, 2.2rem);
        margin-bottom: 16px;
    }
    .hero__desc {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .hero__ctas {
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }
    .hero__ctas .btn-premium {
        width: 100%;
        text-align: center;
    }
    .hero__ctas .btn-secondary {
        justify-content: center;
    }
    .hero__badge {
        padding: 6px 14px;
    }
    .hero__badge-text {
        font-size: 0.7rem;
        letter-spacing: 0.06em;
    }
    .hero__badge-dot {
        width: 8px;
        height: 8px;
    }

    /* Preloader */
    .preloader-logo {
        width: 55px;
        height: 55px;
    }

    /* Mobile Nav */
    .mobile-nav {
        padding: 90px 24px 40px;
        gap: 25px;
    }
    .mobile-nav__link {
        font-size: 1.5rem;
    }
    .mobile-nav__links {
        gap: 18px;
    }
    .mobile-nav__contact {
        padding-top: 20px;
        gap: 12px;
    }
    .mobile-nav__contact a {
        font-size: 0.95rem;
    }
    .mobile-nav__contact p {
        font-size: 0.8rem;
    }

    /* Buttons */
    .btn-premium {
        padding: 13px 22px;
        font-size: 0.82rem;
        letter-spacing: 0.06em;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 30px;
    }
    .section-header span {
        font-size: 0.78rem;
        letter-spacing: 0.1em;
        margin-bottom: 8px;
    }
    .section-header h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    /* Stats — 2×2 grid preserved with smaller cards */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .stat-card {
        padding: 20px 12px;
        border-radius: 14px;
        border-width: 2px;
    }
    .stat-card__number {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: 4px;
    }
    .stat-card__label {
        font-size: 0.72rem;
        line-height: 1.3;
    }
    .stats-video-section .stat-card {
        padding: 20px 12px;
        border-radius: 14px;
    }
    .stats-video-section .stat-card__number {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .stats-video-section .stat-card__label {
        font-size: 0.72rem;
    }

    /* Service Strips */
    .service-strip {
        min-height: 80px;
        padding: 16px 4% !important;
    }
    .service-strip.is-active {
        min-height: 160px;
    }
    .service-strip__text h3 {
        font-size: clamp(1rem, 4.5vw, 1.3rem);
    }
    .service-strip__text p {
        font-size: 0.78rem;
    }
    .service-strip__arrow {
        font-size: 0.68rem;
        padding: 7px 14px;
    }

    /* Service Cards */
    .service-card {
        padding: 28px 20px;
        border-radius: 18px;
        box-shadow: 4px 4px 0px var(--color-primary);
    }
    .service-card__title {
        font-size: 1.5rem;
        margin-bottom: 14px;
    }
    .service-card__number {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    .service-card__desc {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .service-card__link {
        font-size: 0.85rem;
    }
    .service-card__img-container {
        height: 160px;
        margin-bottom: 18px;
    }

    /* Brands Section */
    .brands-section {
        padding: 50px 4% 60px;
    }
    .brands-intro > p {
        font-size: 0.95rem;
    }
    .brand-card {
        padding: 8px 14px !important;
        font-size: 0.72rem !important;
        border-radius: 8px !important;
    }

    /* About Section */
    .about-gallery {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .about-gallery__item {
        height: 200px;
    }
    .about-gallery__item:nth-child(even) {
        transform: none;
    }
    .about-content h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .about-content p {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
    .about-bullets li {
        font-size: 0.95rem;
    }

    /* Contact */
    .contact-form-container {
        padding: 24px 16px;
        border-radius: 18px;
    }
    .form-control {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    textarea.form-control {
        height: 120px;
    }
    .contact-method {
        padding: 16px 16px;
        gap: 14px;
    }
    .contact-methods {
        margin-top: 30px;
        gap: 14px;
    }
    .contact-info h3 {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }

    /* CTA Banner */
    .cta-banner {
        padding: 40px 16px;
        border-radius: 16px;
    }
    .cta-banner h2 {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }
    .cta-banner p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .cta-quote-icon {
        width: 50px;
    }

    /* Footer */
    .footer {
        padding: 50px 4% 30px;
    }
    .footer-grid {
        gap: 25px;
    }
    .footer-brand img {
        height: 30px;
    }
    .footer-links-col h4,
    .footer-newsletter h4 {
        font-size: 0.8rem;
        margin-bottom: 14px;
    }
    .footer-links a {
        font-size: 0.9rem;
    }
    .footer-newsletter p {
        font-size: 0.85rem;
    }
    .footer-bottom {
        padding-top: 20px;
        font-size: 0.78rem;
    }

    /* Page Header */
    .page-header {
        padding: 120px 4% 45px;
    }
    .page-header h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-header p {
        font-size: 0.95rem;
    }

    /* Logo Slider */
    .logo-slider__item {
        width: 180px;
        font-size: 1rem;
    }
    .logo-slider__item::after {
        margin-left: 20px;
        font-size: 1.2rem;
    }

    /* Portfolio */
    .portfolio-item {
        height: 240px;
    }

    /* Physics */
    .physics-canvas-wrapper {
        height: 280px;
    }
    .physics-content h2 {
        font-size: 1.8rem;
    }

    /* Wavy Separator */
    .wavy-separator-container {
        height: 40px;
    }

    /* Legal Content */
    .legal-content {
        margin: 40px auto;
    }
    .legal-content h3 {
        font-size: 1.2rem;
    }
    .legal-content p {
        font-size: 0.92rem;
    }

    /* Scrollbar — hide on mobile for cleaner look */
    ::-webkit-scrollbar {
        width: 6px;
    }
    ::-webkit-scrollbar-thumb {
        border: 1px solid var(--color-light);
    }
}

/* ── SMALL MOBILE (≤360px) ───────────────────────────────────────────────── */
@media (max-width: 360px) {
    .section {
        padding: 40px 4%;
    }

    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    .hero__title {
        font-size: 1.55rem;
    }
    .hero__desc {
        font-size: 0.88rem;
    }

    .preloader-logo {
        width: 45px;
        height: 45px;
    }

    .mobile-nav__link {
        font-size: 1.3rem;
    }
    .mobile-nav__links {
        gap: 14px;
    }

    .btn-premium {
        padding: 12px 18px;
        font-size: 0.78rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .stat-card {
        padding: 16px 10px;
        border-radius: 12px;
    }
    .stat-card__number {
        font-size: 1.35rem;
    }
    .stat-card__label {
        font-size: 0.65rem;
    }

    .service-strip__text h3 {
        font-size: 0.95rem;
    }

    .service-card__title {
        font-size: 1.3rem;
    }
    .service-card {
        padding: 22px 16px;
    }

    .about-gallery__item {
        height: 160px;
    }

    .cta-banner {
        padding: 32px 14px;
    }
    .cta-banner h2 {
        font-size: 1.3rem;
    }
    .cta-banner p {
        font-size: 0.88rem;
    }

    .contact-form-container {
        padding: 20px 14px;
    }

    .footer-brand img {
        height: 26px;
    }

    .page-header {
        padding: 110px 4% 40px;
    }
    .page-header h1 {
        font-size: 1.6rem;
    }

    .brand-card {
        padding: 7px 12px !important;
        font-size: 0.65rem !important;
    }

    .marquee-track {
        font-size: 0.75rem;
    }
}

/* ── LANDSCAPE MOBILE FIX ────────────────────────────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .mobile-nav {
        padding-top: 70px;
        gap: 15px;
    }
    .mobile-nav__link {
        font-size: 1.2rem;
    }
    .mobile-nav__links {
        gap: 10px;
    }

    .preloader-logo {
        width: 50px;
        height: 50px;
    }
}

/* ── TOUCH DEVICE OPTIMIZATIONS ──────────────────────────────────────────── */
@media (hover: none) and (pointer: coarse) {
    /* Remove box-shadow shifts on touch - they look odd without hover */
    .stat-card:hover,
    .service-card:hover {
        transform: none;
    }

    /* Ensure tap targets are at least 44px */
    .nav__link,
    .mobile-nav__link,
    .footer-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Disable hover-based strip expansion on touch (handled by JS scroll) */
    .service-strip:hover {
        height: auto !important;
        background-color: transparent !important;
    }
    .service-strip:hover .service-strip__bg {
        clip-path: inset(0 100% 0 0) !important;
    }
    .service-strip:hover .service-strip__num {
        color: rgba(255,255,255,0.05);
        transform: none;
    }
    .service-strip:hover .service-strip__label {
        opacity: 0;
        transform: translateY(6px);
    }
    .service-strip:hover .service-strip__text p {
        max-height: 0;
        opacity: 0;
    }
    .service-strip:hover .service-strip__arrow {
        opacity: 0;
        transform: translateX(20px) scale(0.9);
    }
    .service-strip:hover .service-strip__text h3 {
        letter-spacing: 0.03em;
    }

    /* Re-enable for active state (scroll-triggered) */
    .service-strip.is-active {
        background-color: rgba(255, 255, 255, 0.025) !important;
    }
    .service-strip.is-active .service-strip__bg {
        clip-path: none !important;
        opacity: 0.2 !important;
    }
    .service-strip.is-active .service-strip__label {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .service-strip.is-active .service-strip__text p {
        max-height: 100px !important;
        opacity: 1 !important;
        margin-top: 8px !important;
    }
    .service-strip.is-active .service-strip__arrow {
        opacity: 1 !important;
        transform: translateX(0) scale(1) !important;
    }
}
