@font-face {
  font-family: "SF Pro Text";
  src: url("/assets-2/fonts/SF-Pro-Text-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/assets-2/fonts/SF-Pro-Text-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/assets-2/fonts/SF-Pro-Text-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@media (max-width: 991.98px) {
  .drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
  }

  .navbar-toggler {
    order: 0;
    margin-right: 0.75rem;
  }

  .navbar-toggler .icon-menu {
    display: block !important;
  }

  .navbar-toggler .icon-close {
    display: none !important;
  }

  .navbar-toggler[aria-expanded="true"] {
    order: 0 !important;
    margin-left: 0 !important;
    margin-right: 0.75rem !important;
  }

  .navbar-toggler[aria-expanded="true"] .icon-close {
    display: none;
  }

  .header .head-mob-cta {
    display: none;
  }

  #navbarNavDropdown {
    background: #fff;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.15s ease-out;
  }

  #navbarNavDropdown.show {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1050;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 20px 80px;
    overflow-y: auto;
    opacity: 1;
    transform: translateY(0);
  }

  #navbarNavDropdown.collapsing {
    height: 100vh !important;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease-in;
  }

  .drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    padding: 0;
    z-index: 1101;
  }

  .drawer-close .icon {
    width: 28px;
    height: 28px;
    fill: #b31b19;
    stroke: #b31b19;
  }

  .mobile-nav a {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid #ececec;
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 22px;
    color: #2b2b2b !important;
    text-align: left;
  }

  .mobile-nav li:last-child > a {
    border-bottom: none;
  }

  .mobile-nav .current > a {
    color: #800c0b !important;
  }

  .mobile-parent {
    position: relative;
  }

  .mobile-parent-toggle .chevron::before {
    content: "▼";
    font-size: 0.8rem;
    transition: transform 0.25s;
  }

  .mobile-parent.is-open .mobile-parent-toggle .chevron::before {
    content: "▲";
  }

  .mobile-sub {
    max-height: 0;
    overflow: hidden;
    padding-left: 1rem;
    transition: max-height 0.3s ease;
  }

  .mobile-parent.is-open + .mobile-sub {
    max-height: 800px;
  }

  .mobile-nav-logo img {
    height: 28px;
    width: auto;
  }

  .mobile-cta {
    margin-top: 50px;
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0 2rem;
    border: none !important;
  }

  .mobile-cta .btn {
    box-sizing: border-box;
    flex: 0 0 calc(50% - 0.25rem);
    min-width: 0;
    padding: 0.45rem 1rem;
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
  }

  .mobile-cta .btn.btn-outline-primary {
    border: 2px solid #800c0b;
    color: #800c0b;
    padding: 0.35rem 0.2rem;
  }

  .mobile-cta .btn.btn-outline-primary:hover {
    background: #800c0b;
    color: #fff;
  }

  .mobile-cta .btn.btn-primary {
    background: #800c0b;
    border: 2px solid #800c0b;
  }

  .mobile-cta .btn.btn-primary:hover {
    background: #64100f;
    border-color: #64100f;
  }
}

@media (min-width: 992px) {
  .mobile-cta {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #navbarNavDropdown {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
