/* ==========================================
   RESPONSIVE — ALL BREAKPOINTS
   ========================================== */

/* 1400px */
@media (max-width: 1400px) {
  :root { --container-max: 1160px; }
}

/* 1200px */
@media (max-width: 1200px) {
  :root { --container-max: 980px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
  .footer-grid > *:last-child { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .about-intro-grid { gap: 48px; }
  .cred-badge:nth-child(3) { right: -12px; }
  .cred-badge:nth-child(4) { display: none; }
}

/* 1024px — tablet */
@media (max-width: 1024px) {
  :root { --container-max: 100%; }
  .container { padding: 0 28px; }

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

  /* Hero */
  .hero-content { max-width: 100%; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .about-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { max-width: 500px; margin: 0 auto; }
  .cred-badge:nth-child(3) { display: none; }

  /* Quick contact */
  .quick-contact-grid { grid-template-columns: repeat(2,1fr); }
  .qc-item:nth-child(2) { border-right: none; }
  .qc-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.1); }

  /* Why us */
  .why-features { grid-template-columns: 1fr 1fr; }

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

  /* Inquiry */
  .inquiry-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Inner pages */
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }
  .cards-grid { grid-template-columns: repeat(2,1fr); }
  .contact-cards-grid { grid-template-columns: repeat(2,1fr); }
  .philosophy-grid { grid-template-columns: 1fr 1fr; }
  .nav-cta { display: none; }
}

/* 768px — mobile */
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .container { padding: 0 20px; }

  /* Sticky buttons + body padding */
  .mobile-sticky-btns { display: flex; }
  body { padding-bottom: 56px; }
  .scroll-top { bottom: 68px; right: 20px; }

  /* Hero */
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 20px; }

  /* Quick contact */
  .quick-contact-grid { grid-template-columns: 1fr; }
  .qc-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .qc-item:last-child { border-bottom: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2,1fr); border-radius: var(--radius-md); }
  .stat-item { padding: 28px 20px; }
  .stat-num { font-size: 2.4rem; }

  /* Why features */
  .why-features { grid-template-columns: 1fr; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-header { flex-direction: column; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Inner pages */
  .cards-grid { grid-template-columns: 1fr; }
  .contact-cards-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .patient-form { padding: 28px 20px; }

  /* Page hero */
  .page-hero { padding: 140px 0 60px; }
  .page-hero h1 { font-size: 1.8rem; }

  /* Rating overview */
  .rating-overview { gap: 28px; }
  .rating-big-num { font-size: 3.8rem; }

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

/* 480px */
@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }

  .hero { min-height: 100svh; }
  .hero-content { padding: 120px 0 80px; }
  .hero h1 { font-size: 2.4rem; }

  .hero-trust { flex-wrap: wrap; justify-content: space-between; gap: 16px; }

  .review-tabs { gap: 6px; }
  .review-tab { padding: 7px 14px; font-size: 0.72rem; }

  .platform-badges { gap: 10px; }
  .platform-badge { padding: 10px 16px; }

  .google-rating-badge { flex-direction: column; align-items: flex-start; gap: 10px; }

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

  .conditions-grid { gap: 10px; }
  .condition-pill { padding: 10px 16px; font-size: 0.8rem; }

  .footer-social { gap: 8px; }

  .cred-badge { padding: 8px 12px; }
  .cred-badge:nth-child(2) { left: -12px; bottom: 20px; }
}

/* 360px */
@media (max-width: 360px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.9rem; }
  .btn { padding: 12px 22px; font-size: 0.82rem; }
  .hero h1 { font-size: 2rem; }
  .trust-num { font-size: 1.35rem; }
  .stat-num { font-size: 2rem; }
  .form-card { padding: 20px 16px; }
}
