/* ============================================================
   Advantix — Responsive Stylesheet
   Breakpoints: 375 (mobile), 768 (tablet), 1024 (desktop), 1440 (wide)
   ============================================================ */

/* ── Large desktop (1440px+) ───────────────────────────────── */
@media (min-width: 1440px) {
  .whatsapp-float__text {
    display: inline;
  }
}

/* ── Desktop (1024px–1439px) ───────────────────────────────── */
@media (min-width: 1024px) {
  .grid-4-desktop { grid-template-columns: repeat(4, 1fr); }

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

/* ── Tablet and below (max 1023px) ────────────────────────── */
@media (max-width: 1023px) {
  :root {
    --space-xl: 60px;
    --space-lg: 36px;
  }

  /* Nav: hide desktop menu, show hamburger */
  .nav__menu,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Footer grid */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  /* Grid adjustments */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet portrait (768px–1023px) ──────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__content {
    max-width: 540px;
  }

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

/* ── Mobile (max 767px) ────────────────────────────────────── */
@media (max-width: 767px) {
  :root {
    --space-xl: 48px;
    --space-lg: 32px;
    --space-md: 20px;
  }

  /* Hero */
  .hero {
    min-height: 500px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
  }

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

  /* Grids collapse to 1 column */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Product hero */
  .product-hero__grid {
    grid-template-columns: 1fr;
  }

  /* Form */
  .form-row {
    flex-direction: column;
  }

  /* CTA strip */
  .cta-strip .flex-center {
    flex-direction: column;
    align-items: center;
  }

  .cta-strip .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Contact method */
  .contact-methods {
    grid-template-columns: 1fr;
  }

  /* Trust cards on dark sections */
  .trust-grid {
    grid-template-columns: 1fr;
  }

  /* Product cta */
  .product-cta {
    flex-direction: column;
  }

  .product-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Tabs scroll */
  .tabs {
    gap: 0;
  }

  /* Section headers */
  .section-header {
    text-align: left;
  }

  /* WhatsApp float — smaller on mobile */
  .whatsapp-float {
    bottom: 20px;
    right: 16px;
    padding: 12px;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }
}

/* ── Small mobile (max 375px) ──────────────────────────────── */
@media (max-width: 375px) {
  body {
    font-size: 15px;
  }

  .container {
    padding-inline: var(--space-sm);
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
  }
}

/* ── Print ─────────────────────────────────────────────────── */
@media print {
  .site-header,
  .site-footer,
  .whatsapp-float,
  .nav__hamburger,
  .nav__mobile {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: black;
  }

  a {
    color: black;
  }
}
