/* ============================================================
   responsive.css — адаптивность (mobile-first, min-width)
   Breakpoints:
     Mobile:  320–767
     Tablet:  768–1023
     Desktop: 1024–1439
     Wide:    1440+
   ============================================================ */

/* ============ TABLET: 768px ============ */
@media (min-width: 768px) {

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero__actions .btn { width: auto; }

  .hero__features {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px 30px;
  }

  .about__grid {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
  }
  .about__photo { margin-inline: 0; }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

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

  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  .footer__links { justify-content: flex-end; }
}

/* ============ DESKTOP: 1024px ============ */
@media (min-width: 1024px) {

  :root {
    --header-h: 76px;
    --container-w: 1200px;
  }

  /* --- Шапка: горизонтальное меню --- */
  .burger { display: none; }
  .nav-overlay { display: none; }

  .nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    overflow: visible;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: clamp(16px, 2vw, 30px);
  }

  .nav__link {
    position: relative;
    padding: 8px 0;
    border-bottom: 0;
    font-size: 0.95rem;
    font-weight: 500;
  }

  .nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--tr);
  }

  .nav__link:hover::after,
  .nav__link.is-active::after {
    transform: scaleX(1);
  }

  .nav__link.is-active {
    color: var(--orange);
    font-weight: 600;
  }

  .header__cta { display: inline-flex; }

  /* --- Hero --- */
  .hero {
    min-height: 100vh;
    padding: calc(var(--header-h) + 64px) 0 90px;
  }

  .hero__inner { max-width: 820px; }

  .hero__actions { margin-bottom: 52px; }

  /* --- About --- */
  .about__grid {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 72px);
  }

  /* --- Steps --- */
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
  }

  /* --- Request --- */
  .request__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: start;
  }

  .request__btn { width: auto; }

  /* --- Contacts --- */
  .contacts__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Выстраиваем текст и QR-код в ряд */
  .contacts__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }

  .contacts__qr {
    justify-content: flex-end;
    flex-shrink: 0;
  }

} /* <--- ЗДЕСЬ ДОЛЖНА БЫТЬ ЗАКРЫВАЮЩАЯ СКОБКА */

/* ============ WIDE: 1440px ============ */
@media (min-width: 1440px) {
  /* ... */
}