:root {
  --navy: #0f2a4a;
  --navy-2: #16385f;
  --navy-3: #1d4a7c;
  --yellow: #ffc531;
  --yellow-dark: #e6a800;
  --text: #1b2430;
  --muted: #5a6676;
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --border: #dde4ee;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 42, 74, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img, svg { display: block; max-width: 100%; }
a { color: var(--navy-3); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(32px, 6vw, 54px); color: #fff; }
h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 820px; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: 19px; white-space: nowrap; }
.logo b { color: var(--yellow); }
.logo__icon { width: 28px; height: 28px; fill: var(--yellow); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: #dbe5f1; text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--yellow); }
.header__phone { color: var(--yellow); font-weight: 700; text-decoration: none; white-space: nowrap; }
.burger { display: none; }

.hero {
  background: radial-gradient(circle at 80% 20%, var(--navy-3), var(--navy) 60%);
  color: #dbe5f1;
  padding: 64px 0 72px;
}
.hero__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero__badge {
  display: inline-block; margin-bottom: 16px; padding: 4px 12px;
  border: 1px solid rgba(255, 197, 49, .5); border-radius: 999px;
  color: var(--yellow); font-size: 14px;
}
.hero__lead { font-size: 19px; max-width: 620px; }
.hero__points { list-style: none; padding: 0; margin: 0 0 28px; }
.hero__points li { position: relative; padding-left: 28px; margin-bottom: 6px; }
.hero__points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); transform: rotate(-45deg); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions--center { justify-content: center; }
.hero__hours { margin: 16px 0 0; font-size: 15px; color: #a9bad0; }
.hero__art svg { width: 100%; max-width: 360px; margin-left: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: 12px; border: 2px solid transparent;
  font-size: 17px; font-weight: 700; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--yellow-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #dbe5f1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__lead { max-width: 760px; color: var(--muted); font-size: 18px; margin-bottom: 32px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; }
.card--accent { background: var(--navy); border-color: var(--navy); }
.card--accent h3 { color: var(--yellow); }
.card--accent p { color: #dbe5f1; margin-bottom: 14px; }
.card__link { color: var(--yellow); font-weight: 700; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.prices { width: 100%; border-collapse: collapse; background: #fff; }
.prices th, .prices td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.prices th { background: var(--navy); color: #fff; font-weight: 600; }
.prices td:last-child, .prices th:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--navy); }
.prices th:last-child { color: #fff; }
.prices tr:last-child td { border-bottom: 0; }
.note { margin-top: 16px; color: var(--muted); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.feature__num { display: block; font-size: 32px; font-weight: 800; color: var(--yellow-dark); margin-bottom: 4px; }
.feature p { color: var(--muted); margin: 0; }

.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0 24px; }
.city { background: var(--navy-2); border-radius: var(--radius); padding: 28px; }
.city h3 { color: var(--yellow); }
.city p { margin: 0; }
.area { max-width: 860px; }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 60px; counter-increment: step; }
.step::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--navy); font-weight: 800; font-size: 20px;
}
.step p { color: var(--muted); margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.gallery figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 12px 16px; font-size: 15px; color: var(--muted); }

.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 40px 18px 0; position: relative;
  font-weight: 700; color: var(--navy); font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 28px; color: var(--yellow-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; }

.cta { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #dbe5f1; text-align: center; }
.cta h2 { color: #fff; }
.cta__phone { display: inline-block; margin: 8px 0 24px; font-size: clamp(30px, 6vw, 46px); font-weight: 800; color: var(--yellow); text-decoration: none; }
.cta__meta { margin-top: 28px; font-size: 15px; color: #a9bad0; }

.footer { background: #0a1d33; color: #8fa2bb; font-size: 14px; padding: 24px 0 96px; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer a { color: var(--yellow); text-decoration: none; }

.call-fab {
  display: none;
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
  align-items: center; justify-content: center;
  animation: pulse 2s infinite;
}
.call-fab svg { width: 30px; height: 30px; fill: var(--navy); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 197, 49, .6); }
  70% { box-shadow: 0 0 0 16px rgba(255, 197, 49, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 197, 49, 0); }
}

@media (max-width: 960px) {
  .cards, .features, .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { display: none; }
}

@media (max-width: 820px) {
  .header__phone { margin-left: auto; font-size: 15px; }
  .burger {
    display: block; position: relative;
    width: 40px; height: 40px; padding: 0;
    background: none; border: 0; cursor: pointer;
  }
  .burger span, .burger span::before, .burger span::after {
    position: absolute; left: 8px; width: 24px; height: 2px; background: #fff; content: "";
  }
  .burger span { top: 19px; }
  .burger span::before { left: 0; top: -7px; }
  .burger span::after { left: 0; top: 7px; }
  .nav {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--navy); border-top: 1px solid var(--navy-3);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; border-bottom: 1px solid var(--navy-2); font-size: 17px; }
  .call-fab { display: flex; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 40px 0 52px; }
  .logo { font-size: 17px; }
  .cards, .features, .gallery, .steps, .cities { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .prices th, .prices td { padding: 12px 14px; }
}

@media (max-width: 380px) {
  .header__phone { display: none; }
  .burger { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .call-fab { animation: none; }
}
