/* responsive.css — Mobile-first breakpoints */

/* ─── Tablet: 768px ─── */
@media (max-width: 768px) {
  :root {
    --space-3xl: 80px;
    --space-2xl: 60px;
    --space-xl: 48px;
  }

  /* NAV */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* HERO */
  .hero .container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .hero-photo-wrap {
    order: -1;
  }

  .hero-photo-inner {
    max-width: 100%;
    aspect-ratio: 4 / 3;
    margin-left: 0;
  }

  .hero-photo-inner img {
    object-position: center center;
  }

  .hero-badge {
    bottom: 12px;
    left: 12px;
  }

  /* ДЛЯ КОГО */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* ОБО МНЕ */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo-inner {
    aspect-ratio: 1 / 1;
  }

  .channel-photo-inner {
    aspect-ratio: 1 / 1;
  }

  .about-photo-inner img,
  .channel-photo-inner img {
    object-position: center center;
  }

  /* КАК ЭТО УСТРОЕНО */
  .how-inner {
    grid-template-columns: 1fr;
  }

  .how-visual {
    order: -1;
    padding-top: 0;
  }

  /* КАНАЛ */
  .channel-inner {
    grid-template-columns: 1fr;
  }

  .channel-photo-wrap {
    order: -1;
  }

  .channel-photo-inner {
    aspect-ratio: 1 / 1;
  }

  /* ЦЕНЫ */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  /* КОНТАКТ */
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-title {
    font-size: clamp(40px, 12vw, 64px);
  }

  /* FOOTER */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .footer-text {
    text-align: center;
  }
}

/* ─── Mobile: 375px ─── */
@media (max-width: 480px) {
  :root {
    --space-3xl: 64px;
    --space-2xl: 48px;
    --space-xl: 36px;
    --space-lg: 28px;
    --container-pad: 20px;
  }

  /* HERO */
  .hero-subtitle {
    font-size: 15px;
  }

  .hero-photo-inner {
    aspect-ratio: 1 / 1;
  }

  .hero-badge {
    display: none;
  }

  /* FAQ */
  .faq-question {
    font-size: 15px;
  }

  /* Pricing */
  .pricing-card {
    padding: var(--space-lg) var(--space-md);
  }

  /* Nav drawer */
  .nav-drawer .nav-link {
    font-size: 16px;
  }
}

/* ─── Desktop: 1200px+ ─── */
@media (min-width: 1200px) {
  .hero .container {
    grid-template-columns: 55% 45%;
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-photo-inner {
    max-width: 480px;
  }

  /* Скрыть кастомный курсор на touch устройствах */
  .custom-cursor,
  .cursor-follower {
    display: block;
  }
}

/* Touch устройства — скрыть кастомный курсор */
@media (hover: none) {
  .custom-cursor,
  .cursor-follower {
    display: none !important;
  }
}
