/* Law Care Legals — main stylesheet
   Built on tokens.css (loaded before this file) */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--lc-ground);
  color: var(--lc-ink);
  font-family: var(--lc-font-body);
  font-size: var(--lc-body);
  line-height: var(--lc-body-lh);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--lc-red-600); }
a:hover { color: var(--lc-red-700); }
:focus-visible { outline: 3px solid var(--lc-red-600); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.container { max-width: var(--lc-container); margin: 0 auto; padding: 0 22px; }

/* ---------- Themed scrollbar ---------- */
html { scrollbar-width: thin; scrollbar-color: var(--lc-brass-600) var(--lc-divider); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--lc-divider); }
::-webkit-scrollbar-thumb { background: var(--lc-brass-600); border-radius: 8px; border: 3px solid var(--lc-divider); }
::-webkit-scrollbar-thumb:hover { background: var(--lc-red-600); }

@keyframes softIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes waIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.site-header-wrap { font-family: var(--lc-font-body); position: sticky; top: 0; z-index: 40; }
.site-header { background: var(--lc-ground); border-bottom: 1px solid var(--lc-border); }
.site-header__row { max-width: var(--lc-container); margin: 0 auto; padding: 14px 22px; display: flex; align-items: center; gap: 22px; }
.site-header__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; margin-right: auto; }
.site-header__logo { width: 48px; height: 48px; object-fit: contain; mix-blend-mode: multiply; }
.site-header__name { display: block; font-family: var(--lc-font-heading); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; line-height: 1.15; color: var(--lc-ink); }
.site-header__sub { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--lc-red-600); margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.lc-nav, .lc-nav-on { text-decoration: none; font-size: 15.5px; font-weight: 500; padding-bottom: 3px; border-bottom: 2px solid transparent; }
.lc-nav { color: #5C6068; }
.lc-nav:hover { color: var(--lc-ink); }
.lc-nav-on { color: var(--lc-ink); border-bottom-color: var(--lc-red-600); }

/* ---------- Nav dropdown (desktop) ---------- */
.nav-item-drop { position: relative; }
.nav-item-drop > .lc-nav, .nav-item-drop > .lc-nav-on { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { transition: transform .15s ease; }
.nav-item-drop:hover .nav-caret, .nav-item-drop:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 14px; min-width: 240px; background: #fff; border: 1px solid var(--lc-border); border-radius: var(--lc-radius); box-shadow: var(--lc-shadow-2); padding: 8px; opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 50; }
.nav-item-drop:hover .nav-dropdown, .nav-item-drop:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown a { display: block; text-decoration: none; color: var(--lc-text-body); font-size: 14.5px; padding: 10px 12px; border-radius: 4px; }
.nav-dropdown a:hover { background: var(--lc-ground); color: var(--lc-ink); }
.nav-dropdown a.all-link { color: var(--lc-red-600); font-weight: 600; border-top: 1px solid var(--lc-divider); margin-top: 4px; padding-top: 12px; }

/* ---------- Nav dropdown (mobile, accordion-style) ---------- */
.mobile-submenu { display: grid; gap: 2px; padding: 0 0 6px 14px; }
.mobile-submenu a { padding: 11px 4px !important; font-size: 15.5px !important; color: var(--lc-text-body) !important; border-bottom: 0 !important; }
.mobile-submenu-label { padding: 15px 4px 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lc-placeholder); border-bottom: 1px solid var(--lc-divider); }
.mobile-menu details summary::-webkit-details-marker { display: none; }
.mobile-menu details summary::marker { content: ""; }
.mobile-menu details summary { position: relative; }
.mobile-menu details summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 20px; color: var(--lc-placeholder); }
.mobile-menu details[open] summary::after { content: "−"; }

.call-chip { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lc-ink); background: #fff; border: 1px solid var(--lc-border); border-radius: var(--lc-radius); padding: 7px 16px 7px 9px; min-height: 46px; }
.call-chip:hover { border-color: var(--lc-red-600); }
.call-chip__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--lc-radius); background: var(--lc-red-600); color: #fff; flex: none; }
.call-chip__label { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lc-placeholder); }
.call-chip__number { display: block; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }

.burger { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--lc-radius); background: #fff; border: 1px solid var(--lc-border); cursor: pointer; font-size: 17px; color: var(--lc-ink); }
.burger svg { pointer-events: none; }

.mobile-menu { padding: 8px 22px 20px; display: grid; gap: 2px; background: #fff; border-top: 1px solid var(--lc-border); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { text-decoration: none; color: var(--lc-ink); padding: 15px 4px; border-bottom: 1px solid var(--lc-divider); font-size: 17px; font-weight: 500; }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 12px; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .burger { display: inline-flex; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 480px) {
  .site-header__row { gap: 10px; padding: 12px 16px; }
  .site-header__sub { display: none; }
  .call-chip { padding: 0; width: 44px; height: 44px; min-height: 44px; justify-content: center; }
  .call-chip__label, .call-chip__number { display: none; }
  .call-chip__icon { width: 44px; height: 44px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 0 28px; border-radius: var(--lc-radius); text-decoration: none; font-weight: 600; font-size: 16.5px; border: 0; cursor: pointer; font-family: var(--lc-font-body); }
.btn-primary { background: var(--lc-red-600); color: #fff; }
.btn-primary:hover { background: var(--lc-red-700); color: #fff; }
.btn-outline { background: #fff; border: 1px solid var(--lc-border); color: var(--lc-ink); }
.btn-outline:hover { border-color: var(--lc-ink); color: var(--lc-ink); }
.btn-dark { background: var(--lc-ink); color: #fff; }
.btn-dark:hover { background: var(--lc-red-600); color: #fff; }
.btn-on-dark { border: 1px solid rgba(255,255,255,.32); color: #fff; background: transparent; }
.btn-on-dark:hover { border-color: #fff; color: #fff; }
.btn-block { width: 100%; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: var(--lc-overline); font-weight: 600; letter-spacing: var(--lc-overline-ls); text-transform: uppercase; color: var(--lc-red-600); margin: 0 0 12px; }
.h1 { font-family: var(--lc-font-heading); font-weight: 600; font-size: var(--lc-h1); line-height: var(--lc-h1-lh); letter-spacing: -.025em; margin: 0 0 26px; max-width: 24ch; }
.h2 { font-family: var(--lc-font-heading); font-weight: 600; font-size: var(--lc-h2); line-height: var(--lc-h2-lh); letter-spacing: var(--lc-h2-ls); margin: 0; }
.h3 { font-family: var(--lc-font-heading); font-weight: 600; font-size: var(--lc-h3); line-height: var(--lc-h3-lh); letter-spacing: var(--lc-h3-ls); margin: 0 0 8px; }
.lede { margin: 0; font-size: var(--lc-body-lg); color: var(--lc-text-body); max-width: 52ch; text-wrap: pretty; }

/* ---------- Sections ---------- */
.section { padding: var(--lc-section-y) 0; }
.section-tight { padding: clamp(20px,3vw,32px) 0 var(--lc-section-y); }
.section-bordered { background: #fff; border-top: 1px solid var(--lc-border); border-bottom: 1px solid var(--lc-border); }
.section-header { max-width: 52ch; margin: 0 auto 40px; text-align: center; }

.hero { padding: clamp(40px,6vw,80px) 0 clamp(32px,4vw,56px); animation: softIn .7s ease both; }
.hero__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: clamp(20px,3vw,48px); align-items: end; padding-bottom: clamp(28px,4vw,44px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__figure { margin: 0; }
.placeholder-photo { aspect-ratio: 21/9; border: 1px solid var(--lc-border); border-radius: var(--lc-radius); background: repeating-linear-gradient(135deg,#EFEAE3 0 14px,#E6E0D7 14px 28px); display: grid; place-items: center; text-align: center; padding: 24px; }
.placeholder-photo span, .placeholder-portrait span { font-family: var(--lc-font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lc-text-faint); }
.placeholder-portrait { aspect-ratio: 4/5; background: repeating-linear-gradient(135deg,#EFEAE3 0 12px,#E6E0D7 12px 24px); display: grid; place-items: center; text-align: center; padding: 16px; }

/* ---------- Grids & Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: var(--lc-space-5); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: clamp(28px,4vw,56px); }

.card { background: #fff; border: 1px solid var(--lc-border); border-radius: var(--lc-radius); padding: var(--lc-space-6); }
.card:hover { border-color: var(--lc-red-600); }
.card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--lc-radius); font-family: var(--lc-font-heading); font-weight: 600; font-size: 18px; margin-bottom: 16px; }
.card__icon--red { background: var(--lc-red-50); color: var(--lc-red-600); }
.card__icon--brass { background: var(--lc-brass-50); color: var(--lc-brass-600); }
.card p { margin: 0 0 16px; font-size: 15.5px; color: var(--lc-text-body-card); }
.card .learn-more { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--lc-red-600); }

.value-tile { background: var(--lc-ground); border: 1px solid var(--lc-border); border-radius: var(--lc-radius); padding: 22px; }
.value-tile span.title { display: block; font-family: var(--lc-font-heading); font-weight: 600; font-size: 18.5px; margin-bottom: 6px; }
.value-tile span.desc { display: block; font-size: 14.5px; color: var(--lc-text-body-card); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--lc-red-600); color: #fff; }
.stats-band .container { padding-top: clamp(40px,5vw,64px); padding-bottom: clamp(40px,5vw,64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 26px; text-align: center; }
.stats-band .num { display: block; font-family: var(--lc-font-heading); font-weight: 600; font-size: clamp(38px,4.6vw,52px); line-height: 1; font-variant-numeric: tabular-nums; }
.stats-band .lbl { display: block; font-size: 14px; color: var(--lc-red-100); margin-top: 8px; }

/* ---------- Testimonials ---------- */
.testimonial { margin: 0; background: #fff; border: 1px solid var(--lc-border); border-radius: var(--lc-radius); padding: var(--lc-space-6); }
.testimonial .quote-mark { display: block; font-family: var(--lc-font-heading); font-size: 40px; color: var(--lc-brass-200); line-height: .6; margin-bottom: 14px; }
.testimonial p { margin: 0 0 20px; font-size: 16.5px; color: var(--lc-text-strong); text-wrap: pretty; }
.testimonial footer { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--lc-text-muted); }
.testimonial .initials { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--lc-radius); background: var(--lc-brass-50); color: var(--lc-brass-600); font-weight: 600; font-size: 14px; }
.testimonial .name { display: block; font-weight: 600; color: var(--lc-ink); }

/* ---------- CTA banner (dark) ---------- */
.cta-banner { background: var(--lc-ink); color: #fff; border-radius: var(--lc-radius); padding: clamp(34px,5vw,58px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 28px; align-items: center; }
.cta-banner h2 { font-family: var(--lc-font-heading); font-weight: 600; font-size: clamp(28px,3.8vw,42px); letter-spacing: -.02em; margin: 0 0 12px; }
.cta-banner p { margin: 0; color: var(--lc-on-ink); max-width: 44ch; text-wrap: pretty; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 640px) { .cta-banner__actions { justify-content: flex-start; } }

/* ---------- Urgent callout ---------- */
.callout { background: var(--lc-brass-50); border: 1px solid var(--lc-brass-200); border-radius: var(--lc-radius); padding: 24px; }
.callout h3 { font-family: var(--lc-font-heading); font-weight: 600; font-size: 19px; margin: 0 0 8px; color: var(--lc-brass-700); }
.callout p { margin: 0; font-size: 15px; color: var(--lc-brass-700); }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--lc-border); font-family: var(--lc-font-body); }
.site-footer .container { padding: clamp(38px,5vw,60px) 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 30px; }
.site-footer h5 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lc-placeholder); margin: 0 0 12px; }
.site-footer .brand { display: block; font-family: var(--lc-font-heading); font-weight: 600; font-size: 19px; margin-bottom: 10px; color: var(--lc-ink); }
.site-footer p { margin: 0; font-size: 14.5px; color: var(--lc-text-muted); }
.site-footer a { color: var(--lc-text-body); text-decoration: none; }
.footer-links { display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid var(--lc-divider); padding: 16px 22px; text-align: center; font-size: 13px; color: var(--lc-placeholder); }

/* ---------- WhatsApp FAB ---------- */
.wa-fab-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--lc-font-body); }
.wa-panel { width: min(340px, calc(100vw - 40px)); background: #fff; border: 1px solid var(--lc-border); border-radius: var(--lc-radius); box-shadow: var(--lc-shadow-2); overflow: hidden; animation: waIn .22s ease both; }
.wa-panel[hidden] { display: none; }
.wa-panel__head { background: var(--lc-whatsapp-dark); color: #fff; padding: 18px 20px; }
.wa-panel__head strong { display: block; font-family: var(--lc-font-heading); font-weight: 600; font-size: 19px; }
.wa-panel__head span { display: block; font-size: 13.5px; color: var(--lc-whatsapp-tint); margin-top: 4px; }
.wa-panel__list { padding: 12px; display: grid; gap: 8px; max-height: 56vh; overflow: auto; }
.wa-person { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; padding: 10px; border: 1px solid var(--lc-border); border-left: 3px solid var(--lc-whatsapp-dark); border-radius: var(--lc-radius); min-height: 62px; }
.wa-person:hover { background: var(--lc-ground); }
.wa-person__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--lc-radius); color: #fff; font-family: var(--lc-font-heading); font-size: 15px; flex: none; }
.wa-person__info { display: block; margin-right: auto; }
.wa-person__name { display: block; font-family: var(--lc-font-heading); font-weight: 600; font-size: 16px; color: var(--lc-ink); }
.wa-person__role { display: block; font-size: 13px; color: var(--lc-text-muted); }
.wa-person__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lc-whatsapp); color: #fff; flex: none; }

.wa-trigger-row { display: flex; align-items: center; gap: 10px; }
.wa-label { background: #fff; border: 1px solid var(--lc-border); border-radius: var(--lc-radius); color: var(--lc-ink); font-size: 14.5px; font-weight: 500; padding: 10px 14px; white-space: nowrap; box-shadow: var(--lc-shadow-1); }
.wa-label[hidden] { display: none; }
.wa-fab { display: grid; place-items: center; width: var(--lc-fab); height: var(--lc-fab); border: 0; border-radius: 50%; background: var(--lc-whatsapp); color: #fff; cursor: pointer; box-shadow: var(--lc-shadow-fab); }
.wa-fab:hover { background: var(--lc-whatsapp-hover); }

@media (max-width: 400px) {
  .wa-fab { width: 54px; height: 54px; }
  .wa-fab-wrap { right: 14px; bottom: 14px; }
}

/* ---------- Contact form ---------- */
.lc-field { width: 100%; min-height: var(--lc-input-h); padding: 13px 15px; border: 1px solid var(--lc-border-strong); border-radius: var(--lc-radius); background: #fff; font-family: var(--lc-font-body); font-size: 16.5px; color: var(--lc-ink); }
.lc-field:focus { outline: none; border-color: var(--lc-red-600); box-shadow: var(--lc-focus-ring); }
.lc-field::placeholder { color: var(--lc-placeholder); }
textarea.lc-field { min-height: 132px; resize: vertical; line-height: 1.55; }

.lc-dot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-weight: 600; font-size: 15px; background: #fff; border: 1px solid var(--lc-border-strong); color: var(--lc-text-faint); }
.lc-dot-now { background: var(--lc-red-600); border-color: var(--lc-red-600); color: #fff; }
.lc-dot-done { background: var(--lc-success); border-color: var(--lc-success); color: #fff; }
.lc-cap { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-align: center; color: var(--lc-text-faint); width: 100%; min-width: 0; overflow-wrap: break-word; }
.lc-cap-now { color: var(--lc-ink); }
.lc-cap-done { color: var(--lc-success-text); }
.lc-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.lc-step-item { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr; gap: 7px; justify-items: center; }
.lc-step-rule { height: 1px; background: var(--lc-border); flex: none; width: clamp(8px,3vw,40px); margin-bottom: 22px; }

.lc-pane { display: none; gap: 18px; }
.lc-pane-on { display: grid; }
.lc-pane-2col { grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }

label.field-label { display: grid; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--lc-text-strong); }
fieldset.check-group { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
fieldset.check-group legend { padding: 0; font-size: 14.5px; font-weight: 600; color: var(--lc-text-strong); margin-bottom: 4px; }
.lc-check { display: flex; align-items: center; gap: 12px; min-height: var(--lc-check-h); padding: 0 16px; border: 1px solid var(--lc-border-strong); border-radius: var(--lc-radius); background: #fff; font-size: 16px; cursor: pointer; }
.lc-check:hover { border-color: var(--lc-red-600); }
.lc-check input { width: 20px; height: 20px; accent-color: var(--lc-red-600); }

.lc-form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lc-prev { min-height: 54px; padding: 0 26px; border: 1px solid var(--lc-border-strong); border-radius: var(--lc-radius); background: #fff; font-family: var(--lc-font-body); font-weight: 600; font-size: 16px; flex: 1 1 140px; color: var(--lc-ink); cursor: pointer; }
.lc-prev:disabled { color: var(--lc-text-disabled); cursor: not-allowed; }
.lc-next { min-height: 54px; padding: 0 26px; border: 0; border-radius: var(--lc-radius); background: var(--lc-red-600); color: #fff; font-family: var(--lc-font-body); font-weight: 600; font-size: 16px; cursor: pointer; flex: 1 1 180px; }
.lc-next:hover { background: var(--lc-red-700); }
.step-counter { margin: 14px 0 0; font-size: 13.5px; color: var(--lc-text-faint); }

.form-success { background: var(--lc-success-bg); border: 1px solid var(--lc-success-border); border-radius: var(--lc-radius); padding: 26px; }
.form-success h2 { font-family: var(--lc-font-heading); font-weight: 600; font-size: 24px; margin: 0 0 8px; color: var(--lc-success); }
.form-success p { margin: 0 0 18px; color: var(--lc-success-text); }
.form-success button { min-height: 50px; padding: 0 22px; border: 1px solid var(--lc-success); border-radius: var(--lc-radius); background: transparent; color: var(--lc-success); font-family: var(--lc-font-body); font-weight: 600; font-size: 15.5px; cursor: pointer; }

.form-error { background: var(--lc-error-bg); border: 1px solid var(--lc-error-border); border-radius: var(--lc-radius); padding: 16px 20px; color: var(--lc-error); font-size: 14.5px; margin-bottom: 18px; }
.form-error[hidden] { display: none; }

.contact-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: clamp(24px,3vw,44px); align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--lc-border); border-radius: var(--lc-radius); padding: clamp(22px,3vw,34px); }
.aside-card { background: #fff; border: 1px solid var(--lc-border); border-radius: var(--lc-radius); padding: 26px; }
.aside-card h2 { font-family: var(--lc-font-heading); font-weight: 600; font-size: 22px; margin: 0 0 18px; }
.info-row { display: grid; gap: 16px; }
.info-row .label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lc-placeholder); margin-bottom: 4px; }
.info-row .phone-link { font-size: 18px; font-weight: 600; text-decoration: none; color: var(--lc-ink); font-variant-numeric: tabular-nums; }
.info-row .phone-link:hover { color: var(--lc-red-600); }
.info-row .email-link { font-size: 17px; font-weight: 600; text-decoration: none; color: var(--lc-ink); }
.info-row .email-link:hover { color: var(--lc-red-600); }
.info-row p { margin: 0; color: var(--lc-text-body); }

/* ---------- Practice area rows ---------- */
.area-row { background: #fff; border: 1px solid var(--lc-border); border-radius: var(--lc-radius); padding: clamp(24px,3vw,34px); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; align-items: start; }
.area-row:hover { border-color: var(--lc-red-600); }
.area-tag { display: inline-flex; align-items: center; border-radius: var(--lc-radius); padding: 5px 11px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.area-tag--red { background: var(--lc-red-50); border: 1px solid var(--lc-red-100); color: var(--lc-red-600); }
.area-tag--brass { background: var(--lc-brass-50); border: 1px solid var(--lc-brass-200); color: var(--lc-brass-600); }
.area-row h2 { font-family: var(--lc-font-heading); font-weight: 600; font-size: var(--lc-h3); letter-spacing: -.015em; margin: 0 0 10px; }
.area-row p { margin: 0 0 16px; color: var(--lc-text-body-card); max-width: 52ch; text-wrap: pretty; }
.area-row .discuss-link { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--lc-red-600); }
.area-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 15px; color: var(--lc-text-body); }
.area-list li { padding-left: 16px; border-left: 2px solid var(--lc-brass-200); }

/* Team */
.team-card { background: #fff; border: 1px solid var(--lc-border); border-radius: var(--lc-radius); overflow: hidden; }
.team-card:hover { border-color: var(--lc-red-600); }
.team-card__body { padding: 20px 22px; }
.team-card__body h3 { font-family: var(--lc-font-heading); font-weight: 600; font-size: 19.5px; margin: 0 0 4px; }
.team-card__role { margin: 0 0 12px; font-size: 14px; color: var(--lc-brass-600); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.team-card__body > p:last-child { margin: 0; font-size: 15px; color: var(--lc-text-body-card); }

/* Values / story grid */
.story-block h2 { font-family: var(--lc-font-heading); font-weight: 600; font-size: clamp(26px,3.2vw,36px); letter-spacing: -.02em; margin: 0 0 18px; }
.story-block p { margin: 0 0 16px; color: var(--lc-text-body); text-wrap: pretty; }
.story-block p:last-child { margin-bottom: 0; }

/* ---------- Fee table ---------- */
.fee-table-wrap { background: #fff; border: 1px solid var(--lc-border); border-radius: var(--lc-radius); overflow: hidden; scroll-margin-top: 140px; }
.fee-table { width: 100%; border-collapse: collapse; }
.fee-table caption { text-align: left; font-family: var(--lc-font-heading); font-weight: 600; font-size: 19px; padding: 20px 22px 14px; color: var(--lc-ink); }
.fee-table th, .fee-table td { text-align: left; padding: 14px 22px; font-size: 15px; border-top: 1px solid var(--lc-divider); }
.fee-table thead th { background: var(--lc-ground); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-placeholder); border-top: 0; }
.fee-table tbody td:first-child { font-weight: 600; color: var(--lc-ink); }
.fee-table tbody td:last-child { color: var(--lc-text-body); font-variant-numeric: tabular-nums; }
.fee-table-note { font-size: 13.5px; color: var(--lc-text-muted); padding: 14px 22px 20px; border-top: 1px solid var(--lc-divider); }
.draft-flag { display: inline-flex; align-items: center; gap: 8px; background: var(--lc-warning-bg); border: 1px solid var(--lc-warning-border); color: var(--lc-warning); border-radius: var(--lc-radius); padding: 10px 16px; font-size: 14px; font-weight: 600; margin-bottom: 24px; }

/* Fee table on narrow screens: stack each row as a label/value pair
   instead of forcing a horizontal table layout that has to scroll. */
@media (max-width: 600px) {
  .fee-table thead { display: none; }
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table td { display: block; width: 100%; }
  .fee-table tr { padding: 12px 18px; border-top: 1px solid var(--lc-divider); }
  .fee-table tbody tr:first-child { border-top: 0; }
  .fee-table td { padding: 2px 0; border-top: 0; }
  .fee-table tbody td:last-child { color: var(--lc-red-600); font-weight: 600; }
  .fee-table caption { padding: 18px 18px 10px; }
  .fee-table-note { padding: 12px 18px 18px; }
}

/* Jump links at the top of the Fees page */
.fee-jump-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.fee-jump-nav a { display: inline-flex; align-items: center; text-decoration: none; background: #fff; border: 1px solid var(--lc-border); color: var(--lc-ink); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.fee-jump-nav a:hover { border-color: var(--lc-red-600); color: var(--lc-red-600); }

/* ---------- Mobile overflow safety net ----------
   Several grids use minmax(Npx,1fr) so they can flow into multiple
   columns on wider screens. On narrow phones, that minimum can exceed
   the space left after a container's own padding, pushing content past
   the edge of the screen. Force these to a single column below 560px,
   where the multi-column layout was never going to apply anyway. */
@media (max-width: 560px) {
  .hero__top, .grid-2, .cta-banner, .area-row, .contact-layout {
    grid-template-columns: 1fr !important;
  }
  .cta-banner__actions { justify-content: flex-start; }
  /* The practice-area detail pages set a two-column grid via an inline
     style on their .container (no dedicated class) — override it directly. */
  section > .container[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 420px) {
  .lc-dot { width: 32px; height: 32px; font-size: 13px; }
  .lc-step-rule { width: 10px !important; }
  /* Captions get too tight to read at this width without ugly mid-word
     breaks; the "Step X of 4" text below the form already gives the
     current step's name, so hide the per-dot captions visually here
     while keeping them for screen readers. */
  .lc-cap {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }
  .lc-step-item { gap: 0 !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
