/* ============================================
   CSS Variables - Industrial Navy & Amber Theme
   ============================================ */
:root {
    --navy: #12304A;
    --hero-blue: #193B57;
    --primary: #2F6F95;
    --primary-light: #4B8DB5;
    --accent: #D99035;
    --background: #F5F7F8;
    --background-alt: #EAF0F3;
    --surface: #FFFFFF;
    --text: #1D2B35;
    --text-strong: #0F1A22;
    --muted: #667681;
    --border: #D6E0E5;
    --success: #22c55e;
    --max-width: 1280px;
    --section-padding: 80px 20px;
    --radius: 6px;
    --transition: all 0.3s ease;
}

/* ============================================ Reset & Base ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Image placeholder */
.img-placeholder {
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--surface) 100%);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 0.85rem;
    border: 1px dashed var(--border); position: relative; overflow: hidden;
}
.img-placeholder::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(47,111,149,0.04) 10px, rgba(47,111,149,0.04) 20px);
}
.img-placeholder span { position: relative; z-index: 1; padding: 10px; text-align: center; font-weight: 500; }

/* ============================================ Buttons ============================================ */
.btn { display: inline-block; padding: 12px 28px; font-size: 0.95rem; font-weight: 600; border-radius: var(--radius); cursor: pointer; transition: var(--transition); border: none; text-align: center; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(47,111,149,0.25); }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: #c47f28; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(217,144,53,0.3); }
.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-light { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-light:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-whatsapp { background: var(--success); color: white; display: flex; align-items: center; gap: 8px; }
.btn-whatsapp:hover { background: #16a34a; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(34,197,94,0.3); }

/* ============================================ Section Headers ============================================ */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; color: var(--text-strong); margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; color: var(--muted); max-width: 600px; margin: 0 auto; }
.section-header .line { width: 60px; height: 3px; background: var(--primary); margin: 16px auto 0; }

/* ============================================ Navigation ============================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(214,224,229,0.8); transition: var(--transition);
}
.navbar.scrolled { background: rgba(255,255,255,0.98); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.home-navbar {
    background: linear-gradient(180deg, rgba(9,27,41,0.62) 0%, rgba(9,27,41,0.28) 62%, rgba(9,27,41,0) 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 0;
    box-shadow: none;
    transition: box-shadow 0.32s ease, color 0.32s ease;
}
.home-navbar.scrolled {
    background: linear-gradient(180deg, rgba(9,27,41,0.62) 0%, rgba(9,27,41,0.28) 62%, rgba(9,27,41,0) 100%);
    border-bottom: 0;
    box-shadow: 0 3px 16px rgba(0,0,0,0.1);
}
.home-navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease;
}
.home-navbar.scrolled::before { opacity: 1; }
.home-navbar .nav-container { position: relative; z-index: 1; }
.home-navbar .nav-container { height: 92px; }
.home-navbar .nav-logo {
    gap: 13px;
    font-size: 1.76rem;
    letter-spacing: 0.015em;
}
.home-navbar .nav-logo .logo-icon {
    width: 72px;
    height: 72px;
    background: transparent url('../img/meiyu-mark-transparent.png?v=20260828n') center/112% auto no-repeat;
    border-radius: 0;
    box-shadow: none;
}
.home-navbar .nav-menu { gap: clamp(18px, 1.2vw, 24px); }
.home-navbar .nav-link,
.home-navbar .nav-dropdown-toggle { font-size: 0.98rem; font-weight: 650; }
.home-navbar .lang-switcher-btn { font-size: 0.94rem; }
.home-navbar .nav-cta { padding: 12px 20px; font-size: 0.96rem; }
.home-navbar .nav-logo span { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.home-navbar .nav-logo,
.home-navbar .nav-link,
.home-navbar .nav-dropdown-toggle { text-shadow: 0 1px 8px rgba(5,20,31,0.32); }
.home-navbar .nav-link,
.home-navbar .nav-dropdown-toggle { color: rgba(255,255,255,0.92); border-radius: 6px; }
.home-navbar .nav-link:hover,
.home-navbar .nav-link.active,
.home-navbar .nav-dropdown-toggle:hover,
.home-navbar .nav-dropdown-toggle.active,
.home-navbar .nav-dropdown-toggle[aria-expanded="true"] {
    color: #fff;
    background: rgba(255,255,255,0.12);
}
.home-navbar .nav-link { padding-left: 8px; padding-right: 8px; }
.home-navbar .nav-dropdown-toggle { padding-left: 8px; padding-right: 8px; }
.home-navbar .nav-link::after { left: 8px; bottom: 3px; max-width: calc(100% - 16px); background: #8ec8dc; }
.home-navbar .nav-cta,
.home-navbar .nav-cta-mobile { background: #1f5b61; color: #fff; }
.home-navbar .nav-cta:hover,
.home-navbar .nav-cta-mobile:hover { background: #17484d; box-shadow: 0 4px 12px rgba(23,72,77,0.24); }
.home-navbar .lang-switcher-btn { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.26); color: #fff; }
.home-navbar .hamburger span { background: #fff; }
.home-navbar.scrolled .nav-logo span { background: none; -webkit-text-fill-color: var(--navy); color: var(--navy); }
.home-navbar.scrolled .nav-logo,
.home-navbar.scrolled .nav-link,
.home-navbar.scrolled .nav-dropdown-toggle { text-shadow: none; }
.home-navbar.scrolled .nav-link,
.home-navbar.scrolled .nav-dropdown-toggle { color: #222e3c; }
.home-navbar.scrolled .nav-link:hover,
.home-navbar.scrolled .nav-link.active,
.home-navbar.scrolled .nav-dropdown-toggle:hover,
.home-navbar.scrolled .nav-dropdown-toggle.active,
.home-navbar.scrolled .nav-dropdown-toggle[aria-expanded="true"] { color: #1d5062; background: rgba(85,157,190,0.1); }
.home-navbar.scrolled .nav-link::after { background: #367e9c; }
.home-navbar.scrolled .lang-switcher-btn { background: var(--background-alt); border-color: var(--border); color: var(--text); }
.home-navbar.scrolled .hamburger span { background: var(--navy); }
.nav-container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.nav-logo { font-size: 1.25rem; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 9px; white-space: nowrap; flex-shrink: 0; letter-spacing: -0.02em; }
.nav-logo .logo-icon { width: 36px; height: 36px; background: var(--surface) url('../img/meiyu-mark.png') center/contain no-repeat; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0; color: transparent; flex-shrink: 0; box-shadow: 0 2px 7px rgba(18,48,74,0.12); }
.nav-logo span { background: linear-gradient(135deg, var(--navy), var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Desktop nav menu */
.nav-menu { display: flex; align-items: center; gap: 24px; margin-left: auto; margin-right: 8px; }
.nav-link { font-size: 0.94rem; font-weight: 600; color: var(--muted); transition: var(--transition); position: relative; white-space: nowrap; padding: 8px 0; min-height: 44px; display: flex; align-items: center; }
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 4px; font-size: 0.94rem; font-weight: 600; color: var(--muted); background: none; border: none; cursor: pointer; transition: var(--transition); white-space: nowrap; padding: 8px 0; min-height: 44px; font-family: inherit; }
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.active { color: var(--navy); }
.nav-dropdown-toggle .dropdown-arrow { width: 14px; height: 14px; transition: var(--transition); flex-shrink: 0; }
.nav-dropdown-toggle[aria-expanded="true"] { color: var(--navy); }
.nav-dropdown-toggle[aria-expanded="true"] .dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-10px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0,0,0,0.1); min-width: 180px; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 100; padding: 8px 0; }
.nav-dropdown-menu.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a { display: block; padding: 10px 20px; font-size: 0.9rem; color: var(--text); transition: var(--transition); white-space: nowrap; min-height: 44px; display: flex; align-items: center; }
.nav-dropdown-menu a:hover { background: var(--background-alt); color: var(--primary); }

@media (min-width: 1025px) {
    .nav-dropdown-menu {
        top: calc(100% + 8px);
        min-width: 224px;
        padding: 10px;
        border: 1px solid rgba(47,111,149,0.18);
        border-radius: 14px;
        background: rgba(255,255,255,0.98);
        box-shadow: 0 18px 44px rgba(18,48,74,0.16), 0 3px 10px rgba(18,48,74,0.08);
        transform: translateX(-50%) translateY(-6px);
        transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
        backdrop-filter: blur(14px);
    }
    .nav-dropdown-menu::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        width: 12px;
        height: 12px;
        background: rgba(255,255,255,0.98);
        border-top: 1px solid rgba(47,111,149,0.18);
        border-left: 1px solid rgba(47,111,149,0.18);
        transform: translateX(-50%) rotate(45deg);
    }
    .nav-dropdown-menu a {
        position: relative;
        gap: 11px;
        min-height: 46px;
        padding: 11px 14px;
        border-radius: 9px;
        color: #425366;
        font-size: 0.91rem;
        font-weight: 600;
    }
    .nav-dropdown-menu a + a { margin-top: 3px; }
    .nav-dropdown-menu a::before {
        content: '';
        width: 4px;
        height: 18px;
        border-radius: 999px;
        background: var(--primary);
        opacity: 0;
        transform: scaleY(0.5);
        transition: opacity 0.18s ease, transform 0.18s ease;
        flex: 0 0 auto;
    }
    .nav-dropdown-menu a:hover,
    .nav-dropdown-menu a:focus-visible,
    .nav-dropdown-menu a[aria-current="page"] {
        color: var(--primary);
        background: rgba(47,111,149,0.09);
    }
    .nav-dropdown-menu a:hover::before,
    .nav-dropdown-menu a:focus-visible::before,
    .nav-dropdown-menu a[aria-current="page"]::before {
        opacity: 1;
        transform: scaleY(1);
    }
    .nav-dropdown-menu a:focus-visible { outline: 2px solid rgba(47,111,149,0.42); outline-offset: -2px; }
    html[dir="rtl"] .nav-dropdown-menu a::before { order: 2; }
}

/* Nav right area */
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta { white-space: nowrap; padding: 11px 22px; font-size: 0.92rem; }
.nav-cta-mobile { display: none; }

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-switcher-btn { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--background-alt); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; font-size: 0.88rem; font-weight: 600; color: var(--text); transition: var(--transition); min-height: 44px; }
.lang-switcher-btn:hover { border-color: var(--primary); }
.lang-switcher-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.lang-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0,0,0,0.1); min-width: 190px; max-height: min(360px, calc(100vh - 100px)); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: var(--transition); z-index: 100; }
.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 0.9rem; color: var(--text); transition: var(--transition); border-bottom: 1px solid var(--border); min-height: 44px; }
.lang-dropdown a:last-child { border-bottom: none; }
.lang-dropdown a:hover { background: var(--background-alt); }
.lang-dropdown a.active { color: var(--primary); font-weight: 600; }
.lang-dropdown .lang-code { font-size: 0.75rem; color: var(--muted); margin-left: auto; }

/* Arabic edition */
html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
html[dir="rtl"] .lang-dropdown .lang-code { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .nav-dropdown-menu,
html[dir="rtl"] .footer-col,
html[dir="rtl"] .product-card-body,
html[dir="rtl"] .product-dialog-copy,
html[dir="rtl"] .contact-form { text-align: right; }
html[dir="rtl"] .product-variant-list li::before,
html[dir="rtl"] .feature-list li::before { margin-right: 0; margin-left: 10px; }
html[dir="rtl"] .carousel-arrow-prev svg,
html[dir="rtl"] .carousel-arrow-next svg { transform: scaleX(-1); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; background: none; border: none; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.hamburger span { width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================ Hero / Carousel ============================================ */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; background: var(--navy); }
.hero-carousel { position: relative; width: 100%; height: 100%; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity 1.2s ease-in-out; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide .slide-bg { width: 100%; height: 100%; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-slide .slide-bg .img-placeholder { width: 100%; height: 100%; font-size: 1.2rem; background: linear-gradient(135deg, var(--navy) 0%, var(--hero-blue) 100%); color: rgba(255,255,255,0.6); border: none; }
.hero-slide.active .slide-bg { animation: kenBurns 8s ease-out forwards; }
@keyframes kenBurns { 0% { transform: scale(1); } 100% { transform: scale(1.12); } }
.hero-slide .slide-bg::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(18,48,74,0.88) 0%, rgba(18,48,74,0.55) 50%, rgba(18,48,74,0.3) 100%); }
.hero-slide .slide-bg::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, rgba(18,48,74,0.3) 0%, transparent 30%, transparent 70%, rgba(18,48,74,0.5) 100%); z-index: 1; }
.hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; z-index: 10; width: 100%; max-width: 900px; padding: 0 20px; }
.hero-slide .hero-content { opacity: 0; transform: translate(-50%, -45%); transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s; }
.hero-slide.active .hero-content { opacity: 1; transform: translate(-50%, -50%); }
.hero-content h1 { font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-content h1 span { color: var(--accent); }
.hero-content h2 { font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-content .subtitle { font-size: 0.95rem; color: rgba(255,255,255,0.85); margin-bottom: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; }
.hero-content .tagline { font-size: 1.1rem; color: var(--accent); margin-bottom: 36px; font-weight: 600; letter-spacing: 0.5px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Carousel Arrows */
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.carousel-arrow:hover { background: rgba(255,255,255,0.3); border-color: rgba(255,255,255,0.5); }
.carousel-arrow svg { width: 22px; height: 22px; stroke: #fff; }
.carousel-arrow-prev { left: 24px; }
.carousel-arrow-next { right: 24px; }

.carousel-indicators { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.carousel-indicator { width: 40px; height: 4px; background: rgba(255,255,255,0.3); border: none; cursor: pointer; border-radius: 2px; transition: var(--transition); }
.carousel-indicator.active { background: var(--accent); width: 60px; }
.carousel-pause { position: absolute; bottom: 16px; left: calc(50% + 154px); z-index: 12; min-width: 58px; height: 32px; padding: 0 12px; border: 1px solid rgba(255,255,255,0.36); border-radius: 999px; background: rgba(18,48,74,0.58); color: #fff; font: inherit; font-size: 0.72rem; font-weight: 750; cursor: pointer; backdrop-filter: blur(8px); transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.carousel-pause:hover { border-color: rgba(255,255,255,0.72); background: rgba(47,111,149,0.9); transform: translateY(-1px); }
.carousel-pause:focus-visible { outline: 3px solid rgba(255,255,255,0.82); outline-offset: 3px; }
.carousel-pause.is-paused { background: rgba(217,144,53,0.9); }
.scroll-down { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 10; animation: bounce 2s infinite; background: none; border: none; cursor: pointer; }
.scroll-down svg { width: 24px; height: 24px; stroke: rgba(255,255,255,0.6); }
@keyframes bounce { 0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px); } 60% { transform: translateX(-50%) translateY(-5px); } }

@media (max-width: 768px) {
    .hero { min-height: 500px; height: auto; padding: 80px 0 60px; }
    .hero-carousel { height: auto; min-height: 500px; }
    .hero-slide { position: relative; min-height: 500px; }
    .hero-slide:not(.active) { display: none; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content h2 { font-size: 2rem; }
    .hero-content .subtitle { font-size: 0.85rem; }
    .hero-content .tagline { font-size: 0.95rem; }
    .carousel-arrow { display: none; }
    .carousel-pause { right: 18px; bottom: 56px; left: auto; }
    .scroll-down { display: none; }
    .product-detail-layout { grid-template-columns: 1fr; gap: 24px; }
    .product-gallery { position: static; }
    .product-detail-sidebar h1 { font-size: 1.5rem; }
    .product-quick-specs { grid-template-columns: 1fr; }
    .product-detail-actions { flex-direction: column; }
    .product-detail-actions .btn { width: 100%; min-width: 0; }
}

/* ============================================ Direct Answer Summary ============================================ */
.direct-answer {
    background: var(--background-alt);
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 40px;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.8;
}

/* ============================================ Breadcrumbs ============================================ */
.breadcrumb {
    padding: 90px 0 20px;
    background: var(--surface);
}
.breadcrumb nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.85rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span.separator { color: var(--border); }
.breadcrumb span.current { color: var(--text-strong); font-weight: 600; }

/* ============================================ Page Hero (inner pages) ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--hero-blue) 100%);
    padding: 120px 20px 60px;
    text-align: center;
}
.page-hero h1 { font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; }

/* Compact page hero for product detail & contact pages */
.page-hero-compact {
    background: linear-gradient(135deg, var(--navy) 0%, var(--hero-blue) 100%);
    padding: 84px 20px 16px;
}
.page-hero-compact .breadcrumb { padding: 0; background: none; }
.page-hero-compact .breadcrumb nav { font-size: 0.8rem; }
.page-hero-compact .breadcrumb a, .page-hero-compact .breadcrumb span { color: rgba(255,255,255,0.7); }
.page-hero-compact .breadcrumb .current { color: #fff; }

/* ============================================ Advantages ============================================ */
.advantages { padding: var(--section-padding); background: var(--surface); }
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advantage-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 24px; text-align: center; transition: var(--transition); }
.advantage-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 30px rgba(47,111,149,0.1); }
.advantage-icon { width: 64px; height: 64px; margin: 0 auto 20px; background: linear-gradient(135deg, rgba(47,111,149,0.1), rgba(75,141,181,0.05)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.advantage-icon svg { width: 32px; height: 32px; stroke: var(--primary); }
.advantage-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-strong); margin-bottom: 10px; }
.advantage-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ============================================ Products Grid ============================================ */
.products { padding: var(--section-padding); background: var(--background-alt); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: var(--primary); }
.product-image { aspect-ratio: 4/3; overflow: hidden; background: var(--background); position: relative; }
.product-image .img-placeholder { width: 100%; height: 100%; font-size: 0.85rem; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-strong); margin-bottom: 4px; }
.product-applications { font-size: 0.8rem; color: var(--muted); margin-bottom: 12px; font-style: italic; }
.product-specs { margin-bottom: 16px; }
.product-specs li { font-size: 0.85rem; color: var(--muted); padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.product-specs li::before { content: '•'; color: var(--accent); font-weight: bold; }
.product-card-buttons { display: flex; gap: 8px; margin-top: auto; }
.product-card-buttons .btn { flex: 1; font-size: 0.8rem; padding: 10px 12px; }
.product-card-buttons .btn-outline { border: 2px solid var(--border); color: var(--text); }
.product-card-buttons .btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================ Product Detail Layout ============================================ */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-gallery { position: sticky; top: 84px; }
.product-gallery-main { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--background); border: 1px solid var(--border); margin-bottom: 12px; }
.product-gallery-main .img-placeholder { width: 100%; height: 100%; font-size: 1rem; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.product-gallery-thumb { width: 80px; height: 60px; aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; background: var(--background); border: 2px solid var(--border); cursor: pointer; transition: var(--transition); }
.product-gallery-thumb.active { border-color: var(--primary); }
.product-gallery-thumb .img-placeholder { width: 100%; height: 100%; font-size: 0.65rem; }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-sidebar { }
.product-detail-sidebar h1 { font-size: 1.8rem; font-weight: 800; color: var(--text-strong); margin-bottom: 8px; line-height: 1.3; }
.product-detail-sidebar .product-summary { font-size: 1rem; color: var(--muted); margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.product-quick-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 24px; }
.quick-spec { }
.quick-spec .spec-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.quick-spec .spec-value { font-size: 0.95rem; font-weight: 600; color: var(--text-strong); }
.product-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.product-detail-actions .btn { flex: 1; min-width: 140px; }
.product-detail-actions .btn-whatsapp { flex: 0 0 auto; }
.no-real-image { display: none; }

/* ============================================ Factory Section ============================================ */
.factory { padding: var(--section-padding); background: var(--surface); }
.factory-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.factory-image { position: relative; border-radius: var(--radius); overflow: hidden; }
.factory-image .img-placeholder { width: 100%; height: 400px; font-size: 1rem; }
.factory-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; position: absolute; bottom: 20px; left: 20px; right: 20px; }
.factory-stat { text-align: center; padding: 16px 12px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: var(--radius); }
.factory-stat .number { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; line-height: 1; }
.factory-stat .label { font-size: 0.8rem; color: var(--muted); }
.factory-text h2 { font-size: 2.2rem; font-weight: 700; color: var(--text-strong); margin-bottom: 20px; line-height: 1.3; }
.factory-text .line { width: 60px; height: 3px; background: var(--accent); margin-bottom: 24px; }
.factory-text > p { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.certifications { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.cert-badge { padding: 8px 16px; background: rgba(47,111,149,0.08); border: 1px solid rgba(47,111,149,0.2); border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; color: var(--primary); }

/* ============================================ Projects ============================================ */
.projects { padding: var(--section-padding); background: var(--background-alt); }
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; border: 1px solid var(--border); }
.project-card .img-placeholder { width: 100%; height: 100%; font-size: 0.9rem; }
.project-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(18,48,74,0.95) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; transition: var(--transition); opacity: 0.9; }
.project-card:hover .project-overlay { opacity: 1; background: linear-gradient(to top, rgba(18,48,74,0.98) 0%, rgba(47,111,149,0.2) 100%); }
.project-overlay h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.project-overlay p { font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.project-feature { max-width: 1040px; margin: 0 auto; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: 0 18px 48px rgba(18,48,74,0.08); }
.project-feature-gallery { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(280px,0.85fr); gap: 14px; padding: 14px; background: #e9eef1; }
.project-feature-main, .project-feature-secondary figure { margin: 0; overflow: hidden; border-radius: 10px; background: #dfe6ea; }
.project-feature-main { min-height: 380px; }
.project-feature-secondary { display: grid; grid-template-rows: repeat(2,minmax(0,1fr)); gap: 14px; }
.project-feature-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-feature-main img { object-position: center; }
.project-feature-secondary figure:first-child img { object-position: center 40%; }
.project-feature-gallery figure:hover img { transform: scale(1.018); }
.project-feature-body { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,0.75fr); gap: 42px; padding: 34px; }
.project-feature-copy h3 { margin: 6px 0 14px; color: var(--text-strong); font-size: clamp(1.55rem,2.5vw,2.15rem); }
.project-feature-copy p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.project-facts { display: grid; gap: 14px; margin: 0; padding: 20px 22px; border-left: 3px solid var(--accent); background: rgba(217,144,53,0.07); }
.project-facts div { display: grid; grid-template-columns: 74px 1fr; gap: 12px; }
.project-facts dt { color: var(--muted); font-size: 0.82rem; }
.project-facts dd { margin: 0; color: var(--text-strong); font-size: 0.9rem; font-weight: 700; }

/* ============================================ FAQ ============================================ */
.faq { padding: var(--section-padding); background: var(--surface); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--primary); }
.faq-question { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text-strong); font-size: 1rem; }
.faq-question .faq-icon { width: 24px; height: 24px; flex-shrink: 0; transition: var(--transition); color: var(--primary); }
.faq-item.active .faq-question .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; padding: 0 24px 20px; }
.faq-answer p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* ============================================ CTA Section ============================================ */
.cta-section { padding: 80px 20px; background: linear-gradient(135deg, var(--navy) 0%, var(--hero-blue) 100%); text-align: center; }
.cta-section h2 { font-size: 2.2rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; color: rgba(255,255,255,0.75); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================ Footer ============================================ */
.footer { background: var(--navy); padding: 60px 20px 30px; }
.footer-content { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-col .footer-logo { font-size: 1.4rem; font-weight: 800; margin-bottom: 16px; color: white; }
.footer-col .footer-logo span { background: linear-gradient(135deg, #fff, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-col p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 16px; }
.footer-contact { margin-top: 16px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-contact li svg { width: 18px; height: 18px; stroke: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom { max-width: var(--max-width); margin: 0 auto; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; stroke: white; }

/* ============================================ WhatsApp Float ============================================ */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; z-index: 999; display: flex; align-items: center; gap: 10px; }
.whatsapp-float .tooltip { background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: var(--radius); font-size: 0.85rem; font-weight: 500; opacity: 0; transform: translateX(10px); transition: var(--transition); white-space: nowrap; pointer-events: none; border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.whatsapp-float:hover .tooltip { opacity: 1; transform: translateX(0); }
.whatsapp-btn { width: 60px; height: 60px; background: var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(34,197,94,0.4); transition: var(--transition); animation: pulse 2s infinite; }
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(34,197,94,0.5); }
.whatsapp-btn svg { width: 30px; height: 30px; fill: white; }
@keyframes pulse { 0%,100% { box-shadow: 0 4px 20px rgba(34,197,94,0.4); } 50% { box-shadow: 0 4px 30px rgba(34,197,94,0.6); } }

/* ============================================ Spec Tables ============================================ */
.spec-table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius); border: 1px solid var(--border); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.spec-table th { background: var(--navy); color: #fff; padding: 14px 16px; text-align: left; font-weight: 600; font-size: 0.85rem; }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text); }
.spec-table tr:nth-child(even) td { background: var(--background-alt); }
.spec-table tr:hover td { background: var(--background); }

/* Comparison Table */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin: 24px 0; }
.comparison-table th, .comparison-table td { padding: 14px 16px; border: 1px solid var(--border); text-align: left; }
.comparison-table th { background: var(--background-alt); font-weight: 700; color: var(--text-strong); }
.comparison-table .check { color: var(--success); font-weight: bold; }
.comparison-table .cross { color: #ef4444; }

/* ============================================ Content Sections ============================================ */
.content-section { padding: var(--section-padding); }
.content-section.alt { background: var(--background-alt); }
.content-section h2 { font-size: 1.8rem; font-weight: 700; color: var(--text-strong); margin-bottom: 16px; }
.content-section h3 { font-size: 1.3rem; font-weight: 600; color: var(--text-strong); margin: 24px 0 12px; }
.content-section p { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.content-section ul:not(.product-specs):not(.footer-links):not(.footer-contact):not(.nav-menu) { margin: 16px 0; }
.content-section ul:not(.product-specs):not(.footer-links):not(.footer-contact):not(.nav-menu) li { font-size: 0.95rem; color: var(--muted); padding: 6px 0 6px 24px; position: relative; }
.content-section ul:not(.product-specs):not(.footer-links):not(.footer-contact):not(.nav-menu) li::before { content: '•'; color: var(--accent); position: absolute; left: 0; font-weight: bold; }

/* Article meta */
.article-meta { display: flex; gap: 16px; font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.article-meta span { display: flex; align-items: center; gap: 6px; }

/* ============================================ Contact Form ============================================ */
.contact-form { max-width: 700px; margin: 0 auto; background: var(--surface); padding: 40px; border-radius: var(--radius); border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-strong); margin-bottom: 6px; }
.form-group label .required { color: #ef4444; }
.form-group label .optional { color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; font-size: 0.95rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--background); color: var(--text); transition: var(--transition); font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,111,149,0.1); }
.form-group input[aria-invalid="true"], .form-group select[aria-invalid="true"], .form-group textarea[aria-invalid="true"] { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-error { color: #ef4444; font-size: 0.85rem; margin-top: 4px; display: none; align-items: center; gap: 4px; }
.form-error::before { content: '\26A0'; margin-right: 4px; }
.form-error.show { display: flex; }
.form-success { background: rgba(34,197,94,0.1); border: 1px solid var(--success); color: #15803d; padding: 16px; border-radius: var(--radius); text-align: center; margin-bottom: 20px; display: none; }
.form-success.show { display: block; }
.form-loading { background: rgba(47,111,149,0.1); border: 1px solid var(--primary); color: var(--primary); padding: 16px; border-radius: var(--radius); text-align: center; margin-bottom: 20px; display: none; }
.form-loading.show { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.btn-loading { position: relative; pointer-events: none; opacity: 0.7; }
.btn-loading::after { content: ''; position: absolute; top: 50%; right: 12px; width: 16px; height: 16px; margin-top: -8px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Collapsible Technical Details */
.tech-details-toggle { width: 100%; text-align: left; background: var(--background-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; font-size: 0.9rem; font-weight: 600; color: var(--text-strong); cursor: pointer; transition: var(--transition); display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-family: inherit; }
.tech-details-toggle:hover { border-color: var(--primary); }
.tech-details-toggle .toggle-icon { transition: var(--transition); }
.tech-details-toggle[aria-expanded="true"] .toggle-icon { transform: rotate(180deg); }
.tech-details-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.tech-details-content.open { max-height: 600px; margin-bottom: 20px; }

/* ============================================ Focus Visible (Accessibility) ============================================ */
*:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn:focus-visible, .nav-link:focus-visible, .hamburger:focus-visible, .lang-switcher-btn:focus-visible, .nav-dropdown-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.form-group input:focus-visible, .form-group select:focus-visible, .form-group textarea:focus-visible { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,111,149,0.15); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ============================================ Info Cards ============================================ */
.info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; transition: var(--transition); }
.info-card:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.info-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-strong); margin-bottom: 12px; }
.info-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ============================================ Featured Application ============================================ */
.application-feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); max-width: 1120px; margin: 0 auto; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: 0 18px 48px rgba(18,48,74,0.08); }
.application-feature-media { min-height: 520px; margin: 0; background: #dfe6ea; }
.application-feature-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.application-feature-body { display: flex; flex-direction: column; justify-content: center; padding: 44px; }
.application-feature-body h3 { margin: 0 0 16px; color: var(--text-strong); font-size: clamp(1.55rem, 2.5vw, 2.1rem); }
.application-feature-body > p { margin: 0 0 24px; color: var(--muted); line-height: 1.85; }
.application-feature-points { display: grid; gap: 12px; margin-bottom: 24px; }
.application-feature-point { padding: 15px 18px; border-left: 3px solid var(--accent); background: rgba(217,144,53,0.07); }
.application-feature-point strong { display: block; margin-bottom: 4px; color: var(--text-strong); font-size: 0.92rem; }
.application-feature-point span { color: var(--muted); font-size: 0.87rem; line-height: 1.65; }
.application-feature-products { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 26px; padding: 0; list-style: none; }
.application-feature-products li::before { display: none; content: none; }
.application-feature-products a { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 12px; border: 1px solid rgba(47,111,149,0.28); border-radius: 999px; background: rgba(47,111,149,0.07); color: var(--primary); font-size: 0.82rem; font-weight: 700; }
.application-feature-products a:hover { border-color: var(--primary); background: rgba(47,111,149,0.12); }
.application-feature-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
    .application-feature { grid-template-columns: 1fr; }
    .application-feature-media { min-height: 0; aspect-ratio: 16 / 10; }
    .application-feature-body { padding: 32px 26px; }
}
@media (max-width: 520px) {
    .application-feature-body { padding: 26px 20px; }
    .application-feature-actions .btn { width: 100%; }
}

/* ============================================ Two Column Layout ============================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.two-col .col-content h2 { font-size: 1.8rem; font-weight: 700; color: var(--text-strong); margin-bottom: 16px; }
.two-col .col-content p { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }

/* ============================================ Company Profile ============================================ */
.company-profile { display: grid; grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.company-logo-panel { min-height: 320px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 48px; box-shadow: 0 16px 40px rgba(18,48,74,0.08); }
.company-logo-panel img { width: 100%; max-width: 520px; height: auto; }
.company-profile-copy h2 { font-size: 2rem; font-weight: 800; color: var(--text-strong); margin-bottom: 22px; }
.company-profile-copy p { color: var(--muted); line-height: 1.9; margin-bottom: 16px; }
.company-kicker { display: inline-block; margin-bottom: 12px; color: var(--primary); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.company-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.company-value { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: var(--radius); padding: 28px 24px; }
.company-value h3 { margin: 0 0 10px; font-size: 1.1rem; }
.company-value p { margin: 0; font-size: 0.92rem; line-height: 1.7; }

/* ============================================ MEI YU Product Architecture ============================================ */
.hero-slide .home-hero-bg {
    background-image:
        radial-gradient(circle at 76% 24%, rgba(75,141,181,0.38), transparent 30%),
        linear-gradient(120deg, #0d263a 0%, #173e5a 58%, #256487 100%);
    background-size: cover;
}
.hero-slide .home-hero-bg::after { background: linear-gradient(90deg, rgba(10,30,45,0.82) 0%, rgba(18,48,74,0.64) 34%, rgba(18,48,74,0.18) 68%, rgba(18,48,74,0.04) 100%); }
.hero-home { height: 100vh; min-height: 100vh; }
.hero-home .hero-content { max-width: 1440px; padding: 0 96px; text-align: left; }
.hero-home .hero-copy { max-width: 780px; }
.hero-home .hero-content h1,
.hero-home .hero-content h2 { max-width: 780px; margin-bottom: 22px; font-size: clamp(3rem, 4.1vw, 4.35rem); line-height: 1.12; letter-spacing: -0.025em; }
.hero-home .hero-content h1 span,
.hero-home .hero-content h2 span { color: #e8a548; }
.hero-home .hero-content .subtitle { margin-bottom: 18px; color: #f3b760; font-size: 0.9rem; font-weight: 800; letter-spacing: 0.16em; }
.hero-home .hero-content .tagline { max-width: 680px; margin-bottom: 34px; color: rgba(255,255,255,0.88); font-size: 1.08rem; font-weight: 500; line-height: 1.7; }
.hero-home .hero-buttons { justify-content: flex-start; }
.hero-home .carousel-indicators { bottom: 26px; }
.hero-home .scroll-down { bottom: 62px; }
.hero-home .carousel-arrow { width: 52px; height: 52px; }
.hero-home .carousel-arrow-prev { left: 28px; }
.hero-home .carousel-arrow-next { right: 28px; }
.hero-home .slide-bg { background-position: center; }
.hero-home .slide-bg::before { background: linear-gradient(to bottom, rgba(18,48,74,0.08) 0%, transparent 35%, transparent 72%, rgba(18,48,74,0.16) 100%); }
.hero-home .hero-bg-board { background-image: url('../img/products/glass-wool-foil-board.jpg?v=20260828a'); background-position: center; }
.hero-home .hero-bg-pipe { background-image: url('../img/products/glass-wool-pipe.jpg?v=20260828a'); background-position: center; }
.hero-home .hero-bg-building { background-image: url('../img/products/rubber-foam-pipe-board.jpg?v=20260828a'); background-position: center; }
.hero-home .hero-bg-range { background-image: url('../img/products/aluminum-silicate-foil-board.jpg?v=20260828a'); background-position: center; }
.hero-home .hero-bg-production { background-image: url('../img/hero/rock-wool-production-line.jpg?v=20260828f'); background-position: center right; }
.hero-brand-mark { width: 86px; height: 86px; margin: 0 auto 18px; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.22)); }
.hero-points { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-points span { padding: 7px 12px; border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.88); font-size: 0.82rem; backdrop-filter: blur(4px); }
.home-intro { padding-bottom: 28px; }
.home-intro .direct-answer { max-width: 980px; margin: 0 auto; }
.section-kicker { display: inline-block; margin-bottom: 10px; color: var(--primary); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.card-index { display: inline-block; margin-bottom: 18px; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; }

.hot-products-showcase { margin: 0 0 86px; }
.hot-products-heading { margin-bottom: 32px; text-align: center; }
.hot-products-heading span { display: block; margin-bottom: 8px; color: var(--primary); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.15em; }
.hot-products-heading h2 { margin: 0; color: var(--text-strong); font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.025em; }
.hot-products-shell { position: relative; padding: 0 52px; }
.hot-products-viewport { overflow: hidden; }
.hot-products-track { display: flex; gap: 18px; }
.hot-product-card { flex: 0 0 calc((100% - 72px) / 5); min-width: 0; color: var(--text-strong); text-align: center; }
.hot-product-media { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--border); background: linear-gradient(145deg, #f8fafb 0%, #e7ecef 100%); isolation: isolate; }
.hot-product-media img { position: relative; z-index: 1; width: 100%; height: 100%; padding: 14px; object-fit: contain; background: transparent; filter: saturate(0.88) contrast(1.025) brightness(1.015); transition: transform 0.35s ease; }
.hot-product-card:hover .hot-product-media img { transform: scale(1.025); }
.hot-product-card h3 { margin: 16px 8px 0; font-size: 1rem; font-weight: 650; line-height: 1.45; }
.hot-product-card:hover h3 { color: var(--primary); }
.hot-products-arrow { position: absolute; top: calc(50% - 24px); z-index: 4; display: grid; width: 44px; height: 52px; padding: 0; place-items: center; border: 0; background: var(--navy); color: #fff; cursor: pointer; transform: translateY(-50%); transition: background 0.2s ease, transform 0.2s ease; }
.hot-products-arrow:hover { background: var(--primary); transform: translateY(-50%) scale(1.04); }
.hot-products-arrow:focus-visible { outline: 3px solid rgba(47,111,149,0.3); outline-offset: 3px; }
.hot-products-arrow svg { width: 24px; height: 24px; }
.hot-products-prev { left: 0; }
.hot-products-next { right: 0; }

.taxonomy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.taxonomy-grid-home { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.taxonomy-grid-home > .product-family-card:last-child { grid-column: auto; }
.product-family-card { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; cursor: pointer; transition: var(--transition); }
.product-family-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 14px 34px rgba(18,48,74,0.1); }
.family-card-wide { grid-column: span 2; }
.family-media { position: relative; margin: -22px -22px 22px; aspect-ratio: 16 / 9; background: linear-gradient(145deg, #f8fafb 0%, #e7ecef 100%); border-bottom: 1px solid var(--border); overflow: hidden; }
.family-media > img { width: 100%; height: 100%; object-fit: contain; }
.family-carousel-track { position: relative; width: 100%; height: 100%; }
.family-carousel-slide { position: absolute; inset: 0; z-index: 0; margin: 0; overflow: hidden; opacity: 0; visibility: hidden; transform: scale(1.025); isolation: isolate; transition: opacity 0.55s ease, visibility 0.55s ease, transform 0.8s ease; }
.family-carousel-slide.active { z-index: 1; opacity: 1; visibility: visible; transform: scale(1); }
.family-carousel-slide img { position: relative; z-index: 1; width: 100%; height: 100%; padding: 14px; object-fit: contain; background: transparent; filter: saturate(0.88) contrast(1.025) brightness(1.015); }
.family-carousel-slide figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 2; max-width: calc(100% - 150px); overflow: hidden; padding: 7px 10px; border-radius: 6px; background: rgba(18,48,74,0.86); color: #fff; font-size: 0.76rem; font-weight: 750; letter-spacing: 0.02em; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(6px); }
.family-carousel-nav { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: flex; gap: 5px; padding: 5px; border: 1px solid rgba(255,255,255,0.55); border-radius: 8px; background: rgba(255,255,255,0.88); box-shadow: 0 4px 14px rgba(18,48,74,0.14); backdrop-filter: blur(8px); }
.family-carousel-nav button { display: grid; width: 29px; height: 26px; padding: 0; place-items: center; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font-size: 0.66rem; font-weight: 800; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.family-carousel-nav button:hover { background: rgba(47,111,149,0.1); color: var(--primary); }
.family-carousel-nav button.active { background: var(--primary); color: #fff; }
.family-carousel-nav button:focus-visible { outline: 3px solid rgba(47,111,149,0.3); outline-offset: 2px; }
.family-card-head { display: flex; align-items: flex-start; gap: 14px; }
.family-number { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 30px; padding: 0 9px; border-radius: 999px; background: rgba(47,111,149,0.1); color: var(--primary); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; }
.family-card-head h3 { margin: 0 0 2px; color: var(--text-strong); font-size: 1.25rem; }
.family-card-head p { margin: 0; color: var(--muted); font-size: 0.84rem; }
.family-summary-list { margin: 20px 0 24px; }
.family-summary-list li { position: relative; padding: 7px 0 7px 18px; color: var(--muted); font-size: 0.9rem; border-bottom: 1px solid rgba(214,224,229,0.6); }
.family-summary-list li::before { content: ''; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.family-summary-list.inline { display: flex; flex-wrap: wrap; gap: 8px; }
.family-summary-list.inline li { padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; }
.family-summary-list.inline li::before { display: none; }
.family-link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); color: var(--primary); font-size: 0.9rem; font-weight: 700; }
.family-link::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 12px; }
.family-link:focus-visible { outline: none; }
.family-link:focus-visible::after { outline: 3px solid rgba(47,111,149,0.42); outline-offset: -4px; }
.family-link span { transition: transform 0.2s ease; }
.family-link:hover span { transform: translateX(4px); }

.home-product-family-rows { display: grid; gap: 72px; margin-top: 44px; scroll-margin-top: 110px; }
.home-family-product-row { min-width: 0; margin: 0; }
.home-family-row-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 52px 24px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.home-family-row-heading h3 { margin: 0; color: var(--text-strong); font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.3; }
.home-family-row-heading a { flex: 0 0 auto; color: var(--primary); font-size: 0.9rem; font-weight: 700; }
.home-family-row-heading a:hover { color: var(--primary-dark); }
.news-center-section { scroll-margin-top: 110px; }

@media (min-width: 1025px) {
    .hot-products-showcase .hot-products-shell,
    .home-family-product-row .hot-products-shell {
        position: relative;
        left: 50%;
        width: min(2080px, calc(100vw - 64px));
        margin-right: 0;
        margin-left: 0;
        transform: translateX(-50%);
    }
    .home-family-row-heading {
        position: relative;
        left: 50%;
        width: min(1976px, calc(100vw - 168px));
        margin-right: 0;
        margin-left: 0;
        transform: translateX(-50%);
    }
    html[dir="rtl"] .hot-products-showcase .hot-products-shell,
    html[dir="rtl"] .home-family-product-row .hot-products-shell,
    html[dir="rtl"] .home-family-row-heading {
        right: 50%;
        left: auto;
        transform: translateX(50%);
    }
}
@media (min-width: 1025px) and (max-width: 1366px) {
    .hot-product-card { flex-basis: calc((100% - 36px) / 3); }
}
.section-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.sourcing-section { background: var(--surface); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--border); }
.process-step { padding: 30px 24px; background: var(--surface); }
.process-step > span { display: block; margin-bottom: 18px; color: var(--accent); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; }
.process-step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.process-step p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.quality-capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.quality-capability-card { display: flex; flex-direction: column; min-height: 280px; padding: 26px 22px; border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 12px; background: var(--surface); box-shadow: 0 10px 28px rgba(18,48,74,0.06); }
.quality-capability-card h3 { margin: 0 0 12px; color: var(--text-strong); font-size: 1.08rem; }
.quality-capability-card p { margin: 0 0 18px; color: var(--muted); font-size: 0.9rem; line-height: 1.75; }
.quality-capability-card small { display: block; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); color: var(--primary); font-size: 0.79rem; font-weight: 700; line-height: 1.55; }
.quality-process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quality-control-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 36px; align-items: stretch; }
.quality-control-copy { padding: 34px; border-radius: 14px; background: var(--navy); color: #fff; }
.quality-control-copy h3 { margin: 0 0 14px; font-size: 1.45rem; }
.quality-control-copy p { margin: 0 0 18px; color: rgba(255,255,255,0.78); line-height: 1.8; }
.quality-control-copy ul { margin: 0; padding: 0; list-style: none; }
.quality-control-copy li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.9); font-size: 0.9rem; line-height: 1.6; }
.quality-control-copy li::before { content: ''; position: absolute; top: 18px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #f0b96a; }
.quality-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quality-check-card { padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.quality-check-card span { display: block; margin-bottom: 12px; color: var(--accent); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; }
.quality-check-card h3 { margin: 0 0 8px; color: var(--text-strong); font-size: 1.05rem; }
.quality-check-card p { margin: 0; color: var(--muted); font-size: 0.87rem; line-height: 1.7; }
.quality-document-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.quality-document-card { padding: 24px 20px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); }
.quality-document-card strong { display: block; margin-bottom: 8px; color: var(--text-strong); font-size: 1rem; }
.quality-document-card p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.68; }
.quality-disclaimer { max-width: 920px; margin: 24px auto 0; padding: 16px 18px; border-left: 3px solid var(--accent); background: rgba(217,144,53,0.07); color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
html[dir="rtl"] .quality-control-copy li { padding-right: 22px; padding-left: 0; }
html[dir="rtl"] .quality-control-copy li::before { right: 0; left: auto; }
html[dir="rtl"] .quality-disclaimer { border-right: 3px solid var(--accent); border-left: 0; }
.application-grid { grid-template-columns: repeat(4, 1fr); }
.trust-section { padding-top: 34px; padding-bottom: 34px; background: var(--background); }
.trust-panel { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr); gap: 42px; align-items: center; padding: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--hero-blue)); }
.trust-panel h2 { color: #fff; margin-bottom: 12px; }
.trust-panel p { margin: 0; color: rgba(255,255,255,0.72); }
.trust-panel .section-kicker { color: #f0b96a; }
.trust-actions { display: flex; flex-direction: column; gap: 12px; }

.product-page-hero { padding-bottom: 66px; }
.catalog-intro { padding-top: 42px; padding-bottom: 34px; }
.catalog-intro .direct-answer { max-width: 1040px; margin: 0 auto 26px; }
.product-jump-nav { position: sticky; top: 76px; z-index: 20; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; max-width: 980px; margin: 0 auto; padding: 10px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,0.94); box-shadow: 0 8px 24px rgba(18,48,74,0.08); backdrop-filter: blur(10px); }
.product-jump-nav a { padding: 9px 18px; border-radius: 999px; color: var(--text); font-size: 0.9rem; font-weight: 700; transition: var(--transition); }
.product-jump-nav a:hover { background: var(--primary); color: #fff; }
.catalog-section { padding-top: 48px; }
.catalog-stack { display: grid; gap: 28px; }
.catalog-family { scroll-margin-top: 94px; padding: 34px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: 0 10px 28px rgba(18,48,74,0.05); }
.catalog-family-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.catalog-family-header h2 { margin: 4px 0 6px; font-size: 1.75rem; }
.catalog-family-header p { margin: 0; max-width: 700px; }
.catalog-family-header .btn { flex-shrink: 0; }
.family-eyebrow { color: var(--primary); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; }
.product-photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.product-photo-strip.two { grid-template-columns: repeat(2, 1fr); }
.product-photo-strip.single { grid-template-columns: minmax(0, 560px); }
.product-photo-strip figure { overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.product-photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.product-photo-strip figcaption { padding: 10px 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.82rem; }
.catalog-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.catalog-product-grid.two { grid-template-columns: repeat(2, 1fr); }
.catalog-product { padding: 22px; border: 1px solid var(--border); border-radius: 10px; background: var(--background); }
.catalog-product h3 { margin: 0 0 14px; font-size: 1.08rem; }
.catalog-section .catalog-product ul { margin: 0; }
.catalog-section .catalog-product li { padding: 0; border-top: 1px solid var(--border); }
.catalog-section .catalog-product li::before { display: none; }
.catalog-product a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; color: var(--text); font-size: 0.9rem; }
.catalog-product a::after { content: '→'; color: var(--primary); }
.catalog-product a:hover { color: var(--primary); }
.rock-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.rock-product-link { display: flex; flex-direction: column; min-height: 160px; padding: 22px; border: 1px solid var(--border); border-radius: 10px; background: var(--background); transition: var(--transition); }
.rock-product-link:hover { border-color: var(--primary); transform: translateY(-3px); }
.rock-product-link strong { margin-bottom: 6px; color: var(--text-strong); font-size: 1.05rem; }
.rock-product-link span { color: var(--muted); font-size: 0.86rem; }
.rock-product-link em { margin-top: auto; color: var(--primary); font-size: 0.84rem; font-style: normal; font-weight: 700; }
.accessory-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 24px; }
.accessory-grid a { padding: 20px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--background); color: var(--text-strong); text-align: center; font-size: 0.9rem; font-weight: 700; transition: var(--transition); }
.accessory-grid a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.requirement-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.requirement-grid > div { display: flex; flex-direction: column; gap: 8px; padding: 26px 22px; background: var(--surface); border-right: 1px solid var(--border); }
.requirement-grid > div:last-child { border-right: none; }
.requirement-grid strong { color: var(--text-strong); }
.requirement-grid span { color: var(--muted); font-size: 0.86rem; line-height: 1.6; }
.form-notice { max-width: 700px; margin: 0 auto 18px; padding: 16px 18px; border: 1px solid rgba(47,111,149,0.28); border-radius: var(--radius); background: rgba(47,111,149,0.08); color: var(--text); font-size: 0.9rem; line-height: 1.7; }
.content-section[id], .anchor-target { scroll-margin-top: 88px; }
.anchor-target { display: block; }

/* ============================================ Pending Badge ============================================ */
.pending-badge { display: inline-block; padding: 2px 8px; background: rgba(217,144,53,0.15); border: 1px solid rgba(217,144,53,0.3); border-radius: 4px; font-size: 0.75rem; font-weight: 600; color: var(--accent); margin-left: 8px; }

/* ============================================ Responsive ============================================ */
@media (max-width: 1024px) {
    .advantages-grid, .products-grid { grid-template-columns: repeat(2,1fr); }
    .projects-grid { grid-template-columns: repeat(2,1fr); }
    .project-feature-gallery { grid-template-columns: minmax(0,1.35fr) minmax(240px,0.8fr); }
    .project-feature-main { min-height: 340px; }
    .project-feature-body { grid-template-columns: 1fr; gap: 24px; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 2.8rem; }
    .info-grid { grid-template-columns: repeat(2,1fr); }
    .product-detail-layout { grid-template-columns: 1fr 1fr; gap: 24px; }
    .company-profile { grid-template-columns: 1fr; gap: 36px; }
    .company-logo-panel { min-height: 260px; padding: 36px; }
    .taxonomy-grid { grid-template-columns: repeat(2, 1fr); }
    .taxonomy-grid-home > .product-family-card:last-child { grid-column: auto; }
    .family-card-wide { grid-column: auto; }
    .process-grid, .requirement-grid { grid-template-columns: repeat(2, 1fr); }
    .application-grid { grid-template-columns: repeat(2, 1fr); }
    .quality-capability-grid, .quality-document-grid { grid-template-columns: repeat(2, 1fr); }
    .quality-process-grid { grid-template-columns: repeat(2, 1fr); }
    .quality-control-layout { grid-template-columns: 1fr; }
    .catalog-product-grid, .rock-product-grid { grid-template-columns: repeat(2, 1fr); }
    .accessory-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-home .hero-content { padding: 0 64px; }
    .hero-home .hero-copy { max-width: 660px; }
    .hero-home .hero-content h1,
    .hero-home .hero-content h2 { font-size: clamp(2.65rem, 5.5vw, 3.6rem); }
    .hot-product-card { flex-basis: calc((100% - 18px) / 2); }
}
/* Wide desktop navigation; laptop layouts remain expanded below this range. */
@media (min-width: 1701px) {
    .navbar:not(.home-navbar) {
        background: rgba(255,255,255,0.98);
        border-bottom-color: rgba(214,224,229,0.55);
    }
    .nav-container {
        max-width: 1740px;
        display: grid;
        grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
        column-gap: 20px;
    }
    .navbar:not(.home-navbar) .nav-container {
        height: clamp(82px, 6.4vw, 92px);
    }
    .nav-logo { justify-self: start; }
    .navbar:not(.home-navbar) .nav-logo {
        gap: 13px;
        font-size: clamp(1.48rem, 2vw, 1.76rem);
        letter-spacing: 0.015em;
    }
    .navbar:not(.home-navbar) .nav-logo .logo-icon {
        width: clamp(68px, 5.8vw, 84px);
        height: clamp(68px, 5.8vw, 84px);
        background: transparent url('../img/meiyu-mark-transparent.png?v=20260828n') center/112% auto no-repeat;
        border-radius: 0;
        box-shadow: none;
    }
    .nav-menu { justify-self: center; margin: 0; }
    .nav-menu { gap: clamp(18px, 1.2vw, 24px); }
    .nav-link, .nav-dropdown-toggle { font-size: clamp(0.9rem, 1.05vw, 0.98rem); font-weight: 650; }
    .nav-right { justify-self: end; }
    .navbar:not(.home-navbar) .lang-switcher-btn { min-height: 52px; padding: 10px 15px; font-size: 0.94rem; }
    .navbar:not(.home-navbar) .nav-cta { min-height: 52px; padding: 14px 24px; font-size: 0.96rem; }
    .page-hero { padding-top: 140px; }
    .product-hub-hero { padding-top: 162px; }
    .product-toolbar { top: 102px; }
    .product-sidebar { top: 188px; }
    .content-section[id], .anchor-target { scroll-margin-top: 108px; }
}
/* Compact desktop navigation fits ordinary laptop windows without a mobile menu. */
@media (min-width: 1025px) and (max-width: 1700px) {
    .navbar .nav-container { max-width: 1740px; height: 80px; gap: 14px; padding-inline: 24px; }
    .navbar .nav-logo { gap: 8px; font-size: 1.25rem; }
    .navbar .nav-logo .logo-icon { width: 48px; height: 48px; }
    .navbar .nav-menu { flex: 1; min-width: 0; justify-content: center; gap: clamp(6px, 0.65vw, 11px); margin: 0; }
    .navbar .nav-menu > .nav-link,
    .navbar .nav-dropdown-toggle { font-size: 0.9rem; padding-inline: 4px; white-space: normal; line-height: 1.4; }
    .navbar .nav-dropdown { min-width: 0; }
    .navbar .nav-right { gap: 8px; }
    .navbar .lang-switcher-btn { padding: 8px 12px; min-width: 44px; justify-content: center; }
    .navbar .lang-label { display: none; }
    .navbar .nav-cta { padding: 10px 12px; min-height: 44px; font-size: 0.9rem; }
}
/* Long translated labels get their own row in narrow desktop windows. */
@media (min-width: 1025px) and (max-width: 1199px) {
    html:not([lang^="zh"]) .navbar .nav-container { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 60px 48px; height: 108px; row-gap: 0; }
    html:not([lang^="zh"]) .navbar .nav-logo { grid-column: 1; grid-row: 1; }
    html:not([lang^="zh"]) .navbar .nav-right { grid-column: 2; grid-row: 1; }
    html:not([lang^="zh"]) .navbar .nav-menu { grid-column: 1 / -1; grid-row: 2; width: 100%; justify-content: space-between; gap: 12px; }
    html:not([lang^="zh"]) .page-hero { padding-top: 148px; }
    html:not([lang^="zh"]) .content-section[id], html:not([lang^="zh"]) .anchor-target { scroll-margin-top: 124px; }
}
/* Only tablet and phone widths use the collapsible navigation. */
@media (max-width: 1024px) {
    .hamburger { display: flex; }
    .nav-menu { position: fixed; top: 72px; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 16px 20px; gap: 0; transform: translateY(-150%); transition: transform 0.3s ease; border-bottom: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,0.06); max-height: calc(100vh - 72px); overflow-y: auto; }
    .nav-menu.active { transform: translateY(0); }
    .nav-menu .nav-link { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--border); min-height: 48px; }
    .nav-menu .nav-link::after { display: none; }
    .nav-dropdown { width: 100%; }
    .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); min-height: 48px; }
    .nav-dropdown-menu { position: static; transform: none; box-shadow: none; border: none; border-radius: 0; min-width: 0; padding: 0 0 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; opacity: 1; visibility: visible; }
    .nav-dropdown-menu.open { max-height: 300px; padding: 8px 0 8px 20px; }
    .nav-dropdown-menu a { padding: 12px 0; border-bottom: 1px solid var(--border); }
    .nav-cta { display: none; }
    .nav-cta-mobile { display: flex; width: 100%; margin-top: 16px; padding: 14px; font-size: 1rem; justify-content: center; min-height: 48px; }
    .lang-switcher-btn .lang-label { display: none; }
    .home-navbar .nav-container { height: 86px; }
    .home-navbar .nav-logo { gap: 11px; font-size: 1.55rem; }
    .home-navbar .nav-logo .logo-icon { width: 62px; height: 62px; }
    .home-navbar .nav-menu { top: 86px; max-height: calc(100vh - 86px); background: rgba(255,255,255,0.98); }
    .home-navbar .nav-menu .nav-link,
    .home-navbar .nav-menu .nav-dropdown-toggle { color: #222e3c; }
    .home-navbar .nav-menu .nav-link:hover,
    .home-navbar .nav-menu .nav-link.active,
    .home-navbar .nav-menu .nav-dropdown-toggle:hover,
    .home-navbar .nav-menu .nav-dropdown-toggle.active,
    .home-navbar .nav-menu .nav-dropdown-toggle[aria-expanded="true"] { color: #1d5062; background: rgba(85,157,190,0.1); }
    .home-navbar .nav-menu .nav-cta-mobile { color: #fff; }
}
@media (max-width: 768px) {
    :root { --section-padding: 60px 16px; }
    .section-header h2 { font-size: 1.6rem; }
    .factory-content, .two-col { grid-template-columns: 1fr; gap: 40px; }
    .factory-image .img-placeholder { height: 280px; }
    .factory-text h2 { font-size: 1.6rem; }
    .advantages-grid, .products-grid, .projects-grid, .info-grid { grid-template-columns: 1fr; }
    .quality-capability-grid, .quality-process-grid, .quality-check-grid, .quality-document-grid { grid-template-columns: 1fr; }
    .quality-capability-card { min-height: 0; }
    .quality-control-copy { padding: 26px 22px; }
    .project-feature-gallery { grid-template-columns: 1fr; }
    .project-feature-main { min-height: 0; aspect-ratio: 4/3; }
    .project-feature-secondary { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: none; }
    .project-feature-secondary figure { aspect-ratio: 4/3; }
    .project-feature-body { padding: 24px 20px; }
    .project-facts div { grid-template-columns: 66px 1fr; }
    .factory-stats { grid-template-columns: repeat(2,1fr); }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cta-section h2 { font-size: 1.6rem; }
    .whatsapp-float { bottom: 20px; right: 20px; }
    .whatsapp-btn { width: 52px; height: 52px; }
    .whatsapp-btn svg { width: 26px; height: 26px; }
    .whatsapp-float .tooltip { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 1.8rem; }
    .contact-form { padding: 24px; }
    .company-values { grid-template-columns: 1fr; }
    .company-logo-panel { min-height: 220px; padding: 28px; }
    .hero-brand-mark { width: 70px; height: 70px; }
    .taxonomy-grid, .process-grid, .requirement-grid, .catalog-product-grid, .catalog-product-grid.two, .rock-product-grid, .product-photo-strip, .product-photo-strip.two, .application-grid { grid-template-columns: 1fr; }
    .product-family-card { padding: 18px; }
    .family-media { margin: -18px -18px 20px; }
    .family-carousel-slide figcaption { left: 12px; bottom: 12px; max-width: calc(100% - 130px); }
    .family-carousel-nav { right: 10px; bottom: 10px; }
    .trust-panel { grid-template-columns: 1fr; gap: 26px; padding: 30px 24px; }
    .product-jump-nav { position: static; justify-content: flex-start; border-radius: 12px; }
    .product-jump-nav a { flex: 1 1 42%; text-align: center; }
    .catalog-family { padding: 24px 18px; }
    .catalog-family-header { align-items: flex-start; flex-direction: column; }
    .catalog-family-header .btn { width: 100%; }
    .accessory-grid { grid-template-columns: repeat(2, 1fr); }
    .requirement-grid > div { border-right: none; border-bottom: 1px solid var(--border); }
    .requirement-grid > div:last-child { border-bottom: none; }
    .hero-home { height: 100svh; min-height: 100svh; padding: 0; }
    .hero-home .hero-carousel { height: 100%; min-height: 0; }
    .hero-home .hero-slide { position: absolute; min-height: 0; display: block; }
    .hero-home .hero-content { padding: 0 24px; }
    .hero-home .hero-copy { max-width: 100%; }
    .hero-home .hero-content h1,
    .hero-home .hero-content h2 { font-size: clamp(2rem, 9vw, 2.65rem); line-height: 1.16; }
    .hero-home .hero-content .subtitle { font-size: 0.75rem; letter-spacing: 0.11em; }
    .hero-home .hero-content .tagline { font-size: 0.94rem; line-height: 1.6; }
    .hero-home .hero-buttons { gap: 10px; }
    .hero-home .hero-buttons .btn { flex: 1 1 180px; padding: 12px 16px; }
    .hero-home .carousel-indicators { bottom: 22px; gap: 7px; }
    .hero-home .carousel-indicator { width: 24px; }
    .hero-home .carousel-indicator.active { width: 38px; }
    .hero-home .slide-bg::after { background: linear-gradient(100deg, rgba(8,25,39,0.82) 0%, rgba(12,38,56,0.62) 56%, rgba(12,38,56,0.18) 100%); }
    .home-navbar .nav-container { height: 80px; }
    .home-navbar .nav-logo { gap: 9px; font-size: 1.42rem; }
    .home-navbar .nav-logo .logo-icon { width: 56px; height: 56px; }
    .home-navbar .nav-menu { top: 80px; max-height: calc(100vh - 80px); }
    .hot-products-showcase { margin-bottom: 64px; }
    .hot-products-heading { margin-bottom: 24px; }
    .hot-products-shell { padding: 0 42px; }
    .home-product-family-rows { gap: 56px; margin-top: 36px; }
    .home-family-row-heading { margin: 0 42px 20px; }
    .hot-product-card { flex-basis: 100%; }
    .hot-products-arrow { width: 38px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide, .family-carousel-slide, .hot-product-media img, .product-card-media img { transition: none; transform: none; }
    .home-hero-bg, .scroll-down { animation: none !important; }
    html:focus-within { scroll-behavior: auto; }
}
@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.6rem; }
    .hero-content h2 { font-size: 1.6rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    .hero-home .hero-buttons .btn { flex: 0 0 auto; min-height: 48px; }
    .factory-stats { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .cta-buttons .btn { width: 100%; }
}

/* Homepage: full-screen carousel followed directly by the product center. */
body.home-carousel-products {
    min-height: 100vh;
    background: var(--navy);
    overflow-x: hidden;
}
.home-carousel-products main { height: auto; }
.home-carousel-products main > :not(.hero-home):not(.products):not(.home-company-profile):not(.home-contact-section),
.home-carousel-products > .footer { display: none; }
.home-carousel-products .scroll-down { display: block; }
.home-company-profile { background: var(--background); border-top: 1px solid var(--border); }

/* Homepage cooperation and inquiry panel */
.home-contact-section {
    padding: 56px 20px 72px;
    background: #fbf8f0;
    border-top: 1px solid var(--border);
}
.home-contact-section > .container {
    max-width: 2100px;
}
.home-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
    gap: 56px;
    align-items: start;
}
.home-contact-copy h2,
.home-inquiry-card > h2 {
    margin: 0 0 20px;
    color: var(--navy);
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.2;
}
.home-contact-lead {
    max-width: 650px;
    margin: 0;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.9;
}
.home-contact-list {
    display: grid;
    gap: 18px;
    margin: 30px 0 34px;
}
.home-contact-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}
.home-contact-index {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #edf5f8;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.home-contact-item dt {
    margin: 0 0 2px;
    color: var(--muted);
    font-size: 0.85rem;
}
.home-contact-item dd {
    margin: 0;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.home-contact-item a {
    color: inherit;
    text-decoration: none;
}
.home-contact-item a:hover,
.home-contact-item a:focus-visible {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.home-contact-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.home-contact-photos figure {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    background: var(--background-alt);
    box-shadow: 0 12px 30px rgba(18, 48, 74, 0.08);
}
.home-contact-photos img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.home-inquiry-card {
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 18px 50px rgba(18, 48, 74, 0.08);
}
.home-inquiry-card .form-status,
.home-inquiry-card .form-success {
    max-width: none;
}
.home-inquiry-form {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.home-inquiry-form .btn {
    width: 100%;
    min-height: 50px;
}
.home-inquiry-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.65;
}
html[dir="rtl"] .home-contact-item {
    grid-template-columns: 52px minmax(0, 1fr);
}

@media (max-width: 1024px) {
    .home-contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .home-contact-photos { grid-template-columns: 1fr; }
    .home-inquiry-card { padding: 28px 20px; }
}

/* Product center 2.0: searchable four-family B2B catalog */
.product-hub-hero {
    padding: 142px 24px 70px;
    color: #fff;
    background:
        linear-gradient(100deg, rgba(13,42,61,0.97), rgba(29,80,98,0.88)),
        url('../img/products/glass-wool-foil-board.jpg') center / cover;
}
.product-hub-hero .container { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: 54px; align-items: end; }
.product-hub-kicker { margin: 0 0 12px; color: #f0b45a; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.15em; }
.product-hub-hero h1 { margin: 0 0 16px; color: #fff; font-size: clamp(2.25rem, 4vw, 4.25rem); line-height: 1.08; }
.product-hub-hero h1 span { display: block; margin-top: 8px; color: #f0b45a; }
.product-hub-hero-copy > p:last-child { max-width: 760px; margin: 0; color: rgba(255,255,255,0.76); font-size: 1rem; line-height: 1.8; }
.product-hub-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,0.18); border-radius: 14px; background: rgba(255,255,255,0.18); }
.product-hub-stats div { padding: 24px; background: rgba(10,34,51,0.54); backdrop-filter: blur(8px); }
.product-hub-stats strong { display: block; margin-bottom: 5px; color: #fff; font-size: 1.75rem; }
.product-hub-stats span { color: rgba(255,255,255,0.68); font-size: 0.82rem; }
.product-workspace { padding: 46px 24px 84px; background: #f4f7f8; }
.product-toolbar { position: sticky; top: 82px; z-index: 18; display: grid; grid-template-columns: minmax(260px, 1fr) auto auto; gap: 14px; align-items: center; margin-bottom: 28px; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,0.94); box-shadow: 0 10px 30px rgba(18,48,74,0.08); backdrop-filter: blur(12px); }
.product-search { position: relative; }
.product-search svg { position: absolute; top: 50%; left: 16px; width: 19px; height: 19px; transform: translateY(-50%); color: var(--muted); }
.product-search input { width: 100%; min-height: 48px; padding: 0 16px 0 46px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--text-strong); font: inherit; outline: none; }
.product-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,111,149,0.12); }
.product-filter-tabs { display: flex; gap: 6px; }
.product-filter-tabs button, .product-tree button { border: 0; cursor: pointer; font: inherit; }
.product-filter-tabs button { min-height: 42px; padding: 0 14px; border-radius: 8px; background: transparent; color: var(--text); font-size: 0.86rem; font-weight: 700; }
.product-filter-tabs button:hover, .product-filter-tabs button.active { background: var(--primary); color: #fff; }
.product-result-count { padding-right: 8px; color: var(--muted); font-size: 0.82rem; white-space: nowrap; }
.product-catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.product-sidebar { position: sticky; top: 168px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.product-sidebar-head { padding: 22px 20px 16px; border-bottom: 1px solid var(--border); }
.product-sidebar-head p { margin: 0 0 5px; color: var(--primary); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; }
.product-sidebar-head h2 { margin: 0; font-size: 1.18rem; }
.product-tree { padding: 8px; }
.product-tree button { display: flex; justify-content: space-between; width: 100%; padding: 13px 12px; border-radius: 8px; background: transparent; color: var(--text); text-align: left; font-size: 0.9rem; font-weight: 700; }
.product-tree button span { color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.product-tree button:hover, .product-tree button.active { background: rgba(47,111,149,0.1); color: var(--primary); }
.product-sidebar-cta { display: block; margin: 8px; padding: 16px; border-radius: 9px; background: var(--navy); color: #fff; font-size: 0.85rem; font-weight: 700; line-height: 1.55; }
.product-sidebar-cta span { display: block; margin-top: 5px; color: #f0b45a; }
.product-results-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 18px; }
.product-results-head h2 { margin: 0 0 5px; font-size: 1.55rem; }
.product-results-head p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.product-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-catalog-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: #fff; transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease; }
.product-catalog-card:hover { transform: translateY(-4px); border-color: rgba(47,111,149,0.55); box-shadow: 0 16px 36px rgba(18,48,74,0.1); }
.product-card-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; padding: 0; border: 0; border-bottom: 1px solid var(--border); background: linear-gradient(145deg, #f8fafb 0%, #e7ecef 100%); color: inherit; font: inherit; text-align: inherit; isolation: isolate; }
.product-card-media-button { cursor: zoom-in; }
.product-card-media-button:focus-visible { outline: 3px solid rgba(47,111,149,0.42); outline-offset: -3px; }
.product-card-media img { position: relative; z-index: 1; width: 100%; height: 100%; padding: 14px; object-fit: contain; background: transparent; filter: saturate(0.88) contrast(1.025) brightness(1.015); transition: transform 0.35s ease; }
.product-catalog-card:hover .product-card-media img { transform: scale(1.022); }
.product-card-media span { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 6px 9px; border-radius: 6px; background: rgba(18,48,74,0.88); color: #fff; font-size: 0.7rem; font-weight: 700; backdrop-filter: blur(6px); }

/* Adaptive product frames: fill every card while preserving tall product photography. */
.adaptive-product-media::before {
    content: '';
    position: absolute;
    inset: -22px;
    z-index: 0;
    background-image: linear-gradient(rgba(238,243,245,0.38), rgba(238,243,245,0.38)), var(--product-image);
    background-position: center;
    background-size: cover;
    filter: blur(18px) saturate(0.72) brightness(1.08);
    opacity: 0;
    transform: scale(1.08);
}
.adaptive-product-media:not(.media-portrait) > img {
    padding: 0;
    object-fit: cover;
    object-position: center;
}
.adaptive-product-media.media-portrait::before { opacity: 0.48; }
.adaptive-product-media.media-portrait > img {
    object-fit: contain;
    object-position: center;
    padding: 8px;
}
.product-card-body { display: flex; flex: 1; flex-direction: column; padding: 19px; }
.product-card-category { margin: 0 0 6px; color: var(--primary); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.product-card-body h3 { margin: 0 0 10px; color: var(--text-strong); font-size: 1.13rem; }
.product-card-description { margin: 0 0 15px; color: var(--muted); font-size: 0.83rem; line-height: 1.65; }
.product-variant-list { margin: 0 0 18px; padding: 0; list-style: none; }
.product-variant-list li { position: relative; padding: 6px 0 6px 14px; border-top: 1px solid rgba(214,224,229,0.75); color: var(--text); font-size: 0.78rem; }
.product-variant-list li::before { content: ''; position: absolute; top: 12px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.product-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.product-card-actions button, .product-card-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 10px; border-radius: 7px; font: inherit; font-size: 0.78rem; font-weight: 800; cursor: pointer; }
.product-detail-button { border: 1px solid var(--border); background: #fff; color: var(--text-strong); }
.product-detail-button:hover { border-color: var(--primary); color: var(--primary); }
.product-card-actions a { background: var(--primary); color: #fff; }
.product-card-actions a span { margin-left: 5px; transition: transform 0.2s ease; }
.product-card-actions a:hover span { transform: translateX(3px); }
.product-empty-state { padding: 56px 24px; border: 1px dashed var(--border); border-radius: 13px; background: #fff; color: var(--muted); text-align: center; }
.product-detail-dialog { position: fixed; inset: 0; width: min(1440px, calc(100vw - 48px)); max-height: calc(100vh - 40px); margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 16px; box-shadow: 0 28px 80px rgba(8,25,39,0.28); }
.product-detail-dialog::backdrop { background: rgba(8,25,39,0.7); backdrop-filter: blur(5px); }
.product-dialog-close { position: absolute; top: 14px; right: 14px; z-index: 12; display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,0.96); color: var(--text-strong); font-size: 1.4rem; cursor: pointer; box-shadow: 0 5px 16px rgba(8,25,39,0.14); }
.product-dialog-close:focus-visible { outline: 3px solid rgba(47,111,149,0.45); outline-offset: 3px; }
.product-dialog-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(480px, 1.05fr); height: min(820px, calc(100vh - 40px)); }
.product-dialog-media { position: relative; z-index: 2; display: flex; min-width: 0; min-height: 0; flex-direction: column; gap: 14px; padding: 28px; background: #f1f5f6; isolation: isolate; }
.product-dialog-main-image { position: relative; display: grid; min-height: 0; flex: 1; overflow: hidden; place-items: center; border: 1px solid rgba(214,224,229,0.82); border-radius: 10px; background: linear-gradient(145deg, #fbfcfc 0%, #e7ecef 100%); }
.product-dialog-main-image img { width: 100%; height: 100%; min-height: 0; padding: 0; object-fit: contain; filter: saturate(0.9) contrast(1.02) brightness(1.01); }
.product-zoom-lens, .product-zoom-preview, .product-zoom-hint { display: none; }
.product-dialog-thumbs { display: flex; gap: 9px; overflow-x: auto; padding: 2px 2px 5px; scrollbar-width: thin; }
.product-dialog-thumbs[hidden] { display: none; }
.product-dialog-thumb { flex: 0 0 82px; width: 82px; height: 64px; overflow: hidden; padding: 3px; border: 2px solid transparent; border-radius: 8px; background: #fff; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.product-dialog-thumb img { width: 100%; height: 100%; border-radius: 4px; object-fit: contain; background: #eef2f3; filter: saturate(0.9) contrast(1.02); }
.product-dialog-thumb:hover { border-color: rgba(47,111,149,0.45); }
.product-dialog-thumb.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(47,111,149,0.12); }
.product-dialog-thumb:focus-visible { outline: 3px solid rgba(47,111,149,0.28); outline-offset: 2px; }
.product-dialog-content { position: relative; z-index: 1; min-width: 0; max-height: calc(100vh - 40px); overflow-y: auto; padding: 54px 48px 44px; scrollbar-width: thin; scrollbar-color: rgba(47,111,149,0.46) transparent; }
.product-dialog-category { margin: 0 0 8px; color: var(--primary); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.product-dialog-content h2 { margin: 0 0 14px; font-size: clamp(1.9rem, 3vw, 2.35rem); }
.product-dialog-description { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.72; }
.product-dialog-section { margin-top: 23px; }
.product-dialog-section[hidden] { display: none; }
.product-dialog-content h3 { margin: 0 0 11px; font-size: 0.98rem; }
.product-dialog-applications { margin: 0; color: var(--text); font-size: 0.87rem; line-height: 1.72; }
.product-feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.product-feature-tags li { margin: 0; padding: 7px 10px; border: 1px solid rgba(47,111,149,0.2); border-radius: 999px; background: rgba(47,111,149,0.07); color: var(--primary); font-size: 0.76rem; font-weight: 700; line-height: 1.2; }
.product-dialog-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: 0; border: 1px solid var(--border); border-radius: 9px; background: var(--border); }
.product-dialog-specs div { min-width: 0; padding: 10px 12px; background: #f8fafb; }
.product-dialog-specs dt { margin: 0 0 3px; color: var(--muted); font-size: 0.7rem; line-height: 1.35; }
.product-dialog-specs dd { margin: 0; color: var(--text-strong); font-size: 0.82rem; font-weight: 750; line-height: 1.35; }
.product-dialog-variants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 18px; margin: 0; padding: 0; list-style: none; }
.product-dialog-variants li { position: relative; margin: 0; padding-left: 13px; color: var(--text); font-size: 0.82rem; line-height: 1.5; }
.product-dialog-variants li::before { content: ''; position: absolute; top: 0.62em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.product-dialog-note { padding: 13px 15px; border-left: 3px solid var(--accent); background: rgba(217,144,53,0.08); color: var(--muted); font-size: 0.8rem; line-height: 1.6; }
.product-dialog-quote { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 20px; padding: 0 24px; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 800; }

@media (hover: hover) and (pointer: fine) {
    .product-dialog-main-image { cursor: crosshair; }
    .product-zoom-hint { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: block; padding: 7px 10px; border-radius: 6px; background: rgba(18,48,74,0.82); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; pointer-events: none; backdrop-filter: blur(6px); transition: opacity 0.18s ease; }
    .product-zoom-lens { position: absolute; z-index: 3; display: none; border: 1px solid rgba(47,111,149,0.72); border-radius: 3px; background: rgba(47,111,149,0.16); box-shadow: 0 0 0 1px rgba(255,255,255,0.68) inset; pointer-events: none; }
    .product-zoom-preview { position: absolute; top: 28px; bottom: 28px; left: calc(100% + 28px); z-index: 6; display: block; width: calc(105% - 56px); min-width: 0; height: auto; overflow: hidden; border: 1px solid rgba(47,111,149,0.36); border-radius: 10px; background-color: #fff; background-repeat: no-repeat; box-shadow: 0 18px 48px rgba(8,25,39,0.22); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.14s ease, visibility 0.14s ease; }
    .product-dialog-media.is-zooming .product-zoom-lens { display: block; }
    .product-dialog-media.is-zooming .product-zoom-preview { opacity: 1; visibility: visible; }
    .product-dialog-media.is-zooming .product-zoom-hint { opacity: 0; }
}

@media (max-width: 1023px) {
    .product-dialog-main-image { cursor: default; }
    .product-zoom-lens, .product-zoom-preview, .product-zoom-hint { display: none !important; }
}

@media (max-width: 1180px) {
    .product-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-toolbar { top: 88px; grid-template-columns: 1fr; }
    .product-filter-tabs { overflow-x: auto; padding-bottom: 2px; }
    .product-filter-tabs button { flex: 0 0 auto; }
    .product-result-count { padding: 0 4px; }
    .product-sidebar { top: 236px; }
}
@media (max-width: 820px) {
    .product-hub-hero { padding: 118px 20px 56px; }
    .product-hub-hero .container { grid-template-columns: 1fr; gap: 32px; }
    .product-workspace { padding: 28px 16px 64px; }
    .product-toolbar { position: static; }
    .product-catalog-layout { grid-template-columns: 1fr; }
    .product-sidebar { position: static; }
    .product-tree { display: none; }
    .product-sidebar-head { display: none; }
    .product-sidebar-cta { margin: 8px; }
    .product-detail-dialog { overflow: auto; }
    .product-dialog-grid { grid-template-columns: 1fr; height: auto; }
    .product-dialog-media { min-height: 260px; max-height: 320px; }
    .product-dialog-content { max-height: none; overflow: visible; padding: 34px 24px 28px; }
}
@media (max-width: 560px) {
    .product-hub-hero h1 { font-size: 2.25rem; }
    .product-hub-stats div { padding: 18px 16px; }
    .product-catalog-grid { grid-template-columns: 1fr; }
    .product-results-head { align-items: flex-start; flex-direction: column; }
    .product-detail-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
    .product-dialog-media { min-height: 220px; }
    .product-dialog-specs, .product-dialog-variants { grid-template-columns: 1fr; }
}
