/* ==========================================================================
   Bukhari Law Chamber (BLC) — Editorial Senior Chamber Stylesheet
   Palette: Warm Ivory #FAF8F4 | Rich Black #141414 | Antique Gold #A68246 | Warm Stone #EDE8DF
   Fonts: Cinzel (Brand), Playfair Display (Headings), Inter (Body), Noto Nastaliq Urdu (Urdu)
   ========================================================================== */

:root {
  --ivory: #FAF8F4;
  --white: #FFFFFF;
  --stone: #EDE8DF;
  --stone-soft: #F4F0E8;
  --black: #141414;
  --charcoal: #2B2B2B;
  --muted: #5A554E;
  --gold: #A68246;
  --gold-dark: #876632;
  --gold-light: #C6A467;
  --border: #DFD8CB;
  --font-brand: 'Cinzel', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-urdu: 'Noto Nastaliq Urdu', serif;
  --max-w: 1160px;
  --radius: 4px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background-color: var(--ivory);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.urdu {
  font-family: var(--font-urdu);
  direction: rtl;
  unicode-bidi: isolate;
  line-height: 2.15;
  font-size: 1.04rem;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--black);
  color: var(--white);
  padding: 10px 16px;
  z-index: 2000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ── Top Matte-Black Utility Bar (Single-Line Smooth Slide on Mobile) ── */
.top-utility {
  background: var(--black);
  color: #E7DEC8;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(166, 130, 70, 0.45);
  overflow: hidden;
  width: 100%;
}

.top-utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
  white-space: nowrap;
}

.utility-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 18px;
}

.utility-duplicate {
  display: none;
}

.utility-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

@keyframes utilitySlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #EAE3D2;
  transition: color 0.2s ease;
}
.utility-item:hover { color: var(--gold-light); }
.utility-dot { color: var(--gold); opacity: 0.8; }

/* ── Main Header (Header #3 Centered Crest + Balanced Nav) ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(20, 20, 20, 0.06);
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 6px 0;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 0 12px;
}

.brand-crest {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.brand-center:hover .brand-crest { transform: scale(1.04); }

.brand-wordmark {
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--black);
  line-height: 1.15;
}

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--black);
}

.mobile-drawer {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px 22px;
}
.mobile-drawer.open { display: block; }
.mobile-drawer a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--stone);
  font-weight: 500;
  color: var(--black);
}
.mobile-drawer a:last-child { border-bottom: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 8px 20px rgba(166, 130, 70, 0.25);
}

.btn-black {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-black:hover {
  background: #2C2C2C;
  box-shadow: 0 8px 20px rgba(20, 20, 20, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}

/* ── Editorial Hero (Web Draft #1) ── */
.hero {
  padding: 76px 0 64px;
  text-align: center;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--stone-soft) 100%);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.gold-rule {
  width: 68px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--black);
  max-width: 820px;
  margin: 0 auto 22px;
}

.hero-sub {
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: 1.08rem;
  color: var(--charcoal);
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-courts {
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ── Analog Mechanical Wheel / Odometer Stat Strip ── */
.stats-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-cell {
  padding: 28px 18px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }

.odometer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 2.85rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
  height: 1.2em;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.odo-wheel {
  display: inline-block;
  height: 1.2em;
  overflow: hidden;
  position: relative;
}

.odo-track {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  will-change: transform;
}

.odo-digit {
  height: 1.2em;
  line-height: 1.2em;
  display: block;
}

.odo-static {
  display: inline-block;
  line-height: 1.2em;
  color: var(--gold);
}

.odo-comma {
  display: inline-block;
  line-height: 1.2em;
  color: var(--black);
}

.stat-label {
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

/* ── Section Framing ── */
.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--stone-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-white {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin: 0 0 12px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ── Practice Areas Banner (Home Page -> Links to practice-areas.html) ── */
.practice-banner {
  background: var(--black);
  color: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.practice-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}

.practice-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(20, 20, 20, 0.16);
}

.banner-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.banner-top h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--white);
  margin: 6px 0 10px;
}

.banner-top p {
  max-width: 640px;
  margin: 0;
  color: #D8D1C5;
}

.banner-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.banner-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(166, 130, 70, 0.35);
  border-radius: var(--radius);
  color: var(--white);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.banner-pill:hover {
  background: rgba(166, 130, 70, 0.18);
  border-color: var(--gold-light);
  transform: translateX(3px);
}

.banner-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--white);
}

.banner-pill span {
  font-size: 0.84rem;
  color: #CFC6B7;
}

.banner-pill-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 2px;
  display: block;
}

.pill-arrow {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-left: 10px;
}

/* ── Advocates Section ── */
.chamber-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 52px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.chamber-story h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 12px;
}

.story-highlights {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
}

.story-highlights p {
  margin: 0 0 12px;
  font-size: 0.96rem;
  color: var(--charcoal);
}
.story-highlights p:last-child { margin-bottom: 0; }

.advocates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.advocate-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.advocate-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 14px 30px rgba(20, 20, 20, 0.08);
}

.advocate-photo-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--stone);
  border-bottom: 2px solid var(--gold);
}

.advocate-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.advocate-card:hover .advocate-photo { transform: scale(1.03); }

.advocate-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.advocate-role {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.advocate-body h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  margin: 0 0 8px;
  color: var(--black);
}

.advocate-meta {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stone);
}

.advocate-body p {
  font-size: 0.95rem;
  color: var(--charcoal);
  margin: 0 0 14px;
  flex: 1;
}

.advocate-langs {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── Bilingual Voice-Search Help Strip ── */
.urdu-strip {
  background: var(--white);
  border: 1px solid var(--gold);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ── Legal Guides Cards ── */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(20, 20, 20, 0.06);
}

.guide-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--stone-soft);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.guide-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin: 0 0 10px;
  line-height: 1.35;
}

.guide-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--charcoal);
}

/* ── Testimonials Grid ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.review-quote-mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 10px;
}

.review-text {
  font-size: 0.96rem;
  color: var(--charcoal);
  margin: 0 0 18px;
}

.review-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--black);
  border-top: 1px solid var(--stone);
  padding-top: 12px;
}

.review-author span {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--gold-dark);
  margin-top: 2px;
}

/* ── Expandable Accordion (FAQs & Practice Areas Page) ── */
.accordion-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.acc-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.acc-item.is-open {
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.06);
}

.acc-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--black);
}

.acc-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  transition: transform 0.3s ease, background-color 0.25s ease, color 0.25s ease;
}

.acc-item.is-open .acc-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--white);
}

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.acc-content {
  padding: 0 24px 22px;
  color: var(--charcoal);
  border-top: 1px solid var(--stone);
  padding-top: 18px;
}

/* ── Dedicated Practice Areas Page Expandable Cards ── */
.practice-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.practice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.practice-card.is-core { border-left-color: var(--gold); }

.practice-card.is-open {
  border-color: var(--gold);
  box-shadow: 0 14px 36px rgba(20, 20, 20, 0.08);
}

.practice-card-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 26px 28px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
}

.practice-card-badge {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.practice-card-title {
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 6px;
}

.practice-card-summary {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.practice-toggle-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  background: var(--ivory);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.practice-card.is-open .practice-toggle-pill {
  background: var(--gold);
  color: var(--white);
}

.practice-card-body {
  padding: 24px 28px 30px;
  border-top: 1px solid var(--stone);
  background: #FFFEFC;
}

.practice-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 18px 0 22px;
}

.practice-box {
  background: var(--stone-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.practice-box h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0 0 10px;
  color: var(--black);
}

.practice-box ul {
  margin: 0;
  padding-left: 18px;
}

.practice-box li {
  margin-bottom: 8px;
  font-size: 0.94rem;
}

.practice-faqs {
  margin-top: 18px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.practice-faqs h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 12px;
}

.mini-faq {
  margin-bottom: 12px;
  font-size: 0.94rem;
}
.mini-faq strong { color: var(--black); display: block; margin-bottom: 2px; }

.practice-cta-bar {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Contact Section ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.contact-card,
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--stone);
}
.contact-item:last-of-type { border-bottom: none; }

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1rem;
  color: var(--black);
  font-weight: 500;
}

.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--black);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--black);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 20px;
  font-size: 0.88rem;
  color: var(--muted);
}

.checkbox-row input {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  accent-color: var(--gold);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--gold-dark);
  min-height: 20px;
}

/* ── Footer (3-Column Clean Editorial) ── */
.site-footer {
  background: var(--black);
  color: #DDD5C7;
  padding: 58px 0 28px;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: var(--ivory);
  border-radius: 50%;
  padding: 3px;
}

.site-footer h4 {
  font-family: var(--font-brand);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin: 0 0 14px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 9px; font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #ACA497;
}

.footer-disclaimer {
  margin-top: 14px;
  font-size: 0.82rem;
  color: #9A9285;
  line-height: 1.55;
}

/* ── Sticky Mobile Call / WhatsApp Bar ── */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--gold);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
}

.mobile-sticky-bar a {
  padding: 14px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.sticky-call { background: var(--black); color: var(--white); }
.sticky-wa { background: var(--gold); color: var(--white); }

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ── Legal Document Page Styling ── */
.legal-article {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px;
}

.legal-article h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 10px;
}

.legal-article h2 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  margin: 26px 0 8px;
  color: var(--black);
}

/* ── Responsive Breakpoints ── */
@media (max-width: 960px) {
  .top-utility .container {
    padding: 0;
    max-width: 100%;
  }
  .top-utility-inner {
    display: flex;
    justify-content: flex-start;
    padding: 8px 0;
    overflow: hidden;
  }
  .utility-track {
    width: max-content;
    gap: 28px;
    padding-right: 28px;
    animation: utilitySlide 24s linear infinite;
  }
  .utility-track:hover,
  .utility-track:active {
    animation-play-state: paused;
  }
  .utility-duplicate {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
  }
  .header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
  }
  .header-grid nav { display: none; }
  .brand-center {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 10px;
    padding: 0;
  }
  .brand-crest {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .brand-wordmark {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px 10px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--border); }
  .banner-pills { grid-template-columns: repeat(2, 1fr); }
  .advocates-grid, .reviews-grid, .footer-grid { grid-template-columns: 1fr; }
  .chamber-story, .contact-grid, .practice-columns, .guides-grid { grid-template-columns: 1fr; }
  .story-highlights { border-left: none; border-top: 2px solid var(--gold); padding-left: 0; padding-top: 18px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 54px; }
  .top-utility { font-size: 0.8rem; }
  .brand-crest { width: 40px; height: 40px; }
  .brand-wordmark { font-size: 0.84rem; letter-spacing: 0.06em; }
  .hero { padding: 42px 0 38px; }
  .section { padding: 48px 0; }
  .practice-banner { padding: 28px 20px; }
  .banner-pills { grid-template-columns: 1fr; }
  .practice-card-header { flex-direction: column; align-items: flex-start; padding: 20px; }
  .practice-card-body { padding: 18px 20px 24px; }
  .chamber-story, .contact-card, .form-card, .legal-article { padding: 22px; }
  .mobile-sticky-bar { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .odo-track { transition: none !important; }
}
