/* ============================================================
   13 — RESPONSIVE
   All breakpoint overrides that don't already live next to their
   component are consolidated here, per file plan.
   Breakpoints: 1150px (menu density), 900px (tablet), 640px, 380px
   ============================================================ */

/* ---- 1150px: header menu gets tight before burger kicks in --- */
@media (max-width: 1150px) and (min-width: 861px){
  .nav{ gap: 1.1rem; }
  .nav__link{ font-size: .7rem; }
  .nav__cta{ padding-inline: 1.2rem; }
}

/* ---- 900px : general tablet rhythm ---------------------------- */
@media (max-width: 900px){
  :root{ --section-pad: clamp(3.2rem, 10vw, 5rem); }

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

  .price-panel__main,
  .price-panel__discounts{ padding: 1.6rem; }
}

/* ---- 640px : mobile -------------------------------------------- */
@media (max-width: 640px){
  .hero__content{ padding-top: calc(var(--header-h) + 1rem); }
  .hero__title{ max-width: 100%; }
  .fact-card__value{ font-size: .92rem; }

  .cluster-btns{ flex-direction: column; align-items: stretch; }
  .cluster-btns .btn{ width: 100%; }

  .footer__bottom{ flex-direction: column; align-items: flex-start; }

  .lightbox__caption{ font-size: .7rem; }
}

/* ---- 380px : smallest phones ------------------------------------*/
@media (max-width: 380px){
  :root{ --edge: 1rem; }
  h1{ font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .preloader__values{ font-size: .64rem; }
  .team-grid{ gap: .8rem; }
}

/* ---- Safety: no horizontal scroll ------------------------------ */
html, body{ max-width: 100%; overflow-x: hidden; }
