/* ==========================================================================
   EverPortrait — Responsive Stylesheet
   Breakpoints: Desktop (default) → Laptop 1200 → Tablet 900 → Mobile 600
   ========================================================================== */

/* ---------- Laptop / small desktop (≤1200px) ---------- */
@media (max-width: 1200px){
  :root{
    --space-section: 7rem;
    --fs-4xl: 3.8rem;
    --fs-3xl: 2.8rem;
  }
  .categories-grid{ grid-template-columns: repeat(3, 1fr); }
  .why-grid{ grid-template-columns: repeat(2, 1fr); row-gap: 2.8rem; }
  .footer-top{ grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-col.hide-lap{ display: none; }
}

/* ---------- Tablet (≤900px) ---------- */
@media (max-width: 900px){
  :root{
    --space-section: 5.5rem;
    --space-section-sm: 4rem;
    --fs-4xl: 3rem;
    --fs-3xl: 2.3rem;
    --fs-2xl: 2rem;
  }

  .nav-links{ display: none; }
  .nav-toggle{ display: flex; }
  .nav-cta .btn-ghost{ display: none; }

  .hero{ padding-top: 7.5rem; }
  .hero .container{ grid-template-columns: 1fr; text-align: center; }
  .hero-copy p{ margin-left: auto; margin-right: auto; }
  .hero-actions{ justify-content: center; }
  .hero-trust{ justify-content: center; }
  .hero-frame{ transform: none; margin-top: 1rem; }
  .hero-frame img{ height: 420px; }
  .hero-badge{ left: 50%; transform: translateX(-50%); bottom: -1.4rem; }

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

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

  .about-split{ grid-template-columns: 1fr; }
  .about-visual{ margin-bottom: 2rem; }
  .about-visual .frame-main img{ height: 400px; }
  .about-stats{ grid-template-columns: repeat(3, 1fr); }

  .steps-grid{ grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .steps-grid::before{ display: none; }

  .ba-track{ grid-template-columns: repeat(2, 1fr); }

  .masonry{ columns: 2 200px; }

  .pricing-grid{ grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured{ transform: none; order: -1; }
  .price-card.featured:hover{ transform: translateY(-8px); }

  .t-slide{ grid-template-columns: 1fr; gap: 1.2rem; }

  .contact-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }

  .footer-top{ grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand{ grid-column: 1 / -1; }

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

/* ---------- Mobile (≤600px) ---------- */
@media (max-width: 600px){
  :root{
    --space-section: 4rem;
    --space-section-sm: 3rem;
    --fs-4xl: 2.4rem;
    --fs-3xl: 1.9rem;
    --fs-2xl: 1.6rem;
    --fs-xl: 1.4rem;
    --fs-lg: 1.1rem;
  }
  .container, .container-narrow{ padding: 0 1.25rem; }

  .navbar{ padding: 1.1rem 0; }
  .brand-mark{ width: 32px; height: 32px; }
  .brand-text .name{ font-size: 1.1rem; }

  .hero{ padding-top: 6.5rem; padding-bottom: 3rem; min-height: auto; }
  .hero-actions{ flex-direction: column; align-items: stretch; }
  .hero-actions .btn{ width: 100%; }
  .hero-frame img{ height: 320px; }
  .hero-badge{ max-width: 210px; padding: 1rem 1.2rem; }
  .scroll-indicator{ display: none; }

  .eyebrow{ font-size: 1.05rem; }
  .section-head{ margin-bottom: 2.4rem; }

  .categories-grid{ grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .cat-label{ padding: 1rem; }
  .cat-label h3{ font-size: 0.95rem; }

  .why-grid{ grid-template-columns: 1fr; gap: 2.2rem; }

  .about-visual .frame-main img{ height: 300px; }
  .about-visual .frame-float{ width: 55%; left: -1rem; bottom: -1.6rem; }
  .about-visual .frame-float img{ height: 150px; }
  .about-stats{ grid-template-columns: 1fr; gap: 1.2rem; text-align: left; }

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

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

  .masonry{ columns: 1; }

  .gallery-filters{ overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; margin: 0 -1.25rem 2.4rem; padding-left: 1.25rem; }
  .gallery-filters::-webkit-scrollbar{ display: none; }
  .filter-btn{ flex-shrink: 0; }

  .price-card{ padding: 2.2rem 1.6rem; }
  .pricing-addon{ flex-direction: column; align-items: flex-start; }

  .payments-strip{ flex-direction: column; align-items: flex-start; text-align: left; }

  .contact-info-card{ padding: 2.2rem 1.8rem; }
  .form-card{ padding: 1.8rem; }

  .cta-band{ padding: 2.6rem 1.6rem; }

  .footer-top{ grid-template-columns: 1fr; gap: 2.4rem; padding-bottom: 2.6rem; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }

  .whatsapp-float{ width: 52px; height: 52px; bottom: 1.4rem; right: 1.4rem; }
  .whatsapp-float svg{ width: 22px; height: 22px; }
  .back-to-top{ width: 42px; height: 42px; bottom: 5.6rem; right: 1.4rem; }

  .value-card{ padding: 1.8rem; }
  .team-note{ flex-direction: column; text-align: center; }
}

/* Prevent any horizontal scroll on very narrow devices */
@media (max-width: 380px){
  .hero-copy h1{ font-size: 2.1rem; }
  .price-card.featured{ transform: none; }
}
