/* v96 — końcowa optymalizacja strony głównej na telefony */
@media (max-width: 680px) {
  html, body { overflow-x: hidden; }
  html { scroll-padding-top: 62px; }
  body { font-size: 15px; line-height: 1.5; }
  .container { width: calc(100% - 28px); }

  /* Niski nagłówek i wygodne menu dotykowe */
  .nav { min-height: 54px; gap: 8px; }
  .brand__logo { width: auto; height: 38px; max-width: 122px; }
  .nav-toggle { min-width: 44px; min-height: 44px; padding: 8px; }
  .nav-links {
    left: 14px;
    right: 14px;
    top: calc(100% + 5px);
    padding: 6px;
    border-radius: 10px;
  }
  .nav-links a { min-height: 46px; display: flex; align-items: center; padding: 10px 12px; font-size: 13px; }

  /* Hero: krótsze przewijanie, pełna czytelność tekstu i grafiki */
  .hero__grid {
    min-height: 390px !important;
    padding: 20px 0 150px !important;
  }
  .hero__content { width: 100% !important; }
  .hero-rotator { min-height: 154px !important; }
  .hero-rotator__viewport { min-height: 146px !important; }
  .hero-message__label { margin-bottom: 7px; font-size: 9px; }
  .hero-message__title { font-size: clamp(27px, 8.2vw, 34px); line-height: 1.08; }
  .hero-message__text { max-width: 94%; margin-top: 10px; font-size: 14px; line-height: 1.45; }
  .hero::after {
    right: -7% !important;
    width: 112% !important;
    height: 155px !important;
    bottom: -2px !important;
    background-position: center bottom !important;
  }

  /* Pilny kontakt: krótkie bloki, bez długiego pionowego pasa */
  .urgent-contact { padding: 14px 0; }
  .urgent-contact__inner { gap: 10px; }
  .urgent-contact__eyebrow { font-size: 8px; }
  .urgent-contact__copy h2 { font-size: 21px; }
  .urgent-contact__services { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; }
  .urgent-contact__services span {
    justify-content: center;
    min-height: 27px;
    padding: 4px 5px;
    font-size: 9px;
    text-align: center;
    white-space: normal;
  }
  .urgent-contact__phone { min-height: 50px; padding: 7px 9px 7px 12px; }
  .urgent-contact__phone a { font-size: 16px; }
  .urgent-contact__callback strong { font-size: 11px; }
  .urgent-callback-form input[type="tel"],
  .urgent-callback-form button { min-height: 44px; }
  .urgent-contact__callback small { font-size: 9px; line-height: 1.35; }

  /* Belki usług: zachowany wygodny rozmiar z v69, mniej pustej przestrzeni */
  #oferta { padding: 12px 0 18px; }
  #oferta .accordion { gap: 8px; }
  #oferta .service { border-radius: 11px; }
  #oferta .service__trigger { min-height: 88px; padding: 12px; gap: 8px; }
  #oferta .service__trigger::before {
    width: 50px;
    height: 44px;
    flex-basis: 50px;
    margin-right: 9px;
    background-size: 34px 34px;
  }
  #oferta .service__title { gap: 2px; }
  #oferta .service__title strong { font-size: 15px; line-height: 1.25; }
  #oferta .service__title small { font-size: 12px; line-height: 1.3; }
  #oferta .service__symbol { width: 30px; height: 30px; flex-basis: 30px; }

  /* Rozwinięcia usług: krótsze sekcje i czytelne karty */
  #oferta .service__panel { padding: 18px 14px; }
  .service__layout,
  .service__layout--training,
  .training-grid { gap: 18px !important; }
  .service__hero-copy--wide { margin-bottom: 18px; }
  .service__hero-copy h3 { margin: 10px 0 11px; font-size: 24px; line-height: 1.13; }
  .service__hero-copy p,
  .training-intro-copy,
  .info-card p,
  .training-row p { font-size: 14px !important; line-height: 1.55; }
  .pill { padding: 6px 9px; font-size: 9px; }
  .info-cards,
  .training-initial-cards { gap: 10px; }
  .info-card { padding: 14px; border-radius: 9px; }
  .info-card h4 { margin-top: 0; margin-bottom: 7px; font-size: 16px; }
  .process { gap: 8px; }
  .process div { min-height: 52px; padding: 9px 11px; }
  .frequency { padding: 11px 12px; }
  #panel-training .training-periodic { padding: 15px 13px; }
  .service-cta-row,
  .training-cta-row { gap: 8px; }
  .service__panel .btn { min-height: 46px; padding: 10px 12px; font-size: 11px; }
  .audit-report { gap: 12px; padding: 15px; }

  /* Kontakt: jeden spokojny pion i wygodne pola */
  .contact--compact { padding: 22px 0 26px; }
  .contact-compact { gap: 14px; }
  .contact-compact__eyebrow { margin-bottom: 6px; }
  .contact-compact__intro h2 { font-size: 26px; }
  .contact-compact__intro > p:not(.contact-compact__eyebrow) { margin: 9px 0 13px; font-size: 13px; }
  .contact-phone--compact { min-height: 50px; margin-top: 12px; }
  .contact-compact__form { padding: 14px; }
  .contact-form--compact { gap: 10px; }
  .contact-form--compact .contact-form__field input,
  .contact-form--compact .contact-form__field select { min-height: 46px; }
  .contact-form--compact .contact-form__field textarea { min-height: 88px; }
  .contact-form--compact .contact-form__consents { padding: 9px; }
  .contact-form--compact .contact-consent { font-size: 10px; line-height: 1.4; }
  .contact-form--compact .contact-form__submit { min-height: 46px; }
}

@media (max-width: 390px) {
  .urgent-contact__services { grid-template-columns: repeat(2, minmax(0,1fr)); }
  #oferta .service__trigger::before { width: 46px; flex-basis: 46px; margin-right: 7px; }
  #oferta .service__title strong { font-size: 14px; }
  #oferta .service__title small { font-size: 11px; }
}
