/**
 * Velo.uralsk — стили сайта
 * Цветовая схема: голубой + белый
 * Шрифты: Bebas Neue (заголовки), Montserrat (текст)
 */

/* =====================================================
   CSS-переменные
   ===================================================== */
:root {
    /* Брендовые цвета */
    --blue: #2AABEE;
    --blue-dark: #1a8fd1;
    --blue-darker: #0e6fa6;
    --dark: #081520;
    --dark-2: #102a3d;
    --text: #0d1f2d;
    --muted: #5b7384;
    --light: #f0f6fb;
    --light-2: #fbfdff;
    --white: #ffffff;
    --border: rgba(8, 21, 32, 0.08);
    --green: #25D366;
    --red: #e74c3c;
    --orange: #e67e22;
    --success: #27ae60;

    /* Шрифты */
    --font-heading: 'Bebas Neue', Impact, sans-serif;
    --font-body: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Размеры */
    --container: 1240px;
    --container-wide: 1320px;
    --header-h: 74px;

    /* Тени */
    --shadow-sm: 0 4px 12px rgba(8, 21, 32, 0.06);
    --shadow: 0 20px 60px rgba(8, 21, 32, 0.10);
    --shadow-strong: 0 30px 80px rgba(42, 171, 238, 0.25);

    /* Радиусы */
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    /* Переходы */
    --transition: all 0.3s ease;
}

/* =====================================================
   Reset
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.05;
    letter-spacing: 1px;
    font-weight: 400;
}

/* =====================================================
   Контейнер
   ===================================================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }

/* =====================================================
   Кнопки
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    text-align: center;
}
.btn-pill { border-radius: 999px; }
.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
    box-shadow: 0 12px 28px rgba(42, 171, 238, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(42, 171, 238, 0.55); }
.btn-ghost {
    background: rgba(255, 255, 255, 0.6);
    color: var(--text);
    border: 1.5px solid var(--border);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--white); border-color: var(--blue); color: var(--blue); transform: translateY(-3px); }
.btn-whatsapp {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* =====================================================
   Header
   ===================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(42, 171, 238, 0.12);
    transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.95); box-shadow: 0 4px 30px rgba(8, 21, 32, 0.06); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 24px; }
.brand {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--blue);
}
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.menu { display: flex; gap: 30px; align-items: center; }
.menu a {
    font-weight: 600; font-size: 15px; color: var(--text);
    position: relative; padding: 8px 2px;
}
.menu a.btn { padding: 11px 22px; }
.menu a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--blue);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s;
}
.menu a:not(.btn):hover { color: var(--blue); }
.menu a:not(.btn):hover::after,
.menu a.active::after { transform: scaleX(1); }
.menu a.active { color: var(--blue); }

.burger {
    display: none;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--light);
    align-items: center; justify-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
    display: block;
    width: 22px; height: 2px;
    background: var(--dark);
    transition: 0.25s;
}
.burger span { position: relative; }
.burger span::before,
.burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger.open span { background: transparent; }
.burger.open span::before { transform: rotate(45deg); top: 0; }
.burger.open span::after { transform: rotate(-45deg); top: 0; }

/* =====================================================
   Hero
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(42, 171, 238, 0.18), transparent 60%),
        radial-gradient(900px 500px at 0% 100%, rgba(26, 143, 209, 0.12), transparent 60%),
        linear-gradient(180deg, var(--light-2) 0%, #eaf4fb 100%);
}
.hero::before, .hero::after {
    content: ""; position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 171, 238, 0.35), transparent 70%);
    filter: blur(40px);
    animation: float 14s ease-in-out infinite;
}
.hero::before { width: 520px; height: 520px; top: -120px; right: -120px; animation-delay: -2s; }
.hero::after { width: 380px; height: 380px; bottom: -100px; left: -100px; animation-delay: -7s; background: radial-gradient(circle, rgba(26, 143, 209, 0.3), transparent 70%); }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.08); }
}
.hero-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px;
    align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 18px; }
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(42, 171, 238, 0.12);
    color: var(--blue-dark);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(42, 171, 238, 0.25);
    align-self: flex-start;
}
.badge .dot {
    width: 8px; height: 8px; background: var(--blue); border-radius: 50%;
    animation: pulse 1.6s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(42, 171, 238, 0); }
}
.hero h1 { font-size: clamp(48px, 7vw, 96px); }
.hero h1 .accent {
    background: linear-gradient(120deg, var(--blue), var(--blue-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero .lead {
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--muted);
    max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; max-width: 540px; margin-top: 22px;
}
.hero-stat { padding: 18px 0; border-top: 2px solid rgba(8, 21, 32, 0.08); }
.hero-stat .num { font-family: var(--font-heading); font-size: 42px; color: var(--blue); line-height: 1; }
.hero-stat .lbl { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* Hero visual */
.hero-visual { position: relative; height: 520px; }
.ring {
    position: absolute; border-radius: 50%;
    border: 2px dashed rgba(42, 171, 238, 0.3);
    animation: rotate 30s linear infinite;
}
.ring.r1 { top: 0; left: 0; width: 100%; height: 100%; }
.ring.r2 {
    top: 8%; left: 8%; width: 84%; height: 84%;
    border-style: solid; border-color: rgba(42, 171, 238, 0.15);
    animation-direction: reverse; animation-duration: 40s;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.visual-bg {
    position: absolute; inset: 12%; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--white), #dceefb 70%, #bfe1f5);
    box-shadow: 0 40px 100px rgba(42, 171, 238, 0.3), inset 0 4px 20px rgba(255, 255, 255, 0.6);
}
.visual-logo {
    position: absolute; inset: 18%;
    display: flex; align-items: center; justify-content: center;
    animation: bob 4s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(-8px); } 50% { transform: translateY(8px); } }
.visual-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(42, 171, 238, 0.4)); }
.float-tag {
    position: absolute;
    background: var(--white); padding: 10px 16px; border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600;
    animation: float-tag 5s ease-in-out infinite;
}
.float-tag.t1 { top: 8%; left: -8%; animation-delay: -1s; }
.float-tag.t2 { top: 42%; right: -12%; animation-delay: -2.5s; }
.float-tag.t3 { bottom: 8%; left: 10%; animation-delay: -4s; }
@keyframes float-tag { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.float-tag .ico {
    width: 32px; height: 32px; border-radius: 10px;
    background: rgba(42, 171, 238, 0.15);
    display: grid; place-items: center;
    color: var(--blue);
}

/* =====================================================
   Marquee
   ===================================================== */
.marquee {
    background: var(--dark);
    color: var(--white);
    padding: 24px 0;
    overflow: hidden;
    position: relative;
}
.marquee::before, .marquee::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--dark), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--dark), transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scroll 35s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
    font-family: var(--font-heading); font-size: 36px; letter-spacing: 3px;
    display: flex; align-items: center; gap: 60px;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}
.marquee-item::after { content: "●"; color: var(--blue); font-size: 22px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* =====================================================
   Sections
   ===================================================== */
.section { padding: 100px 0; position: relative; }
.section.bg-light { background: var(--light); }
.section.bg-white { background: var(--white); }
.section.bg-gradient { background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%); }

.section-head { text-align: center; margin-bottom: 60px; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-tag {
    display: inline-block;
    color: var(--blue);
    font-weight: 700; font-size: 13px;
    letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* =====================================================
   Cards
   ===================================================== */
.card-grid { display: grid; gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Преимущества */
.adv-card {
    background: var(--white);
    padding: 32px 26px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.adv-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--blue-dark));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s;
}
.adv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }
.adv-card:hover::before { transform: scaleX(1); }
.adv-card .ic {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(42, 171, 238, 0.15), rgba(42, 171, 238, 0.05));
    display: grid; place-items: center;
    color: var(--blue);
    margin-bottom: 18px;
    font-size: 26px;
    transition: transform 0.4s;
}
.adv-card:hover .ic { transform: rotate(-8deg) scale(1.1); }
.adv-card h3 { font-size: 24px; margin-bottom: 8px; color: var(--dark); }
.adv-card p { color: var(--muted); font-size: 14px; }

/* Категории */
.cat-card {
    position: relative;
    padding: 36px 28px 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--white), #f5fafd);
    border: 1.5px solid rgba(42, 171, 238, 0.12);
    transition: 0.4s;
    overflow: hidden;
    display: flex; flex-direction: column; gap: 14px;
    min-height: 220px;
}
.cat-card::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    opacity: 0; transition: opacity 0.4s; z-index: 0;
}
.cat-card > * { position: relative; z-index: 1; }
.cat-card:hover { transform: translateY(-6px); border-color: transparent; }
.cat-card:hover::after { opacity: 1; }
.cat-card:hover h3, .cat-card:hover .cat-desc, .cat-card:hover .cat-arrow, .cat-card:hover .cat-emoji { color: var(--white); }
.cat-emoji { font-size: 48px; line-height: 1; transition: transform 0.4s, color 0.4s; }
.cat-card:hover .cat-emoji { transform: scale(1.15) rotate(-6deg); }
.cat-card h3 { font-size: 30px; color: var(--dark); transition: color 0.4s; }
.cat-desc { color: var(--muted); font-size: 14px; transition: color 0.4s; flex: 1; }
.cat-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--blue); font-weight: 600; font-size: 14px;
    transition: color 0.4s, gap 0.3s;
    margin-top: auto;
}
.cat-card:hover .cat-arrow { gap: 12px; }

/* Бренд-пилюли */
.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
    padding: 14px 26px;
    border-radius: 999px;
    background: var(--white);
    border: 1.5px solid var(--border);
    font-family: var(--font-heading);
    font-size: 22px; letter-spacing: 2px;
    color: var(--dark);
    transition: var(--transition);
    cursor: pointer;
}
.pill:hover {
    background: var(--blue); color: var(--white); border-color: var(--blue);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 24px rgba(42, 171, 238, 0.4);
}

/* Услуги */
.serv-card {
    padding: 38px 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    color: var(--white);
    position: relative; overflow: hidden;
    transition: 0.4s;
}
.serv-card::before {
    content: ""; position: absolute; top: -50%; right: -30%; width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 171, 238, 0.4), transparent 70%);
    transition: transform 0.6s;
}
.serv-card:hover { transform: translateY(-6px); }
.serv-card:hover::before { transform: scale(1.3); }
.serv-card > * { position: relative; z-index: 1; }
.serv-card .ic {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: rgba(42, 171, 238, 0.2);
    display: grid; place-items: center;
    color: var(--blue);
    margin-bottom: 20px;
    font-size: 22px;
}
.serv-card h3 { color: var(--white); font-size: 28px; margin-bottom: 10px; }
.serv-card p { color: rgba(255, 255, 255, 0.7); font-size: 14px; }

/* =====================================================
   Контакты + форма
   ===================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info > h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.contact-info > p { color: var(--muted); margin-bottom: 32px; font-size: 16px; max-width: 440px; }
.contact-list { display: grid; gap: 20px; }
.contact-list li {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: 0.3s;
}
.contact-list li:hover { transform: translateX(6px); box-shadow: 0 18px 40px rgba(8, 21, 32, 0.12); }
.contact-list .ic {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(42, 171, 238, 0.12);
    color: var(--blue);
    display: grid; place-items: center;
    flex-shrink: 0; font-size: 18px;
}
.contact-list .ic.green { background: rgba(37, 211, 102, 0.15); color: var(--green); }
.contact-list .ttl { font-weight: 700; font-size: 14px; color: var(--dark); margin-bottom: 2px; }
.contact-list .val { color: var(--muted); font-size: 14px; }
.contact-list a.val { color: var(--blue); font-weight: 600; }

.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow);
}
.form-card h3 { font-size: 30px; margin-bottom: 8px; color: var(--dark); }
.form-card .sub { color: var(--muted); margin-bottom: 26px; font-size: 14px; }

.form-group { margin-bottom: 14px; }
.form-label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--dark); margin-bottom: 6px;
}
.form-label .required { color: var(--red); }
.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: #fcfdfe;
    transition: border-color 0.25s, box-shadow 0.25s;
    color: var(--text);
}
textarea.form-control { resize: vertical; min-height: 110px; }
.form-control:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(42, 171, 238, 0.15);
}
.form-control.error { border-color: var(--red); background: #fdf3f2; }
.form-error { font-size: 12px; color: var(--red); margin-top: 4px; min-height: 16px; font-weight: 500; }

/* Honeypot — скрытое поле для ловли ботов */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* =====================================================
   Footer
   ===================================================== */
.site-footer { background: var(--dark); color: var(--white); padding: 60px 0 30px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; }
.footer-brand .name { font-family: var(--font-heading); font-size: 28px; color: var(--blue); letter-spacing: 2px; }
.footer-brand .sub { font-size: 12px; color: rgba(255, 255, 255, 0.5); letter-spacing: 1px; text-transform: uppercase; }
.footer-about { color: rgba(255, 255, 255, 0.6); font-size: 14px; max-width: 320px; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: grid; place-items: center;
    color: rgba(255, 255, 255, 0.7);
    transition: 0.25s;
}
.footer-social a:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.footer h4 {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 18px;
}
.footer-links, .footer-contacts { display: grid; gap: 10px; }
.footer-links a, .footer-contacts li, .footer-contacts a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}
.footer-links a:hover, .footer-contacts a:hover { color: var(--blue); }
.footer-contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contacts i { color: var(--blue); margin-top: 4px; font-size: 14px; flex-shrink: 0; }
.footer-bottom {
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* =====================================================
   WhatsApp FAB
   ===================================================== */
.wa-fab {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 90;
    width: 62px; height: 62px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: grid; place-items: center;
    font-size: 30px;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s, box-shadow 0.25s;
    animation: wa-pulse 2.4s ease-out infinite;
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 20px 40px rgba(37, 211, 102, 0.6); animation: none; color: var(--white); }
@keyframes wa-pulse {
    0% { box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}
.wa-tooltip {
    position: absolute;
    right: 76px; top: 50%; transform: translateY(-50%);
    background: var(--dark); color: var(--white);
    padding: 8px 14px; border-radius: 8px;
    font-size: 13px; font-weight: 500;
    white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s;
}
.wa-fab:hover .wa-tooltip { opacity: 1; }

/* =====================================================
   Toast
   ===================================================== */
.toast {
    position: fixed;
    bottom: 32px; right: 32px;
    z-index: 200;
    background: var(--dark); color: var(--white);
    padding: 16px 22px;
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    display: flex; align-items: center; gap: 12px;
    transform: translateX(140%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    max-width: 360px;
    font-size: 14px; font-weight: 500;
}
.toast.show { transform: translateX(0); }
.toast.error { background: var(--red); }
.toast-icon {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: rgba(42, 171, 238, 0.2);
    color: var(--blue);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.toast.error .toast-icon { background: rgba(255, 255, 255, 0.2); color: var(--white); }

/* =====================================================
   Page header (для подстраниц)
   ===================================================== */
.page-header {
    padding: 130px 0 40px;
    background:
        radial-gradient(800px 300px at 50% 0%, rgba(42, 171, 238, 0.18), transparent 70%),
        linear-gradient(180deg, var(--light-2) 0%, #eaf4fb 100%);
    border-bottom: 1px solid rgba(42, 171, 238, 0.12);
}
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--blue); font-weight: 600; }
.page-header h1 { font-size: clamp(38px, 5vw, 64px); }
.page-header p { color: var(--muted); max-width: 560px; margin-top: 8px; }

/* =====================================================
   Catalog
   ===================================================== */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
    padding: 30px 0 80px;
}
.catalog-sidebar {
    position: sticky; top: 90px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}
.catalog-sidebar h3 { font-size: 22px; color: var(--dark); margin-bottom: 14px; }
.filter-group { padding: 18px 0; border-top: 1px solid var(--border); }
.filter-group:first-of-type { border-top: none; padding-top: 6px; }
.filter-group h4 {
    font-family: var(--font-body);
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--muted);
    margin-bottom: 12px;
    letter-spacing: 1.5px;
}
.check {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
    user-select: none;
}
.check:hover { background: var(--light); }
.check input {
    appearance: none; -webkit-appearance: none;
    width: 18px; height: 18px;
    border: 1.5px solid rgba(8, 21, 32, 0.25);
    border-radius: 5px;
    flex-shrink: 0;
    transition: 0.2s;
    position: relative;
}
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after {
    content: ""; position: absolute; top: 2px; left: 5px;
    width: 5px; height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.check .lbl { flex: 1; }
.check .cnt { font-size: 12px; color: var(--muted); background: var(--light); padding: 2px 8px; border-radius: 999px; }
.check input:checked ~ .lbl { color: var(--blue); font-weight: 600; }
.reset-btn {
    width: 100%;
    margin-top: 14px;
    padding: 12px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    transition: 0.25s;
}
.reset-btn:hover { border-color: var(--blue); color: var(--blue); background: rgba(42, 171, 238, 0.06); }

.toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; flex-wrap: wrap;
    margin-bottom: 22px;
}
.tb-count { font-size: 14px; color: var(--muted); }
.tb-count strong {
    color: var(--dark); font-size: 18px;
    font-family: var(--font-heading); letter-spacing: 1px;
    margin-right: 6px;
}
.sort-wrap { display: flex; align-items: center; gap: 10px; }
.sort-wrap label { font-size: 13px; color: var(--muted); }
.form-control.select-arrow,
.sort-wrap select {
    padding: 10px 32px 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px; font-family: inherit;
    background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230d1f2d' stroke-width='2' viewBox='0 0 24 24'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 10px center;
    background-size: 14px;
    appearance: none; -webkit-appearance: none;
    cursor: pointer;
}
.sort-wrap select:focus { outline: none; border-color: var(--blue); }

.active-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(42, 171, 238, 0.12);
    color: var(--blue-dark);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.tag:hover { background: rgba(42, 171, 238, 0.22); }
.tag::after { content: "×"; font-size: 18px; line-height: 1; }

.filter-toggle {
    display: none;
    width: 100%; padding: 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-weight: 600; color: var(--dark);
    align-items: center; justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

/* Карточки товаров */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s, box-shadow 0.35s;
    display: flex; flex-direction: column;
    position: relative;
    animation: pop 0.5s ease both;
}
@keyframes pop { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(8, 21, 32, 0.14); }
.product-img {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--light), #dceefb);
    display: flex; align-items: center; justify-content: center;
    font-size: 80px;
    position: relative; overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-label, .product-stock {
    position: absolute; padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    z-index: 2;
}
.product-label { top: 14px; left: 14px; color: var(--white); }
.product-label.new { background: var(--success); }
.product-label.hit { background: var(--orange); }
.product-stock {
    top: 14px; right: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    color: var(--dark);
    font-weight: 600;
}
.product-stock.in { color: var(--success); }
.product-stock.preorder { color: var(--orange); }
.product-stock.out { color: #c0392b; }

.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-brand { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--blue); font-weight: 700; }
.product-title { font-family: var(--font-heading); font-size: 24px; color: var(--dark); letter-spacing: 1px; }
.product-type { font-size: 12px; color: var(--muted); }
.product-desc { font-size: 13px; color: var(--muted); margin-top: 2px; flex: 1; }
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 10px; }
.product-price { font-family: var(--font-heading); font-size: 30px; color: var(--dark); letter-spacing: 1px; line-height: 1; }
.product-installment { font-size: 11px; color: var(--muted); margin-top: 2px; }
.add-btn {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
    display: grid; place-items: center;
    font-size: 22px; font-weight: 300;
    transition: 0.2s;
    box-shadow: 0 8px 18px rgba(42, 171, 238, 0.35);
    flex-shrink: 0;
}
.add-btn:hover { transform: scale(1.08); box-shadow: 0 12px 24px rgba(42, 171, 238, 0.5); color: var(--white); }

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.empty-state .ic { font-size: 64px; margin-bottom: 14px; }
.empty-state h3 { font-size: 32px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* =====================================================
   Reveal on scroll
   ===================================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s, transform 0.8s; }
.reveal.show { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* =====================================================
   Адаптивность
   ===================================================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-visual { height: 420px; max-width: 480px; margin: 0 auto; width: 100%; }
    .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { position: static; max-height: none; display: none; }
    .catalog-sidebar.open { display: block; }
    .filter-toggle { display: flex; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .menu {
        position: fixed; top: var(--header-h); left: 0; right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow);
        transform: translateY(-130%);
        transition: transform 0.35s;
    }
    .menu.open { transform: translateY(0); }
    .menu li { width: 100%; }
    .menu .btn { display: flex; width: 100%; justify-content: center; }
    .burger { display: flex; }
    .section { padding: 70px 0; }
    .hero { padding: 110px 0 50px; }
    .hero-stats { gap: 14px; }
    .hero-stat .num { font-size: 32px; }
    .card-grid.cols-2,
    .card-grid.cols-3,
    .card-grid.cols-4 { grid-template-columns: 1fr; }
    .form-card { padding: 26px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .marquee-item { font-size: 26px; gap: 36px; }
    .product-grid { grid-template-columns: 1fr; }
    .toolbar { flex-direction: column; align-items: stretch; }
    .wa-fab { bottom: 20px; right: 20px; width: 56px; height: 56px; font-size: 28px; }
    .wa-tooltip { display: none; }
    .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* =====================================================
   Утилиты
   ===================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.hidden { display: none !important; }
