/* ============================================================
   MesoLawGuide — Global Stylesheet
   Domain: mesolawguide.com
   ============================================================ */

/* ── Google Fonts Import ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700;800&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --navy:       #0B1B35;
  --gold:       #C9882A;
  --gold-light: #E8A83A;
  --bg:         #F7F8FA;
  --white:      #FFFFFF;
  --text:       #1A1A2E;
  --text-muted: #5A6478;
  --green:      #2D6A4F;
  --green-light:#D4EDDA;
  --border:     #E2E6EF;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.14);
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --transition: 0.22s ease;
  --font-body:  'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --container:  1200px;
  --header-h:   72px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { line-height: 1.3; color: var(--text); font-weight: 600; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

.display-font { font-family: var(--font-display); }

/* ── Layout ── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.section { padding-block: 4rem; }
.section--sm { padding-block: 2.5rem; }
.section--lg { padding-block: 5.5rem; }

/* ── Utility ── */
.text-center { text-align: center; }
.text-navy   { color: var(--navy); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.fw-600      { font-weight: 600; }
.fw-700      { font-weight: 700; }
.d-flex      { display: flex; }
.flex-col    { flex-direction: column; }
.align-center{ align-items: center; }
.gap-1       { gap: 0.5rem; }
.gap-2       { gap: 1rem; }
.gap-3       { gap: 1.5rem; }
.mt-1        { margin-top: 0.5rem; }
.mt-2        { margin-top: 1rem; }
.mt-3        { margin-top: 1.5rem; }
.mb-1        { margin-bottom: 0.5rem; }
.mb-2        { margin-bottom: 1rem; }
.mb-3        { margin-bottom: 1.5rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,136,42,0.35);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover {
  background: #162d58;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(11,27,53,0.35);
}
.btn--outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn--outline-white {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--navy);
}
.btn--lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}
.btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}
.btn--full { width: 100%; justify-content: center; }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}
.badge--green  { background: var(--green-light); color: var(--green); }
.badge--gold   { background: rgba(201,136,42,0.12); color: var(--gold); }
.badge--navy   { background: rgba(11,27,53,0.09); color: var(--navy); }
.badge--gray   { background: var(--border); color: var(--text-muted); }

/* ── Stars ── */
.stars { display: inline-flex; gap: 2px; }
.star  { width: 14px; height: 14px; fill: #F4C542; }
.star--empty { fill: #D8DCE6; }

/* ── Section Headers ── */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-inline: auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), backdrop-filter var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(11,27,53,0.12);
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.96);
}
.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo__icon { width: 32px; height: 32px; flex-shrink: 0; }
.site-logo__text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.site-logo__text span { color: var(--gold); }

/* Nav */
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav__link {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}
.site-nav__link:hover,
.site-nav__link.active {
  color: var(--navy);
  background: rgba(11,27,53,0.06);
}
.site-nav__link.active { font-weight: 600; }

/* Header CTA */
.header-cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  border-radius: var(--radius);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition);
}
.mobile-nav.open {
  transform: translateX(0);
}
.mobile-nav__link {
  display: block;
  padding: 0.9rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-nav__link:hover { color: var(--navy); background: var(--bg); }
.mobile-nav__cta { margin-top: 1rem; }

/* ── Ad Slots ── */
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f7;
  border: 1px dashed #c8cfe0;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.8rem;
  overflow: hidden;
}
.ad-slot--leaderboard { min-height: 90px; width: 100%; max-width: 728px; margin-inline: auto; }
.ad-slot--rect       { min-height: 250px; width: 300px; }
.ad-slot--large-rect { min-height: 280px; width: 100%; max-width: 336px; margin-inline: auto; }
.ad-slot--responsive { min-height: 90px; width: 100%; }
.ad-bar { padding: 0.75rem 0; background: var(--white); border-bottom: 1px solid var(--border); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy);
  padding-block: 5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,136,42,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  position: relative;
  z-index: 1;
}
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,136,42,0.15);
  border: 1px solid rgba(201,136,42,0.3);
  color: var(--gold);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 1.1rem;
  max-width: 750px;
}
.hero__title span { color: var(--gold); }
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-bottom: 2.2rem;
}

/* Hero Search Box */
.hero-search {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  display: flex;
  gap: 0.75rem;
  max-width: 580px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.hero-search__select {
  flex: 1;
  min-width: 180px;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235A6478'%3E%3Cpath d='M5.5 8l4.5 4.5L14.5 8H5.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 18px;
  padding-right: 2.5rem;
}
.hero-search__select:focus {
  outline: none;
  border-color: var(--gold);
}
.hero-search__btn { flex-shrink: 0; }

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 500;
}
.trust-badge svg { color: var(--gold); flex-shrink: 0; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: #EEF0F5;
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat__number span { color: var(--gold); }
.stat__label { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-card__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.step-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.step-card__desc { color: var(--text-muted); font-size: 0.95rem; }

/* ============================================================
   STATE CARDS GRID
   ============================================================ */
.states-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.state-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.state-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: inherit;
}
.state-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.state-card__count {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.state-card__arrow {
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: 0.25rem;
}

/* ============================================================
   RESOURCE CARDS
   ============================================================ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.resource-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.resource-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.resource-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.resource-card__category { margin-bottom: 0.6rem; }
.resource-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.35;
  flex: 1;
}
.resource-card__excerpt { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.resource-card__link { font-size: 0.88rem; font-weight: 600; color: var(--gold); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--navy);
  padding-block: 4.5rem;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,136,42,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-banner__label {
  display: inline-block;
  background: rgba(201,136,42,0.2);
  color: var(--gold);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 660px;
  margin-inline: auto;
}
.cta-banner__desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.cta-banner__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 780px; margin-inline: auto; margin-top: 1.5rem; }
.resource-article .faq-list { max-width: 100%; margin-inline: 0; margin-top: 0.75rem; }
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--gold); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  background: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
  transform: rotate(45deg);
}
.faq-icon svg { width: 14px; height: 14px; color: var(--text-muted); }
.faq-item.open .faq-icon svg { color: var(--white); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer__inner {
  padding: 0 1.5rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding-top: 2rem;
  padding-bottom: 1.25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0.75rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.footer-logo__text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo__text span { color: var(--gold); }
.footer-brand__desc { font-size: 0.88rem; line-height: 1.65; }
.footer-col__title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.sidebar-widget .footer-links a { color: var(--text-muted); }
.sidebar-widget .footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 0.8rem;
}
.footer-disclaimer { display: none; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; flex-shrink: 0; justify-content: center; }
.footer-legal a { color: rgba(255,255,255,0.6); text-decoration: none; white-space: nowrap; font-size: 0.8rem; }
.footer-legal a:hover { color: var(--gold); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; width: 100%; text-align: center; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { opacity: 0.5; }
.breadcrumb__current { color: var(--text); font-weight: 500; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding-block: 3rem 2.5rem;
}
.page-hero__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.55); }
.page-hero .breadcrumb { color: rgba(255,255,255,0.55); }
.page-hero .breadcrumb__current { color: rgba(255,255,255,0.85); }
.page-hero .breadcrumb__sep { color: rgba(255,255,255,0.4); }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.page-hero__desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 640px;
}

/* ============================================================
   ATTORNEY CARDS
   ============================================================ */
.attorney-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.attorney-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.attorney-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.attorney-card__head { display: flex; align-items: flex-start; gap: 0.85rem; }
.attorney-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
img.attorney-card__avatar--img {
  object-fit: cover;
  object-position: center top;
  display: block;
}
.profile-card__avatar--photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  display: block;
}
.attorney-card__identity { flex: 1; min-width: 0; }
.attorney-card__name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
}
.attorney-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
}
.attorney-card__name a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}
.attorney-card__name a:hover { color: var(--gold); }
.attorney-card__firm { font-size: 0.82rem; color: var(--text-muted); }

/* ── Attorney card inline badges ── */
.ac-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
  line-height: 1.4;
}
.ac-badge--verified {
  background: var(--green-light);
  color: var(--green);
}
.ac-badge--consult {
  background: rgba(201,136,42,0.13);
  color: var(--gold);
}
.attorney-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.attorney-card__rating { display: flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; }
.attorney-card__specs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.attorney-card__bio { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.attorney-card__footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.attorney-card__phone { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.attorney-card__phone a { color: var(--navy); text-decoration: none; }
.attorney-card__phone a:hover { color: var(--gold); }

/* City Filters */
.city-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.city-filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.city-filter-btn:hover,
.city-filter-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, #e8eaf0 25%, #f4f5f8 50%, #e8eaf0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-radius: var(--radius);
}
@keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
}
.skeleton-line { height: 14px; margin-bottom: 0.75rem; }
.skeleton-line--sm { width: 60%; }
.skeleton-line--lg { width: 85%; }
.skeleton-line--full { width: 100%; }

/* ============================================================
   RESOURCE / ARTICLE PAGES
   ============================================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
.article-body { min-width: 0; }
.article-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }

/* Resource pages layout */
.resource-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
.resource-article { min-width: 0; }
.resource-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Sidebar Widget */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.sidebar-widget__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* Quick Links */
.sidebar-widget .footer-links { gap: 0; }
.sidebar-widget .footer-links li { border-bottom: 1px solid var(--border); }
.sidebar-widget .footer-links li:last-child { border-bottom: none; }
.sidebar-widget .footer-links a {
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  font-size: 0.875rem;
  font-weight: 500;
}
.sidebar-widget .footer-links a::after {
  content: '→';
  color: var(--gold);
  font-size: 0.8rem;
  transition: transform var(--transition);
}
.sidebar-widget .footer-links a:hover { color: var(--gold); }
.sidebar-widget .footer-links a:hover::after { transform: translateX(3px); }

/* Article Meta */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.article-meta__item { display: flex; align-items: center; gap: 0.35rem; }

/* Key Takeaways */
.key-takeaways {
  background: #E8F4FD;
  border: 1px solid #B8D9F0;
  border-left: 4px solid #2176AE;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}
.key-takeaways__title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #1A5D8A;
  margin-bottom: 0.85rem;
}
.key-takeaways__list { display: flex; flex-direction: column; gap: 0.6rem; }
.key-takeaways__item {
  display: flex;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #1A3A52;
  line-height: 1.5;
}
.key-takeaways__item::before {
  content: '';
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232D6A4F'%3E%3Cpath d='M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm3.707-9.293a1 1 0 0 0-1.414-1.414L9 10.586 7.707 9.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  margin-top: 2px;
}

/* Article Content Styles */
.article-content h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.25rem 0 0.9rem;
  padding-top: 0.5rem;
}
.article-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.75rem 0 0.7rem;
}
.article-content p { font-size: 0.98rem; line-height: 1.78; margin-bottom: 1.1rem; }
.article-content ul, .article-content ol {
  margin: 0.75rem 0 1.1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { font-size: 0.97rem; line-height: 1.65; color: var(--text); }
.article-content strong { font-weight: 600; color: var(--navy); }
.article-content a { color: var(--gold); text-decoration: underline; }

/* Mid-Article CTA */
.article-cta {
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2rem 0;
  background: rgba(201,136,42,0.04);
  overflow: hidden;
}
.article-cta__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.article-cta__desc { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.1rem; }
.article-cta .btn {
  white-space: normal;
  text-align: center;
  max-width: 100%;
  word-break: break-word;
  display: inline-block;
}

/* Resource Infographic */
.resource-infographic {
  margin: 2rem 0;
  text-align: center;
}
.resource-infographic img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  display: block;
  margin: 0 auto;
}
.resource-infographic figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Author Byline */
.article-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.5rem;
  margin-top: 2.5rem;
  border: 1px solid var(--border);
}
.article-author__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.article-author__name { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.article-author__role { font-size: 0.8rem; color: var(--text-muted); }

/* Related Articles */
.related-articles { margin-top: 2.5rem; }
.related-articles__title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.related-list { display: flex; flex-direction: column; gap: 0.75rem; }
.related-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition);
}
.related-item:hover { border-color: var(--gold); background: rgba(201,136,42,0.03); }
.related-item__text { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.related-item__arrow { color: var(--gold); margin-left: auto; flex-shrink: 0; }

/* Related Resource Cards */
.related-resource-card {
  display: block;
  padding: 1rem 1.1rem;
  background: var(--bg);
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.related-resource-card:hover {
  border-color: var(--gold);
  background: rgba(201,136,42,0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201,136,42,0.12);
}
.related-resource-card__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}
.related-resource-card__title {
  display: block;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 4px;
  transition: color 0.2s ease;
}
.related-resource-card:hover .related-resource-card__title { color: var(--gold); }

/* Sidebar Ad */
.sidebar-sticky { display: flex; flex-direction: column; gap: 1.5rem; }

/* ============================================================
   ABOUT / CONTACT / STATIC PAGES
   ============================================================ */
.page-content {
  max-width: 820px;
  margin-inline: auto;
  padding-block: 3.5rem;
}
.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.page-content p { font-size: 0.97rem; line-height: 1.75; }
.page-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.page-content li { font-size: 0.97rem; }

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* ============================================================
   ATTORNEYS INDEX SEARCH
   ============================================================ */
.attorney-search-bar {
  max-width: 500px;
  position: relative;
  margin-bottom: 2rem;
}
.attorney-search-bar input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  background: var(--white);
}
.attorney-search-bar input:focus { outline: none; border-color: var(--gold); }
.attorney-search-bar__icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ============================================================
   ALERT / INFO BOXES
   ============================================================ */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.alert--info { background: #E8F4FD; color: #1A5D8A; border-left: 3px solid #2176AE; }
.alert--gold { background: rgba(201,136,42,0.08); color: #7A4F10; border-left: 3px solid var(--gold); }

/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .site-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
  .states-grid { grid-template-columns: repeat(3, 1fr); }
  .resources-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .attorney-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .resource-layout { grid-template-columns: 1fr; }
  .resource-sidebar { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
  :root { --header-h: 60px; }
  .section { padding-block: 2.5rem; }
  .section--lg { padding-block: 3.5rem; }

  .hero { padding-block: 3rem 2.5rem; }
  .hero-search { flex-direction: column; }
  .hero-search__btn { width: 100%; justify-content: center; }
  .trust-badges { gap: 1rem; }

  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: 1fr; }
  .attorney-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 1.25rem; margin-bottom: 1rem; text-align: center; }
  .footer-brand { grid-column: auto; gap: 0.4rem; align-items: center; }
  .footer-brand__desc { display: none; }
  .footer-col__title { margin-bottom: 0.5rem; }
  .footer-links { gap: 0.4rem; align-items: center; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
  .footer-legal { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; justify-items: center; width: 100%; max-width: 260px; margin: 0 auto; }
  .footer-disclaimer { display: none; }

  .cta-banner__actions { flex-direction: column; align-items: center; }

  .page-hero { padding-block: 2rem 1.75rem; }
  .page-hero__title { font-size: 1.6rem; }

  /* Contact page: stack columns on mobile */
  .contact-grid-2col { grid-template-columns: 1fr !important; gap: 2rem !important; }

  /* Attorney card footer */
  .attorney-card__footer { flex-direction: column; gap: 0.75rem; }
  .attorney-card__footer .btn { width: 100%; text-align: center; }

  /* State cards */
  .states-grid { grid-template-columns: repeat(2, 1fr); }

  /* City filters wrap on mobile */
  .city-filters { flex-wrap: wrap; }
  .city-filter-btn { font-size: 0.82rem; padding: 0.35rem 0.85rem; }

  /* FAQ */
  .faq-question { font-size: 0.9rem; padding: 1rem; }

  .ad-slot--leaderboard { max-width: 100%; }
  .ad-slot--rect { width: 100%; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .ad-slot, .cta-banner { display: none; }
  body { color: #000; background: #fff; }
}
