/* Light, plain local-business layout: navy top bar, white header, photo hero, grey/white bands. */
:root {
  --navy: #14263d;
  --navy-2: #1d3554;
  --blue: #1c69d4;        /* BMW-style blue */
  --blue-dark: #1557b0;
  --red: #d6261d;
  --red-dark: #b81e16;
  --text: #1c232c;
  --muted: #5b6673;
  --line: #dfe3e8;
  --grey: #f3f5f7;
  --white: #ffffff;
  --star: #f5a623;

  --f-head: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --f-body: "Roboto", Arial, Helvetica, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; font-family: var(--f-head); font-weight: 700; line-height: 1.15; margin: 0; color: var(--navy); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); margin-bottom: 24px; }
h3 { font-size: 1.25rem; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap {
  max-width: 1140px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--f-body);
  padding: 14px 22px; border-radius: 6px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.topbar { background: var(--navy); color: #dbe3ee; font-size: .875rem; }
.topbar-inner { display: flex; align-items: center; gap: 20px; min-height: 38px; }
.topbar-open { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.open-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ccf6e; }
.lang { margin-left: auto; display: flex; gap: 2px; }
.lang button {
  background: none; border: 0; color: #b9c6d6; font: 700 .8rem/1 var(--f-body);
  padding: 6px 8px; border-radius: 4px; cursor: pointer;
}
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(20, 38, 61, .06);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo-mark { width: 42px; height: 34px; flex: none; }
.logo-text { display: grid; line-height: 1.1; }
.logo-text strong { font-family: var(--f-head); font-size: 1.3rem; }
.logo-text small { font-size: .8rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--text); }
.nav a:hover { color: var(--blue); }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 700; font-size: 1.15rem; color: var(--red);
}
.header-phone svg { width: 22px; height: 22px; fill: currentColor; }

/* Hero */
.hero { background: var(--grey); border-bottom: 1px solid var(--line); padding-block: 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero-text { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem); }
.h1-sub { color: var(--blue); }
.hero-lead { font-size: 1.1rem; color: var(--muted); max-width: 58ch; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checks li { position: relative; padding-left: 28px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat;
}
.hero-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue);
  border-radius: 8px; padding: 28px; min-width: 0;
  box-shadow: 0 10px 30px rgba(20, 38, 61, .08);
  display: grid; gap: 14px;
}
.hc-title { font: 700 1.5rem/1.2 var(--f-head); color: var(--navy); }
.hc-text { color: var(--muted); }
.hc-phone { font: 700 clamp(1.7rem, 1.3rem + 1.2vw, 2.1rem)/1.1 var(--f-head); color: var(--red); text-decoration: none; }
.hc-list { margin: 0; display: grid; }
.hc-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.hc-list dt { color: var(--muted); }
.hc-list dd { margin: 0; font-weight: 700; text-align: right; }
.hc-list a { text-decoration: none; color: var(--blue); }
.hc-list a:hover { text-decoration: underline; }
.star { color: var(--star); }
.hero-card .btn-row .btn { flex: 1 1 0; }

/* Brands */
.brands { border-bottom: 1px solid var(--line); }
.brands-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-block: 20px; }
.brands-label { color: var(--muted); font-size: .9rem; }
.brand { font: 700 1.4rem/1 var(--f-head); letter-spacing: .06em; color: var(--blue); }
.brands-more { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding-block: 64px; }
.section-grey { background: var(--grey); border-block: 1px solid var(--line); }
.section-lead { color: var(--muted); margin: -12px 0 28px; max-width: 65ch; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px;
  display: grid; align-content: start; gap: 12px; min-width: 0;
}
.service-ico { width: 48px; height: 48px; color: var(--blue); }
.service p { color: var(--muted); font-size: .95rem; }

/* Why us */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.why > div { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 3px solid var(--blue); }
.why p { color: var(--muted); }
.contact-lead { color: var(--muted); margin-bottom: 8px; }

/* Prices */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.prices { width: 100%; border-collapse: collapse; min-width: 480px; }
.prices th, .prices td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.prices th { background: var(--navy); color: #fff; font-weight: 500; font-size: .9rem; }
.prices tbody tr:last-child td { border-bottom: 0; }
.prices tbody tr:nth-child(even) { background: #fafbfc; }
.prices td:nth-child(2) { color: var(--muted); white-space: nowrap; }
.prices .r { text-align: right; white-space: nowrap; }
.prices td.r { font-weight: 700; color: var(--red); }
.note { margin-top: 12px; font-size: .875rem; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: stretch; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; min-width: 0; }
.contact-card h2 { margin-bottom: 16px; }
.contact-list { margin: 0 0 24px; display: grid; }
.contact-list > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; font-weight: 500; }
.contact-phone { font-weight: 700; font-size: 1.2rem; color: var(--red); text-decoration: none; }
.map { min-height: 360px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #e6eaee; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--navy); color: #c3cedb; font-size: .9rem; padding-block: 32px; }
.site-footer strong { color: #fff; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.footer-legal { text-align: right; }

.callbar { display: none; }

/* Responsive */
@media (max-width: 980px) {
  .nav { display: none; }
  .header-phone { margin-left: auto; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 800px) {
  .hero { padding-block: 32px; }
  .hero-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-legal { text-align: left; }
}
@media (max-width: 600px) {
  .topbar-area { display: none; }
  .header-inner { min-height: 62px; }
  .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--red); color: #fff; }
  .logo-text strong { font-size: 1.15rem; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { flex: 1 1 100%; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 44px; }
  .contact-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .prices { min-width: 0; font-size: .9rem; }
  .prices th, .prices td { padding: 12px 10px; }
  .prices td:nth-child(2) { white-space: normal; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .callbar {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -4px 14px rgba(20, 38, 61, .1);
    padding-top: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
