:root {
  color-scheme: light;
  --ink: #27343a;
  --blue: #335b72;
  --blue-dark: #26495c;
  --line: #bcc7cc;
  --soft: #f0f4f5;
  --muted: #56636a;
  --success: #325943;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ececeb;
  font: 1.125rem/1.6 Arial, Helvetica, sans-serif;
}

a {
  color: var(--blue-dark);
  text-underline-offset: .2em;
}

a:hover { text-decoration-thickness: 2px; }

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  font-size: 2.15rem;
  line-height: 1.22;
  font-weight: normal;
}

h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  line-height: 1.3;
}

h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
  line-height: 1.4;
}

p { margin-bottom: 0; }
p + p { margin-top: 12px; }

.site {
  max-width: 930px;
  margin: 14px auto 34px;
  background: #fff;
  border: 1px solid #9eabb1;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px 28px;
  padding: 24px 32px 20px;
  border-top: 3px solid var(--blue);
}

.brand {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.masthead p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.header-phone { text-align: right; }

.header-phone a {
  display: block;
  min-height: 44px;
  font-size: 1.7rem;
  font-weight: bold;
  white-space: nowrap;
  text-decoration: none;
}

.header-phone span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 28px;
  padding: 4px 32px;
  border-block: 1px solid var(--line);
  background: var(--soft);
  font-size: 1rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  align-items: center;
  gap: 30px;
  padding: 34px 32px 28px;
}

.hero figure { margin: 0; }

.hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 47%;
  border: 1px solid var(--line);
}

.call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 20px;
  padding: 9px 18px;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue-dark);
  font-weight: bold;
  text-decoration: none;
}

.call-button:hover {
  background: var(--blue-dark);
  text-decoration: underline;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 22px;
  margin: 0 32px;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  list-style: none;
  color: var(--blue-dark);
  font-weight: bold;
  font-size: 1rem;
}

.content-section {
  padding: 30px 32px;
  border-bottom: 1px solid var(--line);
}

.issue-list {
  columns: 2;
  column-gap: 46px;
  margin: 18px 0 0;
  padding-left: 24px;
}

.issue-list li {
  break-inside: avoid;
  margin-bottom: 8px;
  padding-left: 3px;
}

.prices { padding: 32px 32px 24px; }

.price-note {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 1rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  line-height: 1.5;
}

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

.price-table thead th {
  background: var(--soft);
  font-size: 1rem;
  font-weight: normal;
}

.price-table tbody th { font-weight: normal; }
.price-table td,
.price-table thead th:last-child { text-align: right; }
.price-table td { white-space: nowrap; }

.free-row { background: #f0f6f2; }

.free-row td {
  color: var(--success);
  font-weight: bold;
}

.price-amount { white-space: nowrap; }

.detail-note {
  margin-top: 14px;
  font-size: 1rem;
}

.discount {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  font-size: 1rem;
}

.process {
  border-top: 1px solid var(--line);
  background: #fafbfb;
}

.process-list {
  margin: 18px 0 0;
  padding-left: 28px;
}

.process-list li {
  margin-bottom: 10px;
  padding-left: 5px;
}

.process-list li:last-child { margin-bottom: 0; }

.master-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 30px;
  padding: 30px 32px;
  border-bottom: 1px solid var(--line);
}

.master-grid figure { margin: 0; }

.master-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 47%;
  border: 1px solid var(--line);
}

.master-grid h2:not(:first-child) { margin-top: 26px; }

.brand-list {
  columns: 3;
  column-gap: 26px;
  margin: 14px 0 0;
  padding-left: 22px;
  font-size: 1rem;
}

.brand-list li {
  break-inside: avoid;
  margin-bottom: 4px;
}

.faq { border-bottom: 0; }

.qa-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 26px;
  margin-top: 18px;
}

.qa-list > div {
  padding-left: 15px;
  border-left: 3px solid var(--line);
}

.contacts {
  margin: 0 32px 30px;
  padding: 22px 24px;
  border: 1px solid var(--blue);
  background: #f7f9fa;
  text-align: center;
}

.contact-phone {
  display: inline-block;
  min-height: 48px;
  margin-top: 12px;
  font-size: 1.85rem;
  font-weight: bold;
  white-space: nowrap;
  text-decoration: none;
}

.contacts p { margin-top: 8px; }

.contacts address {
  margin-top: 12px;
  font-style: normal;
}

footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 18px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .95rem;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 3;
  padding: 12px;
  background: #fff;
}

.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.metrika-pixel {
  position: absolute;
  left: -9999px;
}

@media (max-width: 720px) {
  .site {
    margin: 0;
    border-inline: 0;
  }

  .masthead {
    display: block;
    padding: 20px;
  }

  .header-phone {
    margin-top: 12px;
    text-align: left;
  }

  .site-nav {
    gap: 2px 22px;
    padding-inline: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

  h1 { font-size: 1.85rem; }

  .benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    margin-inline: 20px;
  }

  .content-section { padding: 26px 20px; }

  .issue-list {
    columns: 1;
    padding-left: 22px;
  }

  .prices { padding: 28px 20px 22px; }
  .price-table { font-size: 1rem; }

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

  .price-table th:first-child { width: 58%; }
  .price-table td { white-space: normal; }

  .master-grid {
    grid-template-columns: 1fr;
    padding: 26px 20px;
  }

  .brand-list { columns: 2; }

  .qa-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contacts { margin-inline: 20px; }
  footer { padding-inline: 20px; }
}

@media (max-width: 380px) {
  body { font-size: 1.0625rem; }
  .brand { font-size: 1.35rem; }
  .header-phone a,
  .contact-phone { font-size: 1.55rem; }
  .site-nav { gap: 0 18px; }
  .brand-list { columns: 1; }
  .contacts { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  body { background: #fff; font-size: 12pt; }
  .site { margin: 0; max-width: none; border: 0; }
  .site-nav, .skip-link, .call-button, .hero figure, .master-grid figure { display: none; }
  .prices, .hero, .master-grid, .content-section { padding-inline: 0; }
  .benefits, .contacts { margin-inline: 0; }
}
