/* ==========================================================================
   Пневмолидер — основные стили
   Чистая вёрстка без сторонних библиотек.
   ========================================================================== */

:root {
  --yellow: #fee92b;
  --dark: #002e40;
  --dark-2: #024158;
  --ink: #000000;
  --text: #222222;
  --muted: #6b6b6b;
  --bg-light: #fafaf7;
  --bg-soft: #f9fbfc;
  --band: #eeeeee;
  --panel: #eef3f6;
  --line: #e3e6e8;
  --white: #ffffff;

  --container: 1200px;
  --radius: 10px;
  --radius-pill: 999px;

  --font: 'Montserrat', Arial, sans-serif;
  --font-title: 'Open Sans', Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
/* Раскладка: общий канвас 1520px, контент внутри — 1200px */
.container--wide { max-width: 1520px; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  padding: 14px 26px;
  border: 3px solid transparent;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #fff; border-color: var(--yellow); }
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white:hover { background: var(--yellow); border-color: var(--yellow); }
.btn--lg { font-size: 18px; padding: 16px 34px; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .07);
  transform: translateY(-100%);
  transition: transform .3s ease;
}
.site-header.is-visible { transform: translateY(0); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 88px;
}
.site-header__logo img { width: 105px; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}
.nav__link:hover { color: var(--dark-2); background: #f5f7f8; }
.nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  margin: 0;
  padding: 8px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item--has-sub:hover .nav__submenu,
.nav__item--has-sub:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__submenu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
}
.nav__submenu a:hover { background: #f2f4f5; }
.site-header__phone { margin-left: 10px; white-space: nowrap; }

.burger {
  display: none;
  width: 34px;
  height: 30px;
  position: relative;
  flex-shrink: 0;
}
.burger span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}
.burger span:nth-child(1) { top: 4px; }
.burger span:nth-child(2) { top: 13px; }
.burger span:nth-child(3) { top: 22px; }

/* --------------------------------------------------------- Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}
.mobile-menu:target { display: block; }
.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 300px;
  max-width: 86%;
  background: #fff;
  padding: 24px;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .2);
}
.mobile-menu__close {
  display: block;
  margin: 0 0 16px auto;
  width: 32px;
  height: 32px;
  font-size: 30px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
}
.mobile-menu__logo { width: 150px; margin-bottom: 24px; }
.mobile-menu__list { margin-bottom: 24px; }
.mobile-menu__list a {
  display: block;
  padding: 12px 0;
  font-size: 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__descr {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ---------------------------------------------------------------- Sections */
.section { padding: 80px 0; }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #d8d8d8;
}
.hero__bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 1520px;
  transform: translateX(-50%);
  background: url("../images/hero.jpg") center / cover no-repeat;
}
.hero__logo {
  position: absolute;
  top: 3px;
  left: 60px;
  z-index: 2;
  display: inline-block;
}
.hero__logo img { width: 192px; }
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 650px;
  padding-top: 90px;
  padding-bottom: 40px;
}
.hero__top {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 170px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.hero__contact {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #d8d8d8;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.3;
}
.hero__contact:hover { color: #fff; }
.hero__contact-icon { width: 41px; height: 42px; flex-shrink: 0; }
.hero__contact-text { display: block; }
.hero__phone { display: block; font-size: 18px; font-weight: 600; }
.hero__callback { display: block; font-size: 16px; font-weight: 500; }
.hero__content {
  position: relative;
  margin-left: auto;
  width: 44%;
  max-width: 600px;
  padding: 0;
}
.hero__title {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: #d8d8d8;
  margin-bottom: 18px;
}
.hero__subtitle {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.5;
  color: #d8d8d8;
  margin-bottom: 24px;
}
.hero__info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  margin-left: 14px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 20px rgba(0, 0, 0, .3);
  vertical-align: middle;
  cursor: help;
}
.hero__info svg { width: 25px; height: 25px; display: block; }
.hero__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 16px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 440px;
  padding: 14px 20px;
  background: #fff;
  color: #000;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  z-index: 6;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.hero__tip strong { display: block; font-weight: 700; margin-bottom: 4px; }
.hero__info:hover .hero__tip,
.hero__info:focus .hero__tip,
.hero__info:focus-within .hero__tip { opacity: 1; visibility: visible; }
.hero__features {
  font-size: 18px;
  color: #d8d8d8;
  margin-bottom: 32px;
}
.hero__features li { margin-bottom: 8px; }
.hero__features strong { font-weight: 700; }
.hero__cta-wrap { position: relative; display: inline-block; margin-top: 30px; }
.hero__arrow {
  position: absolute;
  right: -52px;
  bottom: 100%;
  width: 90px;
  height: 89px;
  opacity: .8;
  pointer-events: none;
  transform: rotate(135deg);
}

/* ---------------------------------------------------------------- About */
.about { background: var(--bg-light); padding: 0; }
.about .container { padding: 0; }
.about__head {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 44px;
  align-items: start;
  background: #fff;
}
.about__text {
  background: #eef2f1;
  box-shadow: -100vw 0 0 #eef2f1;
  padding: 45px 50px 40px 160px;
  font-size: 16px;
}
.about__text p { margin-bottom: 26px; }
.about__text p:last-child { margin-bottom: 0; }
.about__intro { font-size: 16px; }
.about__exp-number {
  padding-top: 80px;
  font-size: 51px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  opacity: .8;
}
.about__exp-note {
  margin-top: 70px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  opacity: .45;
  max-width: 340px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(64, 63, 63, .16);
  padding: 32px 30px;
}
.card__icon { width: 120px; height: 120px; margin-bottom: 20px; }
.card__title { font-size: 18px; font-weight: 500; margin-bottom: 12px; }
.card__text { font-size: 16px; flex: 1 1 auto; margin-bottom: 20px; }
.card__link {
  font-size: 14px;
  font-weight: 600;
  opacity: .7;
  text-decoration: none;
}
.card__link:hover { opacity: 1; }

/* ---------------------------------------------------------------- Price */
.price { background: var(--bg-soft); }
.price__inner {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: stretch;
  border-radius: var(--radius);
}
.price__info {
  background: var(--dark);
  color: #fcf9f9;
  padding: 56px 44px;
  border-radius: var(--radius) 0 0 var(--radius);
}
.price__head {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
.price__badge {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 8px;
}
.price__info-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 20px rgba(0, 0, 0, .3);
  cursor: help;
}
.price__info-icon svg { width: 25px; height: 25px; display: block; }
.price__label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: #fcf9f9;
  opacity: .8;
  white-space: nowrap;
}
.price__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 16px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 320px;
  padding: 14px 20px;
  background: #fff;
  color: #000;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  z-index: 6;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.price__info-icon:hover .price__tip,
.price__info-icon:focus .price__tip,
.price__info-icon:focus-within .price__tip { opacity: 1; visibility: visible; }
.price__title {
  font-size: 41px;
  font-weight: 600;
  line-height: 1.1;
  color: #fcf9f9;
  margin-bottom: 0;
}
.price__title-accent { color: var(--yellow); }
.price__hint { font-size: 16px; font-weight: 500; color: #fcf9f9; margin-bottom: 14px; }
.price__note { font-size: 16px; color: #c9d3d8; margin-bottom: 32px; }
.price__note a { color: #fff; }
.price__brands {
  background: #d5dde1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 14px;
  background: var(--panel);
  transition: background-color .2s;
}
.brand img { max-height: 90px; width: auto; object-fit: contain; }
.brand:hover { background: #fff; }
.brand--other {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

/* ---------------------------------------------------------------- Term */
.term__list { display: flex; flex-direction: column; gap: 56px; }
.term__row {
  display: grid;
  grid-template-columns: 140px 300px 1fr;
  gap: 30px;
  align-items: start;
}
.term__icon { width: 140px; height: 140px; }
.term__heading {
  border-top: 4px solid #000;
  padding-top: 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}
.term__text { font-size: 16px; line-height: 1.5; }

/* ---------------------------------------------------------------- Promo */
.promo {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.promo__bg {
  position: absolute;
  inset: 0;
  background: url("../images/promo-cover.png") center / cover no-repeat;
}
.promo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 65, 88, .5), rgba(10, 10, 10, .72));
}
.promo__inner {
  position: relative;
  text-align: center;
  padding: 70px 20px;
}
.promo__title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
}
.promo__accent { color: var(--yellow); }
.promo__descr { font-size: 20px; margin-bottom: 28px; }

.countdown {
  display: inline-flex;
  gap: 34px;
  margin-bottom: 34px;
}
.countdown__col { text-align: center; }
.countdown__num {
  display: block;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
}
.countdown__label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.promo__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------- Materials */
.materials { background: var(--bg-light); }
.materials__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.materials__title {
  font-size: 41px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 24px;
}
.materials__accent { color: var(--yellow); -webkit-text-stroke: 1px #f0c400; }
.materials__lead { font-size: 18px; font-weight: 600; line-height: 1.3; margin-bottom: 34px; }

.features { display: flex; flex-direction: column; gap: 28px; }
.feature { display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: start; }
.feature__icon { width: 80px; height: 80px; }
.feature__title { font-size: 18px; font-weight: 700; line-height: 1.25; margin-bottom: 6px; }
.feature__text { font-size: 16px; line-height: 1.35; }

.gallery__title { font-size: 18px; font-weight: 600; text-align: center; margin-bottom: 18px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery__item { margin: 0; position: relative; overflow: hidden; border-radius: 8px; }
.gallery__item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.25;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0));
}

/* ---------------------------------------------------------------- Steps */
.steps { background: var(--dark); color: #fff; padding: 70px 0; }
.steps__title {
  font-size: 41px;
  font-weight: 600;
  line-height: 1.1;
  color: #fcf9f9;
  max-width: 900px;
}
.steps__subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #fcf9f9;
  opacity: .8;
  margin-top: 8px;
  margin-bottom: 44px;
}
.steps__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step { position: relative; }
.step__icon { width: 110px; height: 110px; margin-bottom: 18px; }
.step__title { font-size: 18px; font-weight: 700; color: var(--yellow); margin-bottom: 10px; }
.step__text { font-size: 15px; line-height: 1.5; color: #fff; }
.step__text a { color: #fff; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 55px;
  right: -12px;
  width: 24px;
  border-top: 1px dashed rgba(255, 255, 255, .35);
}

/* ---------------------------------------------------------------- Delivery */
.tabs__radio { position: absolute; opacity: 0; pointer-events: none; }
.tabs__nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}
.tabs__tab {
  cursor: pointer;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.tabs__tab:hover { color: var(--ink); }
.tabs__panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 40px;
}
.tabs__img { border-radius: var(--radius); width: 100%; }
.tabs__title { font-size: 24px; font-weight: 600; margin-bottom: 16px; }
.tabs__text { font-size: 16px; }

#tab-delivery:checked ~ .tabs__nav .tabs__tab[for="tab-delivery"],
#tab-payment:checked ~ .tabs__nav .tabs__tab[for="tab-payment"] {
  color: var(--ink);
  border-bottom-color: var(--yellow);
}
#tab-delivery:checked ~ #panel-delivery,
#tab-payment:checked ~ #panel-payment { display: grid; }

/* ---------------------------------------------------------------- FAQ */
.faq__band { background: var(--band); padding: 40px 0; margin-bottom: 40px; }
.faq__title { font-size: 41px; font-weight: 600; line-height: 1.1; text-align: center; }
.faq__accent { color: var(--yellow); -webkit-text-stroke: 1px #f0c400; }
.faq__list { max-width: 1000px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 22px 46px 22px 0;
  font-size: 20px;
  font-weight: 500;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--muted);
}
.faq__item[open] .faq__q::after { content: "\2013"; }
.faq__a { padding: 0 46px 24px 0; font-size: 16px; }
.faq__a ol { list-style: decimal; padding-left: 22px; margin: 10px 0; }
.faq__a li { margin-bottom: 6px; }
.faq__a a { color: var(--dark-2); }

/* ---------------------------------------------------------------- CTA */
.cta {
  background: #f2efee url("../images/cta-car.jpg") center / cover no-repeat;
  padding: 72px 0;
  text-align: center;
}
.cta__title { font-size: 36px; font-weight: 600; line-height: 1.2; color: var(--ink); }

/* ---------------------------------------------------------------- Contacts */
.contacts { background: var(--white); padding-bottom: 40px; }
.contacts__inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
}
.contacts__card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .1);
  padding: 36px 32px;
}
.contacts__title { font-size: 22px; font-weight: 600; margin-bottom: 18px; }
.contacts__body { font-size: 16px; }
.contacts__body p { margin-bottom: 10px; }
.contacts__body a { color: #0000ff; text-decoration: none; }
.contacts__body a:hover { text-decoration: underline; }
.contacts__phone a { font-size: 18px; font-weight: 600; color: var(--ink); }
.contacts__address { margin-top: 18px; }
.contacts__hours { margin-top: 18px; }

.contacts__map { border-radius: var(--radius); overflow: hidden; min-height: 360px; }
.contacts__map-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  min-height: 360px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  background:
    repeating-linear-gradient(45deg, #eef3f6, #eef3f6 14px, #e6edf1 14px, #e6edf1 28px);
  border: 1px dashed #a9bcc5;
}
.contacts__map-title { font-size: 22px; font-weight: 600; }
.contacts__map-text { font-size: 16px; color: #33474f; }
.contacts__map-open { font-size: 14px; font-weight: 600; color: var(--dark-2); }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--dark); color: #fff; padding: 22px 0; font-size: 14px; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: #fff; opacity: .85; text-decoration: none; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }

/* ---------------------------------------------------------- Floating social */
.social {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.social__link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.social__link:hover { transform: scale(1.08); }
.social__link svg { width: 26px; height: 26px; }
.social__link--viber svg { fill: #7360f2; }
.social__link--mail svg { fill: #333; }
.social__link--phone svg { fill: #333; }
.social__link--whatsapp svg { fill: #27d061; }

/* ---------------------------------------------------------------- Modals */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: 40px 16px;
  overflow-y: auto;
}
.modal:target { display: block; }
.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}
.modal__dialog--wide { max-width: 780px; }
.modal__close {
  position: absolute;
  top: 12px;
  right: 18px;
  width: 34px;
  height: 34px;
  font-size: 30px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  color: #555;
}
.modal__close:hover { color: #000; }
.modal__title { font-size: 22px; font-weight: 600; line-height: 1.25; margin: 0 0 12px; padding-right: 30px; }
.modal__descr { font-size: 15px; color: #333; margin-bottom: 24px; }
.modal__content { font-size: 14px; color: #333; max-height: 62vh; overflow-y: auto; padding-right: 8px; }
.modal__content p { margin-bottom: 12px; }
.modal__content a { color: var(--dark-2); }
.modal__footer { margin-top: 24px; }

/* Price groups inside modals */
.price-group { margin-bottom: 18px; }
.price-group__model { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.price-group__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  margin-bottom: 2px;
}
.price-group__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #1c9c4b;
  font-weight: 700;
}
.price-note { font-size: 13px; color: #666; margin-top: 12px; }

/* ---------------------------------------------------------------- Forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form__input {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  border: 1px solid #cfd6d9;
  border-radius: 8px;
  background: #fff;
}
.form__input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(254, 233, 43, .4);
}
.form__textarea { resize: vertical; min-height: 84px; }
.form__submit { width: 100%; }
.form__agreement { font-size: 12px; color: #888; }
.form__agreement a { color: var(--dark-2); }
.form__field--choice { border: 0; padding: 0; margin: 0; }
.choice { display: inline-flex; align-items: center; gap: 8px; margin-right: 18px; font-size: 15px; cursor: pointer; }

/* ================================================================ Responsive */

@media (max-width: 1100px) {
  .hero__content { width: 55%; }
  .price__title,
  .materials__title,
  .faq__title,
  .steps__title { font-size: 34px; }
  .about__exp-number { font-size: 42px; }
  .promo__title { font-size: 42px; }
}

@media (max-width: 980px) {
  .nav,
  .site-header__phone { display: none; }
  .burger { display: block; margin-left: auto; }

  .section { padding: 56px 0; }
  .about { padding: 0; }
  .about .container { padding: 0 20px; }
  .about__head { grid-template-columns: 1fr; gap: 28px; }
  .about__text { padding: 30px 24px; }
  .about__exp-number { padding-top: 0; }
  .about__exp-note { margin-top: 16px; }
  .cards { grid-template-columns: 1fr; gap: 18px; }
  .card { padding: 26px 24px; }

  .price__inner { grid-template-columns: 1fr; }
  .price__info { padding: 40px 28px; border-radius: var(--radius) var(--radius) 0 0; }
  .price__badge { padding-top: 0; }
  .price__brands { grid-template-columns: repeat(3, 1fr); border-radius: 0 0 var(--radius) var(--radius); }

  .materials__inner { grid-template-columns: 1fr; gap: 40px; }
  .steps__list { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }

  .tabs__panel { grid-template-columns: 1fr; gap: 24px; }

  .contacts__inner { grid-template-columns: 1fr; }

  .hero__logo { top: 12px; left: 20px; }
  .hero__logo img { width: 160px; }
  .hero__inner { min-height: auto; padding: 118px 0 56px; }
  .hero__top {
    position: static;
    justify-content: flex-start;
    gap: 18px 28px;
    margin-bottom: 32px;
  }
  .hero__contact { font-size: 15px; }
  .hero__arrow { display: none; }
  .hero__content { width: 100%; max-width: none; margin: 0; padding: 0; }
  .hero__title { font-size: 40px; }

  .cta__title { font-size: 30px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }

  .hero__title { font-size: 30px; }
  .hero__subtitle { font-size: 20px; }
  .hero__features { font-size: 16px; }
  .hero__logo img { width: 140px; }
  .hero__inner { padding-top: 104px; }
  .hero__contact { font-size: 14px; }
  .hero__phone { font-size: 16px; }
  .hero__contact-icon { width: 34px; height: 35px; }
  .hero__top { gap: 14px 22px; }

  .price__title,
  .materials__title,
  .faq__title,
  .steps__title,
  .promo__title { font-size: 28px; }
  .cta__title { font-size: 22px; }
  .about__exp-number { font-size: 34px; }

  .price__brands { grid-template-columns: repeat(2, 1fr); }
  .brand { min-height: 110px; }
  .brand img { max-height: 64px; }

  .term__row { grid-template-columns: 1fr; gap: 18px; }
  .term__list { gap: 40px; }
  .term__icon { width: 90px; height: 90px; }
  .term__heading { font-size: 20px; }

  .features .feature { grid-template-columns: 64px 1fr; gap: 14px; }
  .feature__icon { width: 64px; height: 64px; }

  .gallery { grid-template-columns: 1fr 1fr; }

  .countdown { gap: 20px; }
  .countdown__num { font-size: 34px; }

  .steps__list { grid-template-columns: 1fr; }
  .step__icon { width: 90px; height: 90px; }

  .tabs__tab { padding: 12px 14px; font-size: 13px; }

  .faq__q { font-size: 17px; }
  .faq__a { padding-right: 0; }

  .modal { padding: 20px 12px; }
  .modal__dialog { padding: 28px 20px; }

  .social { right: 12px; bottom: 12px; gap: 8px; }
  .social__link { width: 44px; height: 44px; }
  .social__link svg { width: 22px; height: 22px; }
}
