/**
 * Breakpoint-specific tweaks and helpers.
 * Target breakpoints: 480 / 768 / 1024 / 1280.
 */

/* Very small devices — protect tap targets */
@media (max-width: 480px) {
  .bes-btn,
  .bes-menu-toggle,
  .bes-services__filter,
  .bes-lang-switcher a {
    min-height: 44px;
  }

  .bes-btn {
    padding-inline: 20px;
    font-size: 0.8125rem;
  }

  .bes-hero__strip-inner {
    grid-template-columns: 1fr;
  }

  .bes-hero__feature {
    min-height: 0;
    padding: 22px 18px;
  }

  .bes-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bes-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bes-why__quote {
    padding: 32px 24px;
  }

  .bes-qse__commitment {
    margin-top: -32px;
  }

  .bes-legal__section h2 {
    font-size: 1.25rem;
  }
}

/* Tablet adjustments */
@media (min-width: 481px) and (max-width: 1023px) {
  .bes-footer__grid {
    gap: 40px 32px;
  }
}

/* Small mobile + tablet: hide socials text */
@media (max-width: 767px) {
  .bes-header__top-list {
    gap: 12px;
    font-size: 0.75rem;
  }
  .bes-header__socials {
    gap: 6px;
  }
  .bes-header__social {
    width: 26px;
    height: 26px;
  }
}

/* Desktop: enable larger hero */
@media (min-width: 1024px) {
  .bes-hero__inner {
    min-height: 82vh;
  }
}

/* Very wide screens */
@media (min-width: 1280px) {
  :root {
    --bes-gutter: 28px;
  }
}

/* Print */
@media print {
  .bes-header,
  .bes-footer,
  .bes-cta,
  .bes-back-to-top,
  .bes-services__filters,
  .bes-skip-link,
  .bes-mobile-overlay,
  .bes-mobile-drawer {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .bes-legal__toc {
    display: none !important;
  }
  .bes-legal__layout {
    grid-template-columns: 1fr !important;
  }
  .bes-legal__content {
    max-width: none;
  }
  a {
    color: #000 !important;
    text-decoration: underline;
  }
}

/* High contrast / focus enhancement */
@media (prefers-contrast: more) {
  .bes-btn {
    border-width: 3px;
  }
  .bes-nav__link {
    border-bottom-width: 3px;
  }
}
