/* === ПРОСТОСАЙТЫ — frontend-design skill applied === */
/* Aesthetic: Tech-editorial. Unbounded + Onest. Deep navy + electric accents. */

html.scroll-smooth { scroll-behavior: smooth; }

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #dbeafe;
    --primary-glow: rgba(59,130,246,0.15);
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --text: #0f172a;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg: #f8fafc;
    --bg-warm: #fffbeb;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md: 0 4px 12px rgba(15,23,42,0.08), 0 2px 4px rgba(15,23,42,0.04);
    --shadow-lg: 0 12px 24px rgba(15,23,42,0.12), 0 4px 8px rgba(15,23,42,0.04);
    --shadow-glow: 0 0 40px rgba(59,130,246,0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --font-display: 'Unbounded', 'Arial Black', sans-serif;
    --font-body: 'Onest', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

h1, h2, h3 { font-family: var(--font-display); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

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

/* === Scroll-triggered fade-in === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.6s ease both; }

/* staggered children */
.stagger > *:nth-child(1) { animation-delay: 0s; }
.stagger > *:nth-child(2) { animation-delay: 0.08s; }
.stagger > *:nth-child(3) { animation-delay: 0.16s; }
.stagger > *:nth-child(4) { animation-delay: 0.24s; }
.stagger > *:nth-child(5) { animation-delay: 0.32s; }
.stagger > *:nth-child(6) { animation-delay: 0.4s; }

/* === Header === */
.site-header {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226,232,240,0.6);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.5px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.logo:hover { color: var(--primary); }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.2px;
    transition: color 0.2s;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width 0.25s, left 0.25s;
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; left: 0; }

/* === Footer === */
.site-footer {
    background: var(--text);
    color: var(--text-muted);
    padding: 32px 0;
    margin-top: 0;
    text-align: center;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none;
    line-height: 1.4;
    background: var(--white);
    color: var(--text);
    border-color: var(--border);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(59,130,246,0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1d4ed8 100%);
    border-color: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(59,130,246,0.45);
    transform: translateY(-2px);
}

.btn-danger { color: var(--danger); border-color: var(--danger); background: var(--white); }
.btn-danger:hover { background: var(--danger); color: var(--white); }

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

.btn-sm { padding: 5px 14px; font-size: 0.82rem; border-radius: var(--radius-xs); }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; border-radius: var(--radius); letter-spacing: 0.3px; }
.btn-block { width: 100%; }

/* === Catalog === */
.catalog-section { padding: 40px 0; }
.catalog-section h1 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.catalog-subtitle { color: var(--text-light); margin-top: 6px; margin-bottom: 28px; font-size: 1.05rem; }

/* Filters */
.filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.filter-categories { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
    padding: 7px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bg);
    color: var(--text-light);
    transition: all 0.25s;
    border: 1.5px solid transparent;
    font-family: var(--font-body);
}
.filter-btn:hover { background: var(--primary-glow); color: var(--primary); border-color: var(--primary-light); }
.filter-btn.active {
    background: var(--text);
    color: var(--white);
    border-color: var(--text);
}

.filter-price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-price label { font-weight: 600; font-size: 0.88rem; color: var(--text-light); }
.filter-price input[type="number"] {
    width: 110px;
    padding: 7px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 0.88rem;
    font-family: var(--font-body);
    transition: border-color 0.2s;
}
.filter-price input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--primary-glow); }
.filter-dash { color: var(--text-muted); }
.filter-reset { font-size: 0.85rem; color: var(--danger); font-weight: 600; }

/* Category page text */
.catalog-page-text {
    margin-top: 48px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* === Contacts page === */
.contacts-section { padding: 40px 0 64px; }
.contacts-section h1 { font-size: 2rem; font-weight: 900; margin-bottom: 32px; }
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.contacts-block {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
}
.contacts-block h2 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: var(--font-body);
}
.contacts-dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; align-items: baseline; }
.contacts-dl dt { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.contacts-dl dd { font-size: 0.95rem; color: var(--text); }
.contacts-dl dd a { color: var(--primary); }
.contacts-dl dd a:hover { color: var(--primary-dark); }
.contacts-mono { font-family: monospace; font-size: 0.93rem; letter-spacing: 0.02em; }
.contacts-map {
    margin-top: 32px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    line-height: 0;
}
.contacts-map iframe,
.contacts-map > * {
    width: 100% !important;
    display: block;
}
@media (max-width: 768px) {
    .contacts-grid { grid-template-columns: 1fr; }
    .contacts-block { padding: 20px; }
    .contacts-dl { grid-template-columns: 1fr; gap: 2px 0; }
    .contacts-dl dt { margin-top: 10px; }
    .contacts-dl dt:first-child { margin-top: 0; }
}

/* Filters toggle (mobile only) */
.filters-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    margin-bottom: 12px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s;
}
.filters-toggle:hover { border-color: var(--primary); }
.filters-toggle svg { flex-shrink: 0; }
.filters-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 100px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    margin-left: 4px;
}

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

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s, border-color 0.35s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

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

.card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.card:hover .card-image img { transform: scale(1.06); }

.card-body { padding: 18px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.card-category {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: color 0.2s;
}
.card-category:hover { color: var(--primary-dark); }
.card-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    flex: 1;
    color: var(--text);
}
.card-price {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--accent-dark);
}

/* === Price toggle === */
.card-price-wrap { margin-top: 4px; }
.price-tabs {
    display: inline-flex;
    background: var(--border);
    border-radius: 20px;
    padding: 2px;
    margin-bottom: 6px;
}
.price-tab {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.18s;
    line-height: 1.4;
    white-space: nowrap;
}
.price-tab.price-tab--active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 1px 4px rgba(15,23,42,0.12);
}
.price-tab:hover:not(.price-tab--active) { color: var(--text); }
.detail-price-wrap { margin-bottom: 24px; }
.detail-price-wrap .detail-price { margin-bottom: 0; display: block; }
.price-tabs--lg .price-tab { font-size: 0.85rem; padding: 5px 18px; }

/* === Detail page === */
.detail-section { padding: 32px 0 48px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; color: var(--text-muted); font-size: 0.88rem; font-weight: 500; }
.back-link:hover { color: var(--primary); }

.detail-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.detail-image { position: relative; }
.detail-image img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.detail-actions { display: flex; gap: 12px; flex-wrap: nowrap; margin-bottom: 20px; }
.detail-actions .btn { flex: 1 1 0; min-width: 0; text-align: center; }

.detail-info h1 {
    font-size: 1.7rem;
    font-weight: 900;
    margin: 8px 0 16px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.detail-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-dark);
    margin-bottom: 0;
    position: relative;
    display: inline-block;
}
.detail-price::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 2px;
}

.detail-description { color: var(--text-light); line-height: 1.8; margin-bottom: 32px; font-size: 1rem; }

/* Order form */

/* === Forms === */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--text); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-hint { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-checkbox label { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); }
.form-actions { display: flex; gap: 12px; margin-top: 24px; }

/* === Alerts === */
.alert { padding: 14px 20px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; margin-bottom: 20px; }
.alert-error { background: #fff1f2; color: var(--danger); border: 1.5px solid #fecaca; }
.alert-success { background: #ecfdf5; color: #059669; border: 1.5px solid #a7f3d0; }

/* === Success page === */
.success-section { display: flex; justify-content: center; align-items: center; min-height: 50vh; }
.success-card {
    text-align: center;
    background: var(--white);
    padding: 56px 48px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    max-width: 500px;
}
.success-icon {
    width: 80px; height: 80px; line-height: 80px; border-radius: 50%;
    background: #ecfdf5; color: #059669; font-size: 2.5rem; margin: 0 auto 24px; font-weight: bold;
}
.success-card h1 { font-size: 1.5rem; margin-bottom: 10px; }
.success-card p { color: var(--text-light); margin-bottom: 28px; }

/* === 404 page === */
.error-section { text-align: center; padding: 100px 0; }
.error-section h1 {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.error-section p { font-size: 1.15rem; color: var(--text-light); margin: 16px 0 32px; }

/* === Empty state === */
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); font-size: 1.05rem; }

/* === Mobile Nav Toggle === */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ================================================================
   HERO — full-width, dark, mesh gradient background + particle canvas
   ================================================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 100px 24px 80px;
    /* mesh gradient */
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(59,130,246,0.3) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 80% 20%, rgba(245,158,11,0.12) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 50% 80%, rgba(99,102,241,0.15) 0%, transparent 50%),
        linear-gradient(160deg, #070b14 0%, #0f172a 30%, #1e293b 100%);
}

/* subtle noise overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.hero-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #ffffff;
    margin-bottom: 24px;
}

/* gradient highlight on key word */
.hero h1 em {
    font-style: normal;
    white-space: nowrap;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-actions .btn-primary {
    box-shadow: 0 0 30px rgba(59,130,246,0.4);
}

.hero-actions .btn-outline {
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(4px);
}
.hero-actions .btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.5);
    color: #ffffff;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 56px;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #60a5fa, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ================================================================
   LANDING SECTIONS
   ================================================================ */
.features, .advantages, .preview-catalog, .testimonials, .faq, .final-cta {
    padding: 72px 0;
}

.features h2, .advantages h2, .preview-catalog h2,
.testimonials h2, .faq h2, .final-cta h2 {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    letter-spacing: -0.8px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: 10px;
    margin-bottom: 44px;
    font-size: 1.05rem;
}

/* === Features / How it works === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    text-align: center;
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); }

.feature-icon {
    width: 56px; height: 56px; line-height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.3px; }
.feature-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.65; }

/* === Advantages === */
.advantages { background: var(--white); padding-left: 24px; padding-right: 24px; }
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.advantage-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); }

.advantage-icon-wrap {
    flex-shrink: 0;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: var(--white);
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

.advantage-item h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.2px; }
.advantage-item p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

/* === Preview catalog === */
.preview-cta { text-align: center; margin-top: 40px; }

/* === Testimonials === */
.testimonials { background: var(--white); padding-left: 0; padding-right: 0; overflow: hidden; }

/* Infinite marquee */
.testimonials-marquee { overflow: hidden; position: relative; padding: 0 0 8px; }
.testimonials-marquee::before,
.testimonials-marquee::after {
    content: '';
    position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none;
}
.testimonials-marquee::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.testimonials-marquee::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }

.testimonials-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marquee 50s linear infinite;
}
.testimonials-track:hover { animation-play-state: paused; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    background: var(--bg);
    padding: 24px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: border-color 0.3s;
    width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover { border-color: var(--accent-light); }

.testimonial-stars { color: var(--accent); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card blockquote {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.7;
    font-style: normal;
    margin-bottom: 16px;
    position: relative;
    padding-left: 14px;
    border-left: 3px solid var(--accent-light);
    flex: 1;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 40px; height: 40px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: var(--white);
    font-weight: 700; font-size: 0.78rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-display);
}
.testimonial-name { font-weight: 700; font-size: 0.88rem; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }
.testimonial-template {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.testimonial-template:hover { text-decoration: underline; }

/* Detail page advantages */
.detail-advantages {
    margin-top: 48px;
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 36px 32px;
}
.detail-advantages h2 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 20px; text-align: center; }
.detail-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.detail-advantage-card {
    background: transparent;
    padding: 28px 24px;
    text-align: center;
}
.detail-advantage-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--white);
    border-radius: 50%;
    margin: 0 auto 16px;
    color: var(--primary);
}
.detail-advantage-icon svg { width: 36px; height: 36px; }
.detail-advantage-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.detail-advantage-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 768px) {
    .detail-advantages-grid { grid-template-columns: 1fr; }
}

/* Detail page reviews */
.detail-reviews { margin-top: 48px; }
.detail-reviews h2 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 20px; text-align: center; }
.detail-reviews-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.detail-review-card {
    background: var(--bg);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.detail-review-stars { color: var(--accent); font-size: 0.95rem; margin-bottom: 10px; letter-spacing: 2px; }
.detail-review-text { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 16px; }
.detail-review-author { display: flex; align-items: center; gap: 10px; }
.detail-review-avatar {
    width: 38px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: var(--white);
    font-weight: 700; font-size: 0.75rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-display);
}
.detail-review-name { font-weight: 700; font-size: 0.88rem; }
.detail-review-meta { font-size: 0.78rem; color: var(--text-muted); }

.detail-related { margin-top: 48px; }
.detail-related h2 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 20px; text-align: center; }
.detail-related .catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center;
}

/* === FAQ === */
.faq { padding-bottom: 40px; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-item[open] { border-color: var(--primary); }

.faq-item summary {
    padding: 18px 24px;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
}
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.25s;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item[open] summary::after { content: '\2212'; color: var(--primary); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-answer { padding: 0 24px 20px; font-size: 0.93rem; color: var(--text-light); line-height: 1.7; }

/* === Home bottom text === */
.home-bottom-text {
    padding: 24px 0 48px;
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.9;
}
.home-bottom-text p { margin-bottom: 12px; }

/* === Final CTA === */
.final-cta { padding: 40px 0; }
.final-cta-inner {
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 64px 48px;
    border-radius: 24px;
    color: var(--white);
    background:
        radial-gradient(ellipse 60% 60% at 20% 80%, rgba(245,158,11,0.2) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary-dark) 0%, #4f46e5 50%, #7c3aed 100%);
}
.final-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.final-cta-inner h2 { color: var(--white); margin-bottom: 14px; }
.final-cta-inner p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 32px; }

.final-cta-inner .btn-primary {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.final-cta-inner .btn-primary:hover {
    background: #f0f4ff;
    border-color: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .site-header .container {
        flex-wrap: wrap;
        height: auto;
        padding: 14px 20px;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 10px;
        padding-top: 14px;
    }
    .main-nav a::after { display: none; }
    .site-header.nav-open .main-nav { display: flex; }

    .hero { min-height: 460px; padding: 70px 16px 50px; }
    .hero h1 { font-size: 2rem; letter-spacing: -1px; }
    .hero-sub { font-size: 0.95rem; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-stat-num { font-size: 1.3rem; }
    .hero-stat-label { font-size: 0.75rem; }

    .features-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .catalog-grid { grid-template-columns: 1fr; }
    .testimonial-card { width: 280px; }
    .detail-reviews-list { grid-template-columns: 1fr; }

    .detail-layout { grid-template-columns: 1fr; gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .filters-toggle { display: flex; }
    .filters { display: none; padding: 16px; gap: 12px; margin-bottom: 0; }
    .filters.filters-open { display: flex; }
    .filter-categories { gap: 6px; }
    .filter-btn { padding: 5px 12px; font-size: 0.78rem; }
    .filter-price { flex-direction: row; align-items: center; gap: 6px; flex-wrap: nowrap; }
    .filter-price label { display: none; }
    .filter-price input[type="number"] { width: 0; flex: 1; min-width: 0; padding: 7px 8px; font-size: 0.82rem; }
    .filter-price .btn { padding: 7px 12px; font-size: 0.82rem; white-space: nowrap; }
    .catalog-section h1 { font-size: 1.6rem; }
    .final-cta-inner { padding: 40px 20px; border-radius: var(--radius); }
    .final-cta { padding: 40px 0; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2.6rem; }
}

/* Image zoom modal */
.img-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
}
.img-modal img {
    max-width: 95vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 60px rgba(0,0,0,0.5);
    cursor: default;
}
.img-modal-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.img-modal-close:hover { opacity: 1; }

/* Order modal */
.order-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}
.order-modal-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.25s ease-out;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.order-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.order-modal-close:hover { color: var(--text); }
.order-modal-header { margin-bottom: 20px; }
.order-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 6px;
}
.order-modal-template {
    font-size: 0.88rem;
    color: var(--text-light);
}
.order-modal-template strong {
    color: var(--primary);
}
.order-modal .form-group { margin-bottom: 14px; }
.order-modal .form-hint { display: block; margin-bottom: 10px; }

@media (max-width: 768px) {
    .order-modal-content { padding: 24px 20px; }
    .order-modal { align-items: flex-end; }
    .order-modal-content {
        border-radius: var(--radius) var(--radius) 0 0;
        max-height: 92vh;
        overflow-y: auto;
    }
}
