:root {
  --ink: #18212c;
  --muted: #5f6b7a;
  --line: #dde5ed;
  --panel: #ffffff;
  --bg: #f5f7f9;
  --brand: #1767b1;
  --brand-dark: #0f4f8b;
  --accent: #f4b23a;
  --ok: #188451;
  --danger: #c93f3f;
  --shadow: 0 14px 34px rgba(24, 33, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: #101923;
  color: #fff;
  font-size: 14px;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #101923;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--brand);
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--brand-dark);
}

.btn--accent {
  color: #101923;
  background: var(--accent);
}

.btn--accent:hover {
  background: #e3a22b;
}

.btn--ghost {
  color: var(--brand);
  background: #e8f2fb;
}

.btn--ghost:hover {
  background: #d7eafa;
}

.hero {
  min-height: 640px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 24, 36, 0.92) 0%, rgba(12, 24, 36, 0.76) 42%, rgba(12, 24, 36, 0.18) 78%),
    url("images/hero-master.png") center / cover no-repeat;
}

.hero__inner {
  min-height: 640px;
  display: grid;
  align-items: center;
  padding: 56px 0;
}

.hero__content {
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #ffe1a0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
  max-width: 760px;
}

h2 {
  font-size: clamp(28px, 3vw, 42px);
}

h3 {
  font-size: 22px;
}

.lead {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  max-width: 650px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.fact {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.fact strong {
  display: block;
  font-size: 23px;
}

.fact span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section {
  padding: 72px 0;
}

.section--white {
  background: #fff;
}

.section__head {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.section__head p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card--shadow {
  box-shadow: var(--shadow);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
}

.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #e8f2fb;
  color: var(--brand);
  font-weight: 900;
}

.service-card__image {
  width: calc(100% + 44px);
  height: 150px;
  margin: -22px -22px 20px;
  object-fit: cover;
  background: #e8f2fb;
  border-bottom: 1px solid var(--line);
}

.service-card p,
.card p {
  color: var(--muted);
}

.service-card ul,
.plain-list {
  padding-left: 18px;
  margin: 14px 0 0;
  color: var(--muted);
}

.link-cloud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.link-cloud a {
  display: block;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.link-cloud a:hover {
  border-color: var(--brand);
  background: #f3f9ff;
}

.service-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.price-table th,
.price-table td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.price-table th {
  background: #eef4fa;
  font-size: 14px;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.search-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.search-panel label {
  font-weight: 800;
}

.search-panel input {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #cbd6e1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.service-price-list {
  display: grid;
  gap: 12px;
}

.service-price-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-price-row__media {
  width: 96px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  background: #e8f2fb;
}

.service-price-row[hidden] {
  display: none;
}

.service-price-row h3 {
  margin-bottom: 6px;
}

.service-price-row p {
  margin: 0;
  color: var(--muted);
}

.service-price-row__price {
  display: grid;
  gap: 10px;
  justify-items: end;
  min-width: 160px;
  font-weight: 900;
}

.detail-visual {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: center;
}

.detail-visual__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #e8f2fb;
}

.search-empty {
  display: none;
  padding: 18px;
  border: 1px dashed #b9c7d6;
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.search-empty.is-visible {
  display: block;
}

.badge {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--ok);
  background: #e9f7f0;
  font-size: 13px;
  font-weight: 700;
}

.cta {
  color: #fff;
  background: #101923;
}

.cta__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: center;
}

.form {
  display: grid;
  gap: 12px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #cbd6e1;
  border-radius: 8px;
  font: inherit;
}

.form textarea {
  min-height: 96px;
  resize: vertical;
}

.form__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.contact-actions--stack {
  align-items: stretch;
  flex-direction: column;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.icon-link:hover {
  background: rgba(255, 255, 255, 0.18);
}

.icon-link--light {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.icon-link--light:hover {
  border-color: var(--brand);
  background: #f3f9ff;
}

.icon-link__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #101923;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.icon-link__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.contact-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-card__title {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.contact-hints {
  display: grid;
  gap: 8px;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.contact-hints li {
  position: relative;
  padding-left: 18px;
}

.contact-hints li::before {
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin-bottom: 0;
  color: var(--muted);
}

.city-confirm {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: min(360px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.city-confirm[hidden] {
  display: none;
}

.city-confirm p {
  margin: 0 0 14px;
  color: var(--muted);
}

.city-confirm strong {
  color: var(--ink);
}

.city-confirm__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.city-list {
  display: none;
  margin-top: 12px;
}

.city-list.is-open {
  display: grid;
  gap: 8px;
}

.city-list a {
  color: var(--brand);
  font-weight: 700;
}

.breadcrumb {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--brand);
}

.page-hero {
  padding: 58px 0 64px;
  color: #fff;
  background: #101923;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.footer {
  color: #d6dde5;
  background: #101923;
  padding: 36px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}

.footer a {
  color: #fff;
}

.footer p {
  color: #aeb9c5;
}

@media (max-width: 900px) {
  .header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero,
  .hero__inner {
    min-height: 620px;
  }

  .hero__facts,
  .link-cloud,
  .detail-visual,
  .grid--3,
  .grid--2,
  .cta__inner,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .section__head {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .topbar__inner,
  .hero__actions {
    flex-direction: column;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(12, 24, 36, 0.96) 0%, rgba(12, 24, 36, 0.82) 60%, rgba(12, 24, 36, 0.55) 100%),
      url("images/hero-master.png") center / cover no-repeat;
  }

  .btn,
  .phone,
  .icon-link {
    width: 100%;
  }

  .price-table {
    font-size: 14px;
  }

  .price-table th,
  .price-table td {
    padding: 11px;
  }

  .service-price-row {
    grid-template-columns: 1fr;
  }

  .service-price-row__media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .service-price-row__price {
    justify-items: start;
  }
}
