@media (max-width: 1100px) {
  .container {
    width: min(100% - 36px, 960px);
  }

  .nav {
    gap: 0.85rem;
  }

  .nav__link {
    font-size: 0.72rem;
  }

  .logo__text {
    display: none;
  }

  .promo-slide {
    padding-inline: 2rem;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
    --space-xl: 4rem;
  }

  .header__inner {
    gap: 1rem;
  }

  .logo__text {
    display: inline;
  }

  .burger {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--color-surface);
    box-shadow: 0 8px 25px rgba(21, 24, 22, 0.06);
  }

  .nav {
    inset: var(--header-h) 12px 12px;
    height: calc(100dvh - var(--header-h) - 12px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(21, 24, 22, 0.14);
  }

  .nav__link {
    font-size: 1.05rem;
  }

  .nav__link--cta {
    padding: 0.85rem 1.5rem;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid {
    gap: 1.5rem;
    padding-block: 4rem;
  }

  .hero__visual {
    order: initial;
  }

  .hero__device {
    width: min(280px, 70vw);
  }

  .business__grid,
  .contact__grid,
  .calculator {
    gap: 1.5rem;
  }

  .footer__top {
    padding-top: 4rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .section {
    padding-block: 4.5rem;
  }

  .section__desc {
    font-size: 0.95rem;
  }

  .logo__mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .logo__text {
    font-size: 0.65rem;
  }

  .promo-carousel,
  .promo-slide {
    min-height: 410px;
  }

  .promo-slide {
    align-content: center;
    padding: 2.5rem 1rem;
  }

  .promo-slide__title {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .promo-carousel__controls {
    padding-block: 0.8rem;
  }

  .hero__grid {
    text-align: left;
  }

  .hero__lead {
    margin-inline: 0;
  }

  .hero__actions {
    justify-content: flex-start;
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-align: left;
  }

  .stat__value {
    font-size: 1.25rem;
  }

  .stat__label {
    font-size: 0.65rem;
  }

  .tech-item,
  .business__panel,
  .calculator__form,
  .calculator__result,
  .contact-form,
  .ba-card__info {
    padding: 1.25rem;
  }

  .tech-item__head {
    gap: 0.75rem;
  }

  .results-grid {
    gap: 0.7rem;
  }

  .result-metric {
    padding: 1rem 0.5rem;
    border-radius: 14px;
  }

  .result-metric__value {
    font-size: 1.45rem;
  }

  .ba-card__photos {
    grid-template-columns: 1fr 1fr;
  }

  .ba-photo {
    aspect-ratio: 3 / 4;
  }

  .videos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .video-card__thumb {
    aspect-ratio: 9 / 13;
  }

  .welcome-popup__dialog {
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    padding: 1.25rem;
    border-radius: 20px;
  }

  .footer {
    border-radius: 24px 24px 0 0;
  }
}

@media (max-width: 390px) {
  .logo__text {
    display: none;
  }

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

  .video-card__thumb {
    aspect-ratio: 16 / 10;
  }

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

  .ba-card__photos {
    grid-template-columns: 1fr;
  }
}
