@media (max-width: 1199px) {
  .site-header__inner {
    gap: 14px;
  }

  .logo__mark {
    width: 30px;
    height: 30px;
  }

  .logo__text strong {
    font-size: 18px;
  }

  .logo__text span {
    width: 104px;
    font-size: 7px;
  }

  .site-nav {
    gap: 17px;
    font-size: 10px;
  }

  .site-header__contacts {
    font-size: 11px;
  }

  .site-header__button {
    min-height: 38px;
    padding-inline: 18px;
    font-size: 11px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    height: 64px;
  }

  .site-nav,
  .site-header__button {
    display: none;
  }

  .site-header__contacts {
    margin-left: auto;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    gap: 5px;
    place-content: center;
    border: 0;
    background: transparent;
  }

  .menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-yellow-bright);
    transition: transform var(--transition-medium), opacity var(--transition-medium);
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    inset: 64px 0 auto 0;
    display: grid;
    gap: 22px;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: rgba(11,11,10,0.98);
    transition: max-height var(--transition-medium), padding var(--transition-medium);
  }

  .mobile-menu.is-open {
    max-height: calc(100vh - 64px);
    padding: 24px 20px 28px;
  }

  .mobile-menu__nav {
    display: grid;
    gap: 16px;
    font-size: 18px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    padding: 34px 0;
  }

  .hero__grid,
  .stats__grid {
    grid-template-columns: 1fr;
  }

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

  .hero__form {
    max-width: 520px;
  }

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

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

  .guarantee-grid article:nth-child(3n) {
    border-right: 0;
  }

  .guarantee-grid article {
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
  }

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

  .process__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
  }

  .process__list::before {
    display: none;
  }

  .final-cta {
    background: var(--color-black);
  }

  .final-cta__grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .final-cta__panel {
    padding: 26px 20px;
    background: var(--color-yellow-bright);
  }

  .final-cta__dark {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px 20px;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(calc(100% - 28px), var(--container-width));
  }

  h2 {
    font-size: 24px;
  }

  .section-head {
    display: grid;
  }

  .hero h1 {
    font-size: clamp(35px, 10vw, 44px);
  }

  .hero__lead br {
    display: none;
  }

  .hero__actions {
    display: grid;
  }

  .object-grid,
  .project-grid,
  .guarantee-grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .faq__grid {
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .object-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .image-card {
    min-width: 240px;
    scroll-snap-align: start;
  }

  .guarantee-grid article {
    border-right: 0;
  }

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

  .process__list li {
    grid-template-columns: 44px 1fr;
    justify-items: start;
    text-align: left;
  }

  .process__list span {
    grid-row: span 2;
  }

  .process__list h3 {
    margin-top: 0;
  }

  .site-footer__inner {
    display: grid;
  }
}

@media (max-width: 479px) {
  body {
    font-size: 13px;
  }

  .logo__text span,
  .site-header__contacts span {
    display: none;
  }

  .site-header__contacts {
    font-size: 0;
  }

  .site-header__contacts a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--color-border-dark);
    border-radius: 50%;
    font-size: 0;
  }

  .site-header__contacts a::before {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    border: 2px solid var(--color-yellow-bright);
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 50%;
    transform: rotate(-35deg);
    color: var(--color-yellow-bright);
  }

  .hero__features,
  .stats__items,
  .final-cta__dark {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 20px 16px;
  }
}

@media (max-width: 1024px) {
  .site-nav,
  .site-header__button {
    display: none;
  }

  .menu-toggle {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 5px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-yellow-bright);
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
  }

  .project-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .project-card {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
  }

  .project-card img {
    height: 220px;
  }

  .projects__nav {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .hero__actions {
    display: none !important;
  }

  .process__list {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 22px;
  }

  .process__list::before {
    display: block;
    left: 16px;
    right: auto;
    top: 18px;
    bottom: 18px;
    width: 2px;
    height: auto;
  }

  .process__list li {
    min-height: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-areas:
      "num title"
      "num text";
    column-gap: 16px;
    justify-items: start;
    padding: 0 0 22px;
    text-align: left;
  }

  .process__list li:last-child {
    padding-bottom: 0;
  }

  .process__list span {
    grid-area: num;
    grid-row: auto;
  }

  .process__list h3 {
    grid-area: title;
    margin-top: 0;
    font-size: 14px;
  }

  .process__list p {
    grid-area: text;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .site-header__inner {
    position: relative;
    width: calc(100vw - 28px);
    gap: 12px;
  }

  .site-header__contacts {
    display: none;
  }

  .menu-toggle {
    position: fixed;
    top: 15px;
    right: 14px;
    z-index: 1100;
    transform: none;
  }

  .hero h1 {
    font-size: 38px;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
