:root {
  --orange: #f37021;
  --orange-dark: #d85a0f;
  --blue: #3d5af1;
  --blue-dark: #2c45c9;
  --navy: #0f1c4d;
  --ink: #1b1f2e;
  --ink-soft: #444a5c;
  --muted: #7a8094;
  --line: #e6e8ef;
  --bg: #f5f6fa;
  --white: #fff;
  --radius: 4px;
  --shadow: 0 10px 40px rgba(15, 28, 77, 0.08);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Fira Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Cookie */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px;
  padding: 14px 20px; font-size: 14px; color: #dfe3f0; background: var(--navy);
  transform: translateY(100%); transition: transform 0.35s ease;
}
.cookie.is-visible { transform: translateY(0); }
.cookie button {
  border: 0; padding: 10px 22px; font: inherit; font-weight: 700;
  color: var(--white); background: var(--orange); cursor: pointer;
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); box-shadow: 0 1px 0 var(--line);
}
.header__row { display: flex; align-items: stretch; min-height: var(--header-h); }
.logo {
  display: flex; align-items: center; gap: 12px; margin-right: auto;
  text-decoration: none; color: var(--ink);
}
.logo__mark {
  width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%;
  object-fit: cover; box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--line);
}
.logo__name { display: block; font-size: 20px; font-weight: 700; line-height: 1.1; }
.logo__sub { display: block; font-size: 12px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; padding: 0 28px; }
.nav a {
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink);
  transition: color 0.2s;
}
.nav a:hover { color: var(--orange); }
.header__phone {
  display: flex; align-items: center; gap: 10px; padding: 0 22px;
  font-weight: 700; text-decoration: none; white-space: nowrap;
  color: var(--white); background: var(--orange); transition: background 0.2s;
}
.header__phone:hover { background: var(--orange-dark); }
.header__phone svg { width: 22px; height: 22px; }
.burger {
  display: none; width: var(--header-h); border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: var(--blue);
}
.burger span { width: 22px; height: 2px; background: var(--white); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--navy) var(--hero-bg) center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 28, 77, 0.94) 0%, rgba(15, 28, 77, 0.78) 50%, rgba(15, 28, 77, 0.45) 100%);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1fr 300px; gap: 48px;
  align-items: center; padding: 72px 20px 120px;
}
.hero__eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 6px 12px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12); border-left: 3px solid var(--orange);
}
.hero h1 { margin: 0 0 18px; font-size: clamp(30px, 4.4vw, 50px); }
.hero__lead { max-width: 600px; margin: 0 0 22px; font-size: 18px; color: #d7dcf0; }
.hero__points { display: grid; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.hero__points li { position: relative; padding-left: 26px; color: #eef0fa; }
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px;
  background: var(--orange);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__emblem {
  justify-self: end; width: 100%; border: 6px solid var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); transform: rotate(2deg);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px; border: 2px solid transparent; border-radius: 0;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn--orange { color: var(--white); background: var(--orange); box-shadow: 0 8px 24px rgba(243, 112, 33, 0.35); }
.btn--orange:hover { background: var(--orange-dark); }
.btn--blue { color: var(--white); background: var(--blue); }
.btn--blue:hover { background: var(--blue-dark); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.6); background: transparent; }
.btn--ghost:hover { color: var(--navy); background: var(--white); }

/* Services: orange panel + icon grid */
.services { position: relative; margin-top: -70px; padding-bottom: 72px; }
.services__layout { display: grid; grid-template-columns: 320px 1fr; align-items: start; }
.services__panel {
  position: relative; z-index: 2; margin-right: -40px; padding: 44px 36px 40px;
  color: var(--white); background: var(--orange);
}
.services__panel svg { width: 40px; height: 40px; margin-bottom: 22px; }
.services__panel h2 { margin: 0 0 14px; font-size: 30px; text-transform: uppercase; letter-spacing: 0.02em; }
.services__panel p { margin: 0 0 26px; color: #ffe6d6; }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 70px; padding-left: 40px; background: var(--white); box-shadow: var(--shadow);
}
.service {
  padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.service:hover { background: #f7f8ff; }
.service__icon {
  display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px;
  border: 2px solid var(--blue); border-radius: 50%; color: var(--blue);
}
.service__icon svg { width: 36px; height: 36px; }
.service h3 { margin: 0 0 8px; font-size: 17px; }
.service p { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.service__price { font-size: 14px; font-weight: 700; color: var(--orange); }

/* Strip */
.strip { color: var(--white); background: var(--blue); }
.strip__row { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip__item { padding: 26px 20px; text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.18); }
.strip__item:last-child { border-right: 0; }
.strip__item strong { display: block; font-size: 26px; }
.strip__item span { font-size: 14px; color: #dbe1ff; }

/* Sections */
.section { padding: 72px 0; }
.section--tint { background: var(--bg); }
.section__head { max-width: 680px; margin-bottom: 36px; }
.section__kicker {
  margin: 0 0 8px; font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--orange);
}
.section__head h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 34px); }
.section__head p { margin: 0; color: var(--muted); }

/* Prices */
.price-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.price-row {
  display: flex; justify-content: space-between; gap: 16px; padding: 16px 0;
  border-bottom: 1px dashed #cfd3e0;
}
.price-row span:last-child { font-weight: 700; white-space: nowrap; color: var(--blue); }
.price-note { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.price-note strong { color: var(--orange); }

/* Callback */
.callback {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 44px; color: var(--white); background: var(--navy);
  border-left: 8px solid var(--orange);
}
.callback h2 { margin: 0 0 12px; font-size: 28px; }
.callback p { margin: 0; color: #c9cfe8; }
.callback__phone { display: inline-block; margin-top: 18px; font-size: 26px; font-weight: 700; text-decoration: none; color: var(--white); }

.form { display: grid; gap: 12px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 15px 16px; border: 2px solid transparent; border-radius: 0;
  font: inherit; color: var(--ink); background: var(--white);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); }
.form__consent { margin: 0; font-size: 12px; line-height: 1.4; color: #9aa2c2; }
.form .btn { width: 100%; }
.section .form input, .section .form select, .section .form textarea { border-color: var(--line); }
.callback .form input, .callback .form select, .callback .form textarea { border-color: transparent; }

/* About */
.about { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: start; }
.about__photo { margin: 0; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 14px 14px 0 var(--orange); }
.about__photo figcaption { margin-top: 26px; font-size: 14px; color: var(--muted); }
.about__photo figcaption strong { display: block; font-size: 16px; color: var(--ink); }
.about__text p { margin: 0 0 14px; color: var(--ink-soft); }
.check-list { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 24px; font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: var(--blue);
}
.districts { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.districts li { padding: 6px 14px; font-size: 14px; background: var(--white); border: 1px solid var(--line); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps li {
  position: relative; padding: 28px 24px 26px; counter-increment: step;
  background: var(--white); border: 1px solid var(--line); margin: 0 -1px -1px 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px;
  font-size: 34px; font-weight: 700; line-height: 1; color: var(--orange);
}
.steps strong { display: block; margin-bottom: 6px; font-size: 17px; }
.steps span { font-size: 14px; color: var(--muted); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  display: flex; flex-direction: column; padding: 26px; background: var(--white);
  border-top: 4px solid var(--blue); box-shadow: var(--shadow);
}
.review__stars { margin-bottom: 10px; letter-spacing: 2px; color: var(--orange); }
.review__tag { margin-bottom: 8px; font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--blue); }
.review p { flex: 1; margin: 0 0 14px; font-size: 15px; color: var(--ink-soft); }
.review footer { font-size: 14px; color: var(--muted); }
.review footer strong { color: var(--ink); }
.reviews-more { margin-top: 28px; text-align: center; }
.rating {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px; padding: 14px 22px;
  background: var(--white); border-left: 4px solid var(--orange); box-shadow: var(--shadow);
}
.rating strong { font-size: 34px; line-height: 1; color: var(--orange); }
.rating span { font-size: 14px; color: var(--muted); }
.link-more { font-weight: 700; text-decoration: none; color: var(--blue); }
.link-more:hover { text-decoration: underline; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq__item { background: var(--white); border: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px;
  font-size: 20px; color: var(--white); background: var(--orange); transition: transform 0.2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact__info h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 32px); }
.contact__info p { margin: 0 0 18px; color: var(--muted); }
.contact__phone { display: block; margin-bottom: 8px; font-size: 30px; font-weight: 700; text-decoration: none; color: var(--blue); }
.messengers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.messenger { padding: 10px 18px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--white); }
.messenger--wa { background: #25d366; }
.messenger--tg { background: #229ed9; }

/* Footer */
.footer { padding: 40px 0 28px; font-size: 14px; color: #b9c0dc; background: var(--navy); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer__brand strong { display: block; font-size: 16px; color: var(--white); }
.footer a { text-decoration: none; color: var(--white); }
.footer a:hover { color: var(--orange); }
.footer__phone { font-size: 20px; font-weight: 700; }
.footer__copy { margin-top: 26px; padding-top: 18px; font-size: 12px; color: #8790b5; border-top: 1px solid rgba(255, 255, 255, 0.12); }

/* Floating call */
.float-call {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  color: var(--white); background: var(--orange); text-decoration: none;
  box-shadow: 0 8px 26px rgba(243, 112, 33, 0.5); animation: pulse 2.5s infinite;
}
.float-call svg { width: 26px; height: 26px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 26px rgba(243, 112, 33, 0.4); }
  50% { box-shadow: 0 8px 34px rgba(243, 112, 33, 0.75); }
}

/* Toast & success */
.toast {
  position: fixed; top: 92px; left: 50%; z-index: 300; padding: 14px 22px;
  font-size: 14px; font-weight: 500; color: var(--white); background: var(--navy);
  opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(-20px);
  transition: opacity 0.3s, transform 0.3s;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.success { display: none; min-height: 100vh; place-items: center; padding: 40px 20px; text-align: center; background: var(--bg); }
.success.is-visible { display: grid; }
.success__box { max-width: 440px; padding: 44px 36px; background: var(--white); border-top: 6px solid var(--orange); box-shadow: var(--shadow); }
.success__box img { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; }
.success__box h1 { margin: 0 0 10px; font-size: 28px; }
.success__box p { margin: 0 0 22px; color: var(--muted); }

/* Responsive */
@media (max-width: 1020px) {
  .nav { gap: 18px; padding: 0 18px; }
  .services__layout { grid-template-columns: 1fr; }
  .services__panel { margin-right: 0; }
  .services__grid { margin-top: 0; padding-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .logo__mark { width: 42px; height: 42px; }
  .logo__name { font-size: 17px; }
  .header__phone { padding: 0 16px; }
  .header__phone span { display: none; }
  .burger { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0;
    background: var(--white); box-shadow: 0 12px 30px rgba(15, 28, 77, 0.12);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 20px; border-top: 1px solid var(--line); }
  .hero__grid { grid-template-columns: 1fr; padding: 48px 20px 100px; }
  .hero__emblem { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__row, .price-list, .callback, .about, .contact, .reviews { grid-template-columns: 1fr; }
  .strip__item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .callback { padding: 30px 22px; }
  .about__photo { max-width: 220px; }
}
@media (max-width: 560px) {
  .services__grid, .steps, .steps--3 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
