/* ============================================
   SAN LUIS RIDUTTORI - Main Styles
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #231F20;
    --primary-light: #2a3f52;
    --secondary: #3E9B3C;
    --secondary-light: #7AB83C;
    --accent: #3E9B3C;
    --brand-green: #004D2C;
    --dark: #161a17;
    --light: #f8f6f0;
    --gray: #6b7a8a;
    --gray-light: #e8e4dc;
    --white: #ffffff;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 30px 80px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Configurator-specific */
    --bg-config: #0d1117;
    --bg-config-secondary: #161b22;
    --bg-config-card: #1c2333;
    --bg-config-hover: #252d3f;
    --border-config: #2d3748;
    --text-config-primary: #f0f6fc;
    --text-config-secondary: #8b949e;
    --gold: #3E9B3C;
    --gold-light: #7AB83C;
    --gold-glow: rgba(27, 122, 62, 0.15);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(27, 122, 62, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(27, 122, 62, 0.45);
    background: #14602f;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 40px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    border: 2px solid var(--secondary);
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-gold {
    padding: 10px 28px;
    background: var(--gold);
    color: var(--bg-config);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 163, 69, 0.3);
}

.btn-gold-sm {
    padding: 3px 14px;
    background: var(--gold);
    color: var(--bg-config);
    font-weight: 600;
    font-size: 0.65rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Inter', sans-serif;
}

.btn-gold-sm:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

/* ===== HEADER / NAVIGATION ===== */
#home,
#about,
#why-us,
#news,
#configurator,
#contact,
#categories,
#testimonials {
    scroll-margin-top: 90px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(35, 31, 32, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.logo-img {
    height: 84px;
    width: auto;
    max-width: 220px;
    display: block;
    object-fit: contain;
    transition: var(--transition);
    border-radius: 6px;
}

.header.scrolled .logo-img,
.detail-header-bar .logo-img {
    height: 84px;
}

.footer-logo-img {
    height: 90px;
    width: auto;
    max-width: 260px;
    display: block;
    object-fit: contain;
    margin-bottom: 4px;
    border-radius: 6px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(27, 122, 62, 0.35);
}

.logo-text {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--secondary);
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-top: -2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.3px;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--white);
}

.nav a:hover::after {
    width: 100%;
}

.nav .btn-primary {
    padding: 10px 28px;
    font-size: 0.85rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--dark);
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    background: linear-gradient(135deg,
            rgba(22, 26, 23, 0.85) 0%,
            rgba(35, 31, 32, 0.65) 45%,
            rgba(35, 31, 32, 0.40) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 120px;
}

.hero-slide-content h1 {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 20px;
}

.hero-slide.active .hero-slide-content h1 {
    animation: slideUp 0.8s ease 0.2s both;
}

.hero-slide-content h1 span {
    color: var(--secondary);
}

.hero-slide-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 32px;
}

.hero-slide.active .hero-slide-content p {
    animation: slideUp 0.8s ease 0.35s both;
}

.hero-slide.active .hero-slide-content .hero-actions {
    animation: slideUp 0.8s ease 0.5s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-controls {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.hero-nav-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.05);
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--secondary);
    transform: scale(1.2);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 48px;
    right: 40px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s ease infinite;
}

.hero-scroll-hint i {
    font-size: 0.85rem;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--secondary);
    padding: 0;
    position: relative;
    z-index: 5;
    margin-top: -1px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    text-align: center;
    padding: 36px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
    font-weight: 500;
}

/* ===== FEATURED SERIES ===== */
.featured-series {
    background: var(--white);
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.series-card {
    display: block;
    background: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    color: inherit;
}

.series-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-light);
}

.series-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--white);
}

.series-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

.series-card:hover .series-image img {
    transform: scale(1.06);
}

.series-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 14px;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
}

.series-body {
    padding: 28px 28px 32px;
}

.series-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.series-body p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.series-specs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.series-specs li {
    font-size: 0.75rem;
    color: var(--gray);
    background: var(--white);
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.series-specs li strong {
    color: var(--primary);
}

.series-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.series-card:hover .series-link i {
    transform: translateX(4px);
}

.series-link i {
    transition: var(--transition);
    font-size: 0.75rem;
}

/* ===== ABOUT US ===== */
.about-section {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 12px;
}

.about-content h2 {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-content h2 span {
    color: var(--secondary);
}

.about-lead {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-highlights {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.about-highlight:hover {
    border-color: var(--secondary-light);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.about-highlight i {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-top: 2px;
    flex-shrink: 0;
}

.about-highlight strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 2px;
}

.about-highlight span {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
}

.about-visual {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 180px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid var(--light);
    box-shadow: var(--shadow);
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge-card {
    position: absolute;
    top: 30px;
    right: -20px;
    background: var(--secondary);
    color: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 12px 40px rgba(79, 163, 69, 0.35);
}

.about-badge-card .badge-number {
    display: block;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge-card .badge-text {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    margin-top: 6px;
    max-width: 120px;
    line-height: 1.4;
    opacity: 0.9;
}

/* ===== WHY US PILLARS ===== */
.why-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.why-pillar {
    padding: 28px 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.why-pillar:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-4px);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    background: rgba(79, 163, 69, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.why-pillar h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.why-pillar p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* ===== NEWS ===== */
.news-section {
    background: var(--white);
}

.news-carousel-wrap {
    position: relative;
    overflow: hidden;
}

.news-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    transition: transform 0.5s ease;
}

.news-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--secondary-light);
}

.news-card time {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 500;
}

.news-category {
    display: inline-block;
    margin: 8px 0 12px;
    padding: 2px 10px;
    background: rgba(79, 163, 69, 0.12);
    color: var(--secondary);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
}

.news-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 10px;
    flex: 1;
}

.news-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

.news-nav {
    display: none;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.news-nav .nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-light);
    background: transparent;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-nav .nav-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(79, 163, 69, 0.05);
}

/* ===== HERO SECTION (legacy) ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 163, 69, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 163, 69, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: #ffffff;
    border: 1px solid rgba(79, 163, 69, 0.3);
    border-radius: 50px;
    color: #000000;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 4.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--secondary);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
    opacity: 0.4;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stats-item {
    text-align: left;
}

.hero-stats-item .number {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
}

.hero-stats-item .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-gear {
    width: 420px;
    height: 420px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-gear svg {
    width: 100%;
    height: 100%;
}

.hero-gear-ring {
    position: absolute;
    width: 340px;
    height: 340px;
    border: 2px dashed rgba(79, 163, 69, 0.15);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 60s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===== SECTION TITLES ===== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(79, 163, 69, 0.1);
    color: var(--secondary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-header h2 span {
    color: var(--secondary);
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== CATEGORIES ===== */
.categories {
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 40px 32px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 163, 69, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--secondary);
    color: var(--white);
    transform: scale(1.05);
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary);
}

.category-card .sub {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 14px;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

.category-card .count {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

/* ===== PRODUCTS ===== */
.products-section {
    background: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-light);
}

.product-card .badge {
    display: inline-block;
    padding: 2px 12px;
    background: rgba(79, 163, 69, 0.1);
    color: var(--secondary);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 12px;
}

.product-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary);
}

.product-card .model {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 10px;
}

.product-card .specs {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.6;
}

.product-card .specs span {
    display: inline-block;
    background: var(--light);
    padding: 2px 10px;
    border-radius: 4px;
    margin: 2px 2px 2px 0;
    font-size: 0.7rem;
}

.product-card .learn-more {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    transition: var(--transition);
}

.product-card .learn-more i {
    transition: var(--transition);
}

.product-card:hover .learn-more i {
    transform: translateX(4px);
}

/* ===== CONFIGURATOR SECTION ===== */
.configurator-section {
    background: var(--bg-config);
    color: var(--text-config-primary);
    padding: 80px 0 100px;
    border-top: 3px solid var(--gold);
}

.configurator-section .section-tag {
    background: rgba(79, 163, 69, 0.15);
    color: var(--gold);
}

.configurator-section .section-header h2 {
    color: var(--text-config-primary);
}

.configurator-section .section-header h2 span {
    color: var(--gold);
}

.configurator-section .section-header p {
    color: var(--text-config-secondary);
}

.config-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0 16px;
    border-bottom: 1px solid var(--border-config);
    margin-bottom: 24px;
}

.config-toolbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.config-toolbar-left .label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-config-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.filter-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 6px 18px;
    background: var(--bg-config-card);
    border: 1px solid var(--border-config);
    border-radius: 50px;
    color: var(--text-config-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: var(--bg-config);
    border-color: var(--gold);
}

.config-toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-config-secondary);
    font-size: 0.85rem;
}

.config-toolbar-right i {
    color: var(--gold);
}

/* ===== ACCORDION ===== */
.accordion-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.accordion-item {
    background: var(--bg-config-secondary);
    border: 1px solid var(--border-config);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.accordion-item:hover {
    border-color: var(--gold);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.accordion-icon {
    width: 44px;
    height: 44px;
    background: rgba(79, 163, 69, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.accordion-title {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-config-primary);
}

.accordion-count {
    color: var(--text-config-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    margin-left: 6px;
}

.accordion-toggle {
    color: var(--text-config-secondary);
    font-size: 1.2rem;
    transition: transform 0.3s, color 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.accordion-item.active>.accordion-header .accordion-toggle {
    transform: rotate(180deg);
    color: var(--gold);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.3s;
    padding: 0 28px;
    background: var(--bg-config);
    border-top: 1px solid transparent;
}

.accordion-item.active>.accordion-body {
    max-height: 2000px;
    padding: 20px 28px 28px;
    border-top-color: var(--border-config);
}

/* ===== SUB-ACCORDION ===== */
.sub-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.sub-item {
    background: var(--bg-config);
    border: 1px solid var(--border-config);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.sub-item:hover {
    border-color: var(--gold);
}

.sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
}

.sub-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.sub-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sub-icon {
    color: var(--gold);
    font-size: 0.9rem;
    width: 28px;
    text-align: center;
}

.sub-title {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-config-primary);
}

.sub-count {
    color: var(--text-config-secondary);
    font-size: 0.75rem;
}

.sub-toggle {
    color: var(--text-config-secondary);
    font-size: 0.9rem;
    transition: transform 0.3s, color 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}

.sub-item.active .sub-toggle {
    transform: rotate(180deg);
    color: var(--gold);
}

.sub-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 20px;
    border-top: 1px solid transparent;
}

.sub-item.active .sub-body {
    max-height: 800px;
    padding: 14px 20px 18px;
    border-top-color: var(--border-config);
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: var(--bg-config-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-config);
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}

.product-row:hover {
    border-color: var(--gold);
    background: var(--bg-config-hover);
}

.product-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.product-row .p-name {
    color: var(--text-config-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.product-row .p-model {
    color: var(--text-config-secondary);
    font-size: 0.75rem;
    background: var(--bg-config);
    padding: 2px 10px;
    border-radius: 50px;
    border: 1px solid var(--border-config);
}

.product-row .p-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.config-btn-sm {
    padding: 3px 12px;
    background: rgba(79, 163, 69, 0.08);
    border: 1px solid rgba(79, 163, 69, 0.15);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.config-btn-sm:hover {
    background: var(--gold);
    color: var(--bg-config);
    border-color: var(--gold);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-config-secondary);
}

.empty-state i {
    font-size: 3rem;
    color: var(--border-config);
    margin-bottom: 16px;
}

/* ============================================
   WHY US SECTION - FLEXBOX CENTERING SOLUTION
   ============================================ */
.why-us {
    background: var(--primary);
    color: var(--white);
}

.why-us .section-header h2 {
    color: var(--white);
}

.why-us .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

/* FLEXBOX APPROACH - Centers cards when fewer than 4 */
.why-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.why-item {
    flex: 0 1 calc(25% - 30px);
    min-width: 220px;
    max-width: 300px;
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.why-item .icon {
    font-size: 2.4rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.why-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.why-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ===== TESTIMONIAL CONTROLS ===== */
.testimonial-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
    padding: 0 4px;
}

.testimonial-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.testimonial-filter .filter-btn {
    padding: 6px 18px;
    background: var(--light);
    border: 1px solid var(--gray-light);
    border-radius: 50px;
    color: var(--gray);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.testimonial-filter .filter-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.testimonial-filter .filter-btn.active {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-nav .nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gray-light);
    background: transparent;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.testimonial-nav .nav-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(79, 163, 69, 0.05);
}

.testimonial-nav .nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.testimonial-counter {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 500;
    min-width: 60px;
    text-align: center;
}

/* ===== TESTIMONIAL GRID ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: all 0.3s ease;
}

.testimonial-grid.list-view {
    grid-template-columns: 1fr;
    gap: 20px;
}

.testimonial-grid.list-view .testimonial-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
    padding: 24px 32px;
}

.testimonial-grid.list-view .testimonial-card .testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.testimonial-grid.list-view .testimonial-card blockquote {
    font-size: 1rem;
    margin-bottom: 8px;
}

.testimonial-grid.list-view .testimonial-card .testimonial-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 32px 28px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.testimonial-card .testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.testimonial-card .stars {
    color: var(--secondary);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-card .testimonial-category {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 12px;
    background: rgba(79, 163, 69, 0.1);
    color: var(--secondary);
    border-radius: 50px;
    font-weight: 600;
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--primary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.testimonial-card .testimonial-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .testimonial-meta .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-card .testimonial-meta .name {
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-card .testimonial-meta .title {
    font-size: 0.75rem;
    color: var(--gray);
}

.testimonial-card .testimonial-date {
    font-size: 0.65rem;
    color: var(--gray);
    margin-top: 8px;
}

.testimonial-card .verified-badge {
    color: #22c55e;
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 163, 69, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.cta h2 {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta h2 span {
    color: var(--secondary);
}

.cta p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 2;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* ===== CONTACT FORM ===== */
.contact-section {
    text-align: left;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info h2 {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 16px;
}

.contact-info h2 span {
    color: var(--secondary);
}

.contact-info>p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: none;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.contact-details a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.contact-details a:hover {
    color: var(--secondary);
}

.contact-details a i {
    width: 18px;
    color: var(--secondary);
}

.contact-config-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px;
    backdrop-filter: blur(8px);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    transition: border-color 0.2s, background 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a84c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.contact-form select option {
    background: var(--dark);
    color: var(--white);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form input.invalid,
.contact-form select.invalid,
.contact-form textarea.invalid {
    border-color: #ef4444;
}

.contact-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

.contact-form-status {
    margin-top: 14px;
    font-size: 0.88rem;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
}

.contact-form-status.success {
    color: #86efac;
    background: rgba(34, 197, 94, 0.12);
}

.contact-form-status.error {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.12);
}

.footer-brand a {
    display: inline-block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    font-size: 1.3rem;
}

.footer-brand .footer-logo-img {
    filter: brightness(1.05);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 12px;
    max-width: 320px;
}

.footer h5 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-socials a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .series-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .about-image-accent {
        left: 10px;
        bottom: -20px;
        width: 140px;
        height: 140px;
    }

    .about-badge-card {
        right: 10px;
        top: 20px;
    }

    .why-pillars {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-scroll-hint {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero p {
        margin: 0 auto 36px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-gear {
        width: 300px;
        height: 300px;
    }

    .hero-gear-ring {
        width: 250px;
        height: 250px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        justify-content: center;
    }

    .why-item {
        flex: 0 1 calc(50% - 30px);
        max-width: 350px;
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .logo-img {
        height: 48px;
        max-width: 180px;
    }

    .footer-logo-img {
        height: 72px;
        max-width: 200px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    .why-pillars {
        grid-template-columns: 1fr;
    }

    .news-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .news-card {
        min-width: 280px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .news-nav {
        display: flex;
    }

    .hero-controls {
        bottom: 32px;
        gap: 16px;
    }

    .hero-slide-content {
        padding-top: 80px;
        padding-bottom: 100px;
    }

    .nav {
        display: none;
    }

    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 30px 20px;
        gap: 20px;
        border-radius: 0 0 var(--radius) var(--radius);
        box-shadow: var(--shadow-hover);
    }

    .mobile-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .hero-gear {
        width: 220px;
        height: 220px;
    }

    .hero-gear-ring {
        width: 180px;
        height: 180px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        justify-content: center;
    }

    .why-item {
        flex: 0 1 calc(100% - 30px);
        max-width: 400px;
        margin: 0 auto;
    }

    .testimonial-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .testimonial-nav {
        justify-content: center;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid.list-view .testimonial-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .testimonial-grid.list-view .testimonial-card .testimonial-meta {
        flex-wrap: wrap;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .config-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .config-toolbar-left {
        flex-wrap: wrap;
    }

    .accordion-header {
        padding: 14px 18px;
    }

    .accordion-body {
        padding: 0 18px;
    }

    .accordion-item.active>.accordion-body {
        padding: 16px 18px 20px;
    }

    .sub-header {
        padding: 10px 14px;
    }

    .sub-body {
        padding: 0 14px;
    }

    .sub-item.active .sub-body {
        padding: 12px 14px 16px;
    }

    .product-row {
        flex-wrap: wrap;
        gap: 6px;
    }

    .product-row .p-actions {
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .accordion-title {
        font-size: 1rem;
    }

    .sub-title {
        font-size: 0.85rem;
    }

    .product-row .p-name {
        font-size: 0.8rem;
    }

    .product-row .p-model {
        font-size: 0.65rem;
    }

    .config-btn-sm,
    .btn-gold-sm {
        font-size: 0.6rem;
        padding: 2px 8px;
    }

    .why-item {
        flex: 0 1 calc(100% - 30px);
        max-width: 100%;
    }
}

/* ===== REDUCER MEGA MENU (San Luis Riduttori) ===== */
.reducer-nav-item {
    position: static;
}

.reducer-trigger {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.reducer-trigger:hover,
.reducer-trigger.active {
    color: var(--white);
}

.reducer-trigger i {
    font-size: 0.55rem;
    transition: transform 0.3s;
}

.reducer-trigger.active i {
    transform: rotate(180deg);
}

.reducer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.reducer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.reducer-mega-menu {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1051;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

.reducer-mega-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-bar {
    display: none;
}

.mega-menu-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 40px 40px;
}

.mega-menu-grid.supror-product-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.mega-menu-grid.supror-product-menu .mega-col {
    margin: 0;
}

.mega-menu-grid.supror-product-menu .mega-col dt {
    margin-bottom: 10px;
}

.mega-col-title {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.mega-col-title:hover .mega-col-name {
    color: var(--secondary);
}

.mega-col-pic {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-col-pic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.5s ease;
}

.mega-col-title:hover .mega-col-pic img {
    transform: scale(1.06);
}

.mega-col-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
    line-height: 1.35;
}

.mega-menu-grid.supror-product-menu dd {
    margin: 0;
    padding: 0 0 0 114px;
}

.mega-sub-link {
    display: block;
    padding: 7px 0;
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.mega-sub-link:hover {
    color: var(--secondary);
    transform: translateX(6px);
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .mega-menu-grid.supror-product-menu {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .reducer-mega-menu {
        top: auto;
        bottom: 0;
        border-radius: 16px 16px 0 0;
        max-height: 85vh;
    }

    .mega-menu-inner {
        padding: 24px 20px 32px;
    }

    .mega-menu-grid.supror-product-menu dd {
        padding-left: 0;
    }
}

/* ============================================
   RESPONSIVE FIXES - ALL MOBILE SCREENS
   ============================================ */

/* ===== SMALL PHONES (320px - 480px) ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    /* Header */
    .header {
        padding: 12px 0;
    }

    .logo-img {
        height: 40px;
        max-width: 140px;
    }

    .header.scrolled .logo-img,
    .detail-header-bar .logo-img {
        height: 40px;
    }

    .mobile-toggle span {
        width: 24px;
        height: 2px;
    }

    .mobile-toggle {
        gap: 4px;
        padding: 4px;
    }

    /* Hero */
    .hero-slide-content h1 {
        font-size: 1.8rem;
    }

    .hero-slide-content p {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .hero-slide-content {
        padding: 80px 0 80px;
        padding-top: 100px;
    }

    .hero-slide-content .hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .hero-slide-content .hero-actions .btn-primary,
    .hero-slide-content .hero-actions .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .hero-controls {
        bottom: 20px;
        gap: 12px;
    }

    .hero-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-dots {
        gap: 6px;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section {
        padding: 50px 0;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .stat-item {
        padding: 20px 12px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-item:nth-child(even) {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: none;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    /* Series cards */
    .series-grid {
        gap: 16px;
        max-width: 100%;
    }

    .series-body {
        padding: 20px 18px 24px;
    }

    .series-body h3 {
        font-size: 1rem;
    }

    .series-body p {
        font-size: 0.8rem;
    }

    .series-specs {
        gap: 4px;
    }

    .series-specs li {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .series-image {
        aspect-ratio: 16 / 9;
    }

    .series-image img {
        padding: 12px;
    }

    /* About */
    .about-grid {
        gap: 30px;
    }

    .about-content h2 {
        font-size: 1.6rem;
    }

    .about-lead {
        font-size: 0.95rem;
    }

    .about-image-main img {
        height: 220px;
    }

    .about-image-accent {
        width: 100px;
        height: 100px;
        bottom: -12px;
        left: -8px;
        border-width: 3px;
    }

    .about-badge-card {
        padding: 14px 18px;
        right: 0;
        top: 12px;
    }

    .about-badge-card .badge-number {
        font-size: 2rem;
    }

    .about-badge-card .badge-text {
        font-size: 0.6rem;
        max-width: 80px;
    }

    .about-highlight {
        padding: 12px 16px;
    }

    .about-highlight i {
        font-size: 1rem;
    }

    /* Why Us */
    .why-pillars {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }

    .why-pillar {
        padding: 20px 16px;
    }

    .why-item {
        flex: 0 1 100%;
        max-width: 100%;
        padding: 20px 16px;
    }

    .why-item .icon {
        font-size: 1.8rem;
    }

    .why-item h4 {
        font-size: 0.95rem;
    }

    .why-item p {
        font-size: 0.8rem;
    }

    /* News */
    .news-card {
        min-width: 240px;
        padding: 20px 16px;
        min-height: 180px;
    }

    .news-card h3 {
        font-size: 0.9rem;
    }

    .news-card p {
        font-size: 0.78rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 20px 16px;
    }

    .testimonial-card blockquote {
        font-size: 0.85rem;
    }

    .testimonial-card .testimonial-meta .avatar {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }

    .testimonial-card .testimonial-meta .name {
        font-size: 0.8rem;
    }

    .testimonial-card .testimonial-meta .title {
        font-size: 0.65rem;
    }

    .testimonial-filter .filter-btn {
        padding: 4px 12px;
        font-size: 0.65rem;
    }

    .testimonial-nav .nav-btn {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .testimonial-counter {
        font-size: 0.7rem;
        min-width: 40px;
    }

    /* Configurator section */
    .configurator-section {
        padding: 50px 0 60px;
    }

    .config-toolbar {
        padding: 12px 0;
        gap: 12px;
    }

    .config-toolbar-left {
        gap: 10px;
    }

    .config-toolbar-left .label {
        font-size: 0.7rem;
    }

    .filter-btn {
        padding: 4px 12px;
        font-size: 0.65rem;
    }

    .accordion-header {
        padding: 12px 14px;
    }

    .accordion-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .accordion-title {
        font-size: 0.85rem;
    }

    .accordion-count {
        font-size: 0.7rem;
    }

    .accordion-item.active>.accordion-body {
        padding: 12px 14px 16px;
    }

    .sub-header {
        padding: 8px 12px;
    }

    .sub-title {
        font-size: 0.78rem;
    }

    .sub-icon {
        font-size: 0.7rem;
        width: 20px;
    }

    .sub-item.active .sub-body {
        padding: 8px 12px 12px;
    }

    .product-row {
        padding: 6px 10px;
        gap: 4px;
    }

    .product-row .p-name {
        font-size: 0.75rem;
    }

    .product-row .p-model {
        font-size: 0.6rem;
        padding: 1px 8px;
    }

    .product-row .p-actions {
        gap: 4px;
    }

    .config-btn-sm,
    .btn-gold-sm {
        font-size: 0.55rem;
        padding: 2px 6px;
    }

    /* Contact */
    .contact-section {
        padding: 50px 0;
    }

    .contact-grid {
        gap: 24px;
    }

    .contact-info h2 {
        font-size: 1.6rem;
    }

    .contact-info>p {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 18px 16px;
    }

    .contact-form .form-group {
        margin-bottom: 12px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .contact-form label {
        font-size: 0.75rem;
    }

    .contact-details a {
        font-size: 0.85rem;
    }

    .contact-submit {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        gap: 20px;
    }

    .footer-logo-img {
        height: 56px;
        max-width: 160px;
    }

    .footer-brand p {
        font-size: 0.8rem;
    }

    .footer h5 {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .footer ul li a {
        font-size: 0.75rem;
    }

    .footer-bottom {
        font-size: 0.65rem;
        padding-top: 16px;
    }

    /* Mega menu */
    .reducer-mega-menu {
        top: auto;
        bottom: 0;
        border-radius: 16px 16px 0 0;
        max-height: 80vh;
    }

    .mega-menu-inner {
        padding: 16px 16px 24px;
    }

    .mega-menu-grid.supror-product-menu {
        gap: 16px;
    }

    .mega-col-pic {
        width: 60px;
        height: 60px;
    }

    .mega-col-name {
        font-size: 0.85rem;
    }

    .mega-menu-grid.supror-product-menu dd {
        padding-left: 72px;
    }

    .mega-sub-link {
        font-size: 0.75rem;
        padding: 5px 0;
    }

    .mega-col-title {
        gap: 10px;
    }

    /* Category page specific */
    .product-list-page-body .product-focus-banner {
        height: 40vh;
        min-height: 250px;
        margin-top: 56px;
    }

    .product-list-page-body .page-sub-nav {
        top: 56px;
    }

    .product-list-page-body .sub-nav-breadcrumb {
        padding: 10px 0;
    }

    .product-list-page-body .sub-nav-breadcrumb a {
        font-size: 0.65rem;
    }

    .product-list-page-body .category-tab {
        padding: 10px 14px;
        font-size: 0.7rem;
    }

    .product-list-page-body .supror-product-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-list-page-body .supror-product-card .card-pic {
        height: 120px;
    }

    .product-list-page-body .supror-product-card .card-title {
        font-size: 0.85rem;
        min-height: 48px;
        padding: 10px 12px 4px;
    }

    .product-list-page-body .supror-product-card .card-bot {
        padding: 0 12px 12px;
    }

    .product-list-page-body .supror-product-card .series-label {
        font-size: 0.55rem;
        padding: 10px 12px 0;
    }

    .product-list-page-body .product-list-box {
        padding: 24px 0 40px;
    }

    .product-list-page-body .product-list-section {
        margin-bottom: 40px;
        scroll-margin-top: 180px;
    }

    .product-list-page-body .product-list-section .section-title {
        font-size: 1.3rem;
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    /* Product detail page specific */
    .product-detail-body .product-detail-banner {
        height: 60vh;
        min-height: 320px;
    }

    .product-detail-body .banner-product-image {
        width: min(180px, 55vw);
        height: min(180px, 55vw);
    }

    .product-detail-body .banner-big-name {
        font-size: clamp(8.2rem, 18vw, 6rem);
    }

    .product-detail-body .banner-scroll-indicator {
        bottom: 16px;
        font-size: 0.5rem;
    }

    .product-detail-body .banner-scroll-indicator i {
        font-size: 0.8rem;
    }

    .product-detail-body .page-sub-nav {
        top: 56px;
    }

    .product-detail-body .sub-nav-breadcrumb {
        padding: 10px 0;
    }

    .product-detail-body .sub-nav-breadcrumb a {
        font-size: 0.65rem;
    }

    .product-detail-body .detail-main-wrap {
        gap: 24px;
    }

    .product-detail-body .detail-focus-box {
        max-width: 100%;
    }

    .product-detail-body .detail-focus-gallery {
        border-radius: 10px;
    }

    .product-detail-body .gallery-slide {
        padding: 8px;
    }

    .product-detail-body .gallery-controls {
        bottom: 10px;
        gap: 6px;
    }

    .product-detail-body .gallery-btn {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }

    .product-detail-body .detail-data-panel h1 {
        font-size: 1.3rem;
    }

    .product-detail-body .detail-data-panel .product-model {
        font-size: 0.8rem;
    }

    .product-detail-body .detail-desc {
        font-size: 0.85rem;
    }

    .product-detail-body .detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .product-detail-body .btn-learn-more,
    .product-detail-body .btn-config-sm {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .product-detail-body .oem-badge {
        margin-left: 0;
        text-align: center;
    }

    .product-detail-body .detail-accordion-header {
        padding: 12px 14px;
    }

    .product-detail-body .detail-accordion-header h3 {
        font-size: 0.7rem;
    }

    .product-detail-body .detail-accordion-item.open .detail-accordion-body {
        padding: 0 14px 14px;
    }

    .product-detail-body .param-rows p {
        font-size: 0.75rem;
        flex-direction: column;
        gap: 2px;
        padding: 6px 0;
    }

    .product-detail-body .param-rows span {
        text-align: left;
    }

    .product-detail-body .detail-text-content {
        font-size: 0.85rem;
    }

    .product-detail-body .option-list li {
        font-size: 0.8rem;
    }

    .product-detail-body .app-tag {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .product-detail-body .related-products-section {
        padding: 40px 0 50px;
    }

    .product-detail-body .related-products-section h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .product-detail-body .related-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-detail-body .related-card-image {
        height: 100px;
    }

    .product-detail-body .related-card-body {
        padding: 10px 12px;
    }

    .product-detail-body .related-series {
        font-size: 0.5rem;
    }

    .product-detail-body .related-product-card h4 {
        font-size: 0.75rem;
    }

    .product-detail-body .related-learn {
        font-size: 0.65rem;
    }

    .product-detail-body .product-case-section {
        padding: 40px 0;
    }

    .product-detail-body .product-case-section h2 {
        font-size: 1.4rem;
    }

    .product-detail-body .case-study-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-detail-body .case-study-card {
        aspect-ratio: 16 / 9;
    }

    /* Empty state */
    .empty-state {
        padding: 40px 16px;
    }

    .empty-state i {
        font-size: 2rem;
    }

    .empty-state h2 {
        font-size: 1.2rem;
    }

    .empty-state p {
        font-size: 0.85rem;
    }
}

/* ===== LARGER PHONES (481px - 768px) ===== */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .logo-img {
        height: 48px;
        max-width: 160px;
    }

    .header.scrolled .logo-img,
    .detail-header-bar .logo-img {
        height: 48px;
    }

    .hero-slide-content h1 {
        font-size: 2.2rem;
    }

    .hero-slide-content p {
        font-size: 0.95rem;
    }

    .hero-slide-content {
        padding: 90px 0 90px;
    }

    .hero-controls {
        bottom: 28px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .stat-item {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .series-grid {
        max-width: 100%;
        gap: 20px;
    }

    .about-image-main img {
        height: 280px;
    }

    .about-image-accent {
        width: 120px;
        height: 120px;
    }

    .why-item {
        flex: 0 1 calc(50% - 20px);
        max-width: 280px;
    }

    .news-card {
        min-width: 260px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .contact-form {
        padding: 24px;
    }

    .footer-logo-img {
        height: 64px;
        max-width: 180px;
    }

    /* Category page */
    .product-list-page-body .product-focus-banner {
        height: 45vh;
        min-height: 280px;
        margin-top: 60px;
    }

    .product-list-page-body .page-sub-nav {
        top: 60px;
    }

    .product-list-page-body .supror-product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-list-page-body .supror-product-card .card-pic {
        height: 140px;
    }

    .product-list-page-body .product-list-box {
        padding: 32px 0 50px;
    }

    /* Product detail */
    .product-detail-body .product-detail-banner {
        height: 55vh;
        min-height: 400px;
    }

    .product-detail-body .banner-product-image {
        width: min(280px, 50vw);
        height: min(280px, 50vw);
    }

    .product-detail-body .banner-big-name {
        font-size: clamp(10.5rem, 20vw, 10rem);
    }

    .product-detail-body .page-sub-nav {
        top: 60px;
    }

    .product-detail-body .detail-data-panel h1 {
        font-size: 1.6rem;
    }

    .product-detail-body .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-body .related-card-image {
        height: 120px;
    }

    .product-detail-body .case-study-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== TABLETS (769px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .hero-slide-content h1 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2.4rem;
    }

    .series-grid {
        gap: 24px;
    }

    .why-item {
        flex: 0 1 calc(33% - 24px);
        max-width: 280px;
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    /* Category page */
    .product-list-page-body .supror-product-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-list-page-body .product-focus-banner {
        height: 70vh;
        min-height: 400px;
    }

    /* Product detail */
    .product-detail-body .banner-product-image {
        width: min(400px, 45vw);
        height: min(400px, 45vw);
    }

    .product-detail-body .detail-main-wrap {
        grid-template-columns: minmax(260px, 380px) 1fr;
        gap: 32px;
    }

    .product-detail-body .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-detail-body .case-study-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   FIXES FOR SPECIFIC MOBILE ISSUES
   ============================================ */

/* Fix for mobile navigation overlay */
@media (max-width: 768px) {
    .nav.open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--primary);
        padding: 80px 24px 40px;
        gap: 16px;
        border-radius: 0;
        box-shadow: none;
        z-index: 999;
        overflow-y: auto;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .nav.open a {
        font-size: 1.1rem;
        padding: 12px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav.open .reducer-nav-item {
        width: 100%;
        text-align: center;
    }

    .nav.open .reducer-trigger {
        font-size: 1.1rem;
        padding: 12px 0;
        width: 100%;
        justify-content: center;
    }

    .mobile-toggle {
        position: relative;
        z-index: 1001;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Fix for hero dots on small screens */
    .hero-dots {
        gap: 8px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    /* Fix for category tabs scrolling */
    .category-tabs {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .category-tabs::-webkit-scrollbar {
        display: none;
    }

    /* Fix for gallery swipe on mobile */
    .gallery-track {
        touch-action: pan-y;
    }

    /* Fix for contact form on mobile */
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    /* Fix for stats bar on mobile */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        padding: 20px 12px;
    }

    /* Fix for footer on mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand p {
        margin: 12px auto 0;
    }

    .footer h5 {
        text-align: center;
    }

    .footer ul {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Fix for mega menu on mobile */
    .reducer-mega-menu {
        border-radius: 16px 16px 0 0;
    }

    .reducer-mega-menu.open {
        transform: translateY(0);
    }

    /* Fix for product detail gallery controls */
    .gallery-controls {
        gap: 8px;
    }

    .gallery-btn {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }
}

/* ============================================
   SAFE AREA INSETS FOR NOTCH PHONES
   ============================================ */
@supports (padding: max(0px)) {
    .header {
        padding-top: max(12px, env(safe-area-inset-top));
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .reducer-mega-menu {
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }
}

/* ============================================
   PREVENT OVERFLOW ON MOBILE
   ============================================ */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    img,
    svg,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }

    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .container {
        overflow: hidden;
    }

    /* Fix for long words breaking layout */
    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    span,
    a,
    li {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* ============================================
   BETTER TOUCH TARGETS ON MOBILE
   ============================================ */
@media (max-width: 768px) {

    button,
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .category-tab,
    .filter-btn,
    .nav a,
    .reducer-trigger,
    .accordion-header,
    .sub-header,
    .product-row,
    .mega-col-title,
    .mega-sub-link {
        min-height: 44px;
        min-width: 44px;
    }

    .filter-btn {
        min-height: 32px;
        min-width: 32px;
    }

    input,
    select,
    textarea {
        font-size: 16px !important;
        /* Prevents iOS zoom on focus */
    }
}


/* ============================================
   MOBILE FIXES - HEADER & BANNER
   ============================================ */

/* ===== FIX: Remove white header gap on mobile ===== */
@media (max-width: 768px) {

    /* Hero banner - full viewport height on mobile */
    .hero-carousel {
        min-height: 100vh;
        height: 100vh;
        margin-top: 0;
    }

    .hero-slides {
        height: 100vh;
        min-height: 100vh;
    }

    .hero-slide {
        height: 100vh;
        min-height: 100vh;
    }

    .hero-slide-content {
        padding-top: 80px;
        padding-bottom: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
    }

    /* Header - transparent on hero */
    .header {
        background: transparent !important;
        padding: 12px 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .header.scrolled {
        background: rgba(35, 31, 32, 0.95) !important;
        backdrop-filter: blur(20px);
        padding: 8px 0;
    }

    /* Hero controls positioning */
    .hero-controls {
        bottom: 24px;
        z-index: 10;
    }

    .hero-scroll-hint {
        display: none;
    }

    /* Fix: Remove any white space above banner */
    .hero-carousel::before,
    .hero-carousel::after {
        display: none;
    }

    /* Fix for stats bar - remove gap */
    .stats-bar {
        margin-top: -1px;
        position: relative;
        z-index: 5;
    }
}

/* ===== FIX: Category page banner full screen ===== */
@media (max-width: 768px) {
    .product-list-page-body .product-focus-banner {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        margin-top: 0 !important;
        position: relative;
        overflow: hidden;
    }

    .product-list-page-body .banner-parallax-wrap {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    .product-list-page-body .banner-parallax-image {
        height: 100%;
        background-size: cover;
        background-position: center;
    }

    .product-list-page-body .banner-parallax-overlay {
        height: 100%;
        position: absolute;
        inset: 0;
    }

    .product-list-page-body .banner-bottom-controls {
        bottom: 20px;
        z-index: 10;
    }

    /* Fix: Remove any gap between banner and sub-nav */
    .product-list-page-body .page-sub-nav {
        top: 0 !important;
        position: sticky;
        z-index: 100;
        margin-top: -1px;
    }
}

/* ===== FIX: Product detail page banner full screen ===== */
@media (max-width: 768px) {
    .product-detail-body .product-detail-banner {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        margin-top: 0 !important;
        position: relative;
        overflow: hidden;
    }

    .product-detail-body .banner-slide {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .product-detail-body .banner-product-image {
        width: min(280px, 55vw);
        height: min(280px, 55vw);
        position: relative;
        z-index: 2;
    }

    .product-detail-body .banner-big-name {
        font-size: clamp(10.5rem, 20vw, 8rem);
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .product-detail-body .banner-scroll-indicator {
        bottom: 20px;
        z-index: 10;
    }

    /* Fix: Remove gap between banner and sub-nav */
    .product-detail-body .page-sub-nav {
        top: 0 !important;
        position: sticky;
        z-index: 50;
        margin-top: -1px;
    }
}

/* ============================================
   FIX: NEWS SECTION ON MOBILE
   ============================================ */

@media (max-width: 768px) {
    .news-section {
        padding: 50px 0;
        overflow: hidden;
    }

    .news-carousel-wrap {
        position: relative;
        overflow: visible;
        padding: 0 4px;
    }

    .news-track {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 4px 4px 12px 4px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .news-track::-webkit-scrollbar {
        display: none;
    }

    .news-card {
        min-width: 260px;
        scroll-snap-align: start;
        flex-shrink: 0;
        padding: 20px 18px;
        min-height: 180px;
        display: flex;
        flex-direction: column;
        background: var(--light);
        border-radius: var(--radius);
        border: 1px solid rgba(0, 0, 0, 0.04);
        transition: var(--transition);
    }

    .news-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
        border-color: var(--secondary-light);
    }

    .news-card time {
        font-size: 0.7rem;
        color: var(--gray);
        font-weight: 500;
    }

    .news-category {
        display: inline-block;
        margin: 6px 0 10px;
        padding: 2px 10px;
        background: rgba(79, 163, 69, 0.12);
        color: var(--secondary);
        font-size: 0.6rem;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        border-radius: 50px;
        align-self: flex-start;
    }

    .news-card h3 {
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--primary);
        line-height: 1.4;
        margin-bottom: 8px;
        flex: 1;
    }

    .news-card p {
        font-size: 0.78rem;
        color: var(--gray);
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* News navigation buttons */
    .news-nav {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 20px;
    }

    .news-nav .nav-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid var(--gray-light);
        background: var(--white);
        color: var(--gray);
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .news-nav .nav-btn:hover {
        border-color: var(--secondary);
        color: var(--secondary);
        background: rgba(79, 163, 69, 0.05);
        transform: scale(1.05);
    }

    .news-nav .nav-btn:active {
        transform: scale(0.95);
    }
}

/* ===== SMALL PHONES NEWS ===== */
@media (max-width: 480px) {
    .news-card {
        min-width: 220px;
        padding: 16px 14px;
        min-height: 150px;
    }

    .news-card h3 {
        font-size: 0.82rem;
    }

    .news-card p {
        font-size: 0.72rem;
        -webkit-line-clamp: 2;
    }

    .news-nav .nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

/* ============================================
   FIX: PRODUCT DETAIL PAGE MOBILE LAYOUT
   ============================================ */

@media (max-width: 768px) {
    .product-detail-body .detail-main-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 0;
    }

    .product-detail-body .detail-focus-box {
        position: relative;
        top: 0;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }

    .product-detail-body .detail-focus-gallery {
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        aspect-ratio: 1 / 1;
        max-height: 400px;
    }

    .product-detail-body .gallery-track {
        display: flex;
        height: 100%;
        transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .product-detail-body .gallery-slide {
        min-width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
        background: var(--white);
    }

    .product-detail-body .gallery-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 8px;
    }

    .product-detail-body .gallery-controls {
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 12px;
        z-index: 5;
        background: rgba(0, 0, 0, 0.3);
        padding: 6px 12px;
        border-radius: 50px;
        backdrop-filter: blur(8px);
    }

    .product-detail-body .gallery-btn {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.15);
        color: var(--white);
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
    }

    .product-detail-body .gallery-btn:hover {
        background: var(--secondary);
        border-color: var(--secondary);
        transform: scale(1.05);
    }

    .product-detail-body .detail-data-panel {
        padding-top: 0;
        width: 100%;
    }

    .product-detail-body .detail-data-panel h1 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .product-detail-body .detail-data-panel .product-model {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .product-detail-body .detail-desc {
        font-size: 0.88rem;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .product-detail-body .detail-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .product-detail-body .btn-learn-more,
    .product-detail-body .btn-config-sm {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .product-detail-body .oem-badge {
        margin-left: 0;
        text-align: center;
        padding: 6px 12px;
        font-size: 0.6rem;
    }

    .product-detail-body .detail-accordion {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 4px;
    }

    .product-detail-body .detail-accordion-item {
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.06);
        background: var(--white);
        overflow: hidden;
    }

    .product-detail-body .detail-accordion-header {
        padding: 14px 16px;
        background: none;
        border: none;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-family: 'Inter', sans-serif;
        transition: background 0.2s;
    }

    .product-detail-body .detail-accordion-header:hover {
        background: rgba(0, 0, 0, 0.02);
    }

    .product-detail-body .detail-accordion-header h3 {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--primary);
        margin: 0;
    }

    .product-detail-body .detail-accordion-header .acc-toggle {
        color: var(--secondary);
        transition: transform 0.3s;
        font-size: 0.7rem;
    }

    .product-detail-body .detail-accordion-item.open .acc-toggle {
        transform: rotate(180deg);
    }

    .product-detail-body .detail-accordion-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s;
        padding: 0 16px;
    }

    .product-detail-body .detail-accordion-item.open .detail-accordion-body {
        max-height: 800px;
        padding: 0 16px 16px;
    }

    .product-detail-body .param-rows p {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 0;
        border-bottom: 1px solid var(--gray-light);
        font-size: 0.8rem;
        flex-wrap: wrap;
    }

    .product-detail-body .param-rows p:last-child {
        border-bottom: none;
    }

    .product-detail-body .param-rows label {
        color: var(--gray);
        font-weight: 500;
        font-size: 0.78rem;
    }

    .product-detail-body .param-rows span {
        color: var(--primary);
        font-weight: 600;
        text-align: right;
        font-size: 0.78rem;
    }

    .product-detail-body .detail-text-content {
        color: var(--gray);
        font-size: 0.85rem;
        line-height: 1.7;
        margin: 0;
    }

    .product-detail-body .option-list {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 4px 12px;
        margin: 0;
        padding: 0;
    }

    .product-detail-body .option-list li {
        font-size: 0.8rem;
        color: var(--gray);
        padding: 2px 0;
    }

    .product-detail-body .app-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 4px;
    }

    .product-detail-body .app-tag {
        background: var(--light);
        padding: 4px 12px;
        border-radius: 50px;
        font-size: 0.72rem;
        color: var(--gray);
        border: 1px solid var(--gray-light);
    }

    /* Related products on mobile */
    .product-detail-body .related-products-section {
        padding: 40px 0 50px;
    }

    .product-detail-body .related-products-section h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .product-detail-body .related-products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-detail-body .related-product-card {
        border-radius: 10px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        transition: var(--transition);
        text-decoration: none;
        color: inherit;
    }

    .product-detail-body .related-product-card:hover {
        transform: translateY(-4px);
        border-color: var(--secondary);
    }

    .product-detail-body .related-card-image {
        height: 100px;
        overflow: hidden;
        background: var(--dark);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
    }

    .product-detail-body .related-card-image img,
    .product-detail-body .related-card-image svg {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .product-detail-body .related-card-body {
        padding: 10px 12px 12px;
    }

    .product-detail-body .related-series {
        font-size: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--secondary);
        font-weight: 600;
        display: block;
    }

    .product-detail-body .related-product-card h4 {
        font-size: 0.78rem;
        font-weight: 600;
        margin: 4px 0 8px;
        color: var(--white);
        line-height: 1.3;
    }

    .product-detail-body .related-learn {
        font-size: 0.65rem;
        color: var(--secondary);
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .product-detail-body .related-oem {
        display: block;
        font-size: 0.5rem;
        color: rgba(255, 255, 255, 0.4);
        margin-top: 4px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Case studies on mobile */
    .product-detail-body .product-case-section {
        padding: 40px 0;
    }

    .product-detail-body .product-case-section h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .product-detail-body .case-study-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-detail-body .case-study-card {
        border-radius: 10px;
        overflow: hidden;
        aspect-ratio: 16 / 10;
        background: var(--dark);
        position: relative;
    }

    .product-detail-body .case-study-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .product-detail-body .case-study-card:hover img {
        transform: scale(1.05);
    }

    .product-detail-body .case-study-card .case-caption {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 10px 12px;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
        font-size: 0.7rem;
        font-weight: 500;
        color: var(--white);
    }

    .product-detail-body .case-swipe-hint {
        color: rgba(255, 255, 255, 0.45);
        margin-top: 16px;
        text-align: center;
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }
}

/* ===== EXTRA SMALL PHONES - PRODUCT DETAIL ===== */
@media (max-width: 480px) {
    .product-detail-body .product-detail-banner {
        height: 100vh !important;
        min-height: 100vh !important;
    }

    .product-detail-body .banner-product-image {
        width: min(180px, 55vw);
        height: min(180px, 55vw);
    }

    .product-detail-body .banner-big-name {
        font-size: clamp(8rem, 16vw, 5rem);
    }

    .product-detail-body .detail-focus-gallery {
        max-height: 300px;
    }

    .product-detail-body .detail-data-panel h1 {
        font-size: 1.2rem;
    }

    .product-detail-body .related-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .product-detail-body .related-card-image {
        height: 80px;
    }

    .product-detail-body .related-product-card h4 {
        font-size: 0.7rem;
    }

    .product-detail-body .case-study-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-body .gallery-controls {
        padding: 4px 10px;
        gap: 8px;
    }

    .product-detail-body .gallery-btn {
        width: 30px;
        height: 30px;
        font-size: 0.6rem;
    }
}

/* ============================================
   FIX: HEADER WHITE GAP ON ALL PAGES
   ============================================ */

/* Ensure header is always on top and transparent on hero */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

/* For pages with banners - remove any margin-top from banner sections */
.product-focus-banner,
.product-detail-banner,
.hero-carousel {
    margin-top: 0 !important;
}

/* Ensure body padding doesn't create gaps */
body {
    padding-top: 0;
    margin: 0;
}

/* Fix for category page - banner should touch top */
.product-list-page-body .product-focus-banner {
    margin-top: 0 !important;
    position: relative;
}

/* Fix for product detail page - banner should touch top */
.product-detail-body .product-detail-banner {
    margin-top: 0 !important;
    position: relative;
}

/* ============================================
   FIX: MOBILE SUB-NAV POSITIONING
   ============================================ */

@media (max-width: 768px) {
    .page-sub-nav {
        top: 0 !important;
        position: sticky;
        z-index: 100;
    }

    /* Ensure sub-nav doesn't create white gap */
    .page-sub-nav .sub-nav-inner {
        padding: 0;
    }

    .page-sub-nav .sub-nav-breadcrumb {
        padding: 10px 16px;
    }
}

/* ============================================
   FIX: BANNER IMAGE COVER ON MOBILE
   ============================================ */

@media (max-width: 768px) {

    .banner-parallax-image,
    .hero-slide-bg,
    .banner-slide {
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    .banner-parallax-image img,
    .hero-slide-bg img,
    .banner-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE FIXES
   ============================================ */

/* ===== FIX 1: Homepage top sections padding ===== */
@media (max-width: 768px) {
    .hero-slide-content {
        padding: 100px 20px 80px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
    }

    .hero-slide-content h1 {
        font-size: 2rem !important;
        padding-right: 10px;
    }

    .hero-slide-content p {
        font-size: 0.9rem !important;
        padding-right: 10px;
        max-width: 100%;
    }

    .hero-slide-content .hero-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 320px;
    }

    .hero-slide-content .hero-actions .btn-primary,
    .hero-slide-content .hero-actions .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 4px 14px;
        align-self: flex-start;
    }

    /* Hero dots - smaller and nicer */
    .hero-controls {
        bottom: 20px;
        gap: 10px;
        background: rgba(0, 0, 0, 0.3);
        padding: 6px 14px;
        border-radius: 50px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .hero-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 0.65rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
        color: var(--white);
    }

    .hero-nav-btn:hover {
        background: var(--secondary);
        border-color: var(--secondary);
    }

    .hero-dots {
        display: flex;
        gap: 6px;
        align-items: center;
    }

    .hero-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.25);
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

    .hero-dot.active {
        background: var(--secondary);
        width: 18px;
        border-radius: 4px;
        transform: none;
    }

    .hero-dot:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    .hero-dot.active:hover {
        background: var(--secondary);
    }

    .hero-scroll-hint {
        display: none;
    }
}

/* ===== FIX 2: Footer - clean and nice ===== */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        background: var(--dark);
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
        margin-bottom: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .footer-brand .footer-logo-img {
        height: 60px;
        max-width: 160px;
        margin: 0 auto 10px;
    }

    .footer-brand p {
        font-size: 0.8rem;
        max-width: 280px;
        margin: 8px auto 0;
        color: rgba(255, 255, 255, 0.5);
        line-height: 1.6;
    }

    .footer h5 {
        font-size: 0.75rem;
        color: var(--white);
        font-weight: 600;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        font-size: 0.7rem;
        opacity: 0.8;
    }

    .footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer ul li {
        margin-bottom: 6px;
    }

    .footer ul li a {
        font-size: 0.78rem;
        color: rgba(255, 255, 255, 0.5);
        transition: var(--transition);
        text-decoration: none;
    }

    .footer ul li a:hover {
        color: var(--secondary);
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding-top: 18px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.3);
        text-align: center;
    }

    .footer-socials {
        display: flex;
        gap: 12px;
    }

    .footer-socials a {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.3);
        text-decoration: none;
    }

    .footer-socials a:hover {
        background: var(--secondary);
        border-color: var(--secondary);
        color: var(--white);
    }
}

/* ===== EXTRA SMALL PHONES - FOOTER ===== */
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .footer h5 {
        font-size: 0.65rem;
        margin-bottom: 8px;
    }

    .footer ul li a {
        font-size: 0.72rem;
    }

    .footer-brand .footer-logo-img {
        height: 48px;
        max-width: 130px;
    }

    .footer-brand p {
        font-size: 0.72rem;
    }

    .footer-bottom {
        font-size: 0.6rem;
        padding-top: 14px;
    }
}

/* ===== FIX 3: Mobile menu - proper opening ===== */
/* Fix: Menu should open properly even when scrolled */
@media (max-width: 768px) {
    .nav.open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--primary);
        padding: 80px 24px 40px;
        gap: 16px;
        border-radius: 0;
        box-shadow: none;
        z-index: 9999;
        overflow-y: auto;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: 100vh;
        width: 100vw;
        -webkit-overflow-scrolling: touch;
    }

    .nav.open a {
        font-size: 1.1rem;
        padding: 14px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: var(--transition);
    }

    .nav.open a:hover {
        color: var(--secondary);
    }

    .nav.open .reducer-nav-item {
        width: 100%;
        text-align: center;
    }

    .nav.open .reducer-trigger {
        font-size: 1.1rem;
        padding: 14px 0;
        width: 100%;
        justify-content: center;
        color: rgba(255, 255, 255, 0.8);
        background: none;
        border: none;
        cursor: pointer;
        font-family: 'Inter', sans-serif;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .nav.open .reducer-trigger:hover {
        color: var(--secondary);
    }

    /* Ensure mobile toggle is above everything */
    .mobile-toggle {
        position: relative;
        z-index: 10000;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Fix: Header should stay above menu */
    .header {
        z-index: 10000;
    }

    .header.scrolled {
        background: rgba(35, 31, 32, 0.98) !important;
    }

    /* Body scroll lock when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}

/* ===== FIX 4: Product detail page - slider fixes ===== */
@media (max-width: 768px) {
    .product-detail-body .detail-focus-gallery {
        aspect-ratio: 1 / 1;
        max-height: 420px;
        border-radius: 12px;
        overflow: hidden;
        background: var(--white);
        box-shadow: var(--shadow);
        position: relative;
        width: 100%;
        margin: 0 auto;
    }

    .product-detail-body .gallery-track {
        display: flex;
        height: 100%;
        transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        touch-action: pan-y;
    }

    .product-detail-body .gallery-slide {
        min-width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
        background: var(--white);
        flex-shrink: 0;
    }

    .product-detail-body .gallery-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 8px;
        display: block;
    }

    /* Gallery controls - smaller and nicer */
    .product-detail-body .gallery-controls {
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 5;
        background: rgba(0, 0, 0, 0.35);
        padding: 4px 10px;
        border-radius: 50px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        align-items: center;
    }

    .product-detail-body .gallery-btn {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.08);
        color: var(--white);
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.6rem;
        padding: 0;
    }

    .product-detail-body .gallery-btn:hover {
        background: var(--secondary);
        border-color: var(--secondary);
        transform: scale(1.05);
    }

    .product-detail-body .gallery-btn:active {
        transform: scale(0.92);
    }

    /* Gallery dot indicators */
    .product-detail-body .gallery-dots {
        display: flex;
        gap: 4px;
        align-items: center;
        padding: 0 4px;
    }

    .product-detail-body .gallery-dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.25);
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

    .product-detail-body .gallery-dot.active {
        background: var(--secondary);
        width: 14px;
        border-radius: 3px;
    }

    .product-detail-body .gallery-dot:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    .product-detail-body .gallery-dot.active:hover {
        background: var(--secondary);
    }

    .product-detail-body .gallery-swipe-hint {
        display: none;
    }
}

/* ===== EXTRA SMALL PHONES - DETAIL SLIDER ===== */
@media (max-width: 480px) {
    .product-detail-body .detail-focus-gallery {
        max-height: 300px;
        border-radius: 10px;
    }

    .product-detail-body .gallery-slide {
        padding: 10px;
    }

    .product-detail-body .gallery-slide img {
        padding: 4px;
    }

    .product-detail-body .gallery-controls {
        bottom: 8px;
        padding: 3px 8px;
        gap: 6px;
    }

    .product-detail-body .gallery-btn {
        width: 24px;
        height: 24px;
        font-size: 0.5rem;
        border-width: 1px;
    }

    .product-detail-body .gallery-dot {
        width: 4px;
        height: 4px;
    }

    .product-detail-body .gallery-dot.active {
        width: 12px;
    }
}

/* ===== TABLET - DETAIL SLIDER ===== */
@media (min-width: 481px) and (max-width: 768px) {
    .product-detail-body .detail-focus-gallery {
        max-height: 380px;
    }

    .product-detail-body .gallery-controls {
        padding: 4px 12px;
        gap: 10px;
    }

    .product-detail-body .gallery-btn {
        width: 30px;
        height: 30px;
        font-size: 0.65rem;
    }
}

/* ===== FIX 5: General mobile improvements ===== */

/* Better touch targets for mobile */
@media (max-width: 768px) {

    button,
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .category-tab,
    .filter-btn,
    .nav a,
    .reducer-trigger,
    .accordion-header,
    .sub-header,
    .product-row,
    .mega-col-title,
    .mega-sub-link,
    .mobile-toggle,
    .hero-nav-btn,
    .hero-dot,
    .gallery-btn,
    .news-nav .nav-btn,
    .testimonial-nav .nav-btn {
        min-height: 25px;
        min-width: 25px;
        touch-action: manipulation;
    }

    .filter-btn {
        min-height: 32px;
        min-width: 32px;
    }

    .hero-dot {
        min-height: 8px;
        min-width: 8px;
    }

    .gallery-btn {
        min-height: 28px;
        min-width: 28px;
    }

    /* Prevent zoom on input focus */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Smooth scrolling for better UX */
    * {
        -webkit-tap-highlight-color: transparent;
    }
}

/* ===== FIX 6: Prevent white flash on load ===== */
.header {
    transition: background 0.3s ease, padding 0.3s ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(35, 31, 32, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Ensure banners always start at top */
.hero-carousel,
.product-focus-banner,
.product-detail-banner {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Fix for any residual white space */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ===== FIX 7: Mega menu on mobile - better behavior ===== */
@media (max-width: 768px) {
    .reducer-mega-menu {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: auto;
        border-radius: 0;
        max-height: none;
        background: var(--white);
        z-index: 10001;
        box-shadow: none;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        -webkit-overflow-scrolling: touch;
    }

    .reducer-mega-menu.open {
        transform: translateY(0);
    }

    .reducer-overlay {
        z-index: 10000;
    }

    .mega-menu-inner {
        padding: max(12px, env(safe-area-inset-top)) 16px 32px;
    }

    .mega-menu-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        z-index: 2;
        background: #fff;
        margin: 0 -16px 8px;
        padding: 8px 12px 8px 16px;
        border-bottom: 1px solid var(--gray-light);
    }

    .mega-menu-heading {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--primary);
    }

    .mega-menu-close {
        width: 44px;
        height: 44px;
        margin-left: auto;
        border: none;
        border-radius: 50%;
        background: transparent;
        color: var(--primary);
        font-size: 1.35rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .mega-menu-grid.supror-product-menu {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mega-col {
        margin: 0;
        padding: 0;
    }

    .mega-col-title {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px 0;
        text-decoration: none;
        border-bottom: 1px solid var(--gray-light);
    }

    .mega-col-pic {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        border-radius: 8px;
        overflow: hidden;
        background: var(--light);
        border: 1px solid rgba(0, 0, 0, 0.06);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mega-col-pic img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 4px;
    }

    .mega-col-name {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--primary);
    }

    .mega-menu-grid.supror-product-menu dd {
        padding-left: 60px;
        margin: 0;
    }

    .mega-sub-link {
        display: block;
        padding: 6px 0;
        color: var(--gray);
        font-size: 0.78rem;
        font-weight: 500;
        text-decoration: none;
        transition: var(--transition);
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .mega-sub-link:hover {
        color: var(--secondary);
        padding-left: 4px;
    }
}

/* ============================================
   SAFE AREA INSETS FOR NOTCH PHONES
   ============================================ */
@supports (padding: max(0px)) {
    .header {
        padding-top: max(8px, env(safe-area-inset-top));
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .nav.open {
        padding-top: max(80px, env(safe-area-inset-top) + 60px);
        padding-bottom: max(40px, env(safe-area-inset-bottom));
    }

    .reducer-mega-menu {
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }

    .hero-slide-content {
        padding-left: max(20px, env(safe-area-inset-left) + 16px);
        padding-right: max(20px, env(safe-area-inset-right) + 16px);
    }
}

/* ============================================
   SANLUIS INDO-DRIVES THEME (from new logo)
   Leaf green #7AB83C -> #1B7A3E, wordmark green #4FA345, black #231F20
   ============================================ */
:root {
    --primary: #231F20;
    --primary-light: #3b3536;
    --secondary: #3E9B3C;
    --secondary-light: #7AB83C;
    --accent: #4FA345;
    --brand-green: #1B7A3E;
    --dark: #161a17;
    --light: #f4f8f2;
    --gray: #6b756c;
    --gray-light: #e2eadf;
    --gold: #3E9B3C;
    --gold-light: #7AB83C;
    --gold-glow: rgba(79, 163, 69, 0.18);
}

:focus-visible {
    outline: 3px solid #7AB83C;
    outline-offset: 2px;
}

/* Buttons: deeper green so white text stays readable */
.btn-primary {
    background: var(--brand-green);
    box-shadow: 0 4px 20px rgba(27, 122, 62, 0.3);
}

.btn-primary:hover {
    background: #14602f;
    box-shadow: 0 8px 30px rgba(27, 122, 62, 0.4);
}

/* Light header: the logo file has a white background */
.header,
.header.scrolled {
    background: #fff;
    backdrop-filter: none;
    padding: 10px 0;
    box-shadow: 0 2px 24px rgba(35, 31, 32, 0.08);
}

.header .logo-img,
.header.scrolled .logo-img,
.detail-header-bar .logo-img {
    height: 60px;
    max-width: 190px;
    border-radius: 0;
}

.header .nav a:not(.btn-primary),
.header .reducer-trigger {
    color: var(--primary);
}

.header .nav a:not(.btn-primary):hover,
.header .reducer-trigger:hover,
.header .reducer-trigger.active {
    color: var(--brand-green);
}

.header .nav .btn-primary {
    color: #fff;
}

.mobile-toggle span {
    background: var(--primary);
}

@media (max-width: 1024px) {
    .header .nav.open {
        background: #fff;
        box-shadow: 0 20px 40px rgba(35, 31, 32, 0.12);
    }
}

/* Hero: split layout (copy left, product image right) */
.hero-carousel {
    background: var(--light);
}

.hero-slide-bg {
    left: auto;
    right: 0;
    width: 58%;
    opacity: 1 !important;
    transform: none !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%);
    mask-image: linear-gradient(90deg, transparent 0, #000 32%);
}

.hero-slide-overlay {
    display: none;
}

.hero-slide-content {
    padding-top: 120px;
}

.hero-slide-content h1 {
    color: var(--primary);
    font-size: clamp(2.8rem, 5.6vw, 4.8rem);
    line-height: 1.02;
    max-width: 620px;
}

.hero-slide-content h1 span {
    color: var(--brand-green);
}

.hero-slide-content p {
    color: #4b4f4b;
    max-width: 500px;
}

.hero-badge {
    background: #e4f1e0;
    border-color: rgba(27, 122, 62, 0.25);
    color: #14602f;
    letter-spacing: 1px;
}

.hero-actions .btn-secondary {
    color: var(--primary);
    border-color: var(--primary);
}

.hero-actions .btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

.hero-nav-btn {
    background: #fff;
    color: var(--primary);
    border-color: rgba(35, 31, 32, 0.25);
}

.hero-dot {
    background: rgba(35, 31, 32, 0.25);
}

.hero-scroll-hint {
    color: rgba(35, 31, 32, 0.5);
}

@media (max-width: 768px) {
    .hero-slide-bg {
        width: 100%;
        opacity: 0.16 !important;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* Trust strip under hero */
.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--gray-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-item i {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 10px;
    background: #e4f1e0;
    color: var(--brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
}

.trust-item span {
    font-size: 0.8rem;
    color: var(--gray);
}

@media (max-width: 900px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer: logo on a white plate; small green text on light cards */
.footer-logo-img {
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
}

.supror-product-card .series-label,
.supror-product-card .card-more {
    color: var(--brand-green);
}


/* ============================================================
   ATEX BADGE ON SERIES CARDS
   ============================================================ */

/* Make sure the image wrapper is the positioning context */
.series-image {
    position: relative;
    /* already set in your CSS — verify */
}

/* ATEX badge — bottom-right of the card image */
.series-atex-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(35, 31, 32, 0.18);
    z-index: 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
    /* let clicks pass through to the card link */
}

.series-atex-badge svg {
    width: 28px;
    height: 28px;
    display: block;
}

/* Subtle hover lift when the parent card is hovered */
.series-card:hover .series-atex-badge {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 26px rgba(35, 31, 32, 0.24);
}

/* Smaller on mobile */
@media (max-width: 640px) {
    .series-atex-badge {
        width: 36px;
        height: 36px;
        right: 10px;
        bottom: 10px;
    }

    .series-atex-badge svg {
        width: 22px;
        height: 22px;
    }
}