/* ==========================================================================
   Ollie Dental Clinic — LAYOUT
   Header, Navigation, Footer, Grids, Responsive Breakpoints
   ========================================================================== */

/* ---------- Header & Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: height var(--t), box-shadow var(--t);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--t);
  pointer-events: none;
}
.header.is-scrolled {
  height: 72px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.header.is-scrolled::before {
  background: rgba(10, 10, 12, 0.95);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ivory-50);
  text-decoration: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.brand__logo {
  height: 52px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}
.footer__brand .brand__logo {
  height: 100px;
  width: auto;
  max-width: 100%;
}
@media (max-width: 768px) {
  .brand__logo {
    height: 44px;
    width: auto;
  }
  .footer__brand .brand__logo {
    height: 80px;
  }
}

/* Nav Menu */
.nav {
  display: flex;
  align-items: center;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 0.35rem + 1.05vw, 1.85rem);
  list-style: none;
}
.nav__link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
  transition: color var(--t-fast);
}
@media (min-width: 861px) and (max-width: 1180px) {
  .nav__list {
    gap: clamp(0.55rem, 0.9vw, 1.1rem);
  }
  .nav__link {
    font-size: 0.82rem;
  }
}
.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-grad);
  border-radius: 2px;
  transition: width var(--t) var(--ease);
}
.nav__link:hover,
.nav__link.is-active {
  color: #ffffff;
}
.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}
.nav__cta-mobile { display: none; }

/* Nav Services Dropdown */
.nav__item--dropdown {
  position: relative;
}
.nav__link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav__link--dropdown .nav__chev {
  width: 12px;
  height: 12px;
  transition: transform var(--t-fast);
  color: var(--gold-400);
}
.nav__item--dropdown:hover .nav__link--dropdown .nav__chev,
.nav__item--dropdown.is-open .nav__link--dropdown .nav__chev {
  transform: rotate(180deg);
}
.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(580px, 94vw);
  background: rgba(18, 16, 14, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(207, 167, 75, 0.28);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.75), 0 0 30px rgba(207, 167, 75, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 1000;
}
.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown.is-open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav__dropdown-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.nav__dropdown-badge {
  display: none !important;
}
.nav__dropdown-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  list-style: none;
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.25rem;
  scrollbar-width: thin;
}
.nav__dropdown-menu::-webkit-scrollbar {
  width: 4px;
  height: 0px;
}
.nav__dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(207, 167, 75, 0.3);
  border-radius: 4px;
}
.nav__dropdown-btn {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ivory-100);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-fast);
}
.nav__dropdown-btn:hover {
  background: rgba(207, 167, 75, 0.12);
  border-color: rgba(207, 167, 75, 0.3);
  color: #ffffff;
  transform: translateX(3px);
}
.nav__dropdown-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(207, 167, 75, 0.12);
  display: grid;
  place-items: center;
  color: var(--gold-400);
  flex-shrink: 0;
}
.nav__dropdown-icon svg { width: 15px; height: 15px; }
.nav__dropdown-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav__dropdown-arrow {
  width: 12px;
  height: 12px;
  opacity: 0;
  color: var(--gold-400);
  transform: translateX(-4px);
  transition: all var(--t-fast);
}
.nav__dropdown-btn:hover .nav__dropdown-arrow {
  opacity: 1;
  transform: translateX(0);
}
.nav__dropdown-footer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
}
.nav__dropdown-all {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(207, 167, 75, 0.1);
  border: 1px solid rgba(207, 167, 75, 0.28);
  padding: 0.45rem 1rem;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: all var(--t-fast);
}
.nav__dropdown-all:hover {
  background: var(--gold-grad);
  color: var(--onyx-950);
  border-color: transparent;
  transform: translateX(3px);
  box-shadow: 0 4px 15px rgba(207, 167, 75, 0.35);
}
.nav__dropdown-all svg { width: 14px; height: 14px; }

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  z-index: 950;
  transition: background var(--t-fast);
}
.burger span {
  width: 100%;
  height: 2px;
  background: var(--ivory-100);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t-fast);
}
.burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-active span:nth-child(2) {
  opacity: 0;
}
.burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Language Switcher */
.lang {
  position: relative;
}
.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
  color: var(--ivory-50);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.lang__toggle svg {
  width: 15px;
  height: 15px;
}
.lang__toggle .lang__chev {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  transition: transform var(--t-fast);
}
.lang__toggle[aria-expanded="true"] .lang__chev {
  transform: rotate(180deg);
}
.lang__toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-400);
}
.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: var(--onyx-850);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.4rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 1000;
  list-style: none;
}
.lang.is-open .lang__menu { display: flex; animation: dropIn 0.25s var(--ease); }
.lang__opt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ivory-100);
  text-align: left;
  transition: background var(--t-fast), color var(--t-fast);
}
.lang__opt:hover,
.lang__opt.is-active {
  background: rgba(207, 167, 75, 0.14);
  color: var(--gold-300);
}
.lang__code {
  display: inline-block;
  padding: 0.15rem 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
}

/* ---------- Footer Layout ---------- */
.footer {
  background: var(--onyx-950);
  color: var(--ivory-200);
  padding-top: clamp(4rem, 2.5rem + 4vw, 7rem);
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 4rem;
}
.footer__cta h2 {
  font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem);
  color: var(--ivory-50);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.4fr;
  gap: clamp(2rem, 1.5rem + 2vw, 4rem);
  margin-bottom: 4rem;
}
.footer__brand .brand {
  margin-bottom: 1.2rem;
}
.footer__tagline {
  font-family: var(--font-brand);
  font-size: 0.95rem;
  color: var(--gold-400);
  margin-bottom: 0.8rem;
}
.footer__text {
  font-size: var(--fs-sm);
  color: var(--muted-dark);
  line-height: 1.6;
}
/* ---------- Social Media Links (Official Brands) ---------- */
.social-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff !important;
  transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
.social-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  display: block;
}
.social-btn:hover {
  transform: translateY(-3px) scale(1.08);
}
.social-btn--facebook {
  background: #1877F2;
  border: 1px solid #1877F2;
}
.social-btn--facebook:hover {
  background: #166fe5;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.6);
}
.social-btn--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.social-btn--instagram:hover {
  box-shadow: 0 6px 22px rgba(214, 36, 159, 0.65);
}
.social-btn--tiktok {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.social-btn--tiktok:hover {
  border-color: #25f4ee;
  box-shadow: -2px -2px 14px rgba(37, 244, 238, 0.6), 2px 2px 14px rgba(254, 44, 85, 0.6);
}
.footer__title,
.footer__head {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-300);
  margin-bottom: 1.4rem;
}
.footer__links,
.footer__list,
.footer__contact,
.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  padding: 0;
  margin: 0;
}
.hours-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1.4;
}
.hours-list .hours-day {
  color: var(--ivory-100);
  font-weight: 600;
  font-size: 0.88rem;
}
.hours-list .hours-time {
  color: var(--muted-dark);
  font-size: 0.82rem;
}
.footer__links a,
.footer__list a {
  color: var(--muted-dark);
  transition: color var(--t-fast), transform var(--t-fast);
  display: inline-block;
}
.footer__links a:hover,
.footer__list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}
.footer__address-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted-dark);
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer__address-link:hover {
  color: #ffffff;
  transform: translateX(4px);
  text-decoration: none;
}
.footer__address-link svg {
  width: 18px;
  height: 18px;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 3px;
  transition: transform var(--t-fast), color var(--t-fast);
}
.footer__address-link:hover svg {
  color: var(--gold-300);
  transform: scale(1.18);
}
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted-dark);
  line-height: 1.5;
}
.footer__contact svg {
  width: 18px;
  height: 18px;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer__contact a {
  color: var(--ivory-200);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--t-fast);
}
.footer__contact a:hover {
  color: var(--gold-300);
  text-decoration: underline;
}
.footer__contact-phones {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ivory-200);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color var(--t-fast), transform var(--t-fast);
  text-decoration: none;
}
.footer__phone-link:hover {
  color: var(--gold-300);
  transform: translateX(3px);
}
[dir="rtl"] .footer__phone-link:hover {
  transform: translateX(-3px);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--fs-xs);
  color: var(--muted);
  flex-wrap: wrap;
}
.footer__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--muted);
}
.footer__credits {
  font-size: var(--fs-xs);
  color: var(--muted);
}
.footer__credits-sep {
  opacity: 0.45;
  display: inline-block;
  margin: 0 0.15rem;
}
.footer__credits-link {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  cursor: pointer;
  transition: opacity var(--t-fast);
}
.footer__credits-link:hover {
  opacity: 0.8;
}
/* ---------- Footer Payment Badges ---------- */
.footer__payments {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.footer__payments-label {
  font-size: 0.72rem;
  color: var(--muted-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer__payments-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer__payments-icons svg {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
  display: block;
}
.footer__payments-icons svg:hover {
  transform: translateY(-2px) scale(1.12);
}
.footer__langs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__langs button {
  padding: 0.3rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--ivory-200);
  font-size: 0.75rem;
  font-weight: 700;
  transition: background var(--t-fast), color var(--t-fast);
}
.footer__langs button:hover,
.footer__langs button.is-active {
  background: var(--gold-400);
  color: var(--onyx-950);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 70px;
  }
  .header {
    height: 70px;
  }
  .header.is-scrolled {
    height: 64px;
  }
  .header__inner {
    gap: 0.75rem;
  }
  .brand {
    gap: 0.6rem;
  }
  .brand__mark {
    width: 32px;
    height: 38px;
  }
  .brand__name {
    font-size: 1.25rem;
  }
  .brand__sub {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }
  .header__actions {
    gap: 0.55rem;
  }
  .header__cta {
    display: none;
  }
  .burger {
    display: flex;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  /* Backdrop overlay on mobile: blurs page behind menu */
  .header.has-nav-open::after {
    content: "";
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 895;
    opacity: 0;
    animation: navBackdropFade 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: auto;
  }
  .header.is-scrolled.has-nav-open::after {
    top: 64px;
  }
  @keyframes navBackdropFade {
    to { opacity: 1; }
  }

  /* Compact Drawer Container — fits content, frosted glass, doesn't cover full screen */
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: auto;
    max-height: calc(85vh - 70px);
    max-height: calc(85dvh - 70px);
    background: rgba(13, 11, 10, 0.90);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1.5px solid rgba(207, 167, 75, 0.32);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(207, 167, 75, 0.12);
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.15rem var(--gutter) 1.45rem;
    gap: 0.85rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, visibility 0.32s ease;
    z-index: 899;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .header.is-scrolled ~ .nav,
  .header.is-scrolled .nav {
    top: 64px;
    max-height: calc(85vh - 64px);
    max-height: calc(85dvh - 64px);
  }

  /* Navigation Items List */
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.5rem;
    list-style: none;
  }
  .nav__list li {
    width: 100%;
  }

  /* Individual Link Cards — crystal clear against frosted background */
  .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1.15rem;
    background: rgba(26, 22, 19, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }
  .nav__link::after {
    display: none !important;
  }
  .nav__link:hover,
  .nav__link.is-active {
    background: rgba(207, 167, 75, 0.18);
    border-color: rgba(207, 167, 75, 0.45);
    color: var(--gold-200);
    transform: translateX(4px);
  }
  [dir="rtl"] .nav__link:hover,
  [dir="rtl"] .nav__link.is-active {
    transform: translateX(-4px);
  }
  .nav__link .nav__chev {
    width: 14px;
    height: 14px;
    color: var(--gold-400);
    transition: transform 0.3s ease;
  }
  .nav__item--dropdown.is-open .nav__chev {
    transform: rotate(180deg);
  }

  /* Mobile Services Accordion */
  .nav__item--dropdown {
    width: 100%;
  }
  .nav__link--dropdown {
    width: 100%;
    cursor: pointer;
  }
  .nav__dropdown {
    position: static;
    transform: none !important;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin-top: 0;
    border: none;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin 0.3s ease;
  }
  .nav__item--dropdown.is-open .nav__dropdown {
    max-height: 380px;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(207, 167, 75, 0.25);
    border-radius: 12px;
    background: rgba(18, 16, 14, 0.96);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow-y: auto;
  }
  .nav__dropdown-header {
    display: none;
  }
  .nav__dropdown-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .nav__dropdown-btn {
    padding: 0.65rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ivory-100);
    border-radius: 10px;
  }
  .nav__dropdown-btn:hover {
    color: var(--gold-200);
    background: rgba(207, 167, 75, 0.14);
  }
  .nav__dropdown-footer {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    justify-content: center;
  }
  .nav__dropdown-all {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1rem;
    color: var(--gold-300);
    font-weight: 600;
  }

  /* Mobile CTA */
  .nav__cta-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 0.35rem;
    border-radius: var(--r-pill);
    box-shadow: 0 10px 25px rgba(207, 167, 75, 0.35);
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer__cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
