/* ============================================================
   АВТОДЕЛ — выездной автосервис (автодел.рф)
   Палитра: глубокий синий / яркий синий / белый на светло-сером.
   Шрифты: Unbounded (заголовки, геометрический гротеск) +
   Golos Text (основной текст, российская наборная антиква-гротеск).
   Язык вёрстки: светлый, «официально-сервисный» — скруглённые
   карточки, мягкие многослойные тени, много воздуха, липкая белая
   шапка, hero-сплит «текст слева / фото справа».
   ============================================================ */

:root {
  --brand: #0b3d91;
  --brand-deep: #072a66;
  --brand-bright: #1e6fff;
  --brand-soft: #e8f0ff;
  --brand-glow: rgba(30, 111, 255, 0.28);
  --ink: #10151f;
  --ink-2: #2c3648;
  --muted: #5d6a80;
  --line: #dfe6f2;
  --bg: #f4f7fc;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 6px rgba(16, 21, 31, 0.05);
  --shadow: 0 10px 30px rgba(16, 21, 31, 0.08);
  --shadow-lg: 0 22px 55px rgba(11, 61, 145, 0.16);
  --font-head: 'Unbounded', 'Segoe UI', sans-serif;
  --font-body: 'Golos Text', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* --- HEADER (липкая белая шапка) --- */
header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.logo .logo-title, .logo h1 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo span {
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-bright), var(--brand));
  padding: 3px 10px;
  border-radius: 8px;
  display: inline-block;
}
.logo p { font-size: 0.88rem; color: var(--muted); margin-top: 5px; }
.logo p i { color: var(--brand-bright); margin-right: 5px; }
.header-right { display: flex; align-items: center; gap: 26px; }
.header-phone { text-align: right; }
.header-phone a {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.24rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.4px;
  white-space: nowrap;
}
.header-phone a:hover { color: var(--brand-bright); }
.header-phone a i { color: var(--brand-bright); margin-right: 7px; font-size: 1rem; }
.header-phone .worktime { font-size: 0.83rem; color: var(--muted); margin-top: 1px; }
.header-cta {
  background: var(--brand-bright);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.25s;
  box-shadow: 0 6px 18px var(--brand-glow);
}
.header-cta:hover { background: var(--brand); transform: translateY(-1px); box-shadow: 0 10px 24px var(--brand-glow); }

/* --- HERO (сплит: текст слева, фото справа) --- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 460px at 88% 12%, rgba(30, 111, 255, 0.11), transparent 62%),
    radial-gradient(620px 380px at 4% 92%, rgba(11, 61, 145, 0.09), transparent 60%),
    var(--bg);
  padding: 68px 0 78px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  border: 1px solid rgba(30, 111, 255, 0.18);
}
.hero .eyebrow i { color: var(--brand-bright); }
.hero h1, .hero h2 {
  font-family: var(--font-head);
  font-size: 3.05rem;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -1.6px;
  color: var(--ink);
  margin-bottom: 20px;
  overflow-wrap: break-word;
}
.hero h1 em, .hero h2 em { font-style: normal; color: var(--brand-bright); }
/* Длинные заголовки с широкими словами («автосигнализаций») — набираем мельче,
   чтобы строка не вылезала из колонки ни на десктопе, ни на телефоне. */
.hero h1.compact, .hero h2.compact {
  font-size: clamp(1.2rem, 5.6vw, 2.45rem);
  letter-spacing: -1.25px;
  overflow-wrap: break-word;
}
.hero p { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  background: linear-gradient(135deg, var(--brand-bright), var(--brand));
  color: var(--white);
  padding: 17px 32px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.25s;
  box-shadow: 0 10px 26px var(--brand-glow);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px var(--brand-glow); }
.btn-ghost {
  background: var(--white);
  color: var(--brand);
  border: 1.5px solid var(--line);
  padding: 16px 30px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.25s;
}
.btn-ghost:hover { border-color: var(--brand-bright); color: var(--brand-bright); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-fact strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--brand); display: block; letter-spacing: -0.8px; }
.hero-fact span { font-size: 0.92rem; color: var(--muted); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  left: -22px;
  bottom: 34px;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 260px;
}
.hero-badge i { font-size: 1.5rem; color: var(--brand-bright); }
.hero-badge b { font-family: var(--font-head); font-size: 0.98rem; display: block; color: var(--ink); }
.hero-badge small { color: var(--muted); font-size: 0.86rem; }

/* --- SECTION TITLE --- */
.section-title { margin: 76px 0 34px; text-align: center; }
.section-title .kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 12px;
}
.section-title h3 {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--ink);
}
.section-title p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; max-width: 640px; margin-left: auto; margin-right: auto; }

section.on-tint { background: var(--white); padding: 4px 0 62px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 60px; }
section.on-tint .section-title { margin-top: 62px; }

/* --- ADVANTAGES --- */
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin: 34px 0 10px; }
.advantage-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: 0.25s;
}
.advantage-item:hover { background: var(--white); border-color: rgba(30, 111, 255, 0.35); box-shadow: var(--shadow); transform: translateY(-3px); }
.advantage-item .ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px var(--brand-glow);
}
.advantage-item h4 { font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; margin-bottom: 9px; color: var(--ink); letter-spacing: -0.4px; }
.advantage-item p { color: var(--muted); font-size: 1rem; }

/* --- SERVICES (фото сверху, подпись на белом) --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 24px; margin: 34px 0 20px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.28s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(30, 111, 255, 0.3); }
.service-card .thumb { position: relative; height: 190px; overflow: hidden; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover img { transform: scale(1.07); }
.service-card .badge {
  position: absolute; top: 14px; left: 14px;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(6px);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.02rem;
  box-shadow: var(--shadow-sm);
}
.service-card .card-text { padding: 20px 22px 24px; }
.service-card h5 { font-family: var(--font-head); font-size: 1.06rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; letter-spacing: -0.3px; }
.service-card p { color: var(--muted); font-size: 0.97rem; }

/* --- TRANSPORT --- */
.transport-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin: 34px 0 10px; }
.transport-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  transition: 0.25s;
}
.transport-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(30, 111, 255, 0.3); }
.transport-item i { font-size: 2.4rem; color: var(--brand-bright); margin-bottom: 16px; }
.transport-item h4 { font-family: var(--font-head); font-size: 1.06rem; font-weight: 600; color: var(--ink); letter-spacing: -0.3px; }
.transport-item p { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }

/* --- DIAGNOSTIC --- */
.diagnostic-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 34px;
  margin: 34px 0 20px;
  box-shadow: var(--shadow-sm);
}
.diagnostic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; }
.diagnostic-grid h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
}
.diagnostic-grid h4 i {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.92rem;
}
.diagnostic-grid ul { list-style: none; }
.diagnostic-grid li { padding: 9px 0 9px 28px; position: relative; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 1rem; }
.diagnostic-grid li:last-child { border-bottom: none; }
.diagnostic-grid li:before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute; left: 0; top: 9px;
  color: var(--brand-bright);
  font-size: 0.82rem;
}
.diagnostic-result {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: var(--white);
  padding: 26px 28px;
  border-radius: var(--radius);
  margin-top: 30px;
}
.diagnostic-result p { margin: 10px 0; font-size: 1.02rem; opacity: 0.94; display: flex; gap: 12px; align-items: flex-start; }
.diagnostic-result p:first-child { opacity: 1; }
.diagnostic-result i { color: #7fb0ff; margin-top: 5px; }

/* --- GALLERY --- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 34px 0 20px; }
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: 0.28s;
}
.gallery-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item span {
  display: block;
  padding: 16px 20px;
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.gallery-item span:before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-bright); margin-right: 10px; vertical-align: middle; }

/* --- PRICES --- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 34px 0 0; }
.price-category {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  transition: 0.25s;
}
.price-category:hover { box-shadow: var(--shadow); border-color: rgba(30, 111, 255, 0.28); }
.price-category h4 {
  font-family: var(--font-head);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
  padding-bottom: 15px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--brand-soft);
  display: flex; align-items: center; gap: 11px;
}
.price-category h4 i {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.price-item { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; font-size: 1rem; border-bottom: 1px dashed var(--line); }
.price-item:last-child { border-bottom: none; }
.price-item .name { color: var(--ink-2); }
.price-item .cost { font-family: var(--font-head); font-weight: 600; color: var(--brand); white-space: nowrap; font-size: 0.98rem; }
.price-note {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-bright);
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  padding: 18px 24px;
  font-size: 1.02rem;
}
.price-note i { color: var(--brand-bright); margin-right: 9px; }

/* --- CITY PRICES --- */
.city-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 34px 0 20px; }
.city-price-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 18px;
  transition: 0.22s;
}
.city-price-item:hover { border-color: var(--brand-bright); box-shadow: var(--shadow-sm); }
.city-price-item .city { font-family: var(--font-head); font-weight: 600; color: var(--ink); display: block; font-size: 1rem; letter-spacing: -0.3px; }
.city-price-item .price { color: var(--brand-bright); font-weight: 600; font-size: 1.02rem; margin-top: 6px; display: block; }
.city-note {
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
  color: var(--brand-deep);
  padding: 16px 22px;
  text-align: center;
  margin: 8px 0 20px;
  font-size: 1.02rem;
}
.city-note i { color: var(--brand-bright); margin-right: 8px; }

/* --- ABOUT COMPANY --- */
.about-company { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; margin: 34px 0 20px; }
.about-text p { color: var(--ink-2); font-size: 1.06rem; }
.about-text p + p { margin-top: 16px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-item {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(11, 61, 145, 0.2);
}
.stat-item .number { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; display: block; letter-spacing: -1px; }
.stat-item .label { font-size: 0.87rem; opacity: 0.8; }

/* --- FAQ --- */
.faq-block { max-width: 900px; margin: 34px auto 20px; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: 0.22s; }
.faq-item:hover { border-color: rgba(30, 111, 255, 0.35); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
  font-size: 1.02rem;
  padding: 19px 22px;
  transition: 0.2s;
  letter-spacing: -0.3px;
}
.faq-question:hover { color: var(--brand-bright); }
.faq-question i {
  color: var(--brand);
  background: var(--brand-soft);
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  transition: 0.3s;
  flex-shrink: 0;
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--muted); padding: 0 22px; font-size: 1.01rem; }
.faq-answer.open { max-height: 420px; padding: 0 22px 20px; }

/* --- CONTACT --- */
.contact-block {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: var(--white);
  padding: 52px 44px;
  border-radius: 26px;
  margin: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.contact-block:before {
  content: '';
  position: absolute;
  right: -80px; top: -110px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.contact-flex { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 30px; position: relative; z-index: 2; }
.contact-info h3 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.8px; display: flex; align-items: center; gap: 6px; }
.contact-info h3 span { color: var(--brand); background: var(--white); padding: 3px 10px; border-radius: 8px; display: inline-block; }
.contact-info p { opacity: 0.86; margin: 9px 0; font-size: 1.02rem; }
.contact-info p i { width: 20px; opacity: 0.7; }
.contact-info .big-phone { font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; color: var(--white); text-decoration: none; display: inline-block; margin-top: 12px; letter-spacing: -1px; }
.contact-info .big-phone i { margin-right: 12px; font-size: 1.3rem; }
.contact-btn { display: grid; gap: 12px; }
.contact-btn .btn-outline {
  background: var(--white);
  color: var(--brand);
  padding: 17px 34px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: 0.25s;
}
.contact-btn .btn-outline:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); }
.contact-btn .btn-outline.secondary { background: transparent; color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.45); }
.contact-btn .btn-outline.secondary:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); box-shadow: none; }

/* --- DIVIDERS (тёмно-синие полосы между светлыми секциями) --- */
.divider {
  color: var(--white);
  padding: 62px 0;
  margin: 72px 0;
  border-top: 4px solid var(--brand-bright);
  border-bottom: 4px solid var(--brand-bright);
  background-color: var(--brand-deep);
}
.divider-1 {
  background: linear-gradient(100deg, rgba(7, 27, 61, 0.95) 0%, rgba(7, 32, 74, 0.82) 55%, rgba(11, 61, 145, 0.72) 100%),
              url('/img/divider-1.jpg') center 55% / cover no-repeat;
}
.divider-2 {
  background: linear-gradient(100deg, rgba(7, 27, 61, 0.95) 0%, rgba(7, 32, 74, 0.82) 55%, rgba(11, 61, 145, 0.72) 100%),
              url('/img/divider-2.jpg') center 45% / cover no-repeat;
}
.divider-3 {
  background: linear-gradient(100deg, rgba(7, 27, 61, 0.95) 0%, rgba(7, 32, 74, 0.82) 55%, rgba(11, 61, 145, 0.72) 100%),
              url('/img/divider-3.jpg') center 55% / cover no-repeat;
}
.divider .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.divider-text { max-width: 660px; }
.divider h3 {
  font-family: var(--font-head);
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.22;
  margin-bottom: 14px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}
.divider h3 span { color: #7fb0ff; }
.divider p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.divider-btn {
  background: var(--white);
  color: var(--brand);
  padding: 17px 34px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: 0.25s;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}
.divider-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34); }
.divider-btn.outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
}
.divider-btn.outline:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.divider-phone { text-align: right; }
.divider-phone a {
  display: block;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}
.divider-phone a:hover { color: #7fb0ff; }
.divider-phone small { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }

/* --- FOOTER --- */
footer { background: var(--ink); color: rgba(255, 255, 255, 0.6); padding: 34px 0; text-align: center; font-size: 0.98rem; }
footer span { color: var(--white); font-family: var(--font-head); font-weight: 600; }
footer .foot-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }
footer .foot-links a { color: rgba(255, 255, 255, 0.55); text-decoration: none; font-size: 0.94rem; transition: 0.2s; }
footer .foot-links a:hover { color: var(--white); }

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media img { height: 380px; }
  .hero-badge { left: 16px; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .about-company { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .header-right { gap: 16px; }
  .header-cta { display: none; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .divider { padding: 44px 0; margin: 52px 0; }
  .divider .container { flex-direction: column; text-align: center; gap: 24px; }
  .divider h3 { font-size: 1.5rem; }
  .divider-phone { text-align: center; }
  .divider-btn { width: 100%; justify-content: center; }
  .header-flex { flex-direction: column; text-align: center; }
  .header-right { flex-direction: column; gap: 10px; }
  .header-phone { text-align: center; }
  .logo .logo-title, .logo h1 { justify-content: center; }
  .hero { padding: 46px 0 56px; }
  .hero h1, .hero h2 { font-size: 2.25rem; letter-spacing: -1px; }
  .hero p { font-size: 1.03rem; }
  .hero-facts { gap: 22px; }
  .section-title { margin: 56px 0 28px; }
  .section-title h3 { font-size: 1.65rem; }
  .price-grid { grid-template-columns: 1fr; }
  .contact-block { padding: 38px 26px; border-radius: 20px; }
  .contact-flex { flex-direction: column; text-align: center; }
  .contact-info h3 { justify-content: center; }
  .contact-btn { width: 100%; }
  .diagnostic-block { padding: 28px 22px; }
}
@media (max-width: 520px) {
  .hero h1, .hero h2 { font-size: 1.85rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn, .btn-ghost { justify-content: center; }
  .hero-media img { height: 280px; }
  .hero-badge { position: static; margin-top: 16px; max-width: none; }
  .gallery { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .contact-info .big-phone { font-size: 1.5rem; }
}
