:root {
  --navy: #0f1e3d;
  --navy-2: #16294f;
  --blue: #2563eb;
  --blue-2: #1d4ed8;
  --text: #1a2233;
  --muted: #5c6780;
  --line: #e6eaf2;
  --bg: #f5f7fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15,30,61,.06), 0 1px 3px rgba(15,30,61,.04);
  --shadow-md: 0 8px 24px rgba(15,30,61,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }

img { max-width: 100%; display: block; }

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

/* ===== Header ===== */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex-shrink: 0;
}
.logo img {
  height: 40px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .2px;
}
.logo-sub {
  font-size: 11px;
  color: #8fa6c8;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.nav {
  display: flex;
  gap: 4px;
  flex: 1;
  flex-wrap: wrap;
}
.nav a {
  color: #c7d3e6;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.nav a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.nav a.active {
  background: var(--blue);
  color: #fff;
}

.header-phone {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .12s, box-shadow .15s, background .15s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.28);
}
.btn-primary:hover {
  background: var(--blue-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,99,235,.35);
}
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.14);
  color: #fff;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1000px 400px at 80% -10%, rgba(37,99,235,.28), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 72px 0 84px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #b7c7e2;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -.5px;
}
.hero-sub {
  font-size: 17px;
  color: #c7d3e6;
  max-width: 560px;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(6px);
}
.hero-card-title {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-card-list li {
  padding: 10px 0 10px 26px;
  position: relative;
  color: #d7e1f2;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-card-list li:last-child { border-bottom: none; }
.hero-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 3px #fff;
}

/* ===== Page head (внутренние) ===== */
.page-head {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 56px 0 64px;
}
.page-head h1 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -.4px;
}
.page-head p {
  font-size: 17px;
  color: #c7d3e6;
  max-width: 720px;
  margin: 0;
}

/* ===== Sections ===== */
.section {
  padding: 56px 0 0;
}
.section-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.3px;
  margin: 0 0 28px;
  color: var(--navy);
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d7dfec;
}
.card-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef3fd;
  color: var(--blue);
  border-radius: 12px;
  margin-bottom: 16px;
}
.card-icon svg {
  width: 24px;
  height: 24px;
}
.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy);
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ===== CTA band ===== */
.cta-band {
  margin: 56px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.cta-band h3 {
  font-size: 20px;
  margin: 0 0 6px;
  font-weight: 700;
}
.cta-band p {
  margin: 0;
  color: #c7d3e6;
}

/* ===== Price table ===== */
.price-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.price-table thead th {
  background: #f2f5fb;
  text-align: left;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.price-table tbody td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:nth-child(even) { background: #fafbfe; }
.price-table tbody tr:hover { background: #eef3fd; }
.price-table .price {
  text-align: right;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}

/* ===== QR block ===== */
.qr-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.qr-frame {
  background: #f2f5fb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.qr {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 4px 14px rgba(15,30,61,.08);
}
.qr-caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
}
.qr-info h2 {
  margin: 0 0 16px;
  font-size: 22px;
  color: var(--navy);
}
.steps {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--text);
}
.steps li {
  margin-bottom: 8px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: #c7d3e6;
  margin-top: 80px;
  padding: 56px 0 24px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin: 0 0 14px;
}
.footer-col p { margin: 6px 0; }
.footer-col a { color: #c7d3e6; }
.footer-col a:hover { color: #fff; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 12px;
}
.footer-brand img {
  height: 36px;
  width: auto;
}
.footer-note {
  color: #8fa6c8;
  max-width: 340px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  color: #8fa6c8;
}
.footer-bottom p { margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 34px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qr-block { grid-template-columns: 1fr; padding: 24px; }
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 20px;
  }
  .nav { order: 3; width: 100%; }
  .header-phone { margin-left: auto; }
  .page-head { padding: 40px 0 44px; }
  .page-head h1 { font-size: 26px; }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 28px; }
  .section-title { font-size: 22px; }
  .cards { grid-template-columns: 1fr; }
  .cta-band { padding: 24px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .price-table thead th,
  .price-table tbody td { padding: 12px 16px; }
  .qr-block { padding: 20px; gap: 24px; }
}
/* ===== Реквизиты ===== */
.requisites {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.req-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.req-row:last-child { border-bottom: none; }
.req-row:nth-child(even) { background: #fafbfe; }
.req-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  font-weight: 600;
}
.req-value {
  color: var(--navy);
  font-weight: 600;
  font-size: 15.5px;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

@media (max-width: 640px) {
  .req-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 18px;
  }
}
/* ===== Шапка страницы в две колонки ===== */
.page-head-split {
  padding: 64px 0 72px;
}
.head-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.head-text h1 {
  margin-bottom: 14px;
}
.head-text p {
  margin: 0;
}

.head-why-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #8fa6c8;
  margin-bottom: 18px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.why-mini {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 16px 18px;
  transition: background .15s, border-color .15s, transform .15s;
}
.why-mini:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.why-mini-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,.28);
  color: #7fb0ff;
  border-radius: 9px;
  margin-bottom: 12px;
}
.why-mini-icon svg {
  width: 18px;
  height: 18px;
}
.why-mini h4 {
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
}
.why-mini p {
  margin: 0;
  font-size: 13px;
  color: #b7c7e2;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .head-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-head-split { padding: 48px 0 56px; }
}
@media (max-width: 520px) {
  .why-grid { grid-template-columns: 1fr; }
}
/* ===== Бургер для мобильных ===== */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.burger span {
  display: block;
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s, opacity .2s, top .2s;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 27px; }

body.nav-open .burger span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
body.nav-open .burger span:nth-child(2) {
  opacity: 0;
}
body.nav-open .burger span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

/* ===== Мобильная шапка ===== */
@media (max-width: 860px) {
  .header-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
  }
  .burger { display: block; }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-2);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 12px 20px 20px;
    display: none;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 12px 24px rgba(0,0,0,.25);
  }
  body.nav-open .header-nav { display: flex; }

  .nav {
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }
  .nav a {
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 8px;
  }
  .header-phone {
    display: block;
    margin-top: 12px;
    padding: 12px 14px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 16px;
    text-align: left;
  }
  .logo-sub { display: none; }
  .logo img { height: 34px; }
}
/* ===== Кнопка MAX в шапке ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-max {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7b5cff 0%, #4d8bff 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .12s, box-shadow .15s, filter .15s;
  box-shadow: 0 4px 14px rgba(109,92,255,.32);
}
.header-max:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(109,92,255,.42);
}
.header-max svg {
  width: 16px;
  height: 16px;
}

/* ===== MAX в подвале ===== */
.footer-max { margin-top: 10px; }
.footer-max a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c7d3e6;
  font-weight: 500;
}
.footer-max a:hover { color: #fff; }
.footer-max svg {
  width: 16px;
  height: 16px;
  color: #8f9dff;
}

/* ===== Мобильные ===== */
@media (max-width: 860px) {
  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .header-phone {
    margin-top: 0;
    padding: 12px 14px;
    border-top: none;
    font-size: 16px;
    text-align: left;
  }
  .header-max {
    justify-content: center;
    padding: 12px 14px;
    font-size: 16px;
  }
}
/* ===== Бренды ===== */
.brands {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.brand {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 12px;
  text-align: center;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .3px;
  color: var(--c, var(--navy));
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .2s, border-color .2s;
  user-select: none;
}
.brand:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d7dfec;
}

@media (max-width: 960px) {
  .brands { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .brands { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .brand { font-size: 15px; padding: 16px 8px; }
}
@media (max-width: 400px) {
  .brands { grid-template-columns: repeat(2, 1fr); }
}

/* ===== FAQ ===== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .15s, box-shadow .2s;
}
.faq-item[open] {
  border-color: #c9d6ec;
  box-shadow: var(--shadow-md);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform .2s;
  flex-shrink: 0;
  margin-top: -4px;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.faq-item summary:hover { color: var(--blue); }
.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .faq-item summary { padding: 16px 18px; font-size: 15px; }
  .faq-item p { padding: 0 18px 18px; }
}
/* ===== Рейтинг: бейдж + кнопка ===== */
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.rating-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.rating-actions iframe {
  border-radius: 8px;
  display: block;
}

@media (max-width: 640px) {
  .rating-summary {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .rating-actions {
    justify-content: center;
    width: 100%;
  }
}
/* ===== Страница отзывов ===== */
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.rating-score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.rating-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.rating-stars {
  font-size: 22px;
  letter-spacing: 4px;
  color: #f5a623;
}
.rating-stars .star.empty { color: #d7dce6; }
.rating-count {
  font-size: 14px;
  color: var(--muted);
}

.rating-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.rating-actions iframe {
  border-radius: 8px;
  display: block;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .2s, border-color .2s;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d7dfec;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.review-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}
.review-date {
  font-size: 13px;
  color: var(--muted);
}
.review-stars {
  font-size: 16px;
  letter-spacing: 2px;
  color: #f5a623;
  margin-bottom: 10px;
}
.review-stars .star.empty { color: #d7dce6; }
.review-text {
  margin: 0;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .rating-number { font-size: 44px; }
  .rating-summary {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .rating-score { align-items: center; }
  .rating-actions { justify-content: center; width: 100%; }
}
/* ===== Плавающие кнопки (WhatsApp, MAX) ===== */
.fab-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.fab {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 22px rgba(15,30,61,.25);
  transition: transform .15s, box-shadow .2s, filter .15s;
  position: relative;
}
.fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 28px rgba(15,30,61,.35);
  color: #fff;
  filter: brightness(1.06);
}
.fab svg {
  width: 26px;
  height: 26px;
}

.fab-wa { background: #25d366; }
.fab-max {
  background: linear-gradient(135deg, #7b5cff 0%, #4d8bff 100%);
}

.fab-tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s, transform .15s;
  box-shadow: 0 4px 14px rgba(15,30,61,.2);
}
.fab:hover .fab-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

@media (max-width: 640px) {
  .fab-stack {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }
  .fab {
    width: 50px;
    height: 50px;
  }
  .fab svg {
    width: 23px;
    height: 23px;
  }
  .fab-tip { display: none; }
}
/* ===== Филиалы ===== */
.footer-hours { margin-top: 10px; }
.footer-muted { color: #8fa6c8; font-size: 13px; }

.branches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.branch {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .15s, box-shadow .2s, border-color .2s;
}
.branch:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d7dfec;
}
.branch-head {
  background: var(--navy);
  color: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.branch-city {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
}
.branch-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8fa6c8;
  font-weight: 600;
  background: rgba(255,255,255,.08);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.branch-body {
  padding: 22px 24px;
}
.branch-body p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.branch-body p:last-child { margin-bottom: 0; }
.branch-body svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
}
.branch-body a { color: var(--text); font-weight: 600; }
.branch-body a:hover { color: var(--blue); }

.branch-map {
  height: 280px;
  border-top: 1px solid var(--line);
}
.branch-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 860px) {
  .branches { grid-template-columns: 1fr; }
  .branch-map { height: 240px; }
}
/* ===== Страница 404 ===== */
.page-404 {
  text-align: center;
  padding: 80px 20px 100px;
}
.err-code {
  font-size: 140px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -4px;
  color: var(--navy);
  opacity: .12;
  margin-bottom: -30px;
  user-select: none;
}
.page-404 h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 16px;
  letter-spacing: -.3px;
}
.page-404 p {
  max-width: 540px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 16px;
}
.err-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.err-links {
  display: flex;
  gap: 10px 24px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 640px;
  margin: 0 auto;
}
.err-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.err-links a:hover { color: var(--blue); }

@media (max-width: 640px) {
  .err-code { font-size: 100px; margin-bottom: -20px; }
  .page-404 h1 { font-size: 24px; }
  .page-404 { padding: 56px 20px 72px; }
  
  /* ===== Телефоны: единый вид во всех браузерах ===== */
a[href^="tel:"],
a[href^="tel:"]:link,
a[href^="tel:"]:visited,
a[href^="tel:"]:hover,
a[href^="tel:"]:active,
a[href^="tel:"] small,
a[href^="tel:"]:visited small,
a[href^="tel:"] * {
  -webkit-text-fill-color: currentColor !important;
  text-decoration: none !important;
}

a[href^="tel:"] small {
  font-size: inherit !important;
  line-height: inherit !important;
  display: inline !important;
}

/* Цвета — где какой нужен */
.footer-col a[href^="tel:"] {
  color: #fff !important;
}
.header-phone {
  color: #fff !important;
}
}