/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --color-black:        #000000;
    --color-white:        #ffffff;
    --color-red:          #bb0a1e;
    --color-red-hover:    #8b0000;

    /* Gray Scale (from reference design language) */
    --color-gray-50:      #fafafa;
    --color-gray-100:     #f5f5f5;
    --color-gray-200:     #e5e5e5;
    --color-gray-300:     #d4d4d4;
    --color-gray-400:     #a3a3a3;
    --color-gray-500:     #737373;
    --color-gray-600:     #525252;
    --color-gray-700:     #404040;
    --color-gray-800:     #262626;
    --color-gray-900:     #171717;
    --color-gray-950:     #0a0a0a;

    /* Dark Theme Aliases */
    --color-dark:         #0d0d0d;
    --color-dark-gray:    #1a1a1a;
    --color-medium-gray:  #2a2a2a;
    --color-gray:         #666666;
    --color-light-gray:   #999999;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow:  500ms ease;

    /* Shadows */
    --shadow-sm:  0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md:  0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg:  0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl:  0 20px 25px rgba(0, 0, 0, 0.15);

    /* Layout */
    --hero-frame-gutter: clamp(20px, 6vw, 72px);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p, li {
    font-size: 1rem;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-red);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

.section-title {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: clamp(14px, 1.5vw, 18px);
    color: var(--color-gray-400);
    max-width: 620px;
    line-height: 1.7;
}

section[id] {
    scroll-margin-top: 104px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition-base);
}

.header .container {
    padding-left: var(--hero-frame-gutter);
    padding-right: var(--hero-frame-gutter);
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 40px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: clamp(48px, 5.5vw, 62px);
    width: auto;
    max-width: 320px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transform: scaleX(1.25);
    transform-origin: left center;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--color-red);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-gray-300);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--color-red);
}

.nav-link.active::after {
    transform: scaleX(1);
}

.mobile-nav a.active {
    color: var(--color-red);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-dropdown-btn svg {
    width: 12px;
    height: 12px;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-btn svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 220px;
    background: var(--color-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--color-gray-400);
    transition: all var(--transition-fast);
}

.nav-dropdown-menu a:hover {
    background: var(--color-medium-gray);
    color: var(--color-white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ===== LANGUAGE PICKER ===== */
.lang-picker {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-picker-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}

.lang-picker-btn:hover,
.lang-picker[data-open] .lang-picker-btn {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.07);
}

.lang-picker-globe {
    flex-shrink: 0;
    opacity: 0.7;
}

.lang-picker-flag {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.flag-svg {
    display: none;
    border-radius: 2px;
    vertical-align: middle;
    flex-shrink: 0;
}

.lang-picker-btn[data-current-lang="id"] .flag-id { display: block; }
.lang-picker-btn[data-current-lang="en"] .flag-en { display: block; }

/* ===== INLINE LANGUAGE SWITCHER ===== */
.lang-switcher {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    flex-shrink: 0;
}

.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 11px;
    height: 34px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}

.lang-switcher-btn + .lang-switcher-btn {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.lang-switcher-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.85);
}

.lang-switcher-btn.active {
    background: var(--color-red);
    color: var(--color-white);
}

.lang-switcher-flag {
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

.lang-switcher-label {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .lang-switcher-label {
        display: none;
    }

    .lang-switcher-btn {
        padding: 0 9px;
    }
}

.lang-picker-chevron {
    flex-shrink: 0;
    opacity: 0.6;
    transition: transform var(--transition-fast);
}

.lang-picker[data-open] .lang-picker-chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.lang-picker-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 158px;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    z-index: 1300;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    pointer-events: none;
}

.lang-picker[data-open] .lang-picker-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-picker-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    background: transparent;
    border: none;
    color: var(--color-gray-400);
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-picker-option + .lang-picker-option {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lang-picker-option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
}

.lang-picker-option.active {
    color: var(--color-white);
}

.lang-picker-emoji {
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}

.lang-picker-name {
    flex: 1;
}

.lang-picker-check {
    flex-shrink: 0;
    color: var(--color-red);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.lang-picker-option.active .lang-picker-check {
    opacity: 1;
}

.header-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: color var(--transition-fast);
}

.header-icon-btn:hover {
    color: var(--color-gray-300);
}

.header-icon-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--color-red);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 0;
    border: 2px solid var(--color-red);
    transition: all var(--transition-base);
}

.btn-primary:hover {
    background: var(--color-red-hover);
    border-color: var(--color-red-hover);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 0;
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-black);
}

/* Subtle navbar CTA — less prominent than btn-primary */
.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.btn-nav-cta:hover {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-fast);
    display: block;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: clamp(520px, 88svh, 860px);
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.4) 55%,
        rgba(0, 0, 0, 0.1) 100%
    );
}

.hero-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    padding-top: clamp(88px, 12vh, 140px);
}

.hero-content-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--hero-frame-gutter) clamp(32px, 4vh, 48px);
    display: grid;
    align-content: end;
    gap: clamp(10px, 1.6vh, 18px);
}

.hero-badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--color-red);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gray-300);
}

.hero-title {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
    max-width: min(36ch, calc(100vw - (var(--hero-frame-gutter) * 2)));
    margin-left: calc(48px - var(--hero-frame-gutter));
}

.hero-subtitle {
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 300;
    color: var(--color-gray-300);
    line-height: 1.6;
}

/* ===== SHARED LINE / NO-WRAP-FIRST WIDTH STANDARD =====
   Single source of truth for the width/spacing of any ".line.no-wrap-first"
   text container, matching the Hero implementation. Sections reuse these
   classes directly instead of redefining their own width rules. Left edge
   defaults to flush (margin-left: 0) so the text lines up with its
   section's own .section-title / heading — Hero is the one exception,
   since .hero-title itself is shifted by the same offset below, so the
   two stay aligned with each other. */
.line {
    display: block;
    max-width: min(70ch, calc(100vw - (var(--hero-frame-gutter) * 2)));
    margin-left: 0;
}

.no-wrap-first { white-space: normal; }

.hero-content .line {
    margin-left: calc(48px - var(--hero-frame-gutter));
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: clamp(18px, 1.8vw, 26px);
        max-width: calc(100vw - (var(--hero-frame-gutter) * 2));
    }

    .hero-subtitle {
        font-size: clamp(14px, 1vw, 17px);
    }

    .line {
        max-width: calc(100vw - (var(--hero-frame-gutter) * 2));
    }

    /* Hero keeps its single-line treatment; other sections wrap normally. */
    .hero-content .line {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .line {
        max-width: 100%;
    }

    .hero-content .line {
        margin-left: 0;
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
    margin-left: calc(48px - var(--hero-frame-gutter));
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    padding: 13px 24px;
    font-size: 13px;
}

.hero-nav {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-dots {
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--color-white);
    border-color: var(--color-white);
}

.hero-arrows {
    display: flex;
    gap: 8px;
}

.hero-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-arrow:hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.hero-arrow svg {
    width: 20px;
    height: 20px;
}

/* ===== SOLUTIONS / PRODUCTS SECTION ===== */
.solutions-section {
    padding: clamp(56px, 8vh, 88px) 0;
    background: var(--color-gray-950);
}

.solutions-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 48px;
}

.solutions-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-400);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-white);
}

.filter-btn.active {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
}

.solutions-showcase {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 16px;
    margin-bottom: 32px;
}

.solutions-showcase-card,
.solutions-showcase-metrics {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.solutions-showcase-card {
    padding: 28px 32px;
}

.solutions-showcase-kicker {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-red);
}

.solutions-showcase-card h3 {
    font-size: clamp(18px, 2.1vw, 24px);
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.solutions-showcase-card p {
    color: var(--color-gray-400);
    font-size: 15px;
    max-width: 620px;
}

.solutions-showcase-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 16px;
    gap: 10px;
}

.solutions-showcase-metric {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.solutions-showcase-metric strong {
    font-size: 22px;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.solutions-showcase-metric span {
    font-size: 12px;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.solution-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 36%, rgba(255, 255, 255, 0.04) 68%, transparent);
    opacity: 0;
    transform: translateX(-120%) translateZ(0);
    transition: transform 0.65s ease, opacity 0.35s ease;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.solution-card:hover::before {
    opacity: 1;
    transform: translateX(120%) translateZ(0);
}

.product-family-card {
    cursor: pointer;
}

.product-family-card.active {
    outline: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36);
    transform: translateY(-4px);
}

.solution-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.solution-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.solution-card:hover .solution-card-image img {
    transform: scale(1.06);
}

.solution-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.solution-card-badge.laser {
    background: #00d4aa;
    color: var(--color-black);
}

.solution-card-badge.arc {
    background: var(--color-red);
    color: var(--color-white);
}

.solution-card-badge.flagship {
    background: #c9a227;
    color: var(--color-black);
}

.solution-card-badge.featured {
    background: var(--color-white);
    color: var(--color-black);
}

.solution-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-accordion {
    margin-top: auto;
    padding-top: 4px;
}

.product-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.product-accordion-toggle:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.product-accordion-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.solution-card.expanded .product-accordion-toggle {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.solution-card.expanded .product-accordion-toggle svg {
    transform: rotate(180deg);
}

.product-accordion-panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    overflow: hidden;
    transition: all var(--transition-base);
}

.solution-card.expanded .product-accordion-panel {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 12px;
}

.product-accordion-panel > .subcategory-grid {
    overflow: hidden;
    grid-template-columns: 1fr;
}

.product-accordion-panel .subcategory-card {
    cursor: pointer;
}

.solution-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.solution-highlights li {
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-gray-400);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.subcategory-panels {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.subcategory-panel {
    display: none;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.subcategory-panel.active {
    display: block;
}

.subcategory-panel-header {
    margin-bottom: 18px;
}

.subcategory-panel-header h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--color-white);
}

.subcategory-panel-header p {
    color: var(--color-gray-500);
    font-size: 14px;
    line-height: 1.6;
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.subcategory-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.subcategory-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.subcategory-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.subcategory-content {
    padding: 14px;
}

.subcategory-content h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--color-white);
    letter-spacing: -0.01em;
}

.subcategory-content p {
    font-size: 13px;
    color: var(--color-gray-500);
    line-height: 1.5;
    margin-bottom: 0;
}

.subcategory-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.subcategory-cta:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.solution-card-name {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.solution-card-type {
    font-size: 14px;
    color: var(--color-gray-500);
    margin-bottom: 0;
    line-height: 1.6;
    min-height: 44px;
}

.solution-card-specs {
    display: flex;
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.solution-spec {
    text-align: center;
}

.solution-spec-value {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: -0.01em;
    display: block;
}

.solution-spec-label {
    font-size: 11px;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.solution-card-price {
    font-size: 14px;
    color: var(--color-gray-500);
}

.solution-card-price span {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-white);
}

.solution-card-actions {
    display: flex;
    gap: 12px;
}

.btn-card {
    flex: 1;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all var(--transition-fast);
}

.btn-card-primary {
    background: var(--color-white);
    color: var(--color-black);
}

.btn-card-primary:hover {
    background: var(--color-red);
    color: var(--color-white);
}

.btn-card-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-card-secondary:hover {
    border-color: var(--color-white);
}

.solutions-cta {
    text-align: center;
    margin-top: clamp(24px, 3.5vh, 40px);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    position: relative;
    padding: clamp(56px, 8vh, 88px) 0;
    background: var(--color-black);
    overflow: hidden;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5.5vw, 80px);
    align-items: center;
}

.about-text .section-title {
    margin-bottom: clamp(12px, 2vh, 20px);
}

.about-text .section-subtitle {
    margin-bottom: clamp(20px, 3vh, 32px);
}

.about-features {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 28px;
    overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url('../images/catalog/iam-catalog-13.jpg');
    background-size: cover;
    background-position: center;
}

.about-feature {
    position: relative;
    z-index: 1;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.about-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-red);
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-red);
    margin-bottom: 16px;
}

.about-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}

.about-feature p {
    font-size: 14px;
    color: var(--color-gray-500);
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-stat {
    padding: 32px;
    background: linear-gradient(135deg, rgba(187, 10, 30, 0.18) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid rgba(187, 10, 30, 0.25);
    text-align: center;
}

.about-stat-value {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 500;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.about-stat-value span {
    font-size: 24px;
    color: var(--color-red);
}

.about-stat-label {
    font-size: 13px;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== APPLICATIONS / PROJECTS SECTION ===== */
.applications-section {
    padding: clamp(56px, 8vh, 88px) 0;
    background: var(--color-dark);
}

.applications-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(32px, 4vh, 48px);
}

.applications-header .section-subtitle {
    margin: 0 auto;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.application-card {
    position: relative;
    height: clamp(240px, 26vw, 340px);
    overflow: hidden;
    cursor: pointer;
}

.application-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.application-card:hover .application-card-bg {
    transform: scale(1.08);
}

.application-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.3) 55%,
        transparent 100%
    );
}

.application-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
}

.application-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-red);
    margin-bottom: 16px;
    transition: transform var(--transition-base);
}

.application-card:hover .application-card-icon {
    transform: scale(1.1);
}

.application-card-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-white);
}

.application-card h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}

.application-card p {
    font-size: 14px;
    color: var(--color-gray-400);
    margin-bottom: 20px;
    line-height: 1.6;
}

.application-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
    transition: gap var(--transition-fast);
}

.application-card:hover .application-card-link {
    gap: 12px;
    color: var(--color-red);
}

.application-card-link svg {
    width: 16px;
    height: 16px;
}

.applications-cta {
    text-align: center;
    margin-top: clamp(24px, 3.5vh, 40px);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: clamp(56px, 8vh, 88px) 0;
    background: var(--color-black);
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: clamp(32px, 4vh, 48px);
    gap: 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--color-dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: all var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.12);
}

.contact-card-image {
    position: relative;
    height: clamp(150px, 18vw, 200px);
    overflow: hidden;
}

.contact-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.contact-card:hover .contact-card-image img {
    transform: scale(1.06);
}

.contact-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 12px;
    background: var(--color-red);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-card-info .contact-card-category {
    position: static;
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 8px;
}

.contact-card-info .contact-card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-card-content {
    padding: 28px;
}

.contact-methods {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.contact-method:hover {
    transform: translateY(-2px);
    border-color: var(--color-red);
    background: rgba(187, 10, 30, 0.1);
    color: var(--color-white);
}

.contact-method strong,
.contact-method span {
    display: block;
}

.contact-method strong {
    font-weight: 500;
}

.contact-method span span {
    color: var(--color-gray-500);
    font-size: 14px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-icon-mail {
    background: rgba(187, 10, 30, 0.18);
    color: #ffccd3;
}

.contact-icon-whatsapp {
    background: rgba(37, 211, 102, 0.14);
    color: #25d366;
}

.contact-card-date {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

.contact-card p {
    font-size: 14px;
    color: var(--color-gray-500);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main {
    padding: clamp(44px, 6vh, 64px) 0 clamp(32px, 5vh, 52px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 48px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 4px;
}

.footer-brand .logo img {
    height: clamp(48px, 5vw, 64px);
    width: auto;
    max-width: 240px;
    transform: none;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-gray-500);
    line-height: 1.7;
    margin: 20px 0;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-black);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: var(--color-white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-gray-500);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-newsletter {
    grid-column: span 2;
}

.footer-newsletter h4 {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.footer-newsletter p {
    font-size: 14px;
    color: var(--color-gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition-fast);
}

.newsletter-input::placeholder {
    color: var(--color-gray-500);
}

.newsletter-input:focus {
    border-color: var(--color-white);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 13px;
    color: var(--color-gray-600);
}

.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 13px;
    color: var(--color-gray-600);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    z-index: 1001;
    padding: 80px 24px 24px;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--transition-fast);
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.08);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    transition: color var(--transition-fast);
}

.mobile-nav a:hover {
    color: var(--color-red);
}

.mobile-menu .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
}

/* ===== PRODUCT MODAL ===== */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.product-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.product-modal-dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: min(90vh, 760px);
    overflow-y: auto;
    padding: 32px;
    background: var(--color-dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.product-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 20px;
    transition: all var(--transition-fast);
}

.product-modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
}

.product-modal-content h3 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.product-modal-kicker {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-red);
}

.product-modal-content > p {
    color: var(--color-gray-500);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.product-modal-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.product-modal-specs span {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-modal-actions {
    margin-top: 20px;
}

body.modal-open {
    overflow: hidden;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.fade-out {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.hidden {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in,
    .fade-in.visible,
    .fade-out,
    .hero-slide,
    .hero-slide-bg,
    .solution-card,
    .application-card,
    .contact-card {
        transform: none !important;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .header-inner {
        gap: 24px;
    }

    .logo img {
        height: 52px;
        width: auto;
        max-width: 260px;
    }

    .nav-main {
        display: flex;
    }

    .nav-main .nav-link {
        display: none;
    }

    .header-actions .btn-nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .solutions-showcase {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-section,
    .about-section,
    .applications-section,
    .contact-section {
        padding: clamp(48px, 7vh, 68px) 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .applications-grid .application-card:last-child {
        grid-column: span 2;
    }

    .application-card {
        height: clamp(200px, 28vh, 300px);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-newsletter {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .lang-picker-btn {
        padding: 6px 9px;
        font-size: 11px;
    }

    .lang-picker-label {
        display: none;
    }

    .header .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .logo img {
        height: 44px;
        width: auto;
        max-width: 210px;
    }

    .hero-content-inner {
        padding: 0 var(--hero-frame-gutter) 36px;
    }

    .hero-title {
        font-size: clamp(15px, 4.5vw, 22px);
        max-width: 28ch;
        white-space: normal;
        margin-left: 0;
    }

    .hero-subtitle {
        font-size: clamp(13px, 3.5vw, 15px);
        line-height: 1.5;
    }

    .hero-buttons {
        margin-left: 0;
    }

    .hero-buttons {
        gap: 12px;
    }

    .hero-nav {
        flex-direction: column;
        gap: 16px;
    }

    .solutions-section,
    .about-section,
    .applications-section,
    .contact-section {
        padding: clamp(40px, 6vh, 56px) 0;
    }

    .solutions-showcase-metrics {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solutions-filters {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }

    .applications-grid .application-card:last-child {
        grid-column: span 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-newsletter {
        grid-column: span 1;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-main {
        padding: clamp(32px, 5vh, 44px) 0 clamp(24px, 4vh, 36px);
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }

    .hero-content-inner {
        padding-bottom: 28px;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .application-card {
        height: clamp(180px, 26vh, 240px);
    }

    .product-modal {
        padding: 12px;
    }

    .product-modal-dialog {
        padding: 20px;
    }

    .product-modal-content h3 {
        font-size: 18px;
    }

    .contact-card-content {
        padding: 20px;
    }
}

@media (max-height: 700px) {
    .hero-content-inner {
        gap: 8px;
        padding-bottom: 24px;
    }

    .hero-title {
        font-size: clamp(14px, 2.8vh, 20px);
    }

    .hero-subtitle {
        font-size: clamp(11px, 2.2vh, 14px);
        line-height: 1.4;
    }
}

/* ===== PRODUCTS SECTION — SIDEBAR LAYOUT ===== */
.products-section {
    padding: clamp(40px, 6vh, 60px) 0 clamp(52px, 8vh, 80px);
    background: var(--color-gray-950);
}

.products-section-header {
    margin-bottom: clamp(28px, 4vh, 40px);
}

/* Match hero-subtitle typography. Width/alignment/wrap behavior for the
   inner .line.no-wrap-first comes from the shared standard above —
   max-width: none here cancels the inherited .section-subtitle cap so
   that shared rule isn't clipped by a section-specific override. */
.products-section-header .section-subtitle {
    max-width: none;
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 300;
    color: var(--color-gray-300);
    line-height: 1.6;
}

@media (min-width: 1200px) {
    .products-section-header .section-subtitle {
        font-size: clamp(14px, 1vw, 17px);
    }
}

@media (max-width: 768px) {
    .products-section-header .section-subtitle {
        font-size: clamp(13px, 3.5vw, 15px);
        line-height: 1.5;
    }
}

.products-catalog {
    display: grid;
    grid-template-columns: 272px 1fr;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.01);
}

/* --- Sidebar --- */
.products-sidebar {
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 96px;
    align-self: start;
    height: fit-content;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    color: var(--color-gray-500);
    cursor: pointer;
    transition: all var(--transition-base);
}

.sidebar-nav-item + .sidebar-nav-item {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-white);
    border-left-color: rgba(255, 255, 255, 0.2);
}

.sidebar-nav-item.active {
    background: rgba(187, 10, 30, 0.07);
    color: var(--color-white);
    border-left-color: var(--color-red);
}

.sidebar-nav-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sidebar-nav-badge.arc {
    background: rgba(187, 10, 30, 0.18);
    color: #ff7b8a;
    border: 1px solid rgba(187, 10, 30, 0.35);
}

.sidebar-nav-badge.laser {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
    border: 1px solid rgba(0, 212, 170, 0.28);
}

.sidebar-nav-badge.station {
    background: rgba(201, 162, 39, 0.1);
    color: #c9a227;
    border: 1px solid rgba(201, 162, 39, 0.28);
}

.sidebar-nav-badge.handling {
    background: rgba(58, 134, 255, 0.12);
    color: #4dabf7;
    border: 1px solid rgba(58, 134, 255, 0.3);
}

.sidebar-nav-badge.structure {
    background: rgba(155, 89, 255, 0.12);
    color: #b389ff;
    border: 1px solid rgba(155, 89, 255, 0.3);
}

.sidebar-nav-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-nav-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.sidebar-nav-sub {
    font-size: 11px;
    color: var(--color-gray-600);
    letter-spacing: 0.01em;
    transition: color var(--transition-fast);
}

.sidebar-nav-item.active .sidebar-nav-sub,
.sidebar-nav-item:hover .sidebar-nav-sub {
    color: var(--color-gray-500);
}

.sidebar-nav-arrow {
    flex-shrink: 0;
    color: var(--color-gray-600);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
}

.sidebar-nav-item.active .sidebar-nav-arrow,
.sidebar-nav-item:hover .sidebar-nav-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--color-gray-400);
}

.sidebar-cta-btn {
    margin: 20px 16px 20px;
    justify-content: center;
    font-size: 12px;
    padding: 10px 16px;
}

/* --- Panel Area --- */
.products-panel-area {
    position: relative;
    min-height: 460px;
}

.product-panel {
    display: none;
    padding: 40px 44px;
    animation: panelEnter 0.28s ease forwards;
}

.product-panel.active {
    display: block;
}

@keyframes panelEnter {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Product Cards Grid --- */
.product-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px;
}

.product-panel-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.product-panel-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.product-panel-card:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}

.product-panel-card-img {
    height: 180px;
    overflow: hidden;
    background: var(--color-gray-900);
}

.product-panel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-panel-card:hover .product-panel-card-img img {
    transform: scale(1.07);
}

.product-panel-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-panel-card-tag {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-red);
}

.product-panel-card-body h4 {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.35;
    color: var(--color-white);
    margin: 0;
}

.product-panel-card-body p {
    font-size: 13px;
    color: var(--color-gray-500);
    line-height: 1.6;
    flex: 1;
    margin: 0;
}

.product-panel-card-cta {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-gray-600);
    letter-spacing: 0.02em;
    margin-top: 6px;
    transition: color var(--transition-fast);
}

.product-panel-card:hover .product-panel-card-cta {
    color: var(--color-red);
}

/* --- Placeholder for categories pending content --- */
.product-panel-placeholder {
    grid-column: 1 / -1;
    padding: 48px 24px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    color: var(--color-gray-500);
    font-size: 13px;
    line-height: 1.6;
}

/* --- Model Tabs (Welding Robot sub-navigation) --- */
.model-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.model-tabs.hidden {
    display: none;
}

.model-tab {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-gray-500);
    cursor: pointer;
    transition: all var(--transition-base);
}

.model-tab:last-child {
    border-right: none;
}

.model-tab:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-white);
}

.model-tab.active {
    background: rgba(187, 10, 30, 0.07);
    border-bottom-color: var(--color-red);
}

.model-tab-code {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--color-white);
}

.model-tab.active .model-tab-code {
    color: var(--color-red);
}

.model-tab-desc {
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-gray-500);
}

@media (max-width: 768px) {
    .model-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .model-tabs::-webkit-scrollbar {
        display: none;
    }

    .model-tab {
        flex: 0 0 auto;
        min-width: 140px;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .model-tab {
        min-width: 110px;
        padding: 10px 12px;
    }

    .model-tab-desc {
        display: none;
    }
}

/* --- Model Panels (per-model content area) --- */
.model-panel {
    display: none;
}

.model-panel.active {
    display: block;
}

.model-panel-header {
    margin-bottom: 16px;
}

.model-panel-code {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-red);
    margin-bottom: 8px;
}

.model-panel-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.3;
    color: var(--color-white);
}

.model-panel-desc {
    margin-top: 8px;
    width: 100%;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-gray-400);
    overflow-wrap: break-word;
    word-break: break-word;
}

/* --- Model Card (clickable preview, opens the model detail modal) --- */
.model-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.model-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.model-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.model-card:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}

.model-card-img {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-900);
    padding: 12px;
    box-sizing: border-box;
}

.model-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.model-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 24px;
}

.model-card-name {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-white);
}

.model-card-desc {
    font-size: 13px;
    color: var(--color-gray-500);
    line-height: 1.6;
}

.model-card-cta {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-gray-600);
    transition: color var(--transition-fast);
}

.model-card:hover .model-card-cta {
    color: var(--color-red);
}

/* --- Model Detail Modal --- */
.model-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 1650;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.model-detail-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.model-detail-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.model-detail-modal-dialog {
    position: relative;
    width: min(900px, 95%);
    max-height: min(92vh, 900px);
    overflow-y: auto;
    padding: 40px;
    background: var(--color-dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.6);
    transform: translateY(16px) scale(0.98);
    opacity: 0;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.model-detail-modal.active .model-detail-modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.model-detail-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 20px;
    transition: all var(--transition-fast);
    z-index: 5;
}

.model-detail-modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* --- Model Detail Gallery (slideshow placeholder, ready for real images) --- */
.model-detail-gallery {
    position: relative;
    margin: -40px -40px 28px -40px;
    height: clamp(560px, 65vh, 680px);
    overflow: hidden;
    background: var(--color-gray-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.model-detail-gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
}

.model-detail-gallery-slide {
    flex: 0 0 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    color: var(--color-gray-500);
    font-size: 13px;
    line-height: 1.6;
}

.model-detail-gallery-slide-img {
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    cursor: grab;
}

.model-detail-gallery-slide-img:active {
    cursor: grabbing;
}

.model-detail-gallery-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
}

.model-detail-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 2;
}

.model-detail-gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.75);
    border-color: rgba(255, 255, 255, 0.4);
}

.model-detail-gallery-arrow.prev {
    left: 12px;
}

.model-detail-gallery-arrow.next {
    right: 12px;
}

.model-detail-gallery-arrow svg {
    width: 18px;
    height: 18px;
}

.model-detail-gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.model-detail-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.model-detail-gallery-dot.active,
.model-detail-gallery-dot:hover {
    background: var(--color-white);
    border-color: var(--color-white);
}

.model-detail-modal-kicker {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-red);
}

.model-detail-modal-content h3 {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.model-detail-modal-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-gray-400);
}

.model-detail-modal-actions {
    margin-top: 28px;
}

/* --- Model Detail Modal — Rich Sections (Features / Specs / Applications) --- */
.mdm-divider {
    margin: 28px 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mdm-section {
    margin-bottom: 28px;
}

.mdm-section:last-child {
    margin-bottom: 0;
}

.mdm-section-heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-red);
    margin-bottom: 14px;
}

/* Features grid — 2 columns */
.mdm-features-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 32px;
    padding: 0;
    margin: 0;
}

.mdm-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--color-gray-400);
}

.mdm-feature-item::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--color-red);
}

/* Table wrapper — horizontal scroll on mobile */
.mdm-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 4px;
}

.mdm-table-note {
    font-size: 12px;
    color: var(--color-gray-500);
    margin-bottom: 10px;
    font-style: italic;
}

/* Data table base */
.mdm-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    min-width: 480px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mdm-data-table thead tr {
    background: rgba(187, 10, 30, 0.07);
}

.mdm-data-table th {
    padding: 9px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-gray-400);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.mdm-data-table td {
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-gray-400);
    vertical-align: top;
    line-height: 1.5;
}

.mdm-data-table tr:last-child td {
    border-bottom: none;
}

.mdm-data-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.018);
}

/* Category / group starter rows */
.mdm-row-new-cat td,
.mdm-row-new-group td:first-child {
    color: var(--color-white);
    font-weight: 600;
}

/* Cell variants */
.mdm-cell-cat {
    white-space: nowrap;
    min-width: 90px;
    font-weight: 600;
    color: var(--color-gray-300);
}

.mdm-cell-brand {
    white-space: nowrap;
    color: var(--color-gray-500) !important;
}

.mdm-cell-spec-val {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: var(--color-white) !important;
    white-space: nowrap;
}

.mdm-cell-group {
    white-space: nowrap;
    min-width: 100px;
    font-weight: 600;
    color: var(--color-white) !important;
}

.mdm-cell-spec-label {
    color: var(--color-gray-400);
}

.mdm-cell-value {
    font-weight: 500;
    color: var(--color-white) !important;
}

.mdm-cell-protocol {
    white-space: nowrap;
    min-width: 100px;
    font-weight: 600;
    color: var(--color-white) !important;
}

.mdm-cell-support {
    text-align: center;
    white-space: nowrap;
    font-weight: 600;
    min-width: 70px;
}

.mdm-yes {
    color: #4ade80 !important;
}

.mdm-cell-comms-desc {
    color: var(--color-gray-400);
}

/* Applications tags */
.mdm-applications-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mdm-application-tag {
    padding: 5px 13px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--color-gray-400);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
}

@media (max-width: 600px) {
    .mdm-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .model-detail-modal-dialog {
        width: 95%;
        padding: 28px;
        max-height: 90vh;
    }

    .model-detail-gallery {
        margin: -28px -28px 24px -28px;
        height: clamp(380px, 58vh, 520px);
    }
}

@media (max-width: 480px) {
    .model-detail-modal {
        padding: 12px;
    }

    .model-detail-modal-dialog {
        padding: 22px;
    }

    .model-detail-modal-content h3 {
        font-size: 20px;
    }

    .model-detail-gallery {
        margin: -22px -22px 20px -22px;
        height: clamp(280px, 52vh, 360px);
    }

    .model-detail-gallery-arrow {
        width: 32px;
        height: 32px;
    }
}

/* --- Products Section Responsive --- */
@media (max-width: 1024px) {
    .products-catalog {
        grid-template-columns: 240px 1fr;
    }

    .product-panel {
        padding: 32px 28px;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 32px 0 clamp(44px, 6vh, 60px);
    }

    .products-catalog {
        grid-template-columns: 1fr;
        border: none;
        gap: 0;
    }

    .products-sidebar {
        position: static;
        min-width: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        min-width: 0;
        padding: 0;
        scrollbar-width: none;
    }

    .sidebar-nav::-webkit-scrollbar { display: none; }

    .sidebar-nav-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        padding: 14px 18px;
        border-left: none;
        border-bottom: 3px solid transparent;
        min-width: 110px;
        white-space: nowrap;
    }

    .sidebar-nav-item + .sidebar-nav-item {
        border-top: none;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }

    .sidebar-nav-item.active {
        border-left-color: transparent;
        border-bottom-color: var(--color-red);
        background: rgba(187, 10, 30, 0.07);
    }

    .sidebar-nav-item:hover {
        border-left-color: transparent;
    }

    .sidebar-nav-arrow,
    .sidebar-nav-sub {
        display: none;
    }

    .sidebar-cta-btn {
        display: none;
    }

    .products-panel-area {
        min-width: 0;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-top: none;
    }

    .product-panel {
        padding: 24px 20px;
    }

    .product-panel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-panel-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.theme-toggle:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.07);
}

/* Dark mode → show sun (click to go light) */
.theme-toggle .icon-sun  { display: block; }
.theme-toggle .icon-moon { display: none;  }

/* Light mode → show moon (click to go dark) */
html[data-theme="light"] .theme-toggle .icon-sun  { display: none;  }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ===== SMOOTH THEME TRANSITION ===== */
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
    transition:
        background-color 0.25s ease,
        border-color     0.25s ease,
        color            0.25s ease,
        box-shadow       0.25s ease,
        filter           0.25s ease !important;
}

/* ===== LIGHT MODE OVERRIDES ===== */

/* --- Base --- */
html[data-theme="light"] body {
    background-color: #f4f4f5;
    color: #111111;
}

html[data-theme="light"] .section-subtitle {
    color: #52525b;
}

/* --- Header --- */
html[data-theme="light"] .header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
}

html[data-theme="light"] .logo img {
    filter: none;
}

html[data-theme="light"] .nav-link {
    color: #111111;
}

html[data-theme="light"] .nav-link:hover {
    color: #52525b;
}

html[data-theme="light"] .nav-link.active {
    color: var(--color-red);
}

html[data-theme="light"] .nav-dropdown-btn {
    color: #111111;
}

html[data-theme="light"] .nav-dropdown-menu {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .nav-dropdown-menu a {
    color: #52525b;
}

html[data-theme="light"] .nav-dropdown-menu a:hover {
    background: #f4f4f5;
    color: #111111;
}

html[data-theme="light"] .lang-picker-btn {
    border-color: rgba(0, 0, 0, 0.18);
    color: #111111;
}

html[data-theme="light"] .lang-picker-btn:hover,
html[data-theme="light"] .lang-picker[data-open] .lang-picker-btn {
    border-color: rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .lang-picker-dropdown {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .lang-picker-option {
    color: #52525b;
}

html[data-theme="light"] .lang-picker-option + .lang-picker-option {
    border-top-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .lang-picker-option:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #111111;
}

html[data-theme="light"] .lang-picker-option.active {
    color: #111111;
}

html[data-theme="light"] .btn-nav-cta {
    color: rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .btn-nav-cta:hover {
    color: #111111;
    border-color: rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .lang-switcher {
    border-color: rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .lang-switcher-btn {
    color: rgba(0, 0, 0, 0.4);
}

html[data-theme="light"] .lang-switcher-btn + .lang-switcher-btn {
    border-left-color: rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .lang-switcher-btn:hover:not(.active) {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.8);
}

html[data-theme="light"] .theme-toggle {
    border-color: rgba(0, 0, 0, 0.18);
    color: #111111;
}

html[data-theme="light"] .theme-toggle:hover {
    border-color: rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .mobile-menu-btn span {
    background: #111111;
}

html[data-theme="light"] .header-icon-btn {
    color: #111111;
}

/* --- Mobile Menu --- */
html[data-theme="light"] .mobile-menu {
    background: #ffffff;
    border-right-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .mobile-menu-close {
    color: #111111;
    border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .mobile-nav a {
    color: #111111;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .mobile-nav a:hover {
    color: var(--color-red);
}

html[data-theme="light"] .mobile-nav a.active {
    color: var(--color-red);
}

/* --- Solutions / Products cards section --- */
html[data-theme="light"] .solutions-section {
    background: #f0f0f1;
}

html[data-theme="light"] .filter-btn {
    color: #52525b;
    border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .filter-btn:hover {
    border-color: rgba(0, 0, 0, 0.35);
    color: #111111;
}

html[data-theme="light"] .filter-btn.active {
    color: #ffffff;
}

html[data-theme="light"] .solutions-showcase-card,
html[data-theme="light"] .solutions-showcase-metrics {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .solutions-showcase-card p {
    color: #52525b;
}

html[data-theme="light"] .solutions-showcase-metric {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .solutions-showcase-metric strong {
    color: #111111;
}

html[data-theme="light"] .solutions-showcase-metric span {
    color: #71717a;
}

html[data-theme="light"] .solution-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .solution-card:hover {
    border-color: rgba(0, 0, 0, 0.16);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .solution-card::before {
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.05), transparent 36%, rgba(0, 0, 0, 0.02) 68%, transparent);
}

html[data-theme="light"] .product-family-card.active {
    outline-color: rgba(0, 0, 0, 0.18);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .solution-card-type {
    color: #71717a;
}

html[data-theme="light"] .solution-card-specs {
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .solution-spec-label {
    color: #71717a;
}

html[data-theme="light"] .solution-card-price {
    color: #71717a;
}

html[data-theme="light"] .solution-card-price span {
    color: #111111;
}

html[data-theme="light"] .solution-highlights li {
    border-color: rgba(0, 0, 0, 0.1);
    color: #52525b;
}

html[data-theme="light"] .product-accordion-toggle {
    border-color: rgba(0, 0, 0, 0.1);
    color: #111111;
}

html[data-theme="light"] .product-accordion-toggle:hover {
    border-color: rgba(0, 0, 0, 0.22);
    background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .solution-card.expanded .product-accordion-toggle {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .subcategory-panel {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] .subcategory-panel-header h3 {
    color: #111111;
}

html[data-theme="light"] .subcategory-panel-header p {
    color: #71717a;
}

html[data-theme="light"] .subcategory-card {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
}

html[data-theme="light"] .subcategory-card:hover {
    border-color: rgba(0, 0, 0, 0.16);
    background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .subcategory-content h4 {
    color: #111111;
}

html[data-theme="light"] .subcategory-content p {
    color: #71717a;
}

html[data-theme="light"] .subcategory-cta {
    border-color: rgba(0, 0, 0, 0.12);
    color: #111111;
}

html[data-theme="light"] .btn-card-primary {
    background: #111111;
    color: #ffffff;
}

html[data-theme="light"] .btn-card-primary:hover {
    background: var(--color-red);
}

html[data-theme="light"] .btn-card-secondary {
    color: #111111;
    border-color: rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .btn-card-secondary:hover {
    border-color: #111111;
}

/* --- About Section --- */
html[data-theme="light"] .about-section {
    background: #ffffff;
}

html[data-theme="light"] .about-feature {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .about-feature:hover {
    background: rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .about-feature h4 {
    color: #111111;
}

html[data-theme="light"] .about-feature p {
    color: #71717a;
}

html[data-theme="light"] .about-features {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
        url('../images/catalog/iam-catalog-13.jpg');
}

html[data-theme="light"] .about-stat {
    background: linear-gradient(135deg, rgba(187, 10, 30, 0.1) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-color: rgba(187, 10, 30, 0.2);
}

html[data-theme="light"] .about-stat-value {
    color: #111111;
}

html[data-theme="light"] .about-stat-label {
    color: #71717a;
}

/* --- Applications / Projects Section --- */
html[data-theme="light"] .applications-section {
    background: #f0f0f1;
}

/* --- Contact Section --- */
html[data-theme="light"] .contact-section {
    background: #ffffff;
}

html[data-theme="light"] .contact-card {
    background: #fafafa;
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .contact-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .contact-card h3 {
    color: #111111;
}

html[data-theme="light"] .contact-card p {
    color: #71717a;
}

html[data-theme="light"] .contact-card-date {
    color: #71717a;
}

html[data-theme="light"] .contact-method {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
    color: #111111;
}

html[data-theme="light"] .contact-method:hover {
    background: rgba(187, 10, 30, 0.05);
    border-color: var(--color-red);
}

html[data-theme="light"] .contact-method span span {
    color: #71717a;
}

/* --- Products Section (sidebar catalog) --- */
html[data-theme="light"] .products-section {
    background: #f4f4f5;
}

html[data-theme="light"] .products-section-header .section-subtitle {
    color: #52525b;
}

html[data-theme="light"] .products-catalog {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.01);
}

html[data-theme="light"] .products-sidebar {
    border-right-color: rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

html[data-theme="light"] .sidebar-nav-item {
    color: #71717a;
    border-left-color: transparent;
}

html[data-theme="light"] .sidebar-nav-item + .sidebar-nav-item {
    border-top-color: rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .sidebar-nav-item:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #111111;
    border-left-color: rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .sidebar-nav-item.active {
    background: rgba(187, 10, 30, 0.06);
    color: #111111;
    border-left-color: var(--color-red);
}

html[data-theme="light"] .sidebar-nav-sub {
    color: #a1a1aa;
}

html[data-theme="light"] .sidebar-nav-item.active .sidebar-nav-sub,
html[data-theme="light"] .sidebar-nav-item:hover .sidebar-nav-sub {
    color: #71717a;
}

html[data-theme="light"] .sidebar-nav-arrow {
    color: #a1a1aa;
}

html[data-theme="light"] .sidebar-nav-item.active .sidebar-nav-arrow,
html[data-theme="light"] .sidebar-nav-item:hover .sidebar-nav-arrow {
    color: #71717a;
}

/* --- Model Tabs --- */
html[data-theme="light"] .model-tabs {
    border-bottom-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
}

html[data-theme="light"] .model-tab {
    color: #71717a;
    border-right-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .model-tab:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #111111;
}

html[data-theme="light"] .model-tab.active {
    background: rgba(187, 10, 30, 0.06);
}

html[data-theme="light"] .model-tab-code {
    color: #111111;
}

html[data-theme="light"] .model-tab.active .model-tab-code {
    color: var(--color-red);
}

html[data-theme="light"] .model-tab-desc {
    color: #71717a;
}

/* --- Product panel cards --- */
html[data-theme="light"] .products-panel-area {
    background: #ffffff;
}

html[data-theme="light"] .product-panel-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .product-panel-card:hover {
    border-color: rgba(0, 0, 0, 0.16);
    background: #fafafa;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .product-panel-card-img {
    background: #f0f0f1;
}

html[data-theme="light"] .product-panel-card-body h4 {
    color: #111111;
}

html[data-theme="light"] .product-panel-card-body p {
    color: #71717a;
}

html[data-theme="light"] .product-panel-placeholder {
    border-color: rgba(0, 0, 0, 0.1);
    color: #71717a;
}

/* --- Model panel + model cards --- */
html[data-theme="light"] .model-panel-title {
    color: #111111;
}

html[data-theme="light"] .model-panel-desc {
    color: #52525b;
}

html[data-theme="light"] .model-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .model-card:hover {
    border-color: rgba(0, 0, 0, 0.16);
    background: #fafafa;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .model-card-img {
    background: #f0f0f1;
}

html[data-theme="light"] .model-card-name {
    color: #111111;
}

html[data-theme="light"] .model-card-desc {
    color: #71717a;
}

html[data-theme="light"] .model-card-cta {
    color: #a1a1aa;
}

/* Mobile: sidebar border bottom in light mode */
@media (max-width: 768px) {
    html[data-theme="light"] .products-sidebar {
        border-bottom-color: rgba(0, 0, 0, 0.08);
    }

    html[data-theme="light"] .products-panel-area {
        border-color: rgba(0, 0, 0, 0.08);
    }

    html[data-theme="light"] .sidebar-nav-item + .sidebar-nav-item {
        border-left-color: rgba(0, 0, 0, 0.06);
        border-top-color: transparent;
    }

    html[data-theme="light"] .sidebar-nav-item.active {
        border-bottom-color: var(--color-red);
        border-left-color: transparent;
    }
}

/* --- Product Modal --- */
html[data-theme="light"] .product-modal-backdrop {
    background: rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .product-modal-dialog {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .product-modal-close {
    color: #111111;
    border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .product-modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .product-modal-content > p {
    color: #52525b;
}

html[data-theme="light"] .product-modal-specs span {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.03);
    color: #111111;
}

/* --- Model Detail Modal --- */
html[data-theme="light"] .model-detail-modal-backdrop {
    background: rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .model-detail-modal-dialog {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .model-detail-modal-close {
    color: #111111;
    border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .model-detail-modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .model-detail-gallery {
    background: #f0f0f1;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .model-detail-gallery-slide {
    border-color: rgba(0, 0, 0, 0.1);
    color: #71717a;
}

html[data-theme="light"] .model-detail-gallery-arrow {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(0, 0, 0, 0.14);
    color: #111111;
}

html[data-theme="light"] .model-detail-gallery-arrow:hover {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(0, 0, 0, 0.28);
}

html[data-theme="light"] .model-detail-gallery-dot {
    border-color: rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .model-detail-gallery-dot.active,
html[data-theme="light"] .model-detail-gallery-dot:hover {
    background: #111111;
    border-color: #111111;
}

html[data-theme="light"] .model-detail-modal-content h3 {
    color: #111111;
}

html[data-theme="light"] .model-detail-modal-content p {
    color: #52525b;
}

html[data-theme="light"] .mdm-divider {
    border-top-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .mdm-feature-item {
    color: #52525b;
}

html[data-theme="light"] .mdm-table-note {
    color: #71717a;
}

html[data-theme="light"] .mdm-data-table {
    border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .mdm-data-table thead tr {
    background: rgba(187, 10, 30, 0.04);
}

html[data-theme="light"] .mdm-data-table th {
    color: #52525b;
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .mdm-data-table td {
    color: #52525b;
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .mdm-data-table tbody tr:nth-child(even) td {
    background: rgba(0, 0, 0, 0.02);
}

html[data-theme="light"] .mdm-row-new-cat td,
html[data-theme="light"] .mdm-row-new-group td:first-child,
html[data-theme="light"] .mdm-cell-group,
html[data-theme="light"] .mdm-cell-protocol,
html[data-theme="light"] .mdm-cell-spec-val,
html[data-theme="light"] .mdm-cell-value {
    color: #111111 !important;
}

html[data-theme="light"] .mdm-cell-cat {
    color: #374151;
}

html[data-theme="light"] .mdm-cell-brand,
html[data-theme="light"] .mdm-cell-spec-label,
html[data-theme="light"] .mdm-cell-comms-desc {
    color: #71717a !important;
}

html[data-theme="light"] .mdm-application-tag {
    color: #52525b;
    border-color: rgba(0, 0, 0, 0.14);
    background: rgba(0, 0, 0, 0.03);
}
