/* =====================================================================
   PUBLIC SITE: ONE TOP MENU (Oct 2026)
   The public pages used the same left sidebar as the agent app. Visitors
   expect a website to have its menu across the top, so this replaces it:
   brand on the left, the handful of things people come for in the middle,
   English/Español and "Book a Free Consultation" on the right. On a phone
   it becomes one tidy bar with a menu that drops down over the page.
   The old sidebar stays in each page's HTML (the menu is built from it),
   it is simply never shown.
   ===================================================================== */
.sidebar, .sidebar-backdrop, .mobile-topbar{ display:none !important; }
.page, .page.collapsed{ margin-left:0 !important; }

.olt{ position:sticky; top:0; z-index:200; background:#10283C; border-bottom:1px solid rgba(255,255,255,.08);
  font-family:'IBM Plex Sans', system-ui, sans-serif; transition:box-shadow .25s ease, background .25s ease; }
.olt.scrolled{ box-shadow:0 10px 30px -18px rgba(5,15,25,.8); background:rgba(16,40,60,.97); backdrop-filter:saturate(1.4) blur(8px); -webkit-backdrop-filter:saturate(1.4) blur(8px); }
.olt-in{ max-width:1240px; margin:0 auto; padding:0 32px; height:72px; display:flex; align-items:center; gap:28px; }
.olt-brand{ display:inline-flex; align-items:center; gap:10px; color:#fff; text-decoration:none; flex:0 1 auto; min-width:0; max-width:320px; }
.olt-brand img{ width:34px; height:34px; border-radius:8px; flex:0 0 auto; object-fit:contain; }
.olt-brand span{ font:600 18px/1.15 'IBM Plex Sans', system-ui, sans-serif; letter-spacing:-.01em; min-width:0; overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.olt-nav{ display:flex; align-items:center; gap:4px; flex:1 1 auto; min-width:0; }
.olt-nav > *{ flex:0 0 auto; }
.olt-link, .olt-drop > button{ position:relative; display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 14px; border-radius:10px;
  color:#C9D6E2; font:500 15px 'IBM Plex Sans', system-ui, sans-serif; text-decoration:none; background:none; border:0; cursor:pointer; white-space:nowrap;
  transition:color .2s ease, background .2s ease; }
.olt-link:hover, .olt-drop > button:hover, .olt-drop.open > button{ color:#fff; background:rgba(255,255,255,.07); }
.olt-link.on, .olt-drop.on > button{ color:#fff; }
.olt-link.on::after, .olt-drop.on > button::after{ content:''; position:absolute; left:14px; right:14px; bottom:4px; height:2px; border-radius:2px; background:#C79A45; }
.olt-drop{ position:relative; }
.olt-drop > button svg{ width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2.2; transition:transform .2s ease; }
.olt-drop.open > button svg{ transform:rotate(180deg); }
.olt-menu{ position:absolute; top:calc(100% + 10px); left:0; min-width:300px; background:#fff; border-radius:14px; padding:8px;
  box-shadow:0 24px 50px -20px rgba(5,15,25,.55), 0 2px 6px rgba(5,15,25,.12); opacity:0; transform:translateY(-6px); pointer-events:none;
  transition:opacity .18s ease, transform .18s ease; }
.olt-drop.open .olt-menu{ opacity:1; transform:none; pointer-events:auto; }
/* an invisible bridge over the 10px gap, so the mouse can travel from the word down into the menu */
.olt-menu::before{ content:''; position:absolute; left:0; right:0; top:-14px; height:14px; }
.olt-drop.right .olt-menu{ left:auto; right:0; }
.olt-menu a{ display:block; padding:11px 14px; border-radius:10px; text-decoration:none; color:#14202B; }
.olt-menu a:hover, .olt-menu a:focus-visible{ background:#F1F4F7; outline:none; }
.olt-menu a.on{ background:#F6EEDC; }
.olt-menu b{ display:block; font:600 15px 'IBM Plex Sans', system-ui, sans-serif; }
.olt-menu small{ display:block; font:400 13px/1.45 'IBM Plex Sans', system-ui, sans-serif; color:#5A6773; margin-top:2px; }
.olt-right{ display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.olt-lang .lang-switch{ display:inline-flex; gap:2px; padding:3px; border-radius:10px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); margin:0 !important; }
.olt-lang .lang-btn{ min-height:32px; padding:0 10px !important; border-radius:8px; border:0 !important; background:transparent !important; color:#A9BBCB !important;
  font:600 12.5px 'IBM Plex Sans', system-ui, sans-serif !important; cursor:pointer; width:auto !important; margin:0 !important; box-shadow:none !important; }
.olt-lang .lang-btn.on, .olt-lang .lang-btn.active, .olt-lang .lang-btn[aria-pressed="true"]{ background:rgba(255,255,255,.14) !important; color:#fff !important; }
.olt-cta{ display:inline-flex; align-items:center; min-height:44px; padding:0 18px; border-radius:10px; background:#C79A45; color:#14100A !important;
  font:600 15px 'IBM Plex Sans', system-ui, sans-serif; text-decoration:none; white-space:nowrap; box-shadow:0 10px 24px -14px rgba(199,154,69,.9);
  transition:background .2s ease, transform .2s ease; }
.olt-cta:hover{ background:#D9AE5C; transform:translateY(-1px); }
.olt-ls{ display:none; }
.olt-burger{ display:none; width:44px; height:44px; border-radius:10px; border:1px solid rgba(255,255,255,.18); background:transparent; cursor:pointer; padding:0; flex:0 0 auto; }
.olt-burger span{ display:block; width:20px; height:2px; background:#fff; margin:4px auto; border-radius:2px; transition:transform .25s ease, opacity .2s ease; }
.olt.sheet-open .olt-burger span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.olt.sheet-open .olt-burger span:nth-child(2){ opacity:0; }
.olt.sheet-open .olt-burger span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }
.olt-sheet{ display:none; }
.olt-link:focus-visible, .olt-drop > button:focus-visible, .olt-cta:focus-visible, .olt-burger:focus-visible{ outline:2px solid #C79A45; outline-offset:2px; }

/* narrower desktops: drop the secondary words first */
@media (max-width:1280px){
  .olt-in{ gap:18px; padding:0 24px; }
  .olt-link, .olt-drop > button{ padding:0 10px; font-size:14.5px; }
  .olt-link.on::after, .olt-drop.on > button::after{ left:10px; right:10px; }
}

/* ---------------- phone and tablet ---------------- */
@media (max-width:1099px){
  .olt-in{ height:62px; padding:0 16px; gap:10px; }
  .olt-nav, .olt-lang{ display:none; }
  .olt-right{ margin-left:auto; gap:8px; }
  .olt-cta{ min-height:40px; padding:0 14px; font-size:14px; }
  .olt-burger{ display:block; }
  .olt-right .olt-cta .olt-lf{ display:none; } .olt-right .olt-cta .olt-ls{ display:inline; }
  .olt-sheet{ display:block; position:fixed; left:0; right:0; top:62px; bottom:0; background:#10283C; overflow-y:auto; padding:10px 16px 40px;
    opacity:0; transform:translateY(-10px); pointer-events:none; transition:opacity .2s ease, transform .25s ease; }
  .olt.sheet-open .olt-sheet{ opacity:1; transform:none; pointer-events:auto; }
  /* The frosted bar (.scrolled) makes the bar the box a fixed-position child is measured against,
     so once the page was scrolled the open menu was squeezed into the 62px bar (Nov 2026). No frost while it is open. */
  .olt.sheet-open, .olt.sheet-open.scrolled{ backdrop-filter:none; -webkit-backdrop-filter:none; background:#10283C; }
  .olt-sheet h4{ font:600 12px 'IBM Plex Sans', system-ui, sans-serif; letter-spacing:.12em; text-transform:uppercase; color:#8FA6BA; margin:20px 4px 8px; }
  .olt-sheet a.s{ display:flex; flex-direction:column; padding:13px 14px; border-radius:12px; color:#fff; text-decoration:none; font:500 17px 'IBM Plex Sans', system-ui, sans-serif; }
  .olt-sheet a.s small{ font:400 13.5px/1.45 'IBM Plex Sans', system-ui, sans-serif; color:#A9BBCB; margin-top:2px; }
  .olt-sheet a.s:hover, .olt-sheet a.s.on{ background:rgba(255,255,255,.07); }
  .olt-sheet a.s.on{ box-shadow:inset 3px 0 0 #C79A45; }
  .olt-sheet .olt-cta{ display:flex; justify-content:center; margin:22px 0 6px; min-height:52px; font-size:16px; }
  .olt-sheet .olt-lang{ display:block; margin:18px 4px 0; }
  body.olt-locked{ overflow:hidden; }
}
@media (max-width:420px){ .olt-brand span{ font-size:16.5px; } .olt-cta{ padding:0 11px; } }
/* long agency names: two lines, a little smaller, never pushing the menu button off the screen */
@media (max-width:1099px){ .olt-brand{ max-width:none; flex:1 1 auto; } .olt-brand span{ font-size:15.5px; } }
@media (prefers-reduced-motion:reduce){ .olt, .olt *{ transition:none !important; } }
@media print{ .olt{ display:none; } }

/* each page's main heading is an h1 now (it was an h2 on four pages); it keeps the look it had */
h1.h2-look{ font-size:clamp(28px, 3.6vw, 40px) !important; line-height:1.10 !important; letter-spacing:-0.022em !important; }
.appt-intro h1.h2-look{ color:#FFFFFF; }
