/*
 * Responsive Breakpoints Engine
 * Tested viewports: 360px, 375px, 390px, 414px, 768px, 1024px, 1366px, 1920px
 */

@media (min-width: 1600px) {
  :root {
    --uh-max-width: 1360px;
  }
}

@media (max-width: 1366px) {
  .uh-container {
    max-width: 1200px;
  }
  .uh-section {
    padding: 72px 0;
  }
}

@media (max-width: 1024px) {
  .uh-nav-list {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--uh-bg-secondary);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    border-bottom: 2px solid var(--uh-yellow);
    box-shadow: var(--uh-shadow-card);
  }
  .uh-nav-list.is-open {
    display: flex;
  }
  .uh-dropdown {
    position: static;
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 0 8px 16px;
  }
  .uh-hamburger {
    display: inline-flex;
  }
  .uh-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .uh-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .uh-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .uh-section {
    padding: 56px 0;
  }
  .uh-grid-2,
  .uh-grid-3,
  .uh-grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .uh-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .uh-footer-grid {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 32px !important;
  }
  h2 {
    font-size: 26px !important;
  }
  .uh-header-actions .uh-btn--outline {
    display: none;
  }
}

@media (max-width: 414px) {
  .uh-container {
    padding: 0 16px;
  }
  .uh-card {
    padding: 20px;
  }
  .uh-btn {
    width: 100%;
    padding: 13px 18px;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 28px !important;
  }
  h2 {
    font-size: 23px !important;
  }
  .uh-grid-6 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 375px) {
  .uh-brand span {
    font-size: 16px;
  }
  .uh-faq-question {
    font-size: 15.5px;
    padding: 16px;
  }
}

@media (max-width: 360px) {
  .uh-container {
    padding: 0 12px;
  }
  body {
    font-size: 15px;
  }
}
