/* ==========================================================================
   TorHoerman Law — STL Accident Landing Page
   Vanilla CSS. All custom classes are prefixed with "th-".
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --th-font-family: 'Inter', system-ui, sans-serif;
  --th-font-family-serif: Georgia, 'Times New Roman', serif;

  --th-color-gold: rgb(244, 207, 62);
  --th-color-gold-deep: rgb(217, 154, 43);
  --th-color-gold-border: rgba(214, 166, 62, 0.7);
  --th-color-gold-soft: rgb(240, 209, 137);
  --th-color-ink: rgb(28, 22, 8);

  --th-color-page-bg: #030712;
  --th-color-body-text: #e8ecf1;
  --th-color-heading: rgb(255, 255, 255);
  --th-color-text-muted: rgb(183, 192, 203);
  --th-color-text-soft: rgb(166, 174, 184);
  --th-color-text-faint: rgb(139, 148, 160);
  --th-color-text-dim: rgb(149, 160, 171);
  --th-color-label-dim: rgb(92, 102, 114);

  --th-color-card-bg: rgb(16, 19, 24);
  --th-color-card-border: rgba(255, 255, 255, 0.09);
  --th-color-btn-dark-bg: rgba(28, 34, 42, 0.72);
  --th-color-btn-dark-border: rgba(255, 255, 255, 0.18);
  --th-color-btn-dark-text: rgb(232, 236, 241);

  --th-container-width: 1240px;
  --th-container-pad: 26px;
  --th-radius-btn: 10px;
  --th-radius-card: 16px;
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--th-font-family);
  color: var(--th-color-body-text);
  background: var(--th-color-page-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--th-color-gold);
  text-decoration: none;
}

input,
button,
select,
textarea {
  font-family: inherit;
}

::placeholder {
  color: #7c8591;
}

img {
  max-width: 100%;
}

.th-no-scroll {
  overflow: hidden;
}

/* ---------- Animations ---------- */
@keyframes th-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

@keyframes th-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes th-press-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes th-proc-glow {
  0%, 100% { box-shadow: 0 0 14px 3px rgba(230, 140, 60, 0.22), 0 0 30px 8px rgba(230, 140, 60, 0.12); }
  50%      { box-shadow: 0 0 22px 6px rgba(230, 140, 60, 0.4), 0 0 46px 14px rgba(230, 140, 60, 0.2); }
}

/* Scroll reveal (sections start hidden only when JS is active) */
.th-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.th-js .th-reveal:not(.th-reveal-visible) {
  opacity: 0;
  transform: translateY(26px);
}

/* ---------- Page background ---------- */
.th-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1300px 950px at 88% 1%, rgba(21, 32, 43, 0.17), transparent 62%),
    radial-gradient(1200px 950px at 4% 15%, rgba(56, 84, 120, 0.15), transparent 62%),
    radial-gradient(1300px 1000px at 100% 30%, rgba(21, 32, 43, 0.12), transparent 62%),
    radial-gradient(1250px 1000px at 0% 45%, rgba(21, 32, 43, 0.15), transparent 62%),
    radial-gradient(1300px 1000px at 98% 60%, rgba(56, 84, 120, 0.14), transparent 62%),
    radial-gradient(1250px 1000px at 2% 75%, rgba(21, 32, 43, 0.16), transparent 62%),
    radial-gradient(1300px 1000px at 96% 90%, rgba(21, 32, 43, 0.17), transparent 62%),
    radial-gradient(1250px 1000px at 4% 100%, rgba(56, 84, 120, 0.13), transparent 62%),
    linear-gradient(rgb(21, 32, 43), rgb(3, 7, 18));
}

/* ---------- Shared layout helpers ---------- */
.th-container {
  max-width: var(--th-container-width);
  margin: 0 auto;
}

.th-section-head {
  max-width: 720px;
  margin: 0 0 40px;
}

.th-eyebrow {
  margin: 0 0 13px;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--th-color-gold);
}

.th-section-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.06;
  color: var(--th-color-heading);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.th-section-desc {
  margin: 15px 0 0;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--th-color-text-muted);
}

.th-icon-fixed {
  flex: 0 0 auto;
}

.th-icon-dim {
  opacity: 0.75;
}

.th-icon-soft {
  opacity: 0.85;
}

/* Gradient text utilities */
.th-text-gradient-silver {
  background: linear-gradient(rgb(238, 242, 246), rgb(139, 148, 160));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.th-text-gradient-gold {
  background: linear-gradient(rgb(247, 206, 98), rgb(216, 160, 44));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.th-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: var(--th-radius-btn);
  text-decoration: none;
}

.th-btn-gold,
.th-btn-gold:hover {
  color: var(--th-color-ink);
}

.th-btn-gold {
  background: var(--th-color-gold);
  border: 1px solid var(--th-color-gold-border);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 14px;
  transition: filter 0.15s ease;
}

.th-btn-gold:hover {
  filter: brightness(1.04);
}

.th-btn-dark {
  background: var(--th-color-btn-dark-bg);
  border: 1px solid var(--th-color-btn-dark-border);
  color: var(--th-color-btn-dark-text);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.th-btn-dark:hover {
  border-color: rgba(244, 207, 62, 0.5);
}

.th-cta-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.th-cta-call {
  padding: 16px 26px;
}

.th-cta-review,
.th-results-more {
  padding: 16px 24px;
}

/* ---------- Shared card styles + hover states ---------- */
.th-card {
  background: var(--th-color-card-bg);
  border: 1px solid var(--th-color-card-border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.th-card:hover {
  border-color: rgba(244, 207, 62, 0.38);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 34px rgba(244, 207, 62, 0.1);
  transform: translateY(-3px);
}

.th-card-gold {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.th-card-gold:hover {
  border-color: rgba(244, 207, 62, 0.55);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.5), 0 0 42px rgba(244, 207, 62, 0.16);
  transform: translateY(-3px);
}

/* Pill tag used on settlement cards */
.th-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 11px;
  border-radius: 7px;
  background: rgba(244, 207, 62, 0.12);
  border: 1px solid rgba(244, 207, 62, 0.3);
  font-weight: 700;
  font-size: 9.5px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--th-color-gold-soft);
  margin-bottom: 16px;
}

/* ---------- Header ---------- */
.th-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 11, 14, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.th-header-inner {
  max-width: var(--th-container-width);
  margin: 0 auto;
  padding: 14px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.th-header-logo-link {
  display: block;
  flex-shrink: 0;
}

.th-header-logo {
  height: 56px;
  width: auto;
  display: block;
}

.th-header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.th-header-call {
  font-size: 17px;
  padding: 14px 24px;
}

/* ---------- Hero ---------- */
.th-hero {
  position: relative;
  overflow: hidden;
}

.th-hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1300px 900px at 100% 96%, rgba(21, 32, 43, 0.24) 0%, rgba(21, 32, 43, 0) 64%),
    radial-gradient(900px 700px at 0% 0%, rgba(56, 84, 120, 0.15) 0%, rgba(56, 84, 120, 0) 60%);
}

.th-hero-grid {
  position: relative;
  max-width: var(--th-container-width);
  margin: 0 auto;
  padding: 52px 26px 46px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 44px;
  align-items: center;
}

.th-hero-grid > * {
  min-width: 0;
}

.th-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.th-hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-bottom: 24px;
}

.th-hero-rating-score {
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  color: rgb(255, 255, 255);
}

.th-hero-rating-stars {
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--th-color-gold);
}

.th-hero-rating-divider {
  width: 1px;
  height: 15px;
  background: rgba(255, 255, 255, 0.28);
}

.th-hero-rating-count {
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  color: var(--th-color-text-soft);
}

.th-hero-title {
  margin: 0 0 22px;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.th-hero-title-gradient {
  background: linear-gradient(118deg, rgb(152, 160, 171), rgb(245, 247, 250) 52%, rgb(210, 216, 222));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.th-hero-title-gold {
  color: var(--th-color-gold);
}

.th-hero-subtitle {
  margin: 0 0 30px;
  font-weight: 400;
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--th-color-text-muted);
  max-width: 490px;
}

.th-hero-subtitle strong {
  color: rgb(255, 255, 255);
  font-weight: 700;
}

.th-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.th-hero-call {
  padding: 16px 24px;
  box-shadow: rgba(0, 0, 0, 0.32) 0px 4px 16px;
}

.th-hero-review {
  padding: 16px 22px;
}

.th-hero-checklist {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.th-hero-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.2;
  color: var(--th-color-text-muted);
}

.th-hero-video {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgb(18, 16, 11);
  box-shadow: rgba(0, 0, 0, 0.5) 0px 30px 70px;
  cursor: pointer;
}

.th-hero-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.th-hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.th-hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(9, 11, 14, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.th-hero-play-triangle {
  border-left: 30px solid rgb(255, 255, 255);
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  margin-left: 8px;
}

/* ---------- Press marquee ---------- */
.th-press {
  padding: 40px 0 52px;
  overflow: hidden;
}

.th-press-label {
  margin: 0 0 24px;
  text-align: center;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--th-color-label-dim);
}

.th-press-mask {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, rgb(0, 0, 0) 13%, rgb(0, 0, 0) 87%, transparent);
  mask-image: linear-gradient(90deg, transparent, rgb(0, 0, 0) 13%, rgb(0, 0, 0) 87%, transparent);
}

.th-press-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: th-press-scroll 110s linear infinite;
}

.th-press-logo {
  flex: 0 0 auto;
  margin-right: 82px;
  line-height: 1;
  color: rgb(139, 149, 161);
}

.th-press-logo-bloomberg {
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.02em;
}

.th-press-logo-bloomberg span {
  font-weight: 400;
}

.th-press-logo-forbes {
  font-weight: 700;
  font-size: 30px;
  font-family: var(--th-font-family-serif);
  letter-spacing: 0.005em;
}

.th-press-logo-nbc {
  font-weight: 900;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.th-press-logo-nbc span {
  font-weight: 500;
}

.th-press-logo-yahoo {
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.02em;
}

.th-press-logo-yahoo span {
  font-weight: 400;
}

.th-press-logo-tribune {
  font-weight: 700;
  font-size: 25px;
  font-family: var(--th-font-family-serif);
}

/* ---------- Stats ---------- */
.th-stats {
  padding: 6px 26px 62px;
}

.th-stats-grid {
  max-width: var(--th-container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.th-stat-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--th-radius-card);
  padding: 24px 26px 26px;
  min-height: 186px;
  display: flex;
  flex-direction: column;
}

.th-stat-label {
  text-align: right;
  padding-right: 40px;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.35;
  color: var(--th-color-text-soft);
}

.th-stat-value {
  margin-top: auto;
  font-weight: 800;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* ---------- Results / settlements ---------- */
.th-results {
  padding: 64px 26px;
}

.th-settlements {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.th-settlement-featured {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 34px 36px 32px;
  background: linear-gradient(155deg, rgba(244, 207, 62, 0.16), rgba(217, 154, 43, 0.04));
  border: 1px solid rgba(244, 207, 62, 0.32);
  display: flex;
  flex-direction: column;
}

.th-settlement-amount-xl {
  font-weight: 800;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.th-settlement-type-lg {
  margin-top: 14px;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  color: rgb(255, 255, 255);
}

.th-settlement-desc-lg {
  margin-top: 8px;
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgb(200, 207, 216);
  max-width: 920px;
}

.th-settlement-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
}

.th-settlement-card {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
  border-radius: var(--th-radius-card);
}

.th-settlement-amount {
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.th-settlement-type {
  margin-top: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: rgb(255, 255, 255);
}

.th-settlement-desc {
  margin-top: 7px;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  color: var(--th-color-text-soft);
}

/* ---------- Practice areas ---------- */
.th-practice {
  padding: 40px 26px 60px;
}

.th-practice-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.th-practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.th-practice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 22px;
  border-radius: var(--th-radius-card);
  background: var(--th-color-card-bg);
  border: 1px solid var(--th-color-card-border);
  cursor: pointer;
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.th-practice-card:hover,
.th-practice-card:focus-within {
  border-color: rgba(244, 207, 62, 0.4);
  transform: translateY(-3px);
  background: rgb(19, 23, 29);
}

.th-practice-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(244, 207, 62, 0.13);
  border: 1px solid rgba(244, 207, 62, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.th-practice-title {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  color: rgb(255, 255, 255);
  margin-bottom: 9px;
}

.th-practice-desc {
  flex: 1 1 0%;
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--th-color-text-soft);
  margin-bottom: 18px;
}

.th-practice-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1;
  color: var(--th-color-gold);
}

/* The whole card is clickable: the button's hit area is stretched over the card, so it stays a
   single real, keyboard-focusable button. */
.th-practice-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* ---------- Testimonials ---------- */
.th-testimonials {
  padding: 64px 26px;
}

.th-testimonials-head {
  margin-bottom: 34px;
}

.th-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 34px;
}

.th-featured-quote {
  border-radius: 20px;
  padding: 38px 36px;
  background: linear-gradient(155deg, rgba(244, 207, 62, 0.14), rgba(230, 140, 60, 0.04));
  border: 1px solid rgba(244, 207, 62, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.th-featured-quote-mark {
  opacity: 0.9;
  margin-bottom: 14px;
}

.th-featured-quote-text {
  font-weight: 800;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  color: rgb(255, 255, 255);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.th-featured-quote-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.th-featured-quote-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--th-color-gold);
}

.th-featured-quote-case {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.3;
  color: rgb(200, 207, 216);
  margin-top: 3px;
}

.th-featured-video {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  min-height: 320px;
  background: rgb(9, 11, 14);
  transition: border-color 0.15s ease;
}

.th-featured-video:hover {
  border-color: rgba(244, 207, 62, 0.45);
}

.th-featured-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.th-video-overlay.th-hidden {
  display: none;
}

.th-video-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(9, 11, 14, 0.05) 0%, rgba(9, 11, 14, 0.45) 60%, rgba(9, 11, 14, 0.88) 100%);
}

.th-video-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 8px;
  background: rgba(9, 11, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 700;
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(230, 207, 154);
}

.th-video-play-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.th-video-play {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--th-color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.th-video-play-triangle {
  border-left: 22px solid rgb(28, 22, 8);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  margin-left: 6px;
}

.th-video-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: rgb(255, 255, 255);
}

.th-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 34px;
}

.th-review-card {
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

.th-review-stars {
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--th-color-gold);
  margin-bottom: 14px;
}

.th-review-text {
  margin: 0 0 20px;
  flex: 1 1 0%;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgb(219, 224, 230);
  text-wrap: pretty;
}

.th-review-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.th-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(29, 35, 44);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  color: var(--th-color-gold);
  flex: 0 0 auto;
}

.th-review-name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  color: rgb(255, 255, 255);
}

.th-review-role {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.3;
  color: var(--th-color-text-dim);
}

/* Trust badges */
.th-badges {
  margin-top: 6px;
  padding: 34px 26px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.th-badges-label {
  margin: 0 0 26px;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--th-color-label-dim);
}

.th-badges-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.th-badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 26px 18px;
  border-radius: var(--th-radius-card);
}

.th-badge-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.th-badge-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  color: rgb(255, 255, 255);
}

.th-badge-note {
  font-weight: 500;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--th-color-text-faint);
}

/* ---------- Process ---------- */
.th-process {
  padding: 64px 26px;
}

.th-process-wrap {
  position: relative;
}

.th-process-line {
  position: absolute;
  top: 26px;
  left: 26px;
  right: calc(25% - 26px);
  height: 2px;
  background: linear-gradient(90deg, rgba(244, 207, 62, 0.12), rgba(244, 207, 62, 0.5) 30%, rgba(244, 207, 62, 0.5) 70%, rgba(244, 207, 62, 0.12));
  z-index: 0;
  display: block;
}

.th-process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.th-process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.th-process-dot {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgb(247, 208, 106), rgb(217, 154, 43));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
  color: var(--th-color-ink);
  margin-bottom: 22px;
  flex: 0 0 auto;
  animation: th-proc-glow 2.6s ease-in-out infinite;
}

.th-process-step:nth-child(2) .th-process-dot {
  animation-delay: 0.45s;
}

.th-process-step:nth-child(3) .th-process-dot {
  animation-delay: 0.9s;
}

.th-process-step:nth-child(4) .th-process-dot {
  animation-delay: 1.35s;
}

.th-process-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  color: rgb(255, 255, 255);
  margin-bottom: 9px;
}

.th-process-desc {
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--th-color-text-soft);
}

/* ---------- Attorney ---------- */
.th-attorney {
  padding: 20px 26px 70px;
}

.th-attorney-grid {
  max-width: var(--th-container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: center;
  border-radius: 22px;
  overflow: hidden;
  background: rgb(14, 17, 22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px;
}

.th-attorney-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 470px;
  background: rgb(18, 16, 11);
}

.th-attorney-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 50% 18%;
}

.th-attorney-photo-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(transparent, rgba(9, 11, 14, 0.5));
}

.th-attorney-info {
  padding: 24px 34px 24px 8px;
}

.th-attorney-name {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.05;
  color: rgb(255, 255, 255);
  letter-spacing: -0.03em;
}

.th-attorney-role {
  margin: 0 0 20px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  color: var(--th-color-text-dim);
}

.th-attorney-bio {
  margin: 0 0 26px;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.62;
  color: rgb(192, 200, 209);
  max-width: 560px;
  text-wrap: pretty;
}

.th-attorney-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.th-attorney-review {
  font-size: 15px;
  padding: 15px 24px;
}

.th-attorney-team {
  font-size: 15px;
  padding: 15px 24px;
}

/* ---------- Final CTA ---------- */
.th-final {
  padding: 6px 26px 74px;
}

.th-final-card {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 44px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(244, 207, 62, 0.14), rgba(230, 140, 60, 0.05));
  border: 1px solid rgba(244, 207, 62, 0.28);
}

.th-final-title {
  margin: 0 0 15px;
  font-weight: 800;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.06;
  color: rgb(255, 255, 255);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.th-final-desc {
  margin: 0 auto 30px;
  max-width: 540px;
  font-weight: 400;
  font-size: 17.5px;
  line-height: 1.6;
  color: rgb(200, 207, 216);
}

.th-final-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.th-final-call {
  gap: 10px;
  font-size: 17px;
  padding: 18px 30px;
  box-shadow: rgba(0, 0, 0, 0.34) 0px 8px 22px;
}

.th-final-review {
  gap: 10px;
  font-size: 17px;
  padding: 18px 30px;
  border-color: rgba(255, 255, 255, 0.2);
}

.th-final-review:hover {
  border-color: rgba(244, 207, 62, 0.55);
}

/* ---------- Footer ---------- */
.th-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 38px 26px 34px;
  background: rgb(5, 7, 10);
}

.th-footer-inner {
  max-width: var(--th-container-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.th-footer-logo {
  height: 34px;
  width: auto;
  display: block;
}

.th-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.th-footer-locations {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  color: var(--th-color-text-faint);
}

.th-footer-phone,
.th-footer-phone:hover {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--th-color-gold);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
}

.th-footer-privacy,
.th-footer-privacy:hover {
  color: var(--th-color-text-faint);
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
}

.th-footer-disclaimer {
  max-width: var(--th-container-width);
  margin: 24px auto 0;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.65;
  color: rgb(90, 100, 112);
}

/* ---------- Mobile call bar ---------- */
.th-mobile-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  background: rgb(10, 12, 15);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
}

.th-mobile-call-btn,
.th-mobile-call-btn:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--th-color-gold);
  color: var(--th-color-ink);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  padding: 15px;
  border-radius: var(--th-radius-btn);
  border: 1px solid var(--th-color-gold-border);
}

/* ---------- Contact modal ---------- */
.th-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(4, 6, 9, 0.76);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 36px 16px;
  overflow: auto;
  animation: th-fade 0.2s ease;
}

.th-modal.th-open {
  display: flex;
}

.th-modal-card {
  width: 100%;
  max-width: 472px;
  background: rgb(16, 19, 24);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.6) 0px 30px 80px;
  overflow: hidden;
  animation: th-pop 0.28s ease;
}

.th-modal-header {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.th-modal-title {
  margin: 0 0 3px;
  font-weight: 800;
  font-size: 21px;
  line-height: 1.12;
  color: rgb(255, 255, 255);
  letter-spacing: -0.015em;
}

.th-modal-subtitle {
  margin: 0;
  font-weight: 500;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--th-color-text-faint);
}

.th-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.th-lang {
  position: relative;
}

.th-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgb(223, 228, 234);
  font-weight: 600;
  font-size: 11.5px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.th-lang-btn:hover {
  border-color: rgba(244, 207, 62, 0.5);
}

.th-lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 150px;
  background: #151a20;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  animation: th-pop 0.18s ease;
}

.th-lang-menu.th-open {
  display: block;
}

.th-lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border: none;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.12s ease;
  background: transparent;
  color: #c2c9d1;
}

.th-lang-option-active {
  background: rgba(244, 207, 62, 0.12);
  color: #fff;
}

.th-lang-check {
  width: 13px;
  flex: none;
  color: var(--th-color-gold);
  font-weight: 800;
}

.th-modal-close {
  background: none;
  border: none;
  color: var(--th-color-text-faint);
  cursor: pointer;
  line-height: 1;
  display: flex;
}

.th-modal-body {
  padding: 22px 24px 26px;
}

.th-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.th-modal-form.th-hidden {
  display: none;
}

.th-field-label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  color: var(--th-color-text-muted);
  margin-bottom: 7px;
}

.th-field-required {
  color: var(--th-color-gold);
}

.th-input {
  width: 100%;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  color: rgb(255, 255, 255);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.th-input:focus {
  border-color: var(--th-color-gold);
  outline: none;
  background: rgba(255, 255, 255, 0.08);
}

.th-select {
  width: 100%;
  padding: 14px 40px 14px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  color: rgb(255, 255, 255);
  border: 1px solid rgba(255, 255, 255, 0.13);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238b94a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 6l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.th-select:focus {
  border-color: var(--th-color-gold);
  outline: none;
}

.th-select option {
  background: rgb(21, 26, 32);
  color: rgb(255, 255, 255);
}

.th-select option.th-select-placeholder {
  color: var(--th-color-text-faint);
}

.th-textarea {
  width: 100%;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgb(255, 255, 255);
  resize: vertical;
  min-height: 84px;
}

.th-textarea:focus {
  border-color: var(--th-color-gold);
  outline: none;
  background: rgba(255, 255, 255, 0.08);
}

.th-modal-submit {
  width: 100%;
  background: var(--th-color-gold);
  color: var(--th-color-ink);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  padding: 16px;
  border: 1px solid var(--th-color-gold-border);
  border-radius: var(--th-radius-btn);
  box-shadow: rgba(0, 0, 0, 0.32) 0px 6px 18px;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.th-modal-submit:hover {
  filter: brightness(1.04);
}

.th-modal-consent {
  margin: 2px 0 0;
  font-weight: 400;
  font-size: 10.5px;
  line-height: 1.5;
  color: rgb(108, 118, 131);
  text-align: center;
}

.th-modal-done {
  display: none;
  text-align: center;
  padding: 22px 6px 12px;
  animation: th-pop 0.35s ease;
}

.th-modal-done.th-open {
  display: block;
}

.th-modal-done-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(244, 207, 62, 0.15);
  border: 1px solid rgba(244, 207, 62, 0.5);
  color: var(--th-color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.th-modal-done-title {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  color: #fff;
}

.th-modal-done-desc {
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.55;
  color: #95a0ab;
}

.th-modal-done-call {
  font-size: 15px;
  padding: 15px 24px;
  box-shadow: none;
}

/* ==========================================================================
   Responsive breakpoints (mirroring the original layout logic)
   ========================================================================== */

@media (max-width: 1040px) {
  .th-practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .th-settlement-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 939px) {
  .th-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 899px) {
  .th-mobile-call {
    display: block;
  }

  /* SimplyConvert pins its widgets to the bottom with inline styles (the mobile bar below ~600px,
     the desktop bubble at bottom:12px above that). Keep both above the 70px call bar. */
  .sc_mobile_help {
    bottom: 70px !important;
  }

  .trigger-drop-button {
    bottom: 82px !important;
  }
}

@media (max-width: 859px) {
  .th-settlements {
    grid-template-columns: 1fr;
  }

  .th-attorney-grid {
    grid-template-columns: 1fr;
  }

  .th-process-line {
    display: none;
  }
}

@media (max-width: 820px) {
  .th-badges-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .th-badges-grid > div {
    grid-column: span 2;
  }

  .th-badges-grid > div:nth-child(4) {
    grid-column: 2 / span 2;
  }
}

@media (max-width: 759px) {
  .th-stats-grid {
    grid-template-columns: 1fr;
  }

  .th-featured-grid {
    grid-template-columns: 1fr;
  }

  .th-review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .th-hero-copy > div {
    flex-wrap: wrap;
  }

  .th-hero-check {
    white-space: normal;
  }

  .th-settlement-row {
    grid-template-columns: 1fr 1fr;
  }

  .th-process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .th-practice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  /* one step down so the logo and the call button still share one row on phones */
  .th-header-logo {
    height: 44px;
  }

  .th-header-call {
    font-size: 15px;
    padding: 12px 18px;
  }

  .th-badges-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .th-badges-grid > div {
    grid-column: span 2;
  }

  .th-badges-grid > div:nth-child(4) {
    grid-column: auto / span 2;
  }

  .th-badges-grid > div:nth-child(5) {
    grid-column: 2 / span 2;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .th-process-dot {
    animation: none;
  }

  .th-press-track {
    animation: none;
  }

  .th-js .th-reveal:not(.th-reveal-visible) {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Contact form feedback (validation + submission states) ---------- */
.th-input.th-invalid,
.th-select.th-invalid,
.th-textarea.th-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}

.th-modal-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(220, 38, 38, 0.35);
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.th-modal-error[hidden] {
  display: none;
}

.th-modal-submit[disabled] {
  opacity: 0.7;
  cursor: progress;
}
