/* ============================================================
   responsive.css — breakpoints 320 / 768 / 1024 / 1440 / 1920
   ============================================================ */

/* Ultra-wide: let big sections breathe */
@media (min-width: 1920px) {
  :root { --container: 1360px; --container-wide: 1640px; }
}

/* Desktop -> tablet: collapse primary nav into hamburger */
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .hamburger { display: block; }
  .site-header__inner { justify-content: space-between; }
}

/* Tablet */
@media (max-width: 1024px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .menu-grid { grid-template-columns: 1fr; }
}

/* Small tablet / large phone */
@media (max-width: 768px) {
  :root { --section-y: clamp(3.5rem, 8vw, 5rem); }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .hero__meta { gap: 1.2rem; font-size: 0.72rem; }
  .scroll-cue { display: none; }
  .h-card { flex-basis: clamp(240px, 72vw, 320px); }
}

/* Phone */
@media (max-width: 560px) {
  .site-header__inner { padding: 0.75rem var(--container-pad); gap: 0.8rem; }
  .brand__logo { height: 46px; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .newsletter { flex-direction: column; }
  .newsletter__input { width: 100%; }
  .btn { width: 100%; }
  .flow-buttons .btn { width: auto; }
  .flow-buttons { gap: 0.7rem; }
  .hero__inner { padding-top: 7rem; }
  .hero__title { font-size: clamp(2.6rem, 13vw, 4rem); }
  .to-top { right: 1rem; bottom: 1rem; }
  .section__head { margin-bottom: 2rem; }
  .mini-map { aspect-ratio: 3 / 2; }
}

/* Very small (320px) */
@media (max-width: 360px) {
  :root { --container-pad: 1.1rem; }
  .brand__logo { height: 42px; }
  .stat { padding: 1rem 0.5rem; }
  .stat__value { font-size: clamp(2rem, 11vw, 2.6rem); }
}

/* Touch devices: disable hover-tilt jitter */
@media (hover: none) {
  .card:hover, .btn:hover, .team-card:hover .team-card__media img { transform: none; }
}
