/* Footer reconstructed from the original PSD, not from the temporary site. */
.site-footer { margin-top: 50px; border-top: 1px solid #d7dadd; padding-top: 30px; background: #fff; }
.site-footer__contacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; }
.footer-contact { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.footer-contact svg { width: 23px; height: 23px; flex: 0 0 23px; margin-top: 4px; fill: none; stroke: #262c2f; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.footer-contact:first-child svg { fill: #262c2f; stroke: #262c2f; }
.footer-contact:nth-child(3) svg { fill: #262c2f; }
.footer-contact div { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-contact div > span:first-child { font-size: 12px; color: #555c60; }
.footer-contact strong { font-weight: 460; font-size: 16px; text-decoration: underline dashed; text-decoration-color: #b9bfc2; text-underline-offset: 6px; }
.footer-contact div > span + span, .footer-contact a { color: #50575a; font-size: 12px; text-decoration: none; overflow-wrap: anywhere; line-height: 1.55; }
.footer-contact a:hover { color: #986c5b; }
.site-footer__columns { display: grid; grid-template-columns: 1.16fr 1.16fr .72fr; gap: 30px; margin-top: 34px; }
.site-footer__column { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; min-width: 0; }
.site-footer__column h2 { margin: 0 0 7px; color: #24282a; font-size: 13.5px; font-weight: 710; line-height: 1.4; }
.site-footer__column a { text-decoration: none; font-size: 12.5px; line-height: 1.5; }
.site-footer__column a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__social { display: flex; align-items: center; justify-content: center; gap: 11px; margin: 34px 0 28px; }
.site-footer__line { height: 1px; background: #313739; flex: 1 1 auto; }
.site-footer__social a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #2e3335; border-radius: 50%; text-decoration: none; transition: background .2s ease, color .2s ease; }
.site-footer__social a:hover { background: #313739; color: #fff; }
.site-footer__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.site-footer__social a:first-of-type svg { fill: currentColor; stroke: none; }
.site-footer__max { font-weight: 750; font-size: 17px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; border-top: 1px solid #eef0f2; padding: 15px 0 22px; color: #555c60; font-size: 11px; line-height: 1.5; }
.site-footer__bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {




 .site-footer__contacts { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 25px; }
 .site-footer__columns { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 26px; }
}
@media (max-width: 760px) {












 .site-footer { margin-top: 32px; padding-top: 26px; }
 .site-footer__columns { margin-top: 35px; }
}
@media (max-width: 520px) {







 .site-footer__contacts { gap: 23px 14px; }
 .footer-contact { gap: 8px; }
 .footer-contact svg { width: 19px; height: 19px; flex-basis: 19px; }
 .site-footer__columns { grid-template-columns: 1fr; gap: 26px; }
 .site-footer__column { gap: 7px; }
 .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {



}

.site-footer__social img { width: 19px; height: 19px; object-fit: contain; }

/* === sections.css === */
/* Этап 2. Секция «Приёмка квартиры с профессиональным экспертом».
   Разметка, типографика и адаптив основаны на исходном PSD. */
.expert-section {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, .93fr);
  align-items: start;
  column-gap: 42px;
  margin-top: 43px;
  margin-bottom: 93px;
}
.expert-section__content { min-width: 0; }
.expert-section__title {
  margin: 0;
  max-width: 650px;
  color: #383b3c;
  font-size: 27px;
  font-weight: 720;
  line-height: 1.24;
  letter-spacing: -.025em;
}
.expert-section__description {
  max-width: 660px;
  margin: 25px 0 0;
  color: #525456;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.86;
  letter-spacing: -.022em;
}
.expert-section__media {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #f1f1f1;
}
.expert-section__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 893 / 598;
  object-fit: cover;
}
@media (max-width: 1100px) {
  .expert-section { column-gap: 28px; margin-top: 32px; margin-bottom: 72px; }
  .expert-section__title { font-size: clamp(22px, 2.55vw, 27px); }
  .expert-section__description { font-size: 14px; line-height: 1.75; margin-top: 19px; }
}
@media (max-width: 760px) {
  .expert-section {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 23px;
    margin-top: 20px;
    margin-bottom: 68px;
  }
  .expert-section__title { font-size: clamp(23px, 5.8vw, 29px); line-height: 1.24; }
  .expert-section__description { margin-top: 16px; font-size: 14px; line-height: 1.73; }
  .expert-section__media { border-radius: 10px; }
}
@media (max-width: 430px) {
  .expert-section { row-gap: 20px; margin-bottom: 48px; }
  .expert-section__title { font-size: 23px; }
}

/* Этап 3 — шесть проверок и дополнительные услуги по PSD. */
.inspection-section {
  padding-bottom: 52px;
}
.inspection-section__title {
  margin: 0 0 37px 0;
  color: #383b3c;
  font-size: 26px;
  font-weight: 720;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.inspection-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 62px;
  row-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.inspection-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: start;
  column-gap: 19px;
  min-width: 0;
}
.inspection-item > img {
  width: 48px;
  height: 49px;
  object-fit: contain;
  object-position: center top;
}
.inspection-item__copy { min-width: 0; }
.inspection-item__copy h3 {
  margin: 7px 0 18px;
  color: #313537;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 710;
  letter-spacing: -.018em;
}
.inspection-item__copy p {
  margin: 0;
  color: #4a4e50;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.54;
  letter-spacing: -.013em;
}
.additional-services {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 126px;
  margin-top: 60px;
  padding: 26px 34px;
  border-radius: 17px;
  background: #f0f4f6;
}
.additional-services__title {
  flex: 0 0 245px;
  display: flex;
  align-items: center;
  align-self: stretch;
  margin: 0;
  padding-right: 24px;
  border-right: 1px solid #c2c9cd;
  color: #34383a;
  font-size: 24px;
  line-height: 1.16;
  font-weight: 720;
  letter-spacing: -.024em;
}
.additional-services__list {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.additional-services__list li { min-width: 0; }
.additional-services__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #35393b;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.023em;
  transition: color .18s ease;
}
.additional-services__list a:hover { color: #98735f; }
.additional-services__list a:focus-visible { border-radius: 4px; }
.additional-services__list img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}
@media (max-width: 1100px) {
  .inspection-list { column-gap: 35px; row-gap: 27px; }
  .additional-services { gap: 20px; padding-inline: 25px; }
  .additional-services__title { flex-basis: 200px; font-size: 21px; }
  .additional-services__list { gap: 8px; }
  .additional-services__list a { gap: 7px; font-size: 13px; }
  .additional-services__list img { width: 38px; height: 42px; flex-basis: 38px; }
}
@media (max-width: 760px) {
  .inspection-section { padding-bottom: 38px; }
  .inspection-section__title { font-size: 23px; margin-bottom: 26px; }
  .inspection-list { grid-template-columns: 1fr; row-gap: 24px; }
  .inspection-item { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .inspection-item > img { width: 44px; height: 45px; }
  .inspection-item__copy h3 { margin: 4px 0 8px; font-size: 16px; }
  .inspection-item__copy p { font-size: 13px; line-height: 1.6; }
  .additional-services {
    display: block;
    margin-top: 38px;
    padding: 23px 22px;
    border-radius: 14px;
  }
  .additional-services__title {
    display: block;
    border-right: 0;
    border-bottom: 1px solid #c2c9cd;
    margin-bottom: 19px;
    padding: 0 0 15px;
    font-size: 21px;
  }
  .additional-services__title br { display: none; }
  .additional-services__list { grid-template-columns: 1fr; gap: 16px; }
  .additional-services__list a { gap: 14px; font-size: 15px; }
  .additional-services__list img { width: 43px; height: 43px; flex-basis: 43px; }
  .additional-services__list br { display: none; }
}
@media (max-width: 430px) {
  .inspection-section__title { font-size: 22px; }
  .inspection-item__copy p { font-size: 12.5px; }
  .additional-services__title { font-size: 20px; }
}

/* Этап 4 — преимущества: оригинальная четырёхколоночная композиция PSD. */
.advantages {
  margin-top: 12px;
  padding: 49px 0 58px;
  background: #f8f5f2;
}
.advantages__title {
  margin: 0 0 34px 4px;
  color: #393b3c;
  font-size: 27px;
  font-weight: 720;
  line-height: 1.24;
  letter-spacing: -.025em;
}
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.advantages__item { min-width: 0; }
.advantages-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 338px;
  height: 100%;
  padding: 25px 22px 30px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 13px rgb(32 34 36 / 15%);
}
.advantages-card__icon {
  display: block;
  width: 76px;
  height: 69px;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
  margin: 0 0 21px;
}
.advantages-card h3 {
  margin: 0 0 18px;
  color: #363a3b;
  font-size: 17px;
  font-weight: 730;
  line-height: 1.15;
  letter-spacing: -.015em;
}
.advantages-card p {
  margin: 0;
  color: #67696a;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: -.012em;
}
@media (max-width: 1100px) {
  .advantages { padding-block: 43px 51px; }
  .advantages__grid { gap: 16px; }
  .advantages-card { padding: 22px 17px 26px; min-height: 335px; }
  .advantages-card h3 { font-size: 15.5px; }
  .advantages-card p { font-size: 12px; }
}
@media (max-width: 900px) {
  .advantages__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .advantages-card { min-height: 305px; padding: 23px 22px 28px; }
  .advantages-card h3 { font-size: 17px; }
  .advantages-card p { font-size: 13px; }
}
@media (max-width: 600px) {
  .advantages { margin-top: 0; padding: 36px 0 43px; }
  .advantages__title { font-size: 23px; margin: 0 0 24px; }
  .advantages__grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .advantages-card { min-height: 0; padding: 23px 22px 25px; border-radius: 12px; }
  .advantages-card__icon { height: 61px; width: 72px; margin-bottom: 16px; }
  .advantages-card h3 { font-size: 17px; line-height: 1.2; margin-bottom: 12px; }
  .advantages-card p { font-size: 13px; line-height: 1.57; }
}

/* Этап 5 — образец акта приёмки по PSD. */
.act-report {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  padding: 45px 76px;
  border-radius: 21px;
  background: #f0f4f6;
}
.act-report__content { min-width: 0; }
.act-report__title {
  margin: 0 0 19px;
  color: #35393b;
  font-size: 27px;
  font-weight: 720;
  line-height: 1.23;
  letter-spacing: -.023em;
}
.act-report__content p {
  margin: 0 0 17px;
  color: #555a5c;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: -.018em;
}
.act-report__content p:last-of-type { margin-bottom: 19px; }
.act-report__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 45px;
  padding: 10px 24px;
  border: 0;
  border-radius: 5px;
  background: #33393c;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  transition: background-color .18s ease;
}
.act-report__button:hover { background: #1d282d; }
.act-report__button img { width: 22px; height: 22px; }
.act-report__image { margin: 0; width: 100%; justify-self: center; }
.act-report__image img { display: block; width: 100%; height: auto; }
.act-preview {
  width: min(610px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 22px 22px 24px;
  overflow: auto;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #33393c;
  box-shadow: 0 15px 48px rgb(19 25 29 / 22%);
}
.act-preview::backdrop { background: rgb(20 28 32 / 75%); }
.act-preview__inner { display: flex; flex-direction: column; align-items: center; position: relative; }
.act-preview__inner h2 { align-self: stretch; margin: 0 44px 12px 0; font-size: 20px; line-height: 1.3; }
.act-preview__inner img { display: block; width: auto; height: auto; max-width: 100%; max-height: 75dvh; object-fit: contain; }
.act-preview__close {
  position: absolute;
  top: -8px;
  right: -6px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #33393c;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}
.act-preview__close:hover { background: #eef2f4; }
@media (max-width: 1100px) {
  .act-report { gap: 24px; padding: 40px 50px; grid-template-columns: minmax(0, 1fr) 245px; }
  .act-report__content p { font-size: 14px; line-height: 1.56; }
  .act-report__title { font-size: 25px; }
}
@media (max-width: 760px) {
  .act-report { grid-template-columns: minmax(0, 1fr); gap: 19px; margin-top: 29px; padding: 30px 27px 22px; border-radius: 16px; }
  .act-report__title { font-size: 24px; }
  .act-report__content p { font-size: 13.5px; line-height: 1.6; }
  .act-report__image { max-width: 244px; }
  .act-report__button { min-height: 44px; }
}
@media (max-width: 430px) {
  .act-report { padding: 25px 20px 17px; }
  .act-report__title { font-size: 22px; }
  .act-report__title br { display: none; }
  .act-report__content p { font-size: 13px; }
  .act-report__image { max-width: 220px; }
  .act-preview { padding: 18px 14px; }
  .act-preview__inner h2 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .act-report__button { transition: none; }
}
.act-report__button img { filter: brightness(0) invert(1); }

/* Этап 6 — калькулятор. PSD: тёплый фон, три колонки дополнительных услуг. */
.calculator-section {
  margin-top: 46px;
  padding: 62px 0 74px;
  background: linear-gradient(180deg, #faf8f6 0%, #f8f4f0 55%, #f8f4f0 100%);
  scroll-margin-top: 90px;
}
.calculator-section__inner { min-width: 0; }
.calculator-section__top {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(280px, .91fr);
  align-items: start;
  gap: 32px;
}
.calculator-section__left { min-width: 0; }
.calculator-section h2 {
  margin: 0 0 35px;
  color: #262b2f;
  font-size: clamp(25px, 2.55vw, 31px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -.035em;
}
.calculator-section__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.38fr);
  column-gap: 23px;
  align-items: start;
  padding-bottom: 16px;
}
.calculator-field { position: relative; min-width: 0; margin: 0; padding: 0; border: 0; }
.calculator-field--delay { padding-left: 23px; border-left: 1px solid #d7d8d8; }
.calculator-field > label,
.calculator-field legend {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  color: #2c3134;
  font-size: 15px;
  font-weight: 510;
  line-height: 1.5;
  letter-spacing: -.015em;
}
.calculator-field legend { padding-right: 25px; }
.calculator-field--area input {
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 17px;
  border: 1px solid #dbdbda;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 16px rgb(42 35 31 / 8%);
  color: #272c30;
  font-size: 16px;
  font-weight: 480;
  outline-offset: 2px;
}
.calculator-field--area input::placeholder { color: #5c6367; }
.calculator-field--area input[aria-invalid="true"] { border-color: #a35240; }
.calculator-field__error { margin: 8px 0 0; color: #953c2e; font-size: 11px; line-height: 1.4; }
.calculator-help { position: absolute; top: -37px; right: 0; z-index: 3; }
.calculator-help summary {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  list-style: none;
  border-radius: 50%;
  background: #a4acb1;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.calculator-help summary::-webkit-details-marker { display: none; }
.calculator-help p {
  position: absolute;
  right: 0;
  top: 27px;
  width: min(270px, 72vw);
  margin: 0;
  padding: 13px 15px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 20px rgb(20 27 32 / 16%);
  color: #394044;
  font-size: 12px;
  line-height: 1.5;
}
.calculator-field__choices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.calculator-choice { position: relative; display: block; min-width: 0; }
.calculator-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.calculator-choice span {
  display: grid;
  place-items: center;
  min-height: 54px;
  border: 1px solid #d4d7d8;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 15px rgb(36 38 42 / 5%);
  color: #33383b;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.calculator-choice input:checked + span { border-color: #26363e; background: #26363e; color: #fff; }
.calculator-choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.calculator-total {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 228px;
  margin-top: 54px;
  padding: 29px 28px 26px;
  border: 1px solid #f3f0ee;
  border-radius: 10px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 5px 24px rgb(39 41 42 / 11%);
  text-align: center;
}
.calculator-total__discount {
  position: absolute;
  top: -62px;
  right: -17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #172831;
  color: #fff;
  transform: rotate(3deg);
}
.calculator-total__discount small { font-size: 10px; line-height: 1.2; }
.calculator-total__discount span { margin-top: 2px; font-size: 12px; }
.calculator-total__discount strong { font-size: 27px; font-weight: 500; letter-spacing: -.04em; }
.calculator-total__label { margin: 0 0 7px; color: #585f63; font-size: 16px; line-height: 1.4; }
.calculator-total__price { display: block; min-height: 60px; color: #182029; font-size: clamp(34px, 4.2vw, 47px); font-weight: 480; letter-spacing: -.06em; line-height: 1.3; white-space: nowrap; }
.calculator-total__annotation { min-height: 18px; max-width: 270px; margin: 0 0 15px; color: #565c60; font-size: 10.5px; line-height: 1.3; }
.calculator-total__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: min(100%, 224px);
  min-height: 49px;
  padding: 10px 16px;
  border: 0;
  border-radius: 7px;
  background: #24343c;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease;
}
.calculator-total__button:hover { background: #17242a; }
/* The single submit button moves here below the add-ons at <= 860px. */
.calculator-section__mobile-submit { display: none; }
.calculator-section__subtitle { margin: 47px 0 24px; color: #292e31; font-size: 18px; font-weight: 490; }
.calculator-addons { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.calculator-addon {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  min-height: 177px;
  padding: 20px 18px;
  border: 1px solid #e6e7e7;
  border-radius: 15px;
  background: #fff;
  transition: background .16s ease, box-shadow .16s ease;
}
.calculator-addon.is-checked { background: #f1f1f1; box-shadow: 0 4px 18px rgb(30 30 30 / 13%); }
.calculator-addon__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.calculator-addon h4 { min-width: 0; margin: 0; color: #303538; font-size: 15px; font-weight: 500; line-height: 1.27; letter-spacing: -.024em; }
.calculator-addon > p { flex: 1; margin: 0 0 14px; color: #5a5f62; font-size: 12px; line-height: 1.43; letter-spacing: -.016em; }
.calculator-addon.is-checked > p { color: #666a6d; }
.calculator-switch { position: relative; display: block; flex: 0 0 40px; height: 24px; cursor: pointer; }
.calculator-switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.calculator-switch span { display: block; width: 40px; height: 24px; border: 1px solid #d6d9da; border-radius: 14px; background: #fff; transition: background .17s ease; }
.calculator-switch span::before { content: ""; display: block; width: 18px; height: 18px; margin: 2px; border-radius: 50%; background: #d7d9da; transition: transform .17s ease, background .17s ease; }
.calculator-switch input:checked + span::before { transform: translateX(16px); background: #303638; }
.calculator-switch input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.calculator-addon__details { margin-top: auto; color: #51575a; font-size: 11px; line-height: 1.48; }
.calculator-addon__details summary { width: max-content; max-width: 100%; list-style: none; cursor: pointer; text-decoration: none; }
.calculator-addon__details summary::-webkit-details-marker { display: none; }
.calculator-addon__details summary::before { content: "?"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 6px; border-radius: 50%; background: #505a60; color: #fff; font-weight: 700; }
.calculator-addon__details p { margin: 11px 0 0; font-size: 11px; }
.calculator-request { margin-top: 16px; padding: 14px; border-radius: 8px; background: #f2f5f6; }
.calculator-request .calculator-request__label { margin: 0 0 5px; font-size: 12px; font-weight: 700; }
.calculator-request .calculator-request__text { margin: 0; color: #394147; font-size: 12px; line-height: 1.6; white-space: pre-line; }
.calculator-request__copy { margin-top: 12px; padding: 8px 12px; border: 1px solid #cbd4d9; border-radius: 6px; background: #fff; color: #26343c; font-size: 12px; }
@media (max-width: 1100px) {
  .calculator-section__top { gap: 22px; grid-template-columns: minmax(0, 1.7fr) minmax(255px, .85fr); }
  .calculator-section__fields { gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .calculator-field--delay { padding-left: 14px; }
  .calculator-field > label, .calculator-field legend { font-size: 13px; }
  .calculator-addon { padding: 19px 16px; }
  .calculator-addon h4 { font-size: 14px; }
  .calculator-total__discount { right: 0; }
}
@media (max-width: 860px) {
  .calculator-section { padding: 42px 0 58px; }
  .calculator-section__top { display: grid; grid-template-columns: 1fr; gap: 35px; }
  .calculator-section__fields { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); }
  .calculator-total { width: min(100%, 420px); margin: 0 auto; min-height: 200px; }
  .calculator-total__discount { width: 94px; height: 94px; top: -24px; right: -8px; }
  .calculator-total__discount strong { font-size: 24px; }
  .calculator-addons { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .calculator-section__subtitle { margin-top: 35px; }
  .calculator-total__annotation { margin-bottom: 0; }
  .calculator-section__mobile-submit {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }
  .calculator-section__mobile-submit .calculator-total__button {
    width: min(100%, 420px);
    min-height: 54px;
  }
}
@media (max-width: 590px) {
  .calculator-section { padding: 34px 0 45px; margin-top: 35px; }
  .calculator-section h2 { margin-bottom: 24px; font-size: clamp(23px, 6vw, 28px); }
  .calculator-section__fields { grid-template-columns: 1fr; gap: 19px; padding: 0; }
  .calculator-field--delay { padding: 0; border: 0; }
  .calculator-field > label, .calculator-field legend { font-size: 14px; margin-bottom: 10px; }
  .calculator-field--area input { height: 50px; }
  .calculator-choice span { min-height: 49px; }
  .calculator-section__top { gap: 29px; }
  .calculator-total { min-height: 196px; padding: 25px 22px 21px; }
  .calculator-total__discount { width: 88px; height: 88px; top: -16px; right: -5px; }
  .calculator-total__label { font-size: 14px; }
  .calculator-total__price { font-size: 39px; }
  .calculator-section__subtitle { margin: 29px 0 17px; font-size: 17px; }
  .calculator-addons { grid-template-columns: 1fr; gap: 12px; }
  .calculator-addon { min-height: 0; padding: 17px; }
  .calculator-addon > p { margin-bottom: 13px; }
  .calculator-addon__details { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .calculator-choice span, .calculator-total__button, .calculator-addon, .calculator-switch span, .calculator-switch span::before { transition: none; }
}
.calculator-request__fallback { position: fixed; top: 0; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Этап 7: отчёты с приёмок. В PSD ошибочно был огромный пустой промежуток:
   в этой версии обычный межсекционный отступ сразу после калькулятора. */
.reports-section {
  padding: 62px 0 76px;
  background: #fff;
}
.reports-section__title {
  margin: 0 0 36px 4px;
  color: #373b3d;
  font-size: 27px;
  font-weight: 720;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.reports-carousel { position: relative; }
.reports-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}
.reports-carousel__viewport::-webkit-scrollbar { display: none; }
.reports-carousel__viewport:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 12px; }
.reports-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 3);
  gap: 30px;
  padding: 2px 0 6px;
}
.report-card {
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  background: #fff;
}
.report-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.04 / 1;
  object-fit: cover;
  background: #eceeef;
}
.report-card__details {
  padding: 12px 15px 15px;
}
.report-card__details h3 {
  margin: 0;
  color: #333638;
  font-size: 18px;
  font-weight: 720;
  line-height: 1.23;
  letter-spacing: -.022em;
}
.report-card__details p {
  margin: 1px 0;
  color: #505254;
  font-size: 15px;
  font-weight: 420;
  line-height: 1.25;
}
.report-card__details time {
  color: #666063;
  font-size: 13px;
  font-weight: 410;
  line-height: 1.5;
}
.reports-carousel__arrow {
  position: absolute;
  z-index: 2;
  top: 36%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #323739;
  transition: background .16s ease, color .16s ease;
}
.reports-carousel__arrow:hover { background: #edf0f2; }
.reports-carousel__arrow svg { width: 26px; height: 30px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.reports-carousel__arrow--prev { left: -46px; }
.reports-carousel__arrow--next { right: -46px; }
@media (max-width: 1250px) {
  .reports-carousel__arrow--prev { left: -12px; background: rgb(255 255 255 / 95%); box-shadow: 0 1px 8px rgb(0 0 0 / 10%); }
  .reports-carousel__arrow--next { right: -12px; background: rgb(255 255 255 / 95%); box-shadow: 0 1px 8px rgb(0 0 0 / 10%); }
}
@media (max-width: 980px) {
  .reports-section { padding: 50px 0 65px; }
  .reports-carousel__track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; }
  .reports-section__title { font-size: 25px; margin-bottom: 25px; }
}
@media (max-width: 600px) {
  .reports-section { padding: 41px 0 54px; }
  .reports-section__title { font-size: 23px; margin-bottom: 22px; }
  .reports-carousel__track { grid-auto-columns: 92%; gap: 12px; }
  .report-card__details { padding: 12px 14px 13px; }
  .report-card__details h3 { font-size: 17px; }
  .report-card__details p { font-size: 14px; }
  .reports-carousel__arrow { top: 31%; width: 36px; height: 44px; }
  .reports-carousel__arrow--prev { left: -9px; }
  .reports-carousel__arrow--next { right: -9px; }
}
@media (prefers-reduced-motion: reduce) {
  .reports-carousel__viewport { scroll-behavior: auto; }
  .reports-carousel__arrow { transition: none; }
}


/* Этап 8 — FAQ: нативный доступный аккордеон <details>, без JS. */
.faq-section {
  padding: 0 0 78px;
  background: #fff;
}
.faq-section__title {
  margin: 0 0 36px 4px;
  color: #373b3d;
  font-size: 27px;
  font-weight: 720;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  min-width: 0;
  overflow: hidden;
  border-radius: 5px;
  background: #f2f2f2;
}
.faq-item > summary {
  display: flex;
  align-items: center;
  gap: 23px;
  min-height: 65px;
  padding: 17px 30px;
  list-style: none;
  color: #3a3d3e;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  transition: background-color .18s ease;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { background: #eaeaea; }
.faq-item > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: -4px; }
.faq-item__indicator {
  position: relative;
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #333739;
}
.faq-item__indicator::before, .faq-item__indicator::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  content: '';
  transform: translate(-50%, -50%);
}
.faq-item__indicator::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__indicator::after { display: none; }
.faq-item__answer { padding: 0 36px 27px 75px; }
.faq-item__answer p {
  max-width: 1020px;
  margin: 0;
  color: #565d61;
  font-size: 14px;
  line-height: 1.68;
  font-weight: 400;
}
@media (max-width: 760px) {
  .faq-section { padding-bottom: 57px; }
  .faq-section__title { font-size: 25px; margin-bottom: 24px; }
  .faq-list { gap: 10px; }
  .faq-item > summary { min-height: 60px; padding: 16px 20px; gap: 16px; font-size: 14px; }
  .faq-item__answer { padding: 0 21px 22px 58px; }
  .faq-item__answer p { font-size: 13px; }
}
@media (max-width: 430px) {
  .faq-section { padding-bottom: 45px; }
  .faq-section__title { font-size: 23px; }
  .faq-item > summary { gap: 14px; padding: 15px 14px; line-height: 1.48; }
  .faq-item__indicator { flex-basis: 20px; width: 20px; }
  .faq-item__indicator::before, .faq-item__indicator::after { width: 20px; }
  .faq-item__answer { padding: 0 14px 19px 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item > summary { transition: none; }
}

/* Этап 9 — финальный SEO-текст из PSD: настоящий HTML, без растрового текста. */
.seo-section {
  scroll-margin-top: 82px;
  padding: 0;
  background: #fff;
}
.seo-section__title {
  margin: 0 0 32px;
  color: #383b3c;
  font-size: 27px;
  font-weight: 720;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.seo-section__content {
  color: #55595b;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: -.016em;
}
.seo-section__content p {
  margin: 0;
}
.seo-section__content p + p {
  margin-top: 24px;
}
@media (max-width: 760px) {
  .seo-section__title {
    margin-bottom: 23px;
    font-size: 25px;
  }
  .seo-section__content {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: -.01em;
  }
  .seo-section__content p + p { margin-top: 20px; }
}
@media (max-width: 430px) {
  .seo-section__title { font-size: 23px; }
  .seo-section__content { font-size: 13.5px; line-height: 1.78; }
}
