/* ============================================================
   Responsive overrides - mobile-first breakpoints
   ============================================================ */

/* ----- Large desktop / wider ----- */
@media (min-width: 1400px) {
  :root { --container: 1280px; }
}

/* ----- Below 1100px ----- */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { max-height: 460px; height: 460px; max-width: 560px; margin-inline: auto; width: 100%; }
  .services-grid, .why-grid, .testimonials, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .feature-card { padding: 36px; gap: 36px; }
}

/* ----- Below 880px - tablet ----- */
@media (max-width: 880px) {
  :root { --header-h: 88px; }
  .nav, .site-header__cta .btn { display: none; }
  .hamburger { display: flex; }
  .site-header__cta { gap: 8px; }
  .brand { gap: 12px; }
  .brand img { width: 64px !important; height: 64px !important; }
  .brand__name strong { font-size: var(--fs-22); }
  .brand__name span { font-size: 12px; }

  .hero { min-height: auto; padding-block: 40px; }
  .hero__inner { padding-block: 50px; }
  .hero__visual { height: 380px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1; min-width: 0; padding: 16px 20px; }
  .hero__phone { width: 100%; justify-content: center; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); margin-top: 8px; }
  .hero__floating-badge { font-size: var(--fs-12); padding: 10px 14px; }

  .trustbar__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trustbar__num { font-size: var(--fs-26); }

  .feature-card { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .feature-card__media { aspect-ratio: 16/10; order: -1; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .cta-strip__inner { flex-direction: column; text-align: center; }
  .cta-strip__actions { width: 100%; flex-direction: column; }
  .cta-strip__actions .btn { width: 100%; }
}

/* ----- Below 640px - mobile ----- */
@media (max-width: 640px) {
  .container, .container-narrow { padding-inline: 18px; }
  :root { --header-h: 78px; }
  .brand__name span { display: none; }
  .brand__name strong { font-size: var(--fs-18); }
  .brand img { width: 54px !important; height: 54px !important; }
  .services-grid, .why-grid, .testimonials, .pricing-grid, .how-steps { grid-template-columns: 1fr; gap: 16px; }
  .how-steps { gap: 36px; }
  .gallery-grid, .gallery-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .hero__visual { height: 320px; }
  .hero__visual .photo--1 { width: 76%; height: 70%; }
  .hero__visual .photo--2 { width: 60%; height: 56%; }
  .hero__visual .photo--3 { display: none; }
  .hero__floating-badge { font-size: 11px; padding: 8px 12px; gap: 8px; }

  .site-footer__grid { grid-template-columns: 1fr; text-align: start; gap: 28px; padding-bottom: 36px; }
  .site-footer__bottom { flex-direction: column; align-items: center; text-align: center; }

  .fab { width: 54px; height: 54px; }
  .fab-stack { inset-inline-end: 12px; bottom: 12px; }

  .service-card, .why-item, .testimonial, .pricing-card { padding: 24px 20px; }

  .pricing-card.is-featured { transform: none; }

  .section-header { margin-bottom: 36px; }

  .btn-lg { padding: 16px 24px; font-size: var(--fs-16); }

  .breadcrumb { flex-wrap: wrap; }
}

/* ----- Below 400px - very small ----- */
@media (max-width: 400px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .gallery-grid, .gallery-grid--3 { grid-template-columns: 1fr; }
}

/* ----- Print ----- */
@media print {
  .site-header, .fab-stack, .cta-strip, .site-footer, .gallery-filter { display: none !important; }
  body { color: #000; background: #fff; }
}
