@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-2199;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #143441;
  --muted: #476570;
  --accent: #006b87;
  --calculate-background: #ffc443;
  --calculate-hover: #f0b334;
  --calculate-ink: #142b38;
  --line: #dbeaf0;
  --wash: #f3fbfe;
  --surface: #ecf8fd;
  --max: 1216px;
  --site-header-height: 89px;
  scroll-padding-top: var(--site-header-height);
  font: 15px/1.56 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.12; }
h2 { font-size: clamp(30px, 4.2vw, 53px); letter-spacing: -.055em; text-wrap: balance; }
h3 { font-size: clamp(19px, 2.15vw, 26px); letter-spacing: -.035em; }
[id] { scroll-margin-top: 22px; }
:where(a, button, summary, input, textarea, select):focus-visible {
  outline: 3px solid #087996;
  outline-offset: 4px;
}

.container { width: min(calc(100% - clamp(32px, 7vw, 100px)), var(--max)); margin-inline: auto; }

.skip {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 20;
  transform: translateY(-150%);
  padding: 10px 15px;
  background: white;
}
.skip:focus { transform: translateY(0); }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: clamp(8px, 1.1vw, 16px);
  padding-block: 4px;
}
.brand img { display: block; flex: none; width: 110px; height: auto; }
.brand-name { font-size: clamp(19px, 2.15vw, 32px); font-weight: 800; line-height: 1.08; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.nav a, .header-phone { display: inline-flex; align-items: center; min-height: 44px; font-weight: 750; white-space: nowrap; }
.nav a { font-size: 14px; color: var(--muted); }
.nav a:hover, .header-phone:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.nav .calculator-link {
  padding-inline: 10px;
  border: 1px solid #d89b38;
  border-radius: 8px;
  background: #fff0ce;
  color: var(--calculate-ink);
  font-weight: 800;
}
.nav .calculator-link:hover {
  background: #ffe09a;
  color: var(--calculate-ink);
}
.header-phone { justify-self: end; gap: 7px; color: var(--accent); font-size: 14px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  margin-top: clamp(16px, 2.3vw, 31px);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 3vw, 30px);
  overflow: hidden;
  background: linear-gradient(125deg, #e8f8fa, #f9fcfd 78%);
}
.hero-copy { align-self: center; min-width: 0; padding: clamp(24px, 4vw, 59px); }
.hero-label { margin-bottom: 16px; color: var(--accent); font-weight: 800; font-size: 13px; }
.hero h1 { font-size: clamp(40px, 4vw, 62px); letter-spacing: -.06em; line-height: 1.04; }
.hero h1 em { display: block; margin-top: 5px; font-style: normal; color: var(--accent); }
.hero-lead { max-width: 49ch; color: var(--muted); margin-top: 18px; font-size: clamp(15px, 1.4vw, 18px); }
.hero-actions, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.hero-actions { margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  line-height: 1.25;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: #00556c; }
.button-outline { background: transparent; color: var(--accent); border-color: #b7d5e1; }
.button-outline:hover { background: #e7f5fb; }
.button.calculate-button {
  min-height: 54px;
  padding-inline: 20px;
  border-color: #b47717;
  background: var(--calculate-background);
  color: var(--calculate-ink);
  font-size: 16px;
  box-shadow: 0 2px 0 #b47717;
}
.button.calculate-button:hover { background: var(--calculate-hover); }
.hero-proof {
  display: block;
  width: fit-content;
  min-height: 44px;
  margin-top: 12px;
  padding-block: 10px;
  color: var(--muted);
  font-size: 13px;
}
.hero-proof strong { color: var(--accent); font-weight: 800; }
.hero-proof .arrow { margin-inline-start: 3px; vertical-align: middle; color: var(--accent); }
.hero-proof:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-visual {
  position: relative;
  background: #d8ebf3;
}
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 52%; }

.section { padding-block: clamp(52px, 7vw, 98px); }
.section-head { display: flex; gap: 15px 45px; align-items: end; justify-content: space-between; margin-bottom: 25px; }
.section-head p { max-width: 42ch; color: var(--muted); line-height: 1.55; }

.guide { display: grid; grid-template-columns: minmax(215px, .78fr) minmax(0, 2fr); gap: clamp(23px, 4vw, 55px); }
.guide .section-head { display: block; align-self: start; margin: 5px 0 0; }
.guide .section-head p { margin-top: 15px; }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}
.guide-item { display: flex; flex-direction: column; align-items: start; padding: clamp(17px, 2vw, 28px); background: var(--wash); }
.guide-item h3 { font-size: clamp(18px, 1.75vw, 23px); line-height: 1.2; }
.guide-item p { flex: 1; margin: 9px 0 6px; color: var(--muted); }
.guide-item a { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; color: var(--accent); font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.guide-item a:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide-links { display: flex; flex-wrap: wrap; column-gap: 15px; }

.prices { border-block: 1px solid var(--line); background: linear-gradient(155deg, var(--wash), #e9f6f8); }
.price-subtitle { margin: 30px 0 13px; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}
.price-card { padding: clamp(16px, 2.5vw, 34px); background: var(--paper); }
.price-area { margin: 0; font-size: clamp(17px, 1.7vw, 22px); font-weight: 800; line-height: 1.2; }
.price-card .price-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .23em;
  margin-top: 12px;
  color: var(--accent);
  font-size: clamp(29px, 3.6vw, 50px);
  font-weight: 800;
  letter-spacing: -.052em;
  line-height: 1.08;
}
.price-value small { color: var(--muted); font-size: .4em; font-weight: 800; letter-spacing: 0; }
.price-card .price-unit { margin-top: 6px; color: var(--muted); font-size: 14px; font-weight: 750; }

.single-work-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.single-work-prices article { padding: clamp(16px, 2.5vw, 30px); border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.single-work-prices article:target { border-color: #3a97a7; }
.single-work-prices h3 { font-size: clamp(18px, 1.8vw, 23px); }
.single-work-prices p { margin-top: 9px; color: var(--muted); }
.single-work-prices strong { color: var(--accent); }

.repair-estimate {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid #b9d8df;
  border-radius: 20px;
  background: var(--paper);
}
.repair-intro { padding: clamp(18px, 3vw, 36px); color: var(--paper); background: #104b5a; }
.repair-intro h3 { max-width: 20ch; font-size: clamp(23px, 2.65vw, 36px); }
.repair-intro p { max-width: 38ch; margin-top: 13px; color: #e2f3f7; }
.repair-picker { min-width: 0; padding: clamp(16px, 2.5vw, 30px); }
.repair-picker fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.repair-picker label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 49px;
  padding-block: 7px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.repair-picker input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.repair-picker strong { white-space: nowrap; }
.repair-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 3px 12px; margin-top: 12px; font-weight: 750; }
.repair-total output { color: var(--accent); font-size: clamp(19px, 2.3vw, 28px); font-weight: 800; }
.repair-note { margin-top: 8px; color: var(--muted); font-size: 13px; }

.price-footer { display: flex; justify-content: flex-end; margin-top: 10px; }
.price-footer a, .service-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--accent); font-size: 14px; font-weight: 800; }
.price-footer a:hover, .service-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service { display: flex; flex-direction: column; padding: clamp(18px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.service-maintenance { background: var(--wash); }
.service:target { border-color: #3a97a7; background: #f0fbfd; }
.service p { color: var(--muted); margin: 12px 0; }
.service ul { color: var(--ink); margin: 0 0 17px; padding-inline-start: 19px; }
.service li::marker { color: var(--accent); }
.service li + li { margin-top: 6px; }
.service .service-note { margin: auto 0 0; padding-top: 11px; border-top: 1px solid var(--line); font-size: 14px; }
.service-link { align-self: flex-start; margin-top: 2px; }

.more-services { margin-top: 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--wash); }
.more-services summary {
  display: flex;
  justify-content: space-between;
  gap: 13px;
  align-items: center;
  min-height: 52px;
  padding: 9px clamp(16px, 3vw, 28px);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.more-services summary::-webkit-details-marker { display: none; }
.more-services summary span { color: var(--accent); font-size: 23px; line-height: 1; }
.more-services[open] summary span { transform: rotate(45deg); }
.more-services ul { margin: 0; padding: 0 clamp(17px, 3vw, 28px) 14px; list-style: none; }
.more-services li { padding-block: 8px; }
.more-services li + li { border-top: 1px solid var(--line); }

.experience { background: linear-gradient(180deg, var(--wash), var(--paper)); border-top: 1px solid var(--line); }
.experience .section-head p { max-width: 41ch; }
.experience-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.experience-stats > div { display: flex; flex-direction: column; gap: 8px; padding: clamp(16px, 3vw, 32px); }
.experience-stats > div + div { border-inline-start: 1px solid var(--line); }
.experience-stats dt { order: 1; max-width: 27ch; color: var(--muted); }
.experience-stats dd {
  margin: 0;
  color: var(--accent);
  font-size: clamp(29px, 4.2vw, 55px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.13;
}
.experience-stats dd span { font-size: .57em; letter-spacing: -.02em; white-space: nowrap; }
.experience-portfolio {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
  margin-block: clamp(26px, 4vw, 45px);
}
.experience-cities { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; padding: 0; list-style: none; }
.experience-cities li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 750; }
.experience-more-cities { margin-bottom: 10px; }
.experience-more-cities summary {
  width: fit-content;
  min-height: 44px;
  padding-block: 10px;
  color: var(--accent);
  font-weight: 800;
  cursor: pointer;
}
.experience-more-cities summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.experience-more-cities .experience-cities { margin-top: 4px; }
.experience-geography p, .experience-card p { color: var(--muted); }
.experience-geography p { font-size: 13px; }
.experience-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.experience-card { padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.experience-card p { margin-top: 11px; max-width: 58ch; }
.experience-card.experience-case { background: var(--wash); }
.experience-card .certificate-meta { font-size: 13px; overflow-wrap: anywhere; }
.experience-card .button { margin-top: 15px; }
.experience-card .arrow { transform: rotate(-45deg); }

.process { background: var(--wash); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 32px;
  margin: 32px 0 0;
  padding-inline-start: 32px;
}
.steps li { padding: 9px 0 14px 5px; border-top: 1px solid #c9e1eb; }
.steps li::marker { color: var(--accent); font-size: 19px; font-weight: 800; }
.steps p { color: var(--muted); margin-top: 8px; }
.steps h3 { font-size: clamp(18px, 2.1vw, 23px); }

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 5vw, 70px);
  padding: clamp(16px, 4.4vw, 55px);
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  background: var(--surface);
}
.contact-copy { padding-block: 13px; }
.contact-copy > p { max-width: 35ch; margin: 15px 0 20px; color: var(--muted); }
.contact-copy a { display: flex; width: fit-content; align-items: center; min-height: 45px; gap: 9px; }
.contact-copy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-phone { color: var(--accent); font-size: clamp(18px, 2.5vw, 26px); font-weight: 800; }
.contact-email { color: var(--accent); font-size: 17px; }
.contact-copy .contact-city { margin: 11px 0 0; color: var(--muted); font-size: 13px; }

.request-form { color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 17px; padding: clamp(14px, 2.8vw, 28px); }
.request-form h3 { margin-bottom: 17px; }
.request-form label { display: block; font-size: 13px; font-weight: 800; margin: 0 0 5px; }
.request-form :where(select, input, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  background: #f8fcfe;
  color: var(--ink);
  border: 1px solid #b7d5e1;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 0 0 13px;
  font-size: 15px;
}
.request-form :where(input, textarea)::placeholder { color: var(--muted); }
.request-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-note { margin: -3px 0 12px; color: var(--muted); font-size: 13px; }
.form-status { color: var(--accent); font-size: 13px; font-weight: 800; }
.form-status:not(:empty), #copy-fallback { margin-top: 8px; }

.footer { border-top: 1px solid var(--line); padding-block: 18px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 17px; }
.footer p { color: var(--muted); margin-top: 4px; font-size: 13px; }
.footer a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--accent); font-size: 14px; font-weight: 800; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 870px) {
  :root { --site-header-height: 133px; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; padding-block: 9px 2px; }
  .nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; row-gap: 0; }
  .header-phone { grid-row: 1; grid-column: 2; }
  .brand img { width: 88px; }
  .hero-copy { padding: clamp(21px, 3.4vw, 31px); }
  .hero h1 { font-size: clamp(37px, 5vw, 44px); }
  .guide { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; font-size: clamp(36px, 8.4vw, 53px); }
  .hero-visual { max-height: 390px; aspect-ratio: 1.55; }
  .hero-visual img { object-position: 50% 24%; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .price-grid, .repair-estimate, .single-work-prices { grid-template-columns: 1fr; }
  .price-card .price-value { margin-top: 9px; }
  .experience-portfolio, .experience-details { grid-template-columns: 1fr; }
  .experience-details { gap: 8px; }
  .steps { grid-template-columns: 1fr; margin-top: 20px; gap: 7px; }
  .contact-panel { grid-template-columns: 1fr; border-radius: 19px; gap: 5px; }
  .contact-copy { padding: 11px 3px; }
}

@media (max-width: 650px) {
  .experience-stats { grid-template-columns: 1fr; }
  .experience-stats > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 470px) {
  :root { --site-header-height: 166px; }
  .header-inner { column-gap: 7px; }
  .nav a, .header-phone { font-size: 13px; }
  .brand img { width: 72px; }
  .brand-name { font-size: clamp(16px, 4.1vw, 19px); }
  .hero-label { margin-bottom: 13px; }
  .hero-lead { margin-top: 15px; }
  .hero-actions { margin-top: 18px; }
  :is(.hero-actions, .region-calculator, .quick-action) > .button.calculate-button { width: 100%; min-height: 54px; }
  .hero-proof { margin-top: 8px; }
  .guide-grid, .service-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 8px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions > * { width: 100%; }
}

@media (max-width: 350px) {
  .hero h1 { font-size: 32px; }
  .hero-actions .button { min-height: 46px; }
  .header-phone span { display: none; }
}

.arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 14px;
  width: 14px;
  height: 12px;
}
.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before { top: 5px; left: 0; right: 1px; border-top: 1.5px solid currentColor; }
.arrow::after {
  top: 3px;
  right: 1px;
  width: 5px;
  height: 5px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}
