:root {
  --navy: #0a1628;
  --navy-light: #0f1f38;
  --navy-mid: #152845;
  --gold: #c9a84c;
  --gold-light: #d4b96a;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --white: #ffffff;
  --gray-100: #f0f2f5;
  --gray-300: #d1d5db;
  --gray-500: #9ca3af;
  --gray-700: #4b5563;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.nav-actions { display: flex; align-items: center; gap: 20px; }
.lang-toggle {
  background: none;
  border: none;
  color: var(--gray-300);
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 168, 76, 0.2);
  transition: all 0.2s;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }
.lang-en.active, .lang-es.active { color: var(--gold); font-weight: 600; }
.lang-sep { color: var(--gray-700); }
.nav-cta {
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-light); }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-bg-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 17px;
  color: var(--gray-300);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 15px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); }

/* HERO CARD */
.hero-card {
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
.card-header {
  background: var(--navy-mid);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.card-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-700); }
.card-dot.active { background: #ff5f57; }
.card-label { font-size: 12px; color: var(--gray-500); margin-left: 8px; font-weight: 500; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.lead-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lead-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lead-info { flex: 1; min-width: 0; }
.lead-name { font-size: 14px; font-weight: 600; color: var(--white); }
.lead-type { font-size: 12px; color: var(--gray-500); }
.lead-lang { margin-top: 4px; }
.lang-badge { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; background: rgba(201,168,76,0.15); color: var(--gold); }
.lang-badge.en { background: rgba(96,165,250,0.15); color: #60a5fa; }
.lead-status { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; flex-shrink: 0; }
.lead-status.new { background: rgba(52,211,153,0.15); color: #34d399; }
.lead-status.assigned { background: rgba(201,168,76,0.15); color: var(--gold); }
.lead-status.contacted { background: rgba(96,165,250,0.15); color: #60a5fa; }

/* HOW */
.how { padding: 80px 24px; background: var(--navy-light); }
.how-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow-line { width: 24px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 56px;
  max-width: 540px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.how-col { padding: 0; }
.how-icon { margin-bottom: 20px; }
.how-col h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.how-col p { font-size: 15px; color: var(--gray-300); line-height: 1.65; }

/* FEATURES */
.features { padding: 80px 24px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-top { margin-bottom: 56px; }
.features-label { display: flex; align-items: center; gap: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.features-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover { border-color: rgba(201,168,76,0.25); transform: translateY(-3px); }
.feature-icon-wrap { margin-bottom: 18px; }
.feature-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.feature-card p { font-size: 14px; color: var(--gray-300); line-height: 1.65; }

/* SPLIT */
.split { padding: 80px 24px; background: var(--navy-light); }
.split-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: center; }
.stats-row { display: flex; align-items: center; gap: 32px; margin-bottom: 40px; }
.stat { text-align: left; }
.stat-num { font-family: 'Playfair Display', Georgia, serif; font-size: 40px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: var(--gray-300); line-height: 1.4; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.1); }
.split-quote {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  font-size: 16px;
  color: var(--gray-300);
  font-style: italic;
  line-height: 1.7;
}
.pricing-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.pricing-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 600; margin-bottom: 24px; }
.pricing-option { margin-bottom: 0; }
.pricing-option-name { font-size: 14px; color: var(--gray-300); margin-bottom: 4px; }
.pricing-option-price { font-family: 'Playfair Display', Georgia, serif; font-size: 36px; font-weight: 700; color: var(--white); }
.pricing-option-price span { font-size: 16px; color: var(--gray-500); font-weight: 400; font-family: 'DM Sans', sans-serif; }
.pricing-option-desc { font-size: 13px; color: var(--gray-500); margin-bottom: 20px; }
.pricing-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 20px 0; }
.pricing-note { font-size: 12px; color: var(--gray-500); margin-top: 16px; }

/* CLOSING */
.closing { padding: 100px 24px; }
.closing-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.closing-top { }
.closing-eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; color: var(--gold); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 24px; }
.closing-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 24px; }
.closing-body { font-size: 18px; color: var(--gray-300); line-height: 1.7; max-width: 700px; margin: 0 auto; }

/* FOOTER */
.footer { padding: 40px 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.footer-tagline { font-size: 13px; color: var(--gray-500); }
.footer-meta { font-size: 13px; color: var(--gray-700); }

/* ═══════════════════════════════════════════════════════
   INTAKE FORM PAGE
   ═══════════════════════════════════════════════════════ */

.intake-wrap {
  min-height: calc(100vh - 64px);
  padding: 60px 24px 80px;
}
.intake-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.intake-copy { padding-top: 12px; }
.intake-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin: 16px 0 20px;
}
.intake-body { font-size: 16px; color: var(--gray-300); line-height: 1.7; margin-bottom: 28px; }
.intake-trust { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.intake-trust li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-300); }

.intake-card {
  background: var(--navy-light);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-300); margin-bottom: 7px; letter-spacing: .01em; }
.form-required { color: var(--gold); margin-left: 3px; }
.form-input {
  width: 100%;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 11px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.12); }
.form-input.input-error { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,.12); }
.form-input::placeholder { color: var(--gray-700); }
.form-select { cursor: pointer; }
.form-select option { background: var(--navy-mid); color: var(--white); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-error { font-size: 12px; color: #f87171; margin-top: 5px; display: none; }
.form-error-global { padding: 10px 14px; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.25); border-radius: var(--radius-sm); margin-bottom: 16px; }

.lang-radio-group { display: flex; gap: 12px; }
.lang-radio-label {
  display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500;
  color: var(--gray-300); cursor: pointer; padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm);
  transition: border-color .2s, color .2s; flex: 1; justify-content: center;
}
.lang-radio-label:has(input:checked) { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.07); }
.lang-radio-label input[type="radio"] { display: none; }

.btn-submit {
  width: 100%; background: var(--gold); color: var(--navy); border: none;
  border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 600; padding: 14px 24px; cursor: pointer;
  transition: background .2s, transform .15s; display: flex; align-items: center;
  justify-content: center; gap: 8px; margin-top: 4px;
}
.btn-submit:hover:not(:disabled) { background: var(--gold-light); transform: translateY(-1px); }
.btn-submit:disabled { opacity: .75; cursor: default; }

.spin { animation: spinAnim .8s linear infinite; }
@keyframes spinAnim { to { transform: rotate(360deg); } }

.form-disclaimer { font-size: 11px; color: var(--gray-700); line-height: 1.55; margin-top: 14px; text-align: center; }

.intake-success { text-align: center; padding: 20px 0; }
.success-icon { margin-bottom: 20px; }
.success-title { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.success-body { font-size: 15px; color: var(--gray-300); line-height: 1.7; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .split-inner { grid-template-columns: 1fr; gap: 48px; }
  .intake-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .hero { padding: 60px 20px 80px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .stats-row { flex-wrap: wrap; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .nav-cta { display: none; }
  .lang-toggle { font-size: 12px; padding: 5px 10px; }
  .form-row { grid-template-columns: 1fr; }
  .intake-card { padding: 24px 20px; }
  .intake-wrap { padding: 40px 16px 60px; }
}

/* ═══════════════════════════════════════════════════════
   HIDDEN-LANG UTILITY — toggled by JS on language switch
   ═══════════════════════════════════════════════════════ */
.hidden-lang { display: none !important; }

/* ═══════════════════════════════════════════════════════
   HOMEPAGE — RESIDENT-FACING
   ═══════════════════════════════════════════════════════ */

/* Hero */
.hp-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 24px 96px;
}
.hp-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hp-hero-content { }
.hp-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hp-sub {
  font-size: 18px;
  color: var(--gray-300);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hp-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hp-cta-btn { white-space: nowrap; }
.hp-hero-visual { }

/* Case-type tiles */
.hp-cases {
  padding: 80px 24px;
  background: var(--navy-light);
}
.hp-cases-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.hp-case-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.hp-case-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-lg);
  padding: 24px 20px 20px;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  position: relative;
}
.hp-case-tile:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  background: rgba(201,168,76,0.05);
}
.case-tile-icon { color: var(--gold); flex-shrink: 0; }
.case-tile-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.case-tile-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.55;
  flex: 1;
}
.case-tile-arrow {
  font-size: 18px;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
  align-self: flex-end;
}
.hp-case-tile:hover .case-tile-arrow { opacity: 1; }
.hp-case-tile--other { border-style: dashed; }

/* How it works — resident-focused */
.hp-how {
  padding: 80px 24px;
}
.hp-how-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.hp-how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 52px;
}
.hp-how-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hp-step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  margin-bottom: -4px;
}
.hp-step-icon { }
.hp-how-step h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}
.hp-how-step p {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.7;
}
.hp-how-cta { text-align: center; }

/* Trust strip */
.hp-trust {
  padding: 48px 24px;
  background: var(--navy-light);
  border-top: 1px solid rgba(201,168,76,0.08);
  border-bottom: 1px solid rgba(201,168,76,0.08);
}
.hp-trust-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.hp-trust-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
}
.hp-trust-neighborhoods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  color: var(--white);
}
.hp-neighborhood { font-weight: 600; }
.hp-trust-sep { color: var(--gold); padding: 0 12px; font-weight: 300; }
.hp-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.hp-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-300);
}

/* Attorney CTA band */
.hp-atty-band {
  padding: 32px 24px;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.hp-atty-band-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hp-atty-text {
  font-size: 15px;
  color: var(--gray-300);
}
.hp-atty-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.hp-atty-link:hover { color: var(--gold-light); text-decoration: underline; }

/* Homepage responsive */
@media (max-width: 1100px) {
  .hp-case-grid { grid-template-columns: repeat(3, 1fr); }
  .hp-case-tile--other { grid-column: span 3; flex-direction: row; align-items: center; }
  .hp-case-tile--other .case-tile-desc { flex: 1; }
}
@media (max-width: 900px) {
  .hp-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hp-hero-visual { order: -1; }
  .hp-case-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-case-tile--other { grid-column: span 2; flex-direction: row; }
  .hp-how-steps { grid-template-columns: 1fr; gap: 36px; }
  .hp-how-step { flex-direction: column; }
}
@media (max-width: 640px) {
  .hp-hero { padding: 48px 16px 64px; }
  .hp-cases { padding: 56px 16px; }
  .hp-how { padding: 56px 16px; }
  .hp-case-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hp-case-tile--other { grid-column: span 2; }
  .hp-trust-neighborhoods { font-size: 16px; }
  .hp-hero-visual .hero-card { display: none; }
  .hp-atty-band-inner { flex-direction: column; gap: 8px; text-align: center; }
}

/* ─── Inline Lead Intake Form (lif-*) ───────────────────────────────────────── */

.lif-wrap {
  background: var(--navy-light);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-md);
  padding: 28px 28px 24px;
}

.lif-form { display: flex; flex-direction: column; gap: 16px; }

.lif-group { display: flex; flex-direction: column; gap: 6px; }

.lif-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.lif-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-300);
}
.lif-req { color: var(--gold); font-size: 12px; }
.lif-opt { color: var(--gray-500); font-size: 12px; font-weight: 400; }

.lif-input {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  width: 100%;
  transition: border-color 0.2s;
}
.lif-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.07);
}
.lif-input::placeholder { color: var(--gray-500); }
.lif-input.lif-input-err { border-color: #f87171; }
.lif-select { cursor: pointer; }
.lif-select option { background: var(--navy-light); color: var(--white); }
.lif-textarea { resize: vertical; min-height: 80px; }

.lif-radio-group { display: flex; gap: 16px; padding-top: 4px; }
.lif-radio-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--gray-300);
  cursor: pointer;
}
.lif-radio-label input[type="radio"] { accent-color: var(--gold); cursor: pointer; }

.lif-consent-group { margin-top: 4px; }
.lif-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.lif-checkbox-label input[type="checkbox"] {
  accent-color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.lif-checkbox-text {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
}
.lif-checkbox-text a { color: var(--gold); text-decoration: underline; }

.lif-error {
  font-size: 12px;
  color: #f87171;
  display: none;
}
.lif-error-global {
  background: rgba(248,113,113,.1);
  border: 1px solid rgba(248,113,113,.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: #f87171;
}

.lif-submit {
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.lif-submit:hover:not(:disabled) { background: var(--gold-light); transform: translateY(-1px); }
.lif-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.lif-btn-loading { display: inline-flex; align-items: center; }

@keyframes lif-spin { to { transform: rotate(360deg); } }
.lif-spin { animation: lif-spin 0.8s linear infinite; }

/* Success state */
.lif-success {
  text-align: center;
  padding: 32px 20px;
}
.lif-success-icon { margin-bottom: 16px; }
.lif-success-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
}
.lif-success-body {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.65;
  max-width: 400px;
  margin: 0 auto;
}
.lif-success-body strong { color: var(--gold); }

/* Homepage inline form section */
.hp-inline-form-section {
  padding: 72px 24px;
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,168,76,.1);
}
.hp-inline-form-inner {
  max-width: 720px;
  margin: 0 auto;
}
.hp-inline-form-header {
  text-align: center;
  margin-bottom: 32px;
}
.hp-inline-form-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 10px;
}
.hp-inline-form-header p {
  color: var(--gray-300);
  font-size: 16px;
}

/* SEO page inline form embed */
.seo-inline-form-wrap {
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,168,76,.1);
  border-bottom: 1px solid rgba(201,168,76,.1);
  padding: 40px 24px;
}
.seo-inline-form-inner {
  max-width: 720px;
  margin: 0 auto;
}
.seo-inline-form-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 20px;
  text-align: center;
}

/* Get-help standalone page */
.gh-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.gh-header {
  text-align: center;
  margin-bottom: 40px;
}
.gh-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.gh-header p {
  font-size: 17px;
  color: var(--gray-300);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}
.gh-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0 32px;
}
.gh-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--gray-300);
}

@media (max-width: 600px) {
  .lif-row { grid-template-columns: 1fr; }
  .lif-wrap { padding: 20px 16px; }
  .hp-inline-form-header h2 { font-size: 22px; }
  .gh-header h1 { font-size: 26px; }
}
