/* ==========================================================================
   Responsive Overrides and Mobile Tweaks
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-content {
    gap: 1rem;
  }

  .main-nav-list {
    gap: 1.5rem;
    font-size: 0.875rem;
  }

  .search-wrapper {
    flex-basis: 220px;
    min-width: 200px;
  }
}

@media (max-width: 991.98px) {
  .header-branding {
    gap: 1.25rem;
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .brand-logo-img {
    width: 92px;
    height: 92px;
  }

  .header-hotline {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-end;
    padding: 0.75rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--color-slate-200);
    gap: 0.625rem;
  }

  .hotline-icon-box {
    width: 40px;
    height: 40px;
  }

  .hotline-number {
    font-size: 1.25rem;
  }

  .navbar-content {
    flex-wrap: wrap;
    gap: 0;
    padding-bottom: 0.875rem;
  }

  .search-wrapper {
    flex: 1 1 100%;
    min-width: 0;
  }

  .main-nav-list {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    font-size: 0.875rem;
    padding: 0.25rem 0 0.5rem;
  }

  .main-nav-link {
    min-height: 44px;
    padding: 0.625rem 0;
  }

  .hero-heading {
    font-size: 2rem;
  }

  .hero-heading-max720 {
    max-width: 100%;
  }

  .hero-heading-nowrap-line {
    white-space: nowrap;
    font-size: 0.95em;
  }

  .hero-highlight-promo {
    font-size: 1.05em;
  }

  .partner-logo-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    width: 100% !important;
  }
}

@media (max-width: 767.98px) {
  .header-branding {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .brand-logo-img {
    width: 68px;
    height: 68px;
  }

  .brand-company-title {
    font-size: 0.78rem !important;
  }

  .brand-company-name {
    font-size: 1.15rem !important;
  }

  .brand-identity {
    width: 100%;
  }

  .header-hotline {
    width: 100%;
    justify-content: center;
    padding: 0.5rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--color-slate-200);
  }

  .hotline-icon-box {
    width: 32px;
    height: 32px;
  }

  .hotline-label {
    font-size: 0.625rem;
  }

  .hotline-number {
    font-size: 1.1rem !important;
  }

  .main-nav-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem 0.5rem;
    padding: 0.35rem 0;
  }

  .main-nav-link {
    width: 100%;
    justify-content: center;
    padding: 0.35rem 0.2rem;
    font-size: 0.7rem;
    text-align: center;
    white-space: normal;
    min-height: 36px;
  }

  .search-wrapper {
    margin-top: 0.35rem;
  }

  .hero-slider-container {
    min-height: 520px !important;
  }

  .hero-slide-item .custom-container {
    padding-top: 1.5rem !important;
    padding-bottom: 3rem !important;
  }

  .hero-heading {
    font-size: 1.45rem;
    line-height: 1.3;
  }

  .hero-heading-nowrap-line {
    white-space: normal;
  }

  .hero-highlight-promo {
    font-size: 1.05em;
    white-space: normal;
    display: inline;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem !important;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(6, 17, 38, 0.92) 0%,
      rgba(6, 17, 38, 0.88) 60%,
      rgba(6, 17, 38, 0.75) 100%
    );
  }

  .hero-overlay-gradient-slide3 {
    background: linear-gradient(
      180deg,
      rgba(8, 40, 95, 0.92) 0%,
      rgba(8, 40, 95, 0.85) 60%,
      rgba(8, 40, 95, 0.7) 100%
    );
  }

  .partner-logo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .floating-social-dock {
    right: 0.35rem;
    gap: 0.45rem;
    top: auto;
    bottom: 5.5rem;
    transform: none;
  }

  .float-btn {
    width: 34px;
    height: 34px;
    font-size: 0.7rem;
  }

  .floating-support-btn {
    bottom: 1rem;
    left: 0.75rem;
    width: 40px;
    height: 40px;
  }
}
