@media (max-width: 1300px) {
  .header-inner {
    gap: 12px;
  }
  .primary-nav {
    gap: 12px;
  }
  .nav-link,
  .nav-trigger {
    font-size: 10px;
  }
  .header-actions {
    gap: 7px;
  }
  .header-actions .btn {
    display: none;
  }
  .brand {
    flex-basis: 100px;
    font-size: 13px;
  }
  .brand span:last-child {
    font-size: 10px;
  }
}
@media (max-width: 1300px) {
  .primary-nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
  }
  .mega-menu {
    display: none;
  }
}
@media (max-width: 1300px) {
  .mobile-nav {
    position: fixed;
    z-index: 32;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 24px 5vw max(28px, env(safe-area-inset-bottom));
    background: var(--navy);
    color: #fff;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.35s var(--ease),
      visibility 0.35s;
  }
  .mobile-nav.is-open {
    transform: none;
    visibility: visible;
  }
  .mobile-nav-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
  }
  .mobile-close {
    width: 46px;
    height: 46px;
    background: none;
    color: #fff;
    font-size: 28px;
  }
  .mobile-nav-scroll {
    overflow: auto;
    flex: 1;
  }
  .mobile-nav details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .mobile-nav summary {
    display: flex;
    justify-content: space-between;
    padding: 17px 0;
    list-style: none;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav summary span {
    color: var(--gold-light);
    transition: transform 0.25s;
  }
  .mobile-nav details[open] summary {
    color: var(--gold-light);
  }
  .mobile-nav details[open] summary span {
    transform: rotate(45deg);
  }
  .mobile-nav details a {
    display: block;
    padding: 10px 0 10px 13px;
    color: #b5bec9;
    font-size: 13px;
  }
  .mobile-nav .btn {
    margin-top: 14px;
  }
  .mobile-nav .mobile-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 20px;
  }
  .mobile-nav .mobile-quicklinks a {
    flex: 1 1 28%;
    padding: 12px 8px;
    border: 1px solid rgba(255, 255, 255, 0.19);
    text-align: center;
    font-size: 11px;
  }
  .mobile-bottom {
    margin-top: 10px;
    font-size: 12px;
    color: #bbc3cd;
  }
  .mobile-bottom a {
    padding: 10px 0;
  }
}
@media (max-width: 820px) {
  html,
  body {
    overflow-x: clip;
  }
  .container {
    width: min(100% - 38px, var(--container));
  }
  .section {
    padding: 82px 0;
  }
  .header-inner {
    height: 76px;
  }
  .is-scrolled .header-inner {
    height: 68px;
  }
  .primary-nav,
  .header-actions > .btn {
    display: none !important;
  }
  .header-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
  }
  .mega-menu {
    display: none;
  }
  .brand {
    flex: initial;
    font-size: 15px;
  }
  .brand span:last-child {
    font-size: 12px;
  }
  .mobile-nav {
    position: fixed;
    z-index: 32;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 20px 22px max(30px, env(safe-area-inset-bottom));
    background: var(--navy);
    color: #fff;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.35s var(--ease),
      visibility 0.35s;
  }
  .mobile-nav.is-open {
    transform: none;
    visibility: visible;
  }
  .mobile-nav-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
  }
  .mobile-close {
    width: 46px;
    height: 46px;
    background: none;
    color: #fff;
    font-size: 28px;
  }
  .mobile-nav-scroll {
    overflow: auto;
    flex: 1;
  }
  .mobile-nav details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .mobile-nav summary {
    display: flex;
    justify-content: space-between;
    padding: 17px 0;
    list-style: none;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav summary span {
    color: var(--gold-light);
    transition: transform 0.25s;
  }
  .mobile-nav details[open] summary {
    color: var(--gold-light);
  }
  .mobile-nav details[open] summary span {
    transform: rotate(45deg);
  }
  .mobile-nav details a {
    display: block;
    padding: 10px 0 10px 13px;
    color: #b5bec9;
    font-size: 13px;
  }
  .mobile-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 20px;
  }
  .mobile-quicklinks a {
    flex: 1 1 28%;
    padding: 12px 8px;
    border: 1px solid rgba(255, 255, 255, 0.19);
    text-align: center;
    font-size: 11px;
  }
  .mobile-nav .btn {
    margin-top: 14px;
  }
  .mobile-bottom {
    margin-top: 10px;
    font-size: 12px;
    color: #bbc3cd;
  }
  .mobile-bottom a {
    padding: 10px 0;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }
  .section {
    padding: 68px 0;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .section-heading h2 {
    font-size: 36px;
  }
  .section-heading p {
    font-size: 13px;
  }
  .modal-card {
    padding: 34px 24px 26px;
  }
  .modal-card h2 {
    font-size: 31px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 27px 19px;
    padding-bottom: 35px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
  .legal-links {
    gap: 8px 16px;
  }
  .search-panel {
    padding-top: 17vh;
  }
  .search-close {
    right: 16px;
    top: 14px;
  }
}
@media (max-width: 430px) {
  .header-inner {
    gap: 8px;
  }
  .brand {
    font-size: 14px;
  }
  .brand span:last-child {
    font-size: 11px;
  }
  .header-actions {
    gap: 6px;
  }
  .search-toggle,
  .menu-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
  .inner-hero-copy h1 {
    font-size: clamp(33px, 9.3vw, 40px);
  }
  .breadcrumbs {
    max-width: 100%;
    line-height: 1.5;
  }
  .inner-hero-actions .btn {
    white-space: normal;
  }
}
@media (max-height: 720px) {
  .modal-card {
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
