/* ============================================================
   VICTOR & TAILORS — responsive.css
   Breakpoints: 1200 · 992 · 768 · 480
   ============================================================ */

/* ============================
   WIDE DESKTOP ≥ 1200px
   ============================ */
@media (min-width: 1200px) {
  .footer-main { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
}

/* ============================
   TABLET LANDSCAPE ≤ 1199px
   ============================ */
@media (max-width: 1199px) {
  :root { --container-pad: 20px; }
  .nav-links { gap: var(--sp-2); }
  .nav-links a { font-size: 0.85rem; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; gap: var(--sp-4); }
  .footer-main .footer-col:last-child { grid-column: 1 / -1; }
  .why-grid { gap: var(--sp-3); }
}

/* ============================
   TABLET PORTRAIT ≤ 992px
   ============================ */
@media (max-width: 992px) {
  :root { --nav-height: 70px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Typography */
  h1 { font-size: clamp(2rem, 5vw, 3rem); }
  h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
  section { padding: var(--sp-6) 0; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: var(--sp-5); }
  .about-image-wrap { max-width: 500px; margin: 0 auto; }
  .location-grid { grid-template-columns: 1fr; }
  .location-map { height: 300px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
  .process-steps::before { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .footer-brand { grid-column: 1 / -1; }

  /* Hero */
  .hero { height: auto; min-height: 100vh; padding: 120px 0 80px; }
  .hero-badges { gap: var(--sp-2); }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================
   MOBILE ≤ 768px
   ============================ */
@media (max-width: 768px) {
  :root {
    --container-pad: 16px;
    --sp-7: 64px;
    --sp-8: 80px;
  }

  /* Show mobile sticky buttons */
  .mobile-sticky-btns {
    display: flex;
  }
  /* Add bottom padding to page for sticky btns */
  body { padding-bottom: 56px; }
  #back-to-top { bottom: 80px; right: 16px; }
  #cookie-notice { bottom: 56px; }

  /* Typography */
  h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  h3 { font-size: 1.3rem; }
  section { padding: var(--sp-5) 0; }

  /* Grids → single column */
  .grid-2, .grid-3, .grid-4, .grid-auto { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: var(--sp-2); }
  .footer-main { grid-template-columns: 1fr; gap: var(--sp-4); }

  /* Hero */
  .hero { padding: 100px 0 60px; align-items: flex-start; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-badges { flex-direction: column; gap: var(--sp-1); }
  .scroll-indicator { display: none; }

  /* About */
  .about-split { gap: var(--sp-4); }
  .about-image-accent { width: 140px; bottom: -16px; right: -16px; }
  .about-image-accent .number { font-size: 2rem; }
  .about-stats { grid-template-columns: repeat(2,1fr); }

  /* Reviews */
  .filter-tabs { gap: 8px; }
  .filter-tab { padding: 6px 14px; font-size: 0.82rem; }

  /* CTA Banner */
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .cta-banner-btns .btn { width: 100%; max-width: 320px; }

  /* Marquee */
  .marquee-item { font-size: 0.88rem; padding: 0 20px; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom p, .footer-credit { text-align: center; }

  /* Page hero */
  .page-hero { height: 40vh; min-height: 260px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-1); }

  /* Blog */
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }

  /* Location */
  .location-grid { grid-template-columns: 1fr; }
  .location-map { height: 250px; }

  /* Nav mobile */
  .nav-mobile { top: var(--nav-height); }
}

/* ============================
   MOBILE SMALL ≤ 480px
   ============================ */
@media (max-width: 480px) {
  :root { --container-pad: 14px; }

  h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); }

  /* Gallery single col on very small */
  .gallery-grid { grid-template-columns: 1fr; }

  /* Service cards full width */
  .service-card { padding: var(--sp-3); }

  /* Hero badges — icons only on very small */
  .hero-badge { font-size: 0.82rem; }

  /* CTA banner */
  .cta-banner { padding: var(--sp-4) 0; }
  .cta-banner h2 { font-size: 1.5rem; }

  /* Accordion */
  .accordion-header { padding: var(--sp-2); }
  .accordion-header h4 { font-size: 0.9rem; }

  /* Stats */
  .stat-number { font-size: 2rem; }

  /* About accent box */
  .about-image-accent { display: none; }
  .about-image-frame { display: none; }

  /* Sticky btns */
  .mobile-sticky-btns a { font-size: 0.85rem; padding: 12px; }
}

/* ============================
   PRINT
   ============================ */
@media print {
  #navbar, #footer, .mobile-sticky-btns, #back-to-top, #preloader, #cookie-notice { display: none !important; }
  .page-hero { padding-top: 0; height: auto; }
  body { padding-bottom: 0; }
}

/* ============================
   REDUCED MOTION
   ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-eyebrow,
  .hero h1,
  .hero-subtitle,
  .hero-ctas,
  .hero-badges { opacity: 1; transform: none; animation: none; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
  .split-char { opacity: 1; transform: none; }
  .line-draw { transform: scaleX(1); }
}
