/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; color: #2d2d2d; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== VARIABLES ===== */
:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --secondary: #1d3557;
  --accent: #f4a261;
  --light: #f8f9fa;
  --gray: #6c757d;
  --border: #dee2e6;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --radius: 12px;
  --transition: 0.3s ease;
}

/* ===== HEADER ===== */
.header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; will-change: transform; }
.header-top { background: var(--secondary); color: #fff; padding: 8px 0; font-size: 14px; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.header-top a { color: #fff; opacity: 0.9; transition: opacity var(--transition); }
.header-top a:hover { opacity: 1; }
.header-top .phones { display: flex; gap: 20px; align-items: center; }
.header-top .phones a { font-weight: 600; font-size: 15px; }
.header-main { padding: 14px 0; }
.header-main .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.logo-icon img { width: 48px; height: 48px; display: block; }
.logo-text { line-height: 1.2; }
.logo-text strong { font-size: 20px; color: var(--secondary); display: block; }
.logo-text span { font-size: 12px; color: var(--gray); }
.nav > ul { display: flex; gap: 4px; align-items: center; margin: 0; padding: 0; list-style: none; }
.nav > ul > li { position: relative; list-style: none; }
.nav > ul > li > a { padding: 8px 14px; border-radius: 8px; font-weight: 500; color: var(--secondary); transition: all var(--transition); font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; }
.nav > ul > li > a:hover, .nav > ul > li > a.active { background: var(--primary); color: #fff; }
.header-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; justify-content: center; }
.btn-call { background: var(--primary); color: #fff; padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 15px; transition: background var(--transition); white-space: nowrap; }
.btn-call:hover { background: var(--primary-dark); }
.work-hours { font-size: 12px; color: var(--gray); line-height: 1; white-space: nowrap; align-self: center; }

/* Бейдж цены на страницах неисправностей */
.iss-price-badge { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; background: linear-gradient(135deg, #fff5f6, #fff); border: 1px solid #fecdd3; border-left: 4px solid #e63946; border-radius: 10px; color: #1d3557; font-weight: 800; font-size: 17px; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, var(--secondary) 0%, #2a4a7f 100%); color: #fff; padding: 90px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -100px; top: -100px; width: 500px; height: 500px; background: rgba(255,255,255,0.03); border-radius: 50%; pointer-events: none; }
.hero::after { content: ""; position: absolute; right: 100px; bottom: -150px; width: 300px; height: 300px; background: rgba(230,57,70,0.15); border-radius: 50%; pointer-events: none; }
.hero .container { display: grid; grid-template-columns: 3fr 2fr; gap: 60px; align-items: center; position: relative; z-index: 1; }

/* Бейдж */
.hero-badge { display: inline-flex; align-items: center; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.18); color: #fff; padding: 8px 18px; border-radius: 30px; font-size: 13px; font-weight: 600; margin-bottom: 26px; }

/* Заголовок */
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.1; margin-bottom: 22px; letter-spacing: -0.5px; }
.hero h1 span { color: var(--accent); position: relative; display: inline-block; }
.hero p { font-size: 17px; opacity: 0.85; margin-bottom: 32px; line-height: 1.6; max-width: 540px; }

/* Кнопки */
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary { background: var(--primary); color: #fff; padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: all var(--transition); display: inline-block; border: none; cursor: pointer; box-shadow: 0 4px 14px rgba(230,57,70,0.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,57,70,0.5); }
.btn-outline { background: transparent; color: #fff; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1.5px solid rgba(255,255,255,0.35); transition: all var(--transition); display: inline-block; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* Статистика с разделителями */
.hero-stats { display: flex; gap: 0; margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stat { flex: 1; text-align: left; padding-right: 16px; position: relative; }
.hero-stat:not(:last-child)::after { content: ""; position: absolute; right: 8px; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,0.15); }
.hero-stat strong { display: block; font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1.1; margin-bottom: 4px; letter-spacing: -0.5px; }
.hero-stat span { font-size: 12px; opacity: 0.7; line-height: 1.3; display: block; }

/* Карточка формы */
.hero-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.15); border-radius: 18px; padding: 26px 24px; max-width: 380px; width: 100%; margin-left: auto; box-shadow: 0 12px 40px rgba(0,0,0,0.25); position: relative; }
.hero-card::before { content: "★ 4.9 / 5"; position: absolute; top: -12px; right: 20px; background: var(--accent); color: #1d3557; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 800; box-shadow: 0 4px 12px rgba(244,162,97,0.4); }
.hero-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 18px; color: #fff; display: flex; align-items: center; }
.hero-form { display: flex; flex-direction: column; gap: 10px; }
.hero-form-field { position: relative; display: flex; align-items: center; }
.hero-field-icon { position: absolute; left: 12px; pointer-events: none; flex-shrink: 0; }
.hero-form input, .hero-form select { width: 100%; padding: 12px 14px 12px 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); color: #fff; font-size: 14px; outline: none; transition: all var(--transition); }
.hero-form input::placeholder { color: rgba(255,255,255,0.45); }
.hero-form input:focus, .hero-form select:focus { border-color: var(--accent); background: rgba(255,255,255,0.12); box-shadow: 0 0 0 3px rgba(244,162,97,0.12); }
.hero-form select option { color: #2d2d2d; background: #fff; }
.hero-form .btn-primary { width: 100%; text-align: center; padding: 13px; font-size: 15px; margin-top: 4px; display: flex; align-items: center; justify-content: center; }
.hero-form-note { font-size: 12px!important; text-align: center; line-height: 1.5!important; }
/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; font-weight: 800; color: var(--secondary); margin-bottom: 12px; }
.section-header p { font-size: 17px; color: var(--gray); max-width: 600px; margin: 0 auto; }
.section-tag { display: inline-block; background: rgba(230,57,70,0.1); color: var(--primary); padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 10px; }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.service-card { background: #fff; border-radius: var(--radius); padding: 0; box-shadow: var(--shadow); transition: all var(--transition); border: 1px solid var(--border); cursor: pointer; overflow: hidden; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); border-color: var(--primary); }
.service-card-img { width: 100%; height: 200px; object-fit: cover; display: block; flex-shrink: 0; }
.service-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.service-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px; }
.service-card h3 { font-size: 19px; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 14px; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.service-price { font-weight: 700; color: var(--primary); font-size: 15px; }
.service-link { color: var(--primary); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; }
.service-link:hover { gap: 8px; }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: left; transition: all var(--transition); }
.why-card:hover { border-color: var(--primary); box-shadow: 0 8px 28px rgba(230,57,70,0.1); transform: translateY(-4px); }
.why-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--secondary), #2a4a7f); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.why-card h3 { font-size: 16px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; line-height: 1.3; }
.why-card p { color: var(--gray); font-size: 13px; line-height: 1.6; }

/* ===== HOW IT WORKS ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 30px; position: relative; }
.step { text-align: center; padding: 20px; }
.step-num { width: 56px; height: 56px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin: 0 auto 16px; }
.step h3 { font-size: 17px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 14px; }

/* ===== BRANDS ===== */
.brands-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.brand-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px 24px; font-weight: 700; font-size: 15px; color: var(--secondary); transition: all var(--transition); }
.brand-item:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.review-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: #fff; flex-shrink: 0; }
.review-meta strong { display: block; font-size: 16px; color: var(--secondary); }
.review-meta span { font-size: 13px; color: var(--gray); }
.review-stars { color: #ffc107; font-size: 16px; margin-bottom: 12px; }
.review-card p { color: #444; font-size: 14px; line-height: 1.7; font-style: italic; }
.review-date { font-size: 12px; color: var(--gray); margin-top: 12px; }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 70px 0; text-align: center; }
.cta-banner h2 { font-size: 38px; font-weight: 800; margin-bottom: 16px; }
.cta-banner p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--primary); padding: 14px 32px; border-radius: 10px; font-weight: 700; font-size: 16px; transition: all var(--transition); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-outline-white { background: transparent; color: #fff; padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 16px; border: 2px solid rgba(255,255,255,0.7); transition: all var(--transition); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ===== PRICES TABLE ===== */
.prices-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.prices-table th { background: var(--secondary); color: #fff; padding: 16px 20px; text-align: left; font-size: 15px; }
.prices-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 15px; }
.prices-table tr:last-child td { border-bottom: none; }
.prices-table tr:hover td { background: var(--light); }
.price-val { font-weight: 700; color: var(--primary); white-space: nowrap; }
.prices-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.tab-btn { padding: 10px 20px; border-radius: 8px; border: 2px solid var(--border); background: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: all var(--transition); color: var(--secondary); }
.tab-btn.active, .tab-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== CONTACTS ===== */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-item-text strong { display: block; font-size: 16px; color: var(--secondary); margin-bottom: 4px; }
.contact-item-text span, .contact-item-text a { color: var(--gray); font-size: 15px; }
.contact-item-text a:hover { color: var(--primary); }
.contact-form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; font-weight: 700; color: var(--secondary); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--secondary); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 8px; font-size: 15px; outline: none; transition: border var(--transition); font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; padding: 14px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background var(--transition); }
.form-submit:hover { background: var(--primary-dark); }
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 40px; }
.map-container iframe { width: 100%; height: 400px; border: none; display: block; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 36px; font-weight: 800; color: var(--secondary); margin-bottom: 20px; }
.about-text p { color: var(--gray); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.about-features { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.about-feature { display: flex; gap: 12px; align-items: flex-start; }
.about-feature-icon { color: var(--primary); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.about-feature-text strong { display: block; font-size: 15px; color: var(--secondary); }
.about-feature-text span { font-size: 14px; color: var(--gray); }
.about-image { background: linear-gradient(135deg, var(--secondary), #2a4a7f); border-radius: var(--radius); padding: 40px; color: #fff; }
.about-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-number { text-align: center; padding: 20px; background: rgba(255,255,255,0.1); border-radius: 10px; }
.about-number strong { display: block; font-size: 40px; font-weight: 800; color: var(--accent); }
.about-number span { font-size: 13px; opacity: 0.85; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin-top: 50px; }
.team-card { background: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--secondary), #2a4a7f); display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 16px; }
.team-card h4 { font-size: 17px; font-weight: 700; color: var(--secondary); margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 13px; color: var(--gray); }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, var(--secondary) 0%, #2a4a7f 100%); color: #fff; padding: 60px 0; text-align: center; }
.page-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 18px; opacity: 0.85; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 16px; font-size: 14px; opacity: 0.8; }
.breadcrumb a { color: #fff; }
.breadcrumb span { opacity: 0.6; }

/* ===== FOOTER ===== */
.footer { background: var(--secondary); color: #fff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; opacity: 0.75; line-height: 1.7; margin-top: 16px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link { width: 38px; height: 38px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: background var(--transition); }
.social-link:hover { background: var(--primary); }
.footer-col h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; opacity: 0.75; transition: opacity var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--accent); }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; opacity: 0.85; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; opacity: 0.65; }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: all var(--transition); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { background: #fff; border-radius: var(--radius); padding: 24px 28px; max-width: 460px; width: 100%; position: relative; transform: scale(0.9); transition: transform var(--transition); }
.modal-overlay.active .modal { transform: scale(1); }
.modal-close { position: absolute; top: 14px; right: 14px; background: #f1f3f5; border: none; width: 30px; height: 30px; border-radius: 50%; font-size: 18px; cursor: pointer; color: var(--gray); line-height: 1; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.modal-close:hover { background: #dee2e6; }
/* Шапка модалки */
.modal-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.modal-icon { width: 46px; height: 46px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.modal-header h3 { font-size: 20px; font-weight: 800; color: var(--secondary); margin: 0; }
.modal-header p { font-size: 13px; color: var(--gray); margin: 0; }
.modal-header p.modal-promo-subtitle { color: var(--primary); font-weight: 700; }
/* Поля модалки */
.modal-field { margin-bottom: 14px; }
.modal-field label { display: block; font-size: 13px; font-weight: 600; color: var(--secondary); margin-bottom: 6px; }
.modal-input-wrap { position: relative; display: flex; align-items: center; }
.modal-field-icon { position: absolute; left: 12px; pointer-events: none; flex-shrink: 0; }
.modal-input-wrap input, .modal-input-wrap select { width: 100%; padding: 11px 14px 11px 36px; border: 2px solid var(--border); border-radius: 8px; font-size: 14px; color: #2d2d2d; background: #fff; outline: none; transition: border-color var(--transition); font-family: inherit; }
.modal-input-wrap input:focus, .modal-input-wrap select:focus { border-color: var(--primary); }
.modal-input-wrap input::placeholder { color: #adb5bd; }
.modal-note { font-size: 11px; color: var(--gray); text-align: center; margin-top: 10px; line-height: 1.5; }
.modal-note a { color: var(--gray); text-decoration: underline; }
.modal-note a:hover { color: var(--primary); }
.modal h3 { font-size: 24px; font-weight: 700; color: var(--secondary); margin-bottom: 0; }
.modal p { color: var(--gray); margin-bottom: 8px; }

/* ===== FLOATING BUTTON ===== */
.float-btn { position: fixed; bottom: 30px; right: 30px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.float-btn a { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: transform var(--transition); }
.float-btn a:hover { transform: scale(1.1); }
.float-whatsapp { background: #25d366; }

/* ===== PROMO BANNER ===== */
.promo-banner { background: linear-gradient(135deg, #fff8e1, #fff3cd); border-top: 3px solid var(--accent); border-bottom: 3px solid var(--accent); padding: 28px 0; }
.promo-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.promo-icon { font-size: 40px; flex-shrink: 0; }
.promo-text { flex: 1; min-width: 200px; }
.promo-text strong { display: block; font-size: 20px; font-weight: 800; color: var(--secondary); margin-bottom: 4px; }
.promo-text span { font-size: 14px; color: #6c757d; }
.promo-inner .btn-primary { white-space: nowrap; flex-shrink: 0; }

/* ===== BRANDS MARQUEE ===== */
.brands-marquee-wrap { overflow: hidden; padding: 8px 0; }
.brands-marquee { display: flex; }
.brands-track { display: flex; gap: 16px; animation: marquee 30s linear infinite; white-space: nowrap; }
.brands-track:hover { animation-play-state: paused; }
.brands-track span { display: inline-block; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 10px 22px; font-weight: 700; font-size: 15px; color: var(--secondary); flex-shrink: 0; transition: all var(--transition); cursor: default; }
.brands-track span:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== STEPS ARROW ===== */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 0; align-items: start; }
.step-arrow { font-size: 28px; color: var(--primary); opacity: 0.5; padding-top: 14px; align-self: flex-start; }

/* ===== REVIEW SOURCE ===== */
.review-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.review-date { font-size: 12px; color: var(--gray); }
.review-source { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 5px; }
.review-source.yandex { background: #ffdb4d; color: #1a1a1a; }
.review-source.google { background: #fff; color: #444; border: 1px solid #e0e0e0; }
.review-source.gis { background: #1ba136; color: #fff; }
.notice { background: linear-gradient(135deg, #fff3cd, #ffeaa7); border-left: 4px solid var(--accent); border-radius: 8px; padding: 16px 20px; margin-bottom: 30px; font-size: 15px; color: #856404; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-card { max-width: 500px; }
  .about-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 30px; }
  .section-header h2 { font-size: 28px; }
  .nav { display: none; }
  .header-cta .btn-call { padding: 8px 16px; font-size: 14px; }
  .hero { padding: 50px 0; }
  .section { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 24px; }
  .cta-banner h2 { font-size: 26px; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .hero-stats { flex-wrap: wrap; }
}

/* ===== TOAST NOTIFICATION ===== */
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px); background: #1d3557; color: #fff; padding: 14px 24px; border-radius: 10px; font-size: 15px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,0.2); z-index: 99999; opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.toast-error { background: #c1121f; }
@media (max-width: 480px) { .toast { font-size: 14px; padding: 12px 18px; white-space: normal; max-width: calc(100vw - 40px); text-align: center; } }
.scroll-top { position: fixed; bottom: 100px; left: 30px; width: 44px; height: 44px; background: var(--secondary); color: #fff; border: none; border-radius: 50%; font-size: 20px; cursor: pointer; opacity: 0; visibility: hidden; transition: all var(--transition); z-index: 998; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary); transform: translateY(-3px); }

/* ===== CITY SWITCHER ===== */
.city-switcher { position: relative; display: inline-flex; align-items: center; cursor: pointer; color: rgba(255,255,255,0.85); font-size: 13px; padding: 4px 8px; border-radius: 6px; transition: background var(--transition); user-select: none; }
.city-switcher:hover { background: rgba(255,255,255,0.1); }
.city-current { font-weight: 600; }
.city-dropdown { display: none; position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); min-width: 180px; z-index: 2000; overflow: hidden; }
.city-switcher:hover .city-dropdown { display: block; }
.city-dropdown a { display: block; padding: 10px 16px; font-size: 14px; color: var(--secondary); text-decoration: none; transition: background var(--transition); }
.city-dropdown a:hover { background: var(--light); }
.city-dropdown a.active { color: var(--primary); font-weight: 700; background: rgba(230,57,70,0.05); }

/* ===== PROMO BANNER ===== */
.promo-banner { overflow: hidden; padding: 56px 0; background: linear-gradient(180deg, #eef3f8 0%, #f8fafc 100%); }
.promo-banner .container { position: relative; z-index: 1; }
.promo-banner-card {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 28px; align-items: center; overflow: hidden;
  border-radius: 34px; padding: 34px; color: #fff;
  background: radial-gradient(circle at 12% 18%, rgba(255,255,255,.18), transparent 24%),
    radial-gradient(circle at 90% 18%, rgba(230,57,70,.34), transparent 28%),
    linear-gradient(135deg, #15243a 0%, #1d3557 46%, #101827 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 80px rgba(29,53,87,.28), inset 0 1px rgba(255,255,255,.10); isolation: isolate;
}
.promo-banner-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
  animation: promo-grid-drift 18s linear infinite;
}
.promo-banner-card::after {
  content: ''; position: absolute; right: -120px; bottom: -150px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(230,57,70,.30); filter: blur(2px); z-index: -1;
  animation: promo-orb-float 7s ease-in-out infinite;
}
.promo-banner-copy { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.promo-banner-mark {
  width: 72px; height: 72px; display: grid; place-items: center;
  border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, #ff5561, #df233b 65%, #b91631);
  box-shadow: 0 20px 45px rgba(230,57,70,.34), inset 0 1px rgba(255,255,255,.24);
}
.promo-banner-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.82); font-size: 12px; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
}
.promo-banner-title { margin: 0; max-width: 690px; color: #fff; font-size: clamp(28px, 4.2vw, 50px); line-height: 1; letter-spacing: -.045em; font-weight: 950; }
.promo-banner-title span { color: #ff6b78; }
.promo-banner-text { max-width: 660px; margin: 14px 0 0; color: rgba(255,255,255,.76); font-size: 16px; line-height: 1.65; }
.promo-banner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.promo-banner-btn, .promo-banner-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 20px; border-radius: 999px; font-weight: 900;
  text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; position: relative;
}
.promo-banner-btn { overflow: hidden; padding: 0 24px; background: linear-gradient(135deg, #ff5a63, #e63946 60%, #c92038); color: #fff; box-shadow: 0 16px 34px rgba(230,57,70,.38), inset 0 1px rgba(255,255,255,.28); animation: promo-cta-pulse 2.8s ease-in-out infinite; }
.promo-banner-btn::after { content: '→'; font-size: 18px; line-height: 1; transition: transform .2s ease; }
.promo-banner-btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.30) 47%, transparent 69%); transform: translateX(-135%); transition: transform .55s ease; animation: promo-button-shine 4.5s ease-in-out infinite; }
.promo-banner-btn:hover { transform: translateY(-3px); background: linear-gradient(135deg, #ff6870, #df263e); color: #fff; box-shadow: 0 22px 42px rgba(230,57,70,.48); }
.promo-banner-btn:hover::before { transform: translateX(135%); }
.promo-banner-btn:hover::after { transform: translateX(3px); }
.promo-banner-phone { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); }
.promo-banner-phone:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); color: #fff; }
.promo-banner-panel { position: relative; overflow: hidden; border-radius: 28px; padding: 24px; background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.07)); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); box-shadow: 0 24px 48px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.16); }
.promo-banner-panel::before { content: ''; position: absolute; width: 180px; height: 180px; right: -78px; top: -96px; border-radius: 50%; background: rgba(255,96,112,.20); filter: blur(3px); pointer-events: none; }
.promo-banner-discount { position: relative; display: flex; align-items: flex-end; gap: 10px; margin-bottom: 16px; padding: 10px 14px 12px; border-radius: 18px; background: linear-gradient(105deg, rgba(255,91,101,.22), rgba(255,91,101,.05)); border: 1px solid rgba(255,110,122,.32); color: #fff; line-height: .82; }
.promo-banner-discount strong { font-size: clamp(64px, 8vw, 104px); font-weight: 950; letter-spacing: -.08em; }
.promo-banner-discount span { padding-bottom: 10px; color: #ff7380; font-size: 28px; font-weight: 950; }
.promo-banner-list { position: relative; display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.promo-banner-list li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: 12px; background: rgba(8,18,35,.16); color: rgba(255,255,255,.86); font-size: 14px; line-height: 1.4; }
.promo-banner-list li::before { content: '✓'; width: 19px; height: 19px; display: grid; place-items: center; flex: 0 0 auto; margin-top: 1px; border-radius: 50%; background: rgba(255,91,101,.18); color: #ff7884; font-size: 12px; font-weight: 900; }
@keyframes promo-cta-pulse { 0%, 100% { box-shadow: 0 16px 34px rgba(230,57,70,.38), inset 0 1px rgba(255,255,255,.28); } 50% { box-shadow: 0 18px 42px rgba(255,91,101,.55), inset 0 1px rgba(255,255,255,.28); } }
@keyframes promo-button-shine { 0%, 58% { transform: translateX(-135%); } 78%, 100% { transform: translateX(135%); } }
@keyframes promo-orb-float { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-24px, -22px, 0) scale(1.12); } }
@keyframes promo-grid-drift { from { background-position: 0 0, 0 0; } to { background-position: 38px 38px, 38px 38px; } }
@keyframes promo-panel-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes promo-panel-glow { 0%, 100% { transform: scale(.9); opacity: .5; } 50% { transform: scale(1.15); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .promo-banner-btn, .promo-banner-card::before, .promo-banner-card::after, .promo-banner-panel, .promo-banner-panel::before, .promo-banner-btn::before { animation: none; } }
@media (max-width: 960px) { .promo-banner { padding: 40px 0; } .promo-banner-card { grid-template-columns: 1fr; padding: 28px; } }
@media (max-width: 620px) { .promo-banner-card { padding: 22px; border-radius: 26px; } .promo-banner-copy { grid-template-columns: 1fr; gap: 16px; } .promo-banner-mark { width: 60px; height: 60px; border-radius: 20px; } .promo-banner-actions { flex-direction: column; } .promo-banner-btn, .promo-banner-phone { width: 100%; box-sizing: border-box; } .promo-banner-panel { padding: 20px; border-radius: 22px; } .promo-banner-discount strong { font-size: 66px; } }


/* ================================
   PARTS WAREHOUSE SECTION (rembytteh.kz)
   ================================ */
.parts-warehouse {
    padding: 70px 0;
    background: #ffffff;
}

.warehouse-light {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 44px;
    align-items: center;
    background: #F8FAFC;
    border-radius: 24px;
    padding: 36px;
    border: 1px solid #E2E8F0;
}

.warehouse-light__img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.warehouse-light__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.warehouse-light__badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.85);
    color: #38BDF8;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.warehouse-light__desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 20px;
}

.warehouse-light__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.warehouse-light__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #1E293B;
    font-weight: 500;
}

.warehouse-light__list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .warehouse-light {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px;
    }
    .warehouse-light__img-wrap {
        height: 240px;
    }
}

/* ===== NAV DROPDOWN ===== */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.nav-arrow {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.nav-item-dropdown:hover > a .nav-arrow {
  transform: rotate(180deg);
}

/* Invisible hover bridge */
.nav-item-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  z-index: 2001;
}

/* Dropdown list container - strictly hidden by default */
.nav .nav-dropdown,
ul.nav-dropdown {
  display: none !important;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.15), 0 2px 6px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  min-width: 260px;
  padding: 4px 0;
  margin: 0;
  list-style: none;
  z-index: 2500;
  flex-direction: column !important;
  gap: 0 !important;
}

/* Shown strictly on hover of the parent li */
.nav .nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:hover ul.nav-dropdown {
  display: flex !important;
}

ul.nav-dropdown li {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

ul.nav-dropdown li a {
  display: block !important;
  padding: 11px 18px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  background: transparent !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

ul.nav-dropdown li:last-child a {
  border-bottom: none !important;
}

ul.nav-dropdown li a:hover {
  background: #f8fafc !important;
  color: var(--primary) !important;
}

ul.nav-dropdown li a.active {
  background: rgba(230, 57, 70, 0.06) !important;
  color: var(--primary) !important;
  font-weight: 600 !important;
}
