:root {
    --blue: #1a73e8;
    --blue-dark: #0d47a1;
    --blue-deep: #0a3a82;
    --blue-soft: #eef4fc;
    --blue-mid: #4b8fef;
    --ink: #1c2a3a;
    --muted: #5b6b7c;
    --line: #d7e4f4;
    --white: #ffffff;
    --header: 118px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }
h1, h2, h3 { overflow-wrap: anywhere; }

.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }

.page-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, var(--blue), var(--blue-dark));
    z-index: 1300;
}

.topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
    background: linear-gradient(90deg, var(--blue-deep), var(--blue-dark));
    color: #fff; font-size: .82rem;
}
.topbar-inner {
    display: flex; justify-content: space-between; align-items: center;
    min-height: 38px; gap: 12px; flex-wrap: wrap;
}
.topbar a, .topbar span { color: rgba(255,255,255,.92); margin-right: 16px; }
.topbar i { margin-right: 6px; color: #9ec4ff; }
.topbar-right a { font-weight: 700; }

.site-header {
    position: fixed; top: 38px; left: 0; right: 0; z-index: 1090;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 10px 28px rgba(13,71,161,.08); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 80px; gap: 20px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 46px; width: auto; max-width: 190px; object-fit: contain; }
.footer-brand .logo {
    display: inline-flex; background: #fff; padding: 8px 10px; border-radius: 8px; margin-bottom: 14px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link, .drop-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; border-radius: 8px;
    font-size: .92rem; font-weight: 600; color: var(--ink);
    background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .drop-btn:hover, .nav-link.active { color: var(--blue); background: var(--blue-soft); }
.nav-item { position: relative; }
.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 16px 40px rgba(13,71,161,.12);
    padding: 8px; display: none; z-index: 20;
}
.dropdown a {
    display: block; padding: 10px 12px; border-radius: 8px;
    font-size: .88rem; font-weight: 600; color: var(--ink);
}
.dropdown a:hover { background: var(--blue-soft); color: var(--blue-dark); }
.nav-item:hover .dropdown, .nav-item.open .dropdown { display: block; }
.menu-toggle {
    display: none; background: none; border: 0; color: var(--blue-dark);
    font-size: 1.4rem; cursor: pointer;
}

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: .95rem;
    border: 1px solid transparent; cursor: pointer; transition: .25s var(--ease);
}
.btn-primary, .btn-gold { background: var(--blue); color: #fff; }
.btn-primary:hover, .btn-gold:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-white { background: #fff; color: var(--blue-dark); }
.nav-cta { margin-left: 8px; }

.eyebrow {
    font-size: .78rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}

.hero-slider {
    position: relative; height: 560px; overflow: hidden; background: var(--blue-dark);
}
.slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    transition: opacity .7s var(--ease), visibility .7s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,58,130,.82) 0%, rgba(13,71,161,.55) 48%, rgba(26,115,232,.22) 100%);
}
.slide-content {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; justify-content: center;
    color: #fff;
}
.hero-slider .container.slide-content {
    left: 50%; right: auto; width: min(1140px, calc(100% - 48px));
    transform: translateX(-50%); margin: 0; height: 100%;
}
.slide-content h1 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; font-weight: 800; max-width: 16ch; }
.slide-content p { margin: 14px 0 22px; max-width: 46ch; color: rgba(255,255,255,.9); }
.slide-content .eyebrow { color: #cfe3ff; }
.slide-content.text-center { align-items: center; text-align: center; }
.slide-content.text-center h1, .slide-content.text-center p { max-width: 22ch; }
.slide-content.text-right { align-items: flex-end; text-align: right; }
.slide-content .btn {
    padding: 8px 16px;
    font-size: .82rem;
    border-radius: 6px;
    width: fit-content;
}
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 3; width: 32px; height: 32px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.9); color: var(--blue-dark); cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.16);
    font-size: .7rem;
}
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-dots {
    position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3;
    display: flex; justify-content: center; gap: 8px;
}
.slider-dots button {
    width: 10px; height: 10px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.45); cursor: pointer;
}
.slider-dots button.is-active { background: #fff; width: 26px; border-radius: 999px; }

.stats-section {
    background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%);
    padding: 48px 0 24px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.stat-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 18px;
    box-shadow: 0 10px 28px rgba(13, 71, 161, .06);
}
.stat-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    display: grid; place-items: center;
    font-size: 1.1rem;
}
.stat-card strong {
    display: block;
    font-size: 1.55rem;
    color: var(--blue-dark);
    line-height: 1.1;
}
.stat-card h3 {
    font-size: .95rem;
    margin: 4px 0 6px;
}
.stat-card p {
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.45;
}

.modules-section {
    padding: 24px 0 72px;
    background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.section-head h2, .gallery-band-head h2, .specs-lux-head h2, .cta-lux h2, .page-banner h1, .product-content h1, .section-header h2 {
    font-weight: 800; line-height: 1.25;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { color: var(--muted); margin-top: 8px; }
.module-tabs {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px;
}
.module-tab {
    border: 1px solid var(--line); background: #fff; color: var(--ink);
    padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; cursor: pointer;
}
.module-tab.is-active, .module-tab:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.module-panel {
    display: none; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
    box-shadow: 0 16px 40px rgba(13,71,161,.08);
}
.module-panel.is-active { display: grid; }
.module-media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.module-copy { padding: 36px 32px; min-width: 0; }
.module-copy h3 { font-size: 1.7rem; margin-bottom: 10px; }
.chapter-points { margin: 16px 0 22px; }
.chapter-points li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.chapter-points i { color: var(--blue); margin-top: 4px; }

.gallery-band { padding: 64px 0 40px; background: linear-gradient(180deg, var(--blue-soft), #fff); }
.gallery-band-head { margin-bottom: 24px; }
.gallery-band-head h2, .specs-lux-head h2, .cta-lux h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.gallery-rail { display: flex; gap: 14px; overflow-x: auto; padding: 8px 16px 28px; }
.rail-card {
    flex: 0 0 min(78vw, 320px); border: 0; background: none; cursor: pointer;
    position: relative; border-radius: 14px; overflow: hidden;
}
.rail-card img { width: 100%; height: 230px; object-fit: cover; }
.rail-card span {
    position: absolute; left: 12px; right: 12px; bottom: 12px;
    color: #fff; font-weight: 700; text-shadow: 0 4px 12px rgba(0,0,0,.45);
}

.specs-lux {
    padding: 64px 0;
    background: linear-gradient(160deg, var(--blue-dark), var(--blue));
    color: #fff;
}
.specs-lux .eyebrow { color: #cfe3ff; }
.specs-wrap { overflow-x: auto; background: rgba(255,255,255,.08); border-radius: 14px; }
.spec-table { width: 100%; min-width: 520px; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.12); }

.story-block { padding: 64px 0; background: #fff; }
.story-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; }
.story-text h2, .story-text h3 { margin: 16px 0 8px; font-size: 1.3rem; }
.story-text ul { padding-left: 18px; list-style: disc; color: var(--muted); }
.story-aside { background: var(--blue-soft); border-radius: 16px; padding: 28px; height: fit-content; }
.story-aside li { padding: 8px 0; border-bottom: 1px solid var(--line); }

.cta-lux {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff; padding: 64px 16px 96px; text-align: center;
}
.cta-lux p { margin: 12px auto 24px; max-width: 46ch; }
.cta-lux-inner .hero-actions, .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.site-footer { background: var(--blue-deep); color: rgba(255,255,255,.8); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 24px; }
.footer-col h4 { color: #fff; margin-bottom: 12px; }
.footer-col a, .footer-col p { display: block; padding: 4px 0; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; text-align: center; font-size: .82rem; }

.mobile-cta {
    display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    background: var(--blue); color: #fff; border-radius: 10px;
    padding: 14px 16px; font-weight: 700;
    align-items: center; justify-content: space-between;
}

.page-banner { padding: 48px 16px; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; text-align: center; }
.page-banner h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.page-banner .banner-lead { max-width: 640px; margin: 12px auto 0; opacity: .9; line-height: 1.5; }
.breadcrumb { margin-top: 10px; opacity: .85; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; padding: 48px 0 72px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.product-card-img img { height: 220px; width: 100%; object-fit: cover; }
.product-card-body { padding: 20px; }
.product-card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }

.product-single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 0; }
.product-gallery-main { border-radius: 16px; overflow: hidden; }
.product-gallery-main img { width: 100%; height: 420px; object-fit: cover; }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.product-gallery-thumbs img { height: 72px; width: 100%; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .65; }
.product-gallery-thumbs img.active { opacity: 1; outline: 2px solid var(--blue); }
.product-content .desc { color: var(--muted); margin: 10px 0 18px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 64px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.feature-card-img img { height: 160px; width: 100%; object-fit: cover; }
.feature-card-body { padding: 16px; }
.feature-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 8px; }
.section { padding: 56px 0; }
.section-alt { background: var(--blue-soft); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 32px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 0; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 18px; }
.contact-info-item .icon { width: 42px; height: 42px; border-radius: 10px; background: var(--blue-soft); display: grid; place-items: center; color: var(--blue-dark); flex-shrink: 0; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
    margin-bottom: 10px; font: inherit;
}
.contact-form textarea { min-height: 130px; }

.lightbox-overlay {
    position: fixed; inset: 0; background: rgba(10, 58, 130, .92);
    display: none; align-items: center; justify-content: center; z-index: 2000; padding: 16px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-height: 86vh; max-width: 94vw; border-radius: 10px; }
.lightbox-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; }

.catalog-chapter { display: grid; grid-template-columns: 1fr 1fr; }
.chapter-dark { background: var(--blue-dark); color: #fff; }
.chapter-light { background: #fff; }
.chapter-media img { width: 100%; min-height: 280px; object-fit: cover; }
.chapter-copy { padding: 32px 28px; }

@media (max-width: 980px) {
    :root { --header: 118px; }
    .hero-slider { height: 480px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .module-panel, .story-grid, .product-single-grid, .contact-grid, .features-grid, .footer-grid, .catalog-chapter {
        grid-template-columns: 1fr;
    }
    .module-media img, .product-gallery-main img { min-height: 220px; height: 240px; }
    .menu-toggle { display: block; }
    .main-nav {
        position: absolute; top: 80px; left: 0; right: 0;
        background: #fff; flex-direction: column; align-items: stretch;
        padding: 12px; border-bottom: 1px solid var(--line);
        display: none; max-height: calc(100vh - 120px); overflow: auto;
    }
    .main-nav.open { display: flex; }
    .dropdown { position: static; box-shadow: none; border: 0; display: none; padding-left: 8px; }
    .nav-item.open .dropdown { display: block; }
    .mobile-cta { display: flex; }
    body { padding-bottom: 76px; }
    .slider-btn { width: 28px; height: 28px; font-size: .65rem; }
    .topbar-right span { display: none; }
}

@media (max-width: 640px) {
    .hero-slider { height: 420px; }
    .slide-content h1 { max-width: none; font-size: 1.7rem; }
    .stats-grid { grid-template-columns: 1fr; }
}
