:root {
    --primary: #1a5a96;
    --primary-dark: #0f3d6b;
    --primary-light: #2d7bc4;
    --accent: #e67e22;
    --accent-red: #c0392b;
    --text: #1a1a2e;
    --text-muted: #5a6a7e;
    --bg: #ffffff;
    --bg-light: #f4f7fb;
    --bg-dark: #0a1628;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(26, 90, 150, 0.08);
    --shadow-lg: 0 12px 48px rgba(26, 90, 150, 0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --font: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-top-h: 36px;
    --header-main-h: 72px;
    --header-h: 108px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 24px rgba(15, 61, 107, 0.06);
    transition: box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 32px rgba(15, 61, 107, 0.12);
    --header-h: var(--header-main-h);
}

.site-header.is-scrolled .header-top {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}

.header-top {
    background: linear-gradient(90deg, var(--primary-dark) 0%, #123f68 50%, var(--primary-dark) 100%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    padding: 8px 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.header-slogan {
    letter-spacing: 0.04em;
    opacity: 0.92;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color var(--transition);
}

.header-contact-item:hover { color: #fff; }

.header-contact-icon {
    width: 14px;
    height: 14px;
    opacity: 0.85;
    flex-shrink: 0;
}

.header-main {
    padding: 0;
    min-height: var(--header-main-h);
    display: flex;
    align-items: center;
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: var(--header-main-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    flex-shrink: 0;
    transition: opacity var(--transition);
}

.logo:hover { opacity: 0.92; color: var(--text); }

.logo-mark {
    display: flex;
    padding: 4px;
    background: linear-gradient(135deg, var(--bg-light), #fff);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(26, 90, 150, 0.12);
    border: 1px solid var(--border);
}

.logo-mark img {
    border-radius: 8px;
    display: block;
}

.logo-text strong {
    display: block;
    font-size: 1.05rem;
    color: var(--primary-dark);
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.logo-text span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
    max-width: 640px;
}

.nav-item { position: relative; }

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 260px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(15, 61, 107, 0.16);
    border: 1px solid var(--border);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-head {
    padding: 8px 14px 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.nav-dropdown a {
    display: block;
    padding: 10px 14px;
    color: var(--text);
    font-size: 0.9rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.nav-dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 18px;
}

.nav-dropdown-all {
    font-weight: 600;
    color: var(--primary) !important;
    background: rgba(26, 90, 150, 0.06);
    margin-bottom: 4px;
}

.nav-dropdown-catalog {
    margin-top: 6px;
    padding-top: 10px !important;
    border-top: 1px dashed var(--border);
    font-weight: 600;
    color: var(--accent) !important;
}

.nav-link {
    position: relative;
    padding: 10px 14px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.92rem;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-link.is-active,
.nav-link:hover {
    color: var(--primary);
    background: rgba(26, 90, 150, 0.06);
}

.nav-link.is-active::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link--dropdown {
    padding-right: 28px;
}

.nav-link--dropdown::before {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.nav-item.has-dropdown:hover .nav-link--dropdown::before {
    transform: translateY(-35%) rotate(-135deg);
}

.nav-link--cta {
    margin-left: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(26, 90, 150, 0.25);
}

.nav-link--cta::after { display: none; }

.nav-link--cta:hover,
.nav-link--cta.is-active {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(26, 90, 150, 0.35);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--primary);
    background: var(--bg-light);
    transition: all var(--transition);
}

.lang-switch svg {
    width: 16px;
    height: 16px;
    opacity: 0.85;
}

.lang-switch:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 10px;
    transition: all var(--transition);
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    top: var(--header-main-h);
    background: rgba(10, 22, 40, 0.45);
    backdrop-filter: blur(2px);
    z-index: 998;
}

.nav-backdrop[hidden] { display: none; }

/* Hero */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: var(--header-h);
    overflow: hidden;
    background: #0a1628;
}

.hero-tech .hero-bg {
    position: absolute;
    inset: -5%;
    background-size: cover;
    background-position: center;
    animation: heroKenBurns 22s ease-in-out infinite alternate;
    will-change: transform;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(45, 123, 196, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 123, 196, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 85%);
    animation: heroGridDrift 18s linear infinite;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.hero-glow--blue {
    width: 420px;
    height: 420px;
    top: 10%;
    right: 8%;
    background: radial-gradient(circle, rgba(45, 123, 196, 0.55) 0%, transparent 70%);
    animation: heroGlowPulse 6s ease-in-out infinite;
}

.hero-glow--orange {
    width: 320px;
    height: 320px;
    bottom: 18%;
    left: 5%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.45) 0%, transparent 70%);
    animation: heroGlowPulse 8s ease-in-out infinite 1.5s;
}

.hero-beam {
    position: absolute;
    top: -20%;
    left: 35%;
    width: 2px;
    height: 140%;
    background: linear-gradient(to bottom, transparent, rgba(100, 180, 255, 0.6), transparent);
    transform: rotate(15deg);
    filter: blur(1px);
    animation: heroBeamSweep 7s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.hero-scanline {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, transparent 0%, rgba(100, 180, 255, 0.06) 50%, transparent 100%);
    background-size: 100% 8px;
    animation: heroScan 4s linear infinite;
    pointer-events: none;
    opacity: 0.5;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(120, 200, 255, 0.9);
    box-shadow: 0 0 8px rgba(120, 200, 255, 0.8), 0 0 16px rgba(45, 123, 196, 0.5);
    animation: heroParticleFloat 8s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { left: 12%; top: 22%; animation-delay: 0s; animation-duration: 7s; }
.hero-particles span:nth-child(2) { left: 28%; top: 65%; animation-delay: 1s; animation-duration: 9s; width: 3px; height: 3px; }
.hero-particles span:nth-child(3) { left: 45%; top: 35%; animation-delay: 2s; background: rgba(230, 126, 34, 0.9); box-shadow: 0 0 10px rgba(230, 126, 34, 0.7); }
.hero-particles span:nth-child(4) { left: 62%; top: 18%; animation-delay: 0.5s; animation-duration: 10s; }
.hero-particles span:nth-child(5) { left: 78%; top: 55%; animation-delay: 3s; }
.hero-particles span:nth-child(6) { left: 88%; top: 30%; animation-delay: 1.5s; width: 2px; height: 2px; }
.hero-particles span:nth-child(7) { left: 20%; top: 45%; animation-delay: 2.5s; animation-duration: 11s; }
.hero-particles span:nth-child(8) { left: 55%; top: 72%; animation-delay: 4s; background: rgba(230, 126, 34, 0.85); box-shadow: 0 0 8px rgba(230, 126, 34, 0.6); }
.hero-particles span:nth-child(9) { left: 70%; top: 42%; animation-delay: 0.8s; animation-duration: 6s; }
.hero-particles span:nth-child(10) { left: 38%; top: 12%; animation-delay: 3.5s; width: 5px; height: 5px; }

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(105deg, rgba(10, 22, 40, 0.92) 0%, rgba(15, 61, 107, 0.72) 45%, rgba(10, 22, 40, 0.55) 100%),
        radial-gradient(ellipse at 75% 25%, rgba(45, 123, 196, 0.25) 0%, transparent 55%);
}

.hero-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: heroShine 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 80px 24px 40px;
    max-width: 820px;
    animation: heroContentIn 1s ease-out both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 12px;
    background: rgba(230, 126, 34, 0.15);
    border: 1px solid rgba(230, 126, 34, 0.5);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 24px;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 24px rgba(230, 126, 34, 0.25);
    animation: heroBadgeGlow 3s ease-in-out infinite;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent), 0 0 16px rgba(230, 126, 34, 0.6);
    animation: heroDotPulse 1.5s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    text-shadow: 0 0 40px rgba(45, 123, 196, 0.4), 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: heroTitleIn 1s ease-out 0.15s both;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 36px;
    max-width: 640px;
    line-height: 1.75;
    animation: heroTitleIn 1s ease-out 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: heroTitleIn 1s ease-out 0.45s both;
}

.btn-glow {
    box-shadow: 0 0 24px rgba(26, 90, 150, 0.5), 0 4px 20px rgba(26, 90, 150, 0.35);
    animation: heroBtnGlow 2.5s ease-in-out infinite;
}

.hero-stats {
    position: relative;
    z-index: 3;
    margin-top: auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 28px 0;
    border-top: 1px solid rgba(45, 123, 196, 0.2);
    box-shadow: 0 -8px 32px rgba(10, 22, 40, 0.15);
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light), var(--accent));
    background-size: 200% 100%;
    animation: heroStatsBar 4s linear infinite;
}

.hero-stats .stat-item {
    animation: heroStatIn 0.8s ease-out both;
}

.hero-stats .stat-item:nth-child(1) { animation-delay: 0.5s; }
.hero-stats .stat-item:nth-child(2) { animation-delay: 0.6s; }
.hero-stats .stat-item:nth-child(3) { animation-delay: 0.7s; }
.hero-stats .stat-item:nth-child(4) { animation-delay: 0.8s; }
.hero-stats .stat-item:nth-child(5) { animation-delay: 0.9s; }

.hero-stats .stat-item strong {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes heroKenBurns {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.12) translate(-1.5%, -1%); }
}

@keyframes heroGridDrift {
    0% { background-position: 0 0; }
    100% { background-position: 48px 48px; }
}

@keyframes heroGlowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes heroBeamSweep {
    0%, 100% { opacity: 0; transform: rotate(15deg) translateX(-80px); }
    50% { opacity: 0.7; transform: rotate(15deg) translateX(80px); }
}

@keyframes heroScan {
    0% { background-position: 0 -100%; }
    100% { background-position: 0 200%; }
}

@keyframes heroParticleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-24px) scale(1.2); opacity: 1; }
}

@keyframes heroShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes heroContentIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroTitleIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroBadgeGlow {
    0%, 100% { box-shadow: 0 0 24px rgba(230, 126, 34, 0.25); }
    50% { box-shadow: 0 0 36px rgba(230, 126, 34, 0.45); }
}

@keyframes heroDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

@keyframes heroBtnGlow {
    0%, 100% { box-shadow: 0 0 24px rgba(26, 90, 150, 0.5), 0 4px 20px rgba(26, 90, 150, 0.35); }
    50% { box-shadow: 0 0 36px rgba(45, 123, 196, 0.65), 0 4px 24px rgba(26, 90, 150, 0.45); }
}

@keyframes heroStatsBar {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

@keyframes heroStatIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-tech .hero-bg,
    .hero-grid,
    .hero-glow,
    .hero-beam,
    .hero-scanline,
    .hero-particles span,
    .hero-shine,
    .hero-badge,
    .hero-badge-dot,
    .hero-content,
    .hero-title,
    .hero-subtitle,
    .hero-actions,
    .btn-glow,
    .hero-stats::before,
    .hero-stats .stat-item {
        animation: none !important;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #d35400;
    border-color: #d35400;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-accent:hover {
    background: #d35400;
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block { width: 100%; }

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
    margin-left: 12px;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--primary);
}

.header-cta { white-space: nowrap; }

.section-desc {
    max-width: 720px;
    margin: 12px auto 0;
    color: var(--text-muted);
}
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 48px;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--primary-dark);
    font-weight: 700;
}

.values-banner img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
}

.category-card {
    display: block;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    color: var(--text);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    color: var(--text);
}

.category-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .category-img img { transform: scale(1.08); }

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.7), transparent);
}

.category-info {
    padding: 24px;
}

.category-info h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.category-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.link-arrow {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    display: block;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
    color: var(--text);
}

.product-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    color: var(--text);
}

.product-img {
    position: relative;
    height: 200px;
    background: var(--bg-light);
    overflow: hidden;
}

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

.product-model {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Advantages */
.advantages-section { background: var(--bg-light); }

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    background: #fff;
    padding: 0;
    border-radius: var(--radius-lg);
    text-align: left;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid var(--border);
}

.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.advantage-card-img {
    height: 180px;
    overflow: hidden;
}

.advantage-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.advantage-card:hover .advantage-card-img img { transform: scale(1.06); }

.advantage-card-body { padding: 24px; text-align: center; }

.advantage-icon { display: none; }

.advantage-card h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* About Preview */
.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-preview-img img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-preview-text h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 12px 0 20px;
}

.about-preview-text p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 72px 0;
    text-align: center;
}

.cta-inner h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 12px;
}

.cta-inner p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.cta-inner .btn { margin: 0 6px 8px; }

/* Page Hero */
.page-hero {
    position: relative;
    margin-top: var(--header-h);
    padding: 72px 0;
    overflow: hidden;
    border-bottom: none;
    color: #fff;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 8s ease;
}

.page-hero:hover .page-hero-bg { transform: scale(1.06); }

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 61, 107, 0.88), rgba(26, 90, 150, 0.75));
}

.page-hero-inner { position: relative; z-index: 2; }

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: #fff;
    margin: 12px 0;
    text-shadow: 0 2px 16px rgba(0,0,0,0.2);
}

.page-hero-intro,
.page-hero p {
    color: rgba(255,255,255,0.9);
    max-width: 720px;
    font-size: 1.05rem;
}

.page-hero .breadcrumb { color: rgba(255,255,255,0.75); }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.95); }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.85); }

.page-hero--default .page-hero-bg { background-image: url('/static/images/generated/hero-banner.png'); }
.page-hero--products .page-hero-bg { background-image: url('/static/images/generated/hero-banner.png'); }
.page-hero--service .page-hero-bg { background-image: url('/static/images/generated/service-install.jpg'); }
.page-hero--about .page-hero-bg { background-image: url('/static/images/generated/factory-building.png'); }
.page-hero--contact .page-hero-bg { background-image: url('/static/images/generated/service-presales.jpg'); }
.page-hero--cases .page-hero-bg { background-image: url('/static/images/generated/case-export.jpg'); }
.page-hero--news .page-hero-bg { background-image: url('/static/images/generated/news-product.jpg'); }
.page-hero--faq .page-hero-bg { background-image: url('/static/images/generated/service-presales.jpg'); }
.page-hero--downloads .page-hero-bg { background-image: url('/static/images/generated/hero-banner.png'); }
.page-hero--catalog .page-hero-bg { background-image: url('/static/images/generated/hero-banner.png'); }
.page-hero--search .page-hero-bg { background-image: url('/static/images/generated/app-sheet-metal.jpg'); }

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.breadcrumb a { color: var(--primary); }

/* Product Detail */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.product-main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.product-model-lg {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 700;
}

.product-summary {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.product-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.product-features h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.product-features ul {
    list-style: none;
    margin-bottom: 28px;
}

.product-features li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.product-workflow {
    margin: 48px 0 0;
    padding: 36px 32px;
    background: linear-gradient(135deg, rgba(0, 82, 155, 0.06) 0%, rgba(232, 119, 34, 0.05) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.product-workflow h2 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 28px;
    text-align: center;
}

.workflow-track {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 8px 28px;
}

.workflow-step {
    flex: 1 1 140px;
    max-width: 200px;
    background: #fff;
    border-radius: var(--radius);
    padding: 16px 14px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.workflow-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 700;
}

.workflow-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.workflow-step-body strong {
    display: block;
    font-size: 0.92rem;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.35;
}

.workflow-step-body p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

.catalog-spec-sheet,
.catalog-workflow-sheet {
    margin-top: 40px;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.catalog-spec-sheet h2,
.catalog-workflow-sheet h2 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.catalog-spec-sheet .section-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.spec-sheet-link {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: box-shadow 0.25s;
}

.spec-sheet-link:hover {
    box-shadow: var(--shadow-lg);
}

.spec-sheet-link img {
    width: 100%;
    height: auto;
    display: block;
}

.duct-line-section {
    background: var(--bg-light);
}

.duct-line-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.duct-line-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
    color: inherit;
}

.duct-line-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.duct-line-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f4f8;
}

.duct-line-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duct-line-info {
    padding: 14px 16px 18px;
    flex: 1;
}

.duct-line-model {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(232, 119, 34, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.duct-line-info h3 {
    font-size: 0.88rem;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.duct-line-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.specs-table-wrap {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.specs-table-wrap h2 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.specs-table th,
.specs-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.specs-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    width: 35%;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: none; }

.specs-table tr:hover td { background: var(--bg-light); }

.category-showcase {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.category-showcase img { width: 100%; max-height: 400px; object-fit: cover; }

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 16px;
}

.about-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-thumbs img {
    border-radius: var(--radius);
    height: 120px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 12px 0 20px;
}

.about-text .lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 28px;
}

.about-values .value-item {
    padding: 16px 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
    margin-bottom: 12px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.about-values h4 {
    color: var(--primary);
    font-size: 1rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.cert-card {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.cert-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-grid img {
    border-radius: var(--radius);
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-grid img:hover { transform: scale(1.03); }

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

.contact-card {
    padding: 20px 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 16px;
    border-left: 4px solid var(--primary);
}

.contact-card h3 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-card p { font-size: 0.95rem; color: var(--text); }

.map-placeholder {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 480px;
}

.map-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.map-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(10,22,40,0.95), transparent);
    color: #fff;
}

.map-info h3 { font-size: 1.4rem; margin-bottom: 8px; }
.geo-coords { color: var(--accent); font-weight: 600; margin: 8px 0; }

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
}

.footer-main { padding: 64px 0 40px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.8fr 1.2fr;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 1rem;
    color: #fff;
    margin: 12px 0;
}

.footer-slogan {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-motto { font-size: 0.9rem; opacity: 0.7; }

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    padding: 6px 0;
    font-size: 0.9rem;
}

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

.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-contact a { color: rgba(255,255,255,0.85); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Applications */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.app-card {
    padding: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    overflow: hidden;
}

.app-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.app-card-img {
    height: 160px;
    overflow: hidden;
}

.app-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-card:hover .app-card-img img { transform: scale(1.08); }

.app-card-body { padding: 20px 24px 24px; }

.app-icon {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.app-card h3 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.app-card p { font-size: 0.9rem; color: var(--text-muted); }

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.process-card {
    text-align: center;
    padding: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.process-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.process-card-img {
    height: 120px;
    overflow: hidden;
}

.process-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-card-body { padding: 16px 12px 20px; }

.process-num {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-card h3 {
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.process-card p { font-size: 0.82rem; color: var(--text-muted); }

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card-img {
    height: 180px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-card-body { padding: 24px 28px 28px; }

.service-icon { display: none; }

.service-card h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.service-card p { font-size: 0.92rem; color: var(--text-muted); }

.trust-section { background: var(--bg-light); }

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-card {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.trust-card strong {
    display: block;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.trust-card h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.trust-card p { font-size: 0.85rem; color: var(--text-muted); }

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.flow-step { text-align: center; padding: 16px; }

.flow-step span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 8px;
}

.flow-step p {
    font-size: 0.85rem;
    color: var(--text);
    max-width: 90px;
}

.flow-arrow { color: var(--text-muted); font-size: 1.2rem; }

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-group {
    margin-bottom: 48px;
}

.faq-group:last-child {
    margin-bottom: 0;
}

.faq-group-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 24px;
    background: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
}

.faq-question::after {
    content: '+';
    float: right;
    font-size: 1.4rem;
    color: var(--accent);
}

.faq-item.open .faq-question::after { content: '−'; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 1200px; }

.faq-answer p {
    padding: 0 24px 18px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.inquiry-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.inquiry-panel-head { margin-bottom: 24px; }

.inquiry-panel-head h2 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.inquiry-panel-head p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group .required { color: var(--accent-red); }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.form-feedback {
    margin-top: 12px;
    padding: 12px;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.form-feedback.success { background: #d4edda; color: #155724; }
.form-feedback.error { background: #f8d7da; color: #721c24; }

.contact-form-wrap .inquiry-panel { height: 100%; }
.map-full { min-height: 360px; }

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.product-detail .inquiry-panel { margin-top: 48px; }

.download-link-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
}

.float-bar {
    position: fixed;
    right: 16px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.float-item {
    display: flex;
    align-items: center;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 28px;
    padding: 10px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
    overflow: hidden;
    max-width: 44px;
}

.float-item:hover {
    max-width: 160px;
    background: var(--accent);
    color: #fff;
}

.float-icon {
    width: 24px;
    text-align: center;
    font-weight: 700;
    flex-shrink: 0;
}

.float-label {
    white-space: nowrap;
    font-size: 0.82rem;
    padding-right: 12px;
    opacity: 0;
}

.float-item:hover .float-label { opacity: 1; }
.float-top { background: var(--text-muted); }

@media (max-width: 1024px) {
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .duct-line-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
}

/* Cases */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.case-grid-sm {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.case-card {
    display: block;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
    color: var(--text);
}

.case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    color: var(--text);
}

.case-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg-light);
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-img img { transform: scale(1.05); }

.case-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.case-info { padding: 24px; }

.case-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.case-info h3 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.case-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.case-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.meta-tag {
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
}

.home-cases-section { background: var(--bg-light); }
.home-news-section { background: #fff; }

.section-footer { margin-top: 32px; }
.section-footer.center { text-align: center; }

/* News */
.news-list { display: flex; flex-direction: column; gap: 24px; }

.news-item-link {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    color: var(--text);
}

.news-item-link:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
    color: var(--text);
}

.news-thumb {
    height: 100%;
    min-height: 180px;
    background: var(--bg-light);
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content { padding: 24px 24px 24px 0; }

.news-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.82rem;
}

.news-meta-lg { margin-bottom: 16px; }

.news-cat {
    background: var(--bg-light);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.news-meta time { color: var(--text-muted); }

.news-content h2,
.news-content h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-list-compact .news-item-link {
    grid-template-columns: 200px 1fr;
}

.news-list-compact .news-thumb { min-height: 140px; }

.news-list-compact .news-content { padding: 20px 20px 20px 0; }

.news-list-compact .news-content h3 { font-size: 1rem; }

/* Article */
.article-layout { max-width: 900px; margin: 0 auto; }

.article-hero-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
}

.article-body .lead {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 500;
}

.article-body p {
    margin-bottom: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}

.article-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Downloads */
.download-list { display: flex; flex-direction: column; gap: 16px; }

.download-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.download-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.download-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 0.85rem;
}

.download-info h3 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.download-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.download-note {
    margin-top: 40px;
    padding: 28px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    text-align: center;
}

.download-note p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

/* Map */
.map-section { padding-top: 0; }

.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 420px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.float-whatsapp { background: #25d366; }
.float-whatsapp:hover { background: #1da851; }

@media (max-width: 768px) {
    .news-item-link,
    .news-list-compact .news-item-link {
        grid-template-columns: 1fr;
    }
    .news-content { padding: 20px; }
    .download-item { grid-template-columns: 1fr; text-align: center; }
    .download-icon { margin: 0 auto; }
    .case-grid { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 1024px) {
    .main-nav { gap: 0; }
    .nav-link { padding: 10px 10px; font-size: 0.88rem; }
    .header-search input { width: 110px; }
    .header-cta { display: none; }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --header-h: var(--header-main-h);
    }

    .header-top { display: none; }

    .main-nav {
        display: flex;
        position: fixed;
        top: var(--header-main-h);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        max-width: none;
        padding: 16px 20px 32px;
        background: #fff;
        box-shadow: none;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        gap: 4px;
    }

    .main-nav.open {
        transform: translateX(0);
        box-shadow: -8px 0 32px rgba(15, 61, 107, 0.12);
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius);
    }

    .nav-link::after { bottom: 8px; }

    .nav-item.has-dropdown .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 8px 8px;
        min-width: auto;
        margin-top: 4px;
    }

    .nav-item.has-dropdown .nav-dropdown::before { display: none; }

    .nav-dropdown-head { display: none; }

    .menu-toggle { display: flex; }

    .hero { min-height: 70vh; }
    .category-grid { grid-template-columns: 1fr; }
    .about-preview-grid,
    .about-grid,
    .contact-grid,
    .product-detail-grid { grid-template-columns: 1fr; }
    .advantage-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .app-grid, .process-grid, .service-grid, .trust-grid { grid-template-columns: 1fr; }
    .duct-line-grid { grid-template-columns: 1fr; }
    .workflow-step:not(:last-child)::after { display: none; }
    .workflow-step { max-width: none; }
    .flow-steps { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); }
    .float-bar { display: none; }
    .video-grid { grid-template-columns: 1fr; }
    .search-form-page { flex-direction: column; }
}

/* Header search */
.header-search {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: visible;
    background: var(--bg-light);
    position: relative;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.header-search:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(26, 90, 150, 0.12);
    background: #fff;
}

.header-search-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.header-search-icon {
    width: 16px;
    height: 16px;
    margin-left: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.header-search input {
    border: none;
    padding: 8px 8px 8px 8px;
    font-size: 0.85rem;
    width: 148px;
    outline: none;
    font-family: var(--font);
    background: transparent;
    color: var(--text);
}

.header-search input::placeholder { color: var(--text-muted); }

.header-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    border: none;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    border-radius: 0 999px 999px 0;
    transition: background var(--transition);
    flex-shrink: 0;
}

.header-search-btn svg {
    width: 18px;
    height: 18px;
}

.header-search-btn:hover { background: var(--primary-dark); }

.search-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 360px;
    overflow-y: auto;
}

.search-suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.search-suggest-item:last-child { border-bottom: none; }
.search-suggest-item:hover { background: var(--bg-light); }
.search-suggest-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.search-suggest-text { display: flex; flex-direction: column; gap: 2px; font-size: 0.85rem; }
.search-suggest-model { color: var(--primary); font-size: 0.75rem; font-weight: 600; }

.search-popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.search-popular > span { color: var(--text-muted); margin-right: 4px; }

.search-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--bg-light);
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid var(--border);
}

.search-tag:hover { background: var(--primary); color: #fff; }

@media (max-width: 1024px) {
    .header-search { display: none; }
}

.video-section { background: var(--bg-dark); color: #fff; }

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.video-content .section-tag { color: var(--accent); }
.video-content h2 { font-size: 2rem; margin: 12px 0 16px; color: #fff; }
.video-content p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.video-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.video-embed-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-embed-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-poster {
    position: relative;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-poster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10,22,40,0.55);
}

.video-play-btn {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    margin-bottom: 12px;
}

.video-play-btn:hover { transform: scale(1.08); color: #fff; }
.video-poster p { position: relative; z-index: 1; color: rgba(255,255,255,0.9); font-size: 0.9rem; }

.catalog-toolbar { display: flex; gap: 12px; margin-bottom: 24px; }

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.catalog-page {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.catalog-page:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.catalog-page img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.catalog-page-num {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(10,22,40,0.8);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.site-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 22, 40, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.site-lightbox[hidden] { display: none !important; }

body.site-lightbox-open { overflow: hidden; }

.site-lightbox-body {
    margin: 0;
    max-width: min(960px, 92vw);
    max-height: 88vh;
    text-align: center;
}

.site-lightbox-body img {
    max-width: 100%;
    max-height: calc(88vh - 48px);
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.site-lightbox-body figcaption {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.site-lightbox-close,
.site-lightbox-nav {
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-lightbox-close:hover,
.site-lightbox-nav:hover { background: rgba(255, 255, 255, 0.22); }

.site-lightbox-close { top: 20px; right: 20px; }
.site-lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.site-lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

[data-lightbox]:not(.gallery-thumb),
.product-main-img[data-lightbox],
.gallery-grid img[data-lightbox],
.article-hero-img img[data-lightbox],
.catalog-page[data-lightbox] {
    cursor: zoom-in;
}

.product-main-img[data-lightbox] {
    transition: transform 0.2s ease;
}

.product-main-img[data-lightbox]:hover {
    transform: scale(1.01);
}

@media (max-width: 768px) {
    .site-lightbox-prev { left: 8px; }
    .site-lightbox-next { right: 8px; }
    .site-lightbox-close { top: 12px; right: 12px; }
}

.search-form-page {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    max-width: 560px;
}

.search-form-page input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.search-hint, .search-empty, .search-count { color: var(--text-muted); margin-bottom: 24px; }

.gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

.gallery-thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: none;
}

.gallery-thumb.is-active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.gallery-zoom-hint {
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
}

/* ===== v2.0 Visual Enhancements ===== */

.values-section {
    background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
}

.values-banner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.values-banner img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.cert-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cert-card-visual {
    height: 200px;
    overflow: hidden;
}

.cert-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cert-card:hover .cert-card-visual img { transform: scale(1.05); }

.cert-card h3 {
    padding: 20px 24px 24px;
    font-size: 1rem;
    color: var(--primary-dark);
    text-align: center;
}

.cert-icon { display: none; }

.contact-card {
    border-left: 4px solid var(--accent);
    transition: all var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.page-hero .search-form-page input {
    background: rgba(255,255,255,0.95);
    border-color: transparent;
}

.page-hero .case-detail-meta,
.page-hero .news-meta-lg {
    color: rgba(255,255,255,0.85);
}

.page-hero .case-detail-meta .meta-tag,
.page-hero .news-meta-lg .news-cat {
    background: rgba(230, 126, 34, 0.9);
    color: #fff;
}

.page-hero .product-model-lg { color: var(--accent); }

.section:nth-child(even) { background: var(--bg-light); }

.inquiry-panel {
    background: linear-gradient(135deg, #fff, var(--bg-light));
    border: 1px solid var(--border);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a6aab 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/static/images/generated/hero-banner.png') center/cover no-repeat;
    opacity: 0.12;
}

.cta-inner { position: relative; z-index: 1; }

@media (min-width: 1025px) {
    .stats-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .duct-line-grid { grid-template-columns: 1fr 1fr; }
    .page-hero { padding: 48px 0; }
}
