/* ============================================================
   byGarami — responsive.css
   ============================================================ */

/* --- Tablet ------------------------------------------------------ */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid {
    min-height: 42rem;
  }

  .hero-media {
    max-width: none;
  }

  .card-grid,
  .card-grid-4,
  .np-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .pricing-grid {
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    margin-inline: calc(-1 * clamp(1.25rem, 4vw, 2rem));
    padding-inline: clamp(1.25rem, 4vw, 2rem);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
  }

  .price-card {
    scroll-snap-align: start;
  }
}

/* --- Mobile ------------------------------------------------------- */
@media (max-width: 700px) {
  :root {
    --header-h: 64px;
  }

  .card-grid,
  .card-grid-2,
  .card-grid-4,
  .np-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-banner .hero-actions .btn-primary {
    display: none;
  }

  .duplicate-cta {
    display: none;
  }

  .page-home .hero-banner .hero-actions .duplicate-cta {
    display: inline-flex;
  }

  .hero-grid {
    min-height: 38rem;
    display: flex;
    align-items: center;
  }

  .hero-banner .hero-copy {
    width: 100%;
    padding-block: 2rem;
  }

  .hero-banner .hero-copy .eyebrow,
  .hero-banner .hero-copy h1,
  .hero-banner .hero-copy .lead {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 0 3px rgba(0, 0, 0, 0.75);
  }

  .hero-banner .hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-banner .media-frame {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .hero-banner .media-frame img {
    height: 100%;
    object-position: center center;
    filter: brightness(0.62);
  }

  .growth-flow {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .flow-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

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

  .stat-row .stat {
    min-height: 0;
  }

  .mobile-cta-bar {
    display: block;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .section {
    padding-block: 3.8rem;
  }
}

/* --- Small mobile -------------------------------------------------- */
@media (max-width: 430px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .price-value {
    font-size: 1.55rem;
  }
}
