
    :root {
      --navy: #233a63;
      --navy-dark: #162642;
      --gold: #d5aa6d;
      --gold-dark: #b98d50;
      --text: #333333;
      --muted: #5a6270;
      --light: #f6f7f9;
      --white: #ffffff;
      --max-w: 1200px;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Open Sans', system-ui, sans-serif; color: var(--text); line-height: 1.65; background: var(--white); }
    h1, h2, h3, h4, h5 { font-family: 'Montserrat', system-ui, sans-serif; color: var(--navy); line-height: 1.25; }
    h1 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); font-weight: 800; }
    h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; text-transform: uppercase; }
    h3 { font-size: 1.15rem; font-weight: 700; }
    h4 { font-size: 1rem; font-weight: 700; }
    a { text-decoration: none; color: inherit; transition: all .2s ease; }
    img { max-width: 100%; height: auto; display: block; }
    .container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
    .gold { color: var(--gold); }
    .btn-gold { display: inline-block; background: var(--gold); color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.88rem; padding: 13px 28px; text-transform: uppercase; letter-spacing: .6px; border: none; cursor: pointer; }
    .btn-gold:hover { background: var(--gold-dark); }

    /* Top Bar & Header */
    .site-top-wrap { position: relative; z-index: 60; background: var(--navy-dark); }
    .top-header { background: var(--navy-dark); color: var(--white); font-size: 0.85rem; padding: 14px 0; }
    .top-header-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
    .top-logo { justify-self: center; }
    .top-logo img { height: 74px; width: auto; }
    .top-social { display: flex; gap: 16px; align-items: center; justify-self: end; }
    .top-social a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
    .top-social svg { width: 18px; height: 18px; fill: currentColor; }
    .top-social a:hover { color: var(--gold); }

    .nav-wrapper { background: transparent; position: sticky; top: 0; z-index: 1000; margin-bottom: -66px; }
    .nav-box { background: var(--white); display: flex; align-items: center; justify-content: space-between; box-shadow: 0 8px 25px rgba(0,0,0,.15); }
    .nav-menu { display: flex; list-style: none; align-items: center; padding-left: 24px; gap: 24px; }
    .nav-menu > li { position: relative; }
    .nav-menu > li > a { display: block; padding: 14px 4px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; color: var(--navy); letter-spacing: .4px; }
    .nav-menu > li > a:hover, .nav-menu > li.active > a { color: var(--gold-dark); }
    .submenu { display: none; position: absolute; top: 100%; left: 0; background: var(--white); min-width: 220px; box-shadow: 0 10px 25px rgba(0,0,0,.15); list-style: none; border-top: 3px solid var(--gold); z-index: 100; }
    .nav-menu > li:hover .submenu { display: block; }
    .submenu li a { display: block; padding: 10px 18px; font-size: 0.85rem; color: var(--navy); border-bottom: 1px solid #eee; font-weight: 600; }
    .submenu li a:hover { background: var(--light); color: var(--gold-dark); }
    .nav-phone { background: var(--navy); color: var(--white); padding: 9px 24px; display: flex; align-items: center; gap: 14px; }
    .nav-phone-label { font-size: 0.72rem; text-transform: uppercase; color: #cfd8e3; display: block; }
    .nav-phone-num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--white); }
    .nav-right-group { display: flex; align-items: stretch; }
    .nav-square-btn { background: var(--gold); color: var(--white); width: 64px; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; font-size: 1.35rem; transition: background .2s; }
    .nav-square-btn:hover { background: var(--gold-dark); }

    /* Modal Popup */
    .modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(16,25,43,.78); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
    .modal-backdrop.open { display: flex; }
    .modal-card { background: var(--white); max-width: 880px; width: 100%; position: relative; box-shadow: 0 24px 60px rgba(0,0,0,.4); display: grid; grid-template-columns: 1.35fr 1fr; overflow: hidden; }
    .modal-left { padding: 36px 32px; background: var(--white); }
    .modal-right { padding: 36px 28px; background: #f3f5f8; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
    .modal-close { position: absolute; top: 0; right: 0; width: 38px; height: 38px; background: var(--navy-dark); color: var(--white); border: none; font-size: 1.4rem; cursor: pointer; line-height: 1; z-index: 2; }
    .modal-left .form-row input, .modal-left .form-row textarea { border: none; border-bottom: 1px solid #d1d5db; border-radius: 0; padding: 12px 4px; }
    .modal-info-list { list-style: none; display: grid; gap: 10px; font-size: 0.9rem; color: var(--navy); font-weight: 600; }
    .modal-social { display: flex; gap: 10px; margin-top: 6px; }
    .modal-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
    .modal-social svg { width: 15px; height: 15px; fill: currentColor; }
    @media (max-width: 760px) { .modal-card { grid-template-columns: 1fr; } }

    /* Hero */
    .hero { position: relative; background: #10192b; color: var(--white); min-height: 700px; padding-top: 90px; display: flex; align-items: flex-end; overflow: hidden; }
    .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .88; }
    .hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, #162642 0%, rgba(22,38,66,.92) 8%, rgba(22,38,66,.12) 45%, rgba(22,38,66,.15) 55%, rgba(16,25,43,.92) 100%); }
    .hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: end; padding: 30px 0 0; }
    .hero-left { position: relative; display: flex; flex-direction: column; align-items: center; }
    .hero-attorney { width: 100%; max-width: 560px; max-height: 620px; height: auto; object-fit: contain; object-position: bottom; }
    .hero-stat-overlay { position: absolute; bottom: 28px; left: 0; background: rgba(22,38,66,.92); border-left: 6px solid var(--gold); padding: 24px 36px; }
    .hero-stat-num { font-family: 'Montserrat', sans-serif; font-size: clamp(3.4rem, 5.5vw, 4.6rem); font-weight: 800; color: var(--gold); line-height: 1; }
    .hero-stat-label { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-top: 6px; }
    .hero-right { align-self: start; padding-top: 90px; padding-bottom: 60px; }
    .spanish-badge { display: inline-block; background: var(--gold); color: var(--white); font-weight: 700; font-size: 0.8rem; padding: 6px 14px; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px; }
/* Accessibility helpers: visually hidden labels and a visible keyboard focus on clickable non-link elements */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[role="button"]:focus-visible { outline: 3px solid var(--gold, #d4a94f); outline-offset: 3px; }

/* Forms: trap field (hidden), status messages and the fallback toast */
.habt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.habt-form-msg { margin: 0 0 14px; padding: 12px 14px; border-radius: 6px; font-size: .95rem; line-height: 1.55; font-weight: 600; }
.habt-form-msg[hidden] { display: none; }
.habt-form-msg.ok { background: #e8f5ec; color: #14532d; border: 1px solid #86c99a; }
.habt-form-msg.err { background: #fdecea; color: #7a1f1a; border: 1px solid #e5a29c; }
.habt-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 99999; max-width: min(92vw, 520px); padding: 14px 18px; border-radius: 8px; font-size: .95rem; line-height: 1.5; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.habt-toast.ok { background: #14532d; color: #fff; }
.habt-toast.err { background: #7a1f1a; color: #fff; }
button[aria-busy="true"] { opacity: .7; cursor: progress; }
.nav-square-btn svg { display: block; }

/* ---------- Intaker chat launcher: site identity (the photo and the green status dot stay) ---------- */
#icw { --theme-color: var(--navy) !important; font-family: 'Open Sans', Arial, sans-serif !important; }
#icw .icw--launcher--avatar { width: 92px; height: 92px; }
#icw .icw--launcher--avatar img,
#icw .icw--launcher--avatar video { width: 92px; height: 92px; box-sizing: border-box; object-fit: cover; border: 3px solid var(--gold); box-shadow: 0 0 0 4px var(--navy-dark), 0 12px 30px rgba(22,38,66,.5); transition: transform .25s ease, box-shadow .25s ease; }
#icw .icw--launcher--avatar:after { bottom: 5px; right: 6px; width: 19px; height: 19px; border: 3px solid var(--navy-dark); box-shadow: 0 0 0 1px var(--gold); }
#icw #icw--launcher:hover .icw--launcher--avatar img,
#icw #icw--launcher:hover .icw--launcher--avatar video { transform: scale(1.06); box-shadow: 0 0 0 4px var(--navy-dark), 0 16px 36px rgba(22,38,66,.6); }
#icw .icw--launcher--text { background-color: var(--navy-dark) !important; color: #fff !important; border: 1.5px solid var(--gold); border-radius: 12px !important; padding: 12px 17px; max-width: 250px; font-family: 'Montserrat', 'Open Sans', Arial, sans-serif !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.45; letter-spacing: .2px; box-shadow: 0 12px 30px rgba(22,38,66,.45); }
#icw .icw--launcher--text,
#icw .icw--launcher--text * { color: #fff !important; }
#icw .icw--launcher--text:after { border-color: transparent transparent transparent var(--navy-dark) !important; }
#icw.icw--position--BottomLeft .icw--launcher--text:after,
#icw.icw--position--MiddleLeft .icw--launcher--text:after { border-color: transparent var(--navy-dark) transparent transparent !important; }
.icw-keyboard-user #icw #icw--launcher:focus { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 640px) {
  #icw .icw--launcher--avatar { width: 74px; height: 74px; }
  #icw .icw--launcher--avatar img, #icw .icw--launcher--avatar video { width: 74px; height: 74px; }
  #icw .icw--launcher--text { font-size: 13px !important; padding: 10px 13px; max-width: 200px; }
}

/* Chat: no "open in a new tab" link; the button stays hidden until the visitor scrolls, then it rises from the bottom and the message follows */
#icw #icw--avatar-direct-link { display: none !important; }
html:not(.habt-scrolled) #icw #icw--launcher { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(110px); }
html:not(.habt-scrolled) #icw .icw--preview { display: none !important; }
html.habt-scrolled #icw #icw--launcher { animation: habt-chat-rise .75s cubic-bezier(.22, 1, .36, 1) both; }
html:not(.habt-scrolled) #icw .icw--launcher--text { opacity: 0; }
html.habt-scrolled #icw .icw--launcher--text { animation: habt-chat-msg .55s ease-out 1.3s both; }
@keyframes habt-chat-rise { from { opacity: 0; transform: translateY(110px); } to { opacity: 1; transform: none; } }
@keyframes habt-chat-msg { from { opacity: 0; transform: translateX(14px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html.habt-scrolled #icw #icw--launcher, html.habt-scrolled #icw .icw--launcher--text { animation-duration: .01s; animation-delay: 0s; }
}
