/* Main header with mega menus (Oct 2026), modelled on the RejuvStem header: a thin strip with the
   free consultation, the phone and the language switch; then the sticky navy bar with the logo,
   the menu and the call buttons. Practice Areas and Areas We Serve open full-width panels.
   Markup made by _dev/build.js (megaHeader) from _dev/mega-menu.json; behaviour in mega-header.js. */
.mh-announce, .mh-header { --mh-navy: #1d2939; --mh-deep: #141d29; --mh-gold: #d2a643; --mh-gold-dark: #a9822c; --mh-cream: #f7f2e6; --mh-sand: #efe7d4; --mh-line: #ece6d8; --mh-text: #1d2939; --mh-muted: #6b7380;
  font-family: "Myriad Pro REG", sans-serif; }
.mh-header *, .mh-announce * { box-sizing: border-box; }
.mh-header a, .mh-announce a { text-decoration: none; }
.mh-header ul { list-style: none; margin: 0; padding: 0; }
.mh-header li { margin: 0; padding: 0; }
.mh-header .mh-mega__list > li { display: flex; }
.mh-header ul.mh-mega__list { margin-top: 14px; }
.mh-header ul.mh-chips { margin-top: 18px; }
.mh-header .mh-mega__list > li > a { flex: 1; min-width: 0; }

/* Strip above the bar */
.mh-announce { background: var(--mh-deep); color: #fff; }
.mh-announce__in { max-width: 1440px; margin: 0 auto; padding: 8px clamp(16px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; font-size: 14px; letter-spacing: .4px; text-align: center; line-height: 1.3; }
.mh-announce__tag { color: var(--mh-gold); font-family: "Myriad Pro Semibold", sans-serif; letter-spacing: 2px; text-transform: uppercase; font-size: 12.5px; }
.mh-announce a.mh-announce__tel { color: var(--mh-gold); font-family: "Myriad Pro Semibold", sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.mh-announce a.mh-announce__tel:hover { color: #fff; }
.mh-header a.mh-lang, .mh-announce a.mh-lang { display: inline-flex; align-items: center; gap: 6px; }
.mh-lang img { width: 18px; height: auto; border-radius: 2px; display: block; }
.mh-announce a.mh-lang { font-family: "Myriad Pro Semibold", sans-serif; letter-spacing: 1px; font-size: 12.5px; color: #d8dde5; border: 1px solid rgba(255,255,255,.28); border-radius: 20px; padding: 3px 12px; }
.mh-announce a.mh-lang:hover, .mh-announce a.mh-lang:focus-visible { color: #fff; border-color: var(--mh-gold); }

/* The bar: stays at the top while the page scrolls */
.mh-header { position: sticky; top: 0; z-index: 1000; background: var(--mh-navy); box-shadow: 0 2px 14px rgba(0,0,0,.18); }
.mh-header__in { max-width: 1440px; margin: 0 auto; padding: 10px clamp(16px, 3vw, 40px); min-height: 88px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px clamp(16px, 2.5vw, 40px); }
.mh-header a.mh-logo { display: block; flex: none; line-height: 0; }
/* The logo at the size the original header gave it (400px, Norman, 23 Oct 2026), so its words read */
.mh-header .mh-logo img { width: 400px; max-width: 100%; height: auto; display: block; }
.mh-nav { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: nowrap; justify-content: center; gap: 0 clamp(14px, 1.8vw, 36px); align-items: center; white-space: nowrap; }
.mh-drawer__head, .mh-drawer__foot, .mh-shade { display: none; }
.mh-nav__item { position: static; }   /* the mega panels take the full width of the bar */
.mh-nav__item--drop { position: relative; }
.mh-header .mh-nav__btn, .mh-header a.mh-nav__link { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 6px; font-family: "Myriad Pro Semibold", sans-serif; font-size: 16px; color: #fff; padding: 32px 0 30px; border-bottom: 2px solid transparent; }
.mh-header .mh-nav__btn:hover, .mh-header a.mh-nav__link:hover { color: var(--mh-gold); background: none; }
.mh-header .mh-nav__btn:focus-visible, .mh-header a.mh-nav__link:focus-visible { outline: 2px solid var(--mh-gold); outline-offset: 2px; }
.mh-header a.mh-nav__link[aria-current="page"] { color: var(--mh-gold); }
.mh-nav__btn svg { transition: transform .2s; }
.mh-nav__item.is-open > .mh-nav__btn { color: var(--mh-gold); border-bottom-color: var(--mh-gold); }
.mh-nav__item.is-open > .mh-nav__btn svg { transform: rotate(180deg); }

/* Small drop-down (Our Company) */
.mh-drop { display: none; position: absolute; top: 100%; left: -16px; min-width: 280px; background: #fff; border-top: 2px solid var(--mh-gold); border-radius: 0 0 14px 14px; box-shadow: 0 24px 50px rgba(20,29,41,.22); padding: 10px; flex-direction: column; gap: 2px; white-space: normal; z-index: 2; }
.mh-nav__item.is-open > .mh-drop { display: flex; }
.mh-header .mh-drop a { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 10px; }
.mh-header .mh-drop a:hover, .mh-header .mh-drop a:focus-visible { background: var(--mh-cream); }
.mh-drop__t { font-family: "Myriad Pro Semibold", sans-serif; font-size: 16px; color: var(--mh-text); }
.mh-drop__d { font-size: 13.5px; color: var(--mh-muted); }

/* Call buttons: the number over the gold button */
.mh-cta { display: flex; flex-direction: column; align-items: stretch; gap: 6px; flex: none; white-space: nowrap; }
.mh-header a.mh-phone { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 2px 0; font-family: "Myriad Pro Semibold", sans-serif; font-size: 17px; letter-spacing: .4px; color: var(--mh-gold); }
.mh-header a.mh-phone:hover { color: #fff; }
.mh-phone__label { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: #c3cad4; }
.mh-header a.mh-book { text-align: center; background: var(--mh-gold); color: var(--mh-navy); font-family: "Myriad Pro Semibold", sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; padding: 11px 20px; border-radius: 40px; }
.mh-header a.mh-book:hover, .mh-header a.mh-book:focus-visible { background: #fff; color: var(--mh-navy); }
.mh-header .mh-burger { all: unset; box-sizing: border-box; display: none; cursor: pointer; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; color: var(--mh-navy); background: var(--mh-gold); }
.mh-header .mh-burger:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Mega menus: full-width white panels under the bar */
.mh-mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 2px solid var(--mh-gold); box-shadow: 0 30px 60px rgba(20,29,41,.25); white-space: normal; max-height: calc(100vh - 140px); overflow-y: auto; }
.mh-mega.is-open { display: block; }
.mh-mega__grid { max-width: 1440px; margin: 0 auto; padding: 28px clamp(16px, 3vw, 40px); display: grid; grid-template-columns: 250px minmax(0,1fr) 400px; gap: clamp(16px, 2.4vw, 32px); }
.mh-mega--a .mh-mega__grid { max-width: 1240px; padding: 30px clamp(16px, 4vw, 48px); grid-template-columns: 260px minmax(0,1fr) 300px; }
.mh-mega__cats { display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--mh-line); padding-right: 22px; }
.mh-mega__label { font-family: "Myriad Pro Semibold", sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #9aa1ab; margin-bottom: 8px; }
.mh-header .mh-mega__cat { all: unset; box-sizing: border-box; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 10px; border-left: 3px solid transparent; font-family: "Myriad Pro Semibold", sans-serif; font-size: 16px; color: var(--mh-text); }
.mh-header .mh-mega__cat:focus-visible { outline: 2px solid var(--mh-gold); outline-offset: 1px; }
.mh-mega__cat small { display: block; font-family: "Myriad Pro REG", sans-serif; font-size: 13px; color: var(--mh-muted); margin-top: 2px; }
.mh-mega__cat .mh-arr { color: var(--mh-gold); }
.mh-header .mh-mega__cat.is-active, .mh-header .mh-mega__cat:hover, .mh-header .mh-mega__cat:focus { background: var(--mh-cream); border-left-color: var(--mh-gold); color: var(--mh-text); }
/* The theme colours every button on hover and focus; these keep their own colours. */
.mh-header .mh-nav__btn:hover, .mh-header .mh-nav__btn:focus { background: none; }
.mh-header .mh-burger:hover, .mh-header .mh-burger:focus { background: var(--mh-gold); color: var(--mh-navy); }
.mh-header a.mh-mega__all { margin-top: auto; padding: 14px 14px 0; font-family: "Myriad Pro Semibold", sans-serif; font-size: 15px; color: var(--mh-gold-dark); }
.mh-header a.mh-mega__all:hover { color: var(--mh-navy); }
.mh-mega__panel { display: none; flex-direction: column; min-width: 0; }
.mh-mega__panel.is-active { display: flex; }
.mh-mega__tag { font-family: "Myriad Pro Semibold", sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--mh-gold-dark); }
.mh-mega__title { margin-top: 4px; font-family: "Trajan Pro 3 Bold", serif; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; color: var(--mh-navy); }
.mh-mega__list { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; border-top: 1px solid var(--mh-line); }
.mh-header a.mh-mega__item { display: grid; grid-template-columns: 34px minmax(0,1fr) 18px; align-items: center; gap: 10px; padding: 13px 10px; border-bottom: 1px solid var(--mh-line); border-radius: 8px; transition: background .2s; }
.mh-header a.mh-mega__item:hover, .mh-header a.mh-mega__item.is-active, .mh-header a.mh-mega__item:focus-visible { background: var(--mh-cream); }
.mh-mega__num { font-family: "Trajan Pro 3 Bold", serif; font-size: 17px; color: var(--mh-gold); }
.mh-mega__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mh-mega__name b { font-family: "Myriad Pro Semibold", sans-serif; font-weight: 400; font-size: 16px; color: var(--mh-text); }
.mh-mega__name span { font-size: 13.5px; color: var(--mh-muted); }
.mh-mega__arrow { color: #d9d4c7; font-size: 18px; transition: color .2s; }
.mh-mega__item:hover .mh-mega__arrow, .mh-mega__item.is-active .mh-mega__arrow { color: var(--mh-gold); }

/* Preview card beside the list */
.mh-feat { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--mh-navy); color: #fff; }
.mh-feat__img { position: relative; aspect-ratio: 16/10; background: var(--mh-deep); }
.mh-feat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mh-feat__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,41,57,0) 40%, rgba(29,41,57,.9)); }
.mh-feat__name { position: absolute; left: 18px; bottom: 14px; right: 18px; z-index: 1; font-family: "Trajan Pro 3 Bold", serif; font-size: 22px; line-height: 1.15; }
.mh-feat__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.mh-feat__text { font-size: 15px; line-height: 1.55; color: #d8dde5; }
.mh-feat__btns { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.mh-header .mh-feat__btns a { font-family: "Myriad Pro Semibold", sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; padding: 10px 16px; border-radius: 30px; }
.mh-header a.mh-pill--gold { background: var(--mh-gold); color: var(--mh-navy); }
.mh-header a.mh-pill--gold:hover { background: #fff; color: var(--mh-navy); }
.mh-header a.mh-pill--ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.mh-header a.mh-pill--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }

/* Areas We Serve: city chips and a courthouse card */
.mh-area__text { margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: #4b5563; max-width: 560px; }
.mh-chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 10px; }
.mh-header a.mh-chip { display: inline-block; line-height: 1.2; white-space: nowrap; padding: 9px 16px; border-radius: 30px; border: 1px solid #e3d9bf; font-family: "Myriad Pro Semibold", sans-serif; font-size: 14.5px; color: var(--mh-text); }
.mh-header a.mh-chip:hover, .mh-header a.mh-chip:focus-visible, .mh-header a.mh-chip[aria-current="page"] { background: var(--mh-navy); border-color: var(--mh-navy); color: #fff; }
.mh-header .mh-drop a[aria-current="page"] .mh-drop__t, .mh-header a.mh-mega__item[aria-current="page"] b { color: var(--mh-gold-dark); }
.mh-header a.mh-area__all { display: inline-block; margin-top: 20px; font-family: "Myriad Pro Semibold", sans-serif; font-size: 15px; color: var(--mh-gold-dark); }
.mh-area__card { position: relative; border-radius: 16px; overflow: hidden; background: var(--mh-navy); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; }
.mh-area__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mh-area__card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(29,41,57,0) 15%, rgba(29,41,57,.95) 75%); }
.mh-area__card-body { position: relative; z-index: 2; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.mh-area__card-tag { font-family: "Myriad Pro Semibold", sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--mh-gold); }
.mh-area__card-title { font-family: "Trajan Pro 3 Bold", serif; font-size: 20px; line-height: 1.2; }
.mh-area__card-text { font-size: 14px; color: #d8dde5; line-height: 1.5; }

/* Trust strip along the bottom of the panels */
.mh-mega__bar { background: var(--mh-sand); }
.mh-mega__bar-in { max-width: 1440px; margin: 0 auto; padding: 12px clamp(16px, 3vw, 40px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; font-family: "Myriad Pro Semibold", sans-serif; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #5b6472; }
.mh-mega__bar-in > div { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.mh-header .mh-mega__bar a { color: var(--mh-navy); letter-spacing: .5px; }
.mh-header .mh-mega__bar a:hover { color: var(--mh-gold-dark); }

/* The office sidebar stays clear of the bar (it was placed under the old 160px header) */
@media (min-width: 1025px) { .tdc-sidebar { top: 128px !important; max-height: calc(100vh - 148px) !important; } }

@media (max-width: 1440px) {
  .mh-header .mh-logo img { width: 340px; }
}
@media (max-width: 1366px) {
  /* laptops: the Spanish menu (longer words) and the logo share one line */
  .mh-header .mh-logo img { width: 300px; }
  .mh-nav { gap: 0 14px; }
  .mh-header .mh-nav__btn, .mh-header a.mh-nav__link { font-size: 15px; }
}
@media (max-width: 1279px) {
  .mh-header .mh-logo img { width: 330px; }
  .mh-nav { flex: 1 1 100%; order: 3; flex-wrap: wrap; }
  .mh-header .mh-nav__btn, .mh-header a.mh-nav__link { padding: 10px 0 12px; }
  .mh-cta { flex-direction: row; align-items: center; gap: 18px; }
  .mh-mega__list { grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 1025px) { .tdc-sidebar { top: 144px !important; max-height: calc(100vh - 164px) !important; } }
}
@media (max-width: 1100px) {
  .mh-mega__grid { grid-template-columns: minmax(180px, 220px) minmax(0, 1fr); }
  .mh-mega--a .mh-mega__grid { grid-template-columns: minmax(190px, 240px) minmax(0, 1fr); }
  .mh-feat, .mh-area__card { display: none; }
}
@media (max-width: 1100px) {
  .mh-announce__text { display: none; }
}
@media (max-width: 1024px) {
  .mh-header .mh-burger { display: inline-flex; }
  /* Tablets: logo, number, button and menu button on one line */
  .mh-header__in { flex-wrap: nowrap; }
  .mh-header .mh-logo img { width: 270px; }
  .mh-cta { gap: 12px; }
  .mh-phone__label { display: none; }
  /* The menu is a drawer from the right, over a shade (Norman, 23 Oct 2026) */
  .mh-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1002; width: min(400px, 88vw); display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; white-space: normal; gap: 0;
    background: var(--mh-navy); box-shadow: -18px 0 40px rgba(0,0,0,.35); overflow-y: auto; overscroll-behavior: contain;
    padding: 0 20px calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; }
  .mh-header.is-menu .mh-nav { transform: none; visibility: visible; transition: transform .28s ease; }
  .mh-shade { display: block; position: fixed; inset: 0; z-index: 1001; background: rgba(10,15,22,.55); opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s linear .28s; }
  .mh-header.is-menu .mh-shade { opacity: 1; visibility: visible; transition: opacity .28s ease; }
  html.mh-locked { overflow: hidden; }
  .mh-drawer__head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; background: var(--mh-navy);
    padding: calc(14px + env(safe-area-inset-top, 0px)) 0 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .mh-drawer__title { font-family: "Trajan Pro 3 Bold", serif; font-size: 18px; letter-spacing: .04em; color: var(--mh-gold); }
  .mh-header .mh-close { all: unset; box-sizing: border-box; cursor: pointer; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: #fff; }
  .mh-header .mh-close:hover, .mh-header .mh-close:focus-visible { background: rgba(255,255,255,.1); color: var(--mh-gold); }
  .mh-header .mh-close:focus-visible { outline: 2px solid var(--mh-gold); outline-offset: 2px; }
  .mh-drawer__foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 22px; }
  .mh-header a.mh-drawer__tel, .mh-header a.mh-drawer__book { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 40px; font-family: "Myriad Pro Semibold", sans-serif; font-size: 16px; }
  .mh-header a.mh-drawer__tel { border: 1px solid var(--mh-gold); color: var(--mh-gold); }
  .mh-header a.mh-drawer__book { background: var(--mh-gold); color: var(--mh-navy); text-transform: uppercase; font-size: 14.5px; letter-spacing: .5px; }
  .mh-header a.mh-drawer__tel:hover { background: rgba(210,166,67,.12); }
  .mh-header a.mh-drawer__book:hover { background: #fff; }
  .mh-header .mh-drawer__foot a.mh-lang { align-self: center; color: #d8dde5; font-family: "Myriad Pro Semibold", sans-serif; font-size: 14px; letter-spacing: 1px; border: 1px solid rgba(255,255,255,.28); border-radius: 20px; padding: 6px 14px; }
  .mh-header .mh-nav__btn, .mh-header a.mh-nav__link { width: 100%; justify-content: space-between; padding: 15px 2px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 17px; }
  .mh-nav__item.is-open > .mh-nav__btn { border-bottom-color: rgba(255,255,255,.12); }
  .mh-drop { position: static; box-shadow: none; border-top: 0; border-radius: 10px; min-width: 0; margin: 8px 0 10px; padding: 6px; }
  .mh-mega { position: static; box-shadow: none; border-top: 0; border-radius: 10px; margin: 8px 0 10px; max-height: none; overflow: visible; }
  .mh-nav__item .mh-mega { display: none; }
  .mh-nav__item.is-open .mh-mega { display: block; }
  .mh-mega__grid, .mh-mega--a .mh-mega__grid { grid-template-columns: minmax(0, 1fr); padding: 10px; gap: 10px; }
  .mh-mega__cats { border-right: 0; padding-right: 0; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .mh-mega__cats .mh-mega__label { flex: 1 1 100%; margin-bottom: 0; }
  .mh-header .mh-mega__cat { padding: 8px 12px; border-left: 0; border: 1px solid var(--mh-line); font-size: 14.5px; }
  .mh-mega__cat small, .mh-mega__cat .mh-arr { display: none; }
  .mh-header a.mh-mega__all { flex: 1 1 100%; margin-top: 4px; padding: 6px 4px 0; }
  .mh-mega__title { font-size: 20px; }
  .mh-mega__list { grid-template-columns: minmax(0, 1fr); }
  .mh-mega__bar { display: none; }
}
@media (max-width: 767px) {
  .mh-announce__in { font-size: 13px; gap: 4px 12px; padding: 7px 16px; }
  .mh-announce__text { display: none; }
  .mh-header__in { min-height: 72px; padding: 10px 16px; }
  .mh-header .mh-logo img { width: 220px; }
  .mh-cta { flex-direction: row; align-items: center; gap: 8px; }
  .mh-phone__num, .mh-phone__label, .mh-header a.mh-book { display: none; }
  .mh-header a.mh-phone { width: 44px; height: 44px; justify-content: center; border-radius: 10px; border: 1px solid rgba(210,166,67,.6); }
  .mh-header a.mh-mega__item { grid-template-columns: 28px minmax(0,1fr) 14px; padding: 11px 6px; }
  .mh-mega__name span { display: none; }
}
@media (max-width: 480px) {
  /* phones: the strip's three parts (and the flag) on one line */
  .mh-announce__in { gap: 4px 10px; padding-left: 10px; padding-right: 10px; }
  .mh-announce__tag { font-size: 11px; letter-spacing: 1px; }
  .mh-announce a.mh-lang { padding: 2px 9px; letter-spacing: .5px; }
}
@media (max-width: 380px) {
  .mh-header .mh-logo img { width: 185px; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-nav__btn svg, .mh-mega__item, .mh-mega__arrow, .mh-nav, .mh-shade { transition: none !important; }
}
