:root {
    --navy: #071a33;
    --navy-2: #0b2447;
    --blue: #2563eb;
    --sky: #eaf4ff;
    --text: #102033;
    --muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255,255,255,0.72);
    --glass-border: rgba(255,255,255,0.72);
    --shadow: 0 24px 70px rgba(8, 24, 52, 0.14);
    --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #f7fbff 0%, #edf6ff 42%, #ffffff 100%);
    min-height: 100vh;
}
body::before,
body::after {
    content: "";
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .14);
    filter: blur(30px);
    z-index: -2;
}
body::before { top: -120px; left: -120px; }
body::after { right: -120px; bottom: -160px; background: rgba(7, 26, 51, .12); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.glass-panel {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: var(--radius);
}
.site-header { position: sticky; top: 12px; z-index: 20; padding: 12px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; padding: 14px 18px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; font-size: 21px; }
.brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 14px; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 12px 16px; border-radius: 999px; color: #17324f; font-weight: 650; transition: .2s ease; }
.main-nav a:hover, .main-nav .nav-phone { background: rgba(7, 26, 51, .08); }
.nav-toggle { display: none; }
.section { padding: 58px 0; }
.section.compact { padding: 30px 0; }
.hero-grid, .request-grid, .about-grid, .product-detail-grid, .product-content-grid { display: grid; gap: 24px; }
.hero-grid { grid-template-columns: 1.08fr .92fr; align-items: stretch; }
.hero-content { padding: clamp(28px, 5vw, 58px); }
.eyebrow {
    display: inline-flex;
    color: var(--blue);
    background: rgba(37, 99, 235, .09);
    border: 1px solid rgba(37, 99, 235, .12);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(38px, 6vw, 72px); line-height: .95; letter-spacing: -0.065em; color: var(--navy); margin-bottom: 20px; }
h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1; letter-spacing: -0.045em; color: var(--navy); margin-bottom: 14px; }
h3 { color: var(--navy); letter-spacing: -0.025em; }
p { color: var(--muted); line-height: 1.75; }
.lead { font-size: 18px; }
.muted { color: var(--muted); }
.hero-actions, .product-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-actions.center { justify-content: center; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px;
    border-radius: 999px; border: 0; cursor: pointer; font-weight: 800; font-size: 15px; transition: .2s ease;
}
.btn.primary { color: white; background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: 0 12px 28px rgba(37, 99, 235, .28); }
.btn.ghost { color: var(--navy); background: rgba(255,255,255,.62); border: 1px solid rgba(7, 26, 51, .08); }
.btn:hover { transform: translateY(-2px); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.stats div { background: rgba(255,255,255,.54); border: 1px solid rgba(7,26,51,.06); border-radius: 20px; padding: 16px; }
.stats strong { display: block; color: var(--navy); font-size: 22px; }
.stats span { color: var(--muted); font-size: 13px; }
.hero-image { min-height: 520px; overflow: hidden; position: relative; }
.hero-image.small { min-height: 360px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-placeholder {
    height: 100%; min-height: 420px; display: grid; place-items: center; text-align: center; padding: 30px;
    background: radial-gradient(circle at 20% 20%, rgba(37,99,235,.28), transparent 34%), linear-gradient(145deg, #071a33, #123f79);
    color: white;
}
.hero-placeholder span, .hero-placeholder strong, .hero-placeholder em { display: block; }
.hero-placeholder span { opacity: .75; font-weight: 700; }
.hero-placeholder strong { font-size: clamp(46px, 6vw, 78px); letter-spacing: -0.06em; }
.hero-placeholder em { opacity: .75; }
.section-head { margin-bottom: 20px; }
.section-head.split { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.link-more { color: var(--blue); font-weight: 800; }
.text-card, .contact-card, .request-info, .request-form, .catalog-heading, .success-card { padding: clamp(22px, 4vw, 38px); }
.category-grid, .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { padding: 18px; min-height: 210px; transition: .2s ease; overflow: hidden; }
.category-card:hover, .product-card:hover { transform: translateY(-4px); }
.category-card img { height: 110px; width: 100%; object-fit: cover; border-radius: 20px; margin-bottom: 14px; }
.category-card h3, .product-card h3 { margin-bottom: 8px; }
.category-card p, .product-card p { font-size: 14px; margin-bottom: 0; }
.product-card { display: flex; flex-direction: column; overflow: hidden; transition: .2s ease; }
.product-image-wrap { position: relative; height: 250px; overflow: hidden; background: linear-gradient(135deg, #e8f2ff, #ffffff); }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
    position: absolute; left: 14px; top: 14px; padding: 8px 11px; border-radius: 999px; color: var(--navy);
    font-size: 12px; font-weight: 800; background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
}
.product-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; color: var(--blue); font-weight: 800; }
.product-card-footer strong { color: var(--navy); }
.product-placeholder {
    height: 100%; min-height: 240px; display: grid; place-items: center; text-align: center; padding: 20px;
    color: rgba(7,26,51,.65); font-weight: 800; background: linear-gradient(135deg, #eaf4ff, #ffffff);
}
.request-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
.request-form { display: grid; gap: 12px; }
input, textarea, select {
    width: 100%; border: 1px solid rgba(7, 26, 51, .11); background: rgba(255,255,255,.78);
    border-radius: 18px; padding: 15px 16px; outline: none; font: inherit; color: var(--text);
}
input:focus, textarea:focus { border-color: rgba(37,99,235,.45); box-shadow: 0 0 0 4px rgba(37,99,235,.08); }
.about-grid { grid-template-columns: 1.2fr .8fr; align-items: start; }
.contact-card { position: sticky; top: 110px; }
.catalog-heading { text-align: center; }
.catalog-search { display: flex; gap: 10px; max-width: 740px; margin: 22px auto 0; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-pill {
    padding: 11px 15px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid rgba(7,26,51,.08);
    color: var(--navy); font-weight: 800;
}
.filter-pill.active { background: var(--navy); color: white; }
.pagination { display: flex; justify-content: center; gap: 14px; align-items: center; margin-top: 28px; color: var(--muted); }
.pagination a { color: var(--blue); font-weight: 800; }
.product-detail-grid { grid-template-columns: .95fr 1.05fr; align-items: start; }
.product-gallery, .product-info { padding: 18px; }
.main-product-img { width: 100%; height: 560px; object-fit: cover; border-radius: 24px; background: #edf6ff; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumbs img { height: 100px; width: 100%; object-fit: cover; border-radius: 16px; cursor: pointer; border: 2px solid rgba(255,255,255,.8); }
.product-info { padding: clamp(22px, 4vw, 42px); }
.price-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.price-line strong { font-size: 34px; color: var(--navy); }
.price-line span { color: var(--muted); text-decoration: line-through; font-weight: 700; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.specs div { background: rgba(255,255,255,.54); border: 1px solid rgba(7,26,51,.06); border-radius: 18px; padding: 15px; }
.specs span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 5px; }
.specs strong { color: var(--navy); }
.qr-box { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 14px; background: rgba(255,255,255,.58); border-radius: 20px; }
.qr-box img { width: 94px; height: 94px; object-fit: contain; border-radius: 12px; background: white; }
.qr-box p { margin: 0; font-weight: 800; color: var(--navy); }
.product-content-grid { grid-template-columns: 1fr .8fr; align-items: start; }
.success-section { min-height: 58vh; display: grid; place-items: center; }
.success-card { text-align: center; max-width: 680px; }
.success-icon {
    display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #dcfce7;
    color: #166534; font-size: 40px; font-weight: 900; margin-bottom: 18px;
}
.empty-state { grid-column: 1 / -1; padding: 28px; color: var(--muted); }
.messages { margin-top: 10px; }
.message { padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.84); border: 1px solid rgba(7,26,51,.08); color: var(--navy); box-shadow: var(--shadow); }
.message.success { border-color: rgba(34,197,94,.35); }
.message.error { border-color: rgba(239,68,68,.35); }
.footer { padding: 40px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr .7fr; gap: 22px; padding: 28px; }
.footer h3, .footer h4 { margin-bottom: 10px; color: var(--navy); }
.footer p { margin-bottom: 8px; }
.footer a:hover { color: var(--blue); }
@media (max-width: 980px) {
    .hero-grid, .request-grid, .about-grid, .product-detail-grid, .product-content-grid, .footer-grid { grid-template-columns: 1fr; }
    .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-image { min-height: 380px; }
    .main-product-img { height: 420px; }
    .contact-card { position: static; }
}
@media (max-width: 720px) {
    .container { width: min(100% - 22px, 1180px); }
    .site-header { top: 0; padding: 8px 0; }
    .header-inner { border-radius: 24px; }
    .nav-toggle {
        display: inline-grid; gap: 4px; width: 44px; height: 44px; place-items: center;
        border: 0; border-radius: 16px; background: rgba(7,26,51,.08);
    }
    .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }
    .main-nav {
        position: absolute; left: 12px; right: 12px; top: 90px; display: grid; background: rgba(255,255,255,.92);
        border: 1px solid rgba(7,26,51,.08); border-radius: 24px; box-shadow: var(--shadow); padding: 10px;
        opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .2s ease;
    }
    .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
    .main-nav a { display: block; }
    .section { padding: 34px 0; }
    .section.compact { padding: 22px 0; }
    h1 { font-size: 38px; line-height: 1; }
    h2 { font-size: 30px; }
    .hero-content, .text-card, .contact-card, .request-info, .request-form, .catalog-heading, .success-card { padding: 22px; }
    .stats, .category-grid, .product-grid, .specs { grid-template-columns: 1fr; }
    .catalog-search { flex-direction: column; }
    .product-image-wrap { height: 280px; }
    .main-product-img { height: 340px; }
    .thumbs { grid-template-columns: repeat(3, 1fr); }
    .section-head.split { align-items: start; flex-direction: column; }
}
