.pricing {
  padding: 110px 0;
}

.hero {
  height: min(900px, calc(100dvh - 103px));
  min-height: 640px;
  max-height: 900px;
}

.pricing-intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 42px;
}

.pricing-intro h2 {
  margin: 0;
  font-size: clamp(39px, 5vw, 69px);
  line-height: .96;
  letter-spacing: -.055em;
}

.pricing-intro p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.pricing-intro img,
.request-heading img,
.workflow-copy img,
.coverage-photo,
.prepare-head img,
.faq > div:first-child img {
  width: 100%;
  height: 245px;
  border-radius: var(--radius);
  object-fit: cover;
}

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

.price-grid article {
  min-height: 330px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.price-grid article.featured {
  background: var(--dark);
  color: #fff;
}

.price-grid span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.price-grid strong {
  margin: 24px 0 20px;
  font-size: 58px;
  line-height: 1;
  letter-spacing: -.06em;
}

.price-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.price-grid .featured p {
  color: #cbd2d5;
}

.price-grid a {
  margin-top: auto;
  color: #a83b14;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.price-grid .featured a {
  color: #ff976f;
}

.price-note {
  margin-top: 17px;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: #ecefed;
  color: var(--muted);
  font-size: 11px;
}

.request-heading {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 55px;
  align-items: end;
  margin-bottom: 42px;
}

.request-heading .section-head {
  margin-bottom: 0;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-grid article,
.service-grid article:nth-child(2),
.service-grid article:nth-child(3) {
  min-height: 455px;
  display: flex;
  grid-row: auto;
  flex-direction: column;
}

.service-grid article:nth-child(4),
.service-grid article:nth-child(5) {
  grid-column: span 1;
}

.service-grid img,
.service-grid article:nth-child(2) img,
.service-grid article:nth-child(3) img {
  width: 100%;
  height: 190px;
  min-height: 190px;
  object-fit: cover;
}

.service-grid article > div {
  flex: 1;
}

.workflow-copy img {
  height: 260px;
  margin-top: 25px;
}

.coverage {
  grid-template-columns: .92fr 1.08fr;
}

.coverage-photo {
  height: 190px;
  margin: 20px 0 4px;
}

.service-areas {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 25px;
  padding-top: 35px;
  border-top: 1px solid #ffffff1f;
}

.county-badge {
  padding: 23px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ffffff24;
  border-radius: var(--radius);
  background: #ffffff09;
}

.county-badge span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .14em;
}

.county-badge strong {
  margin-top: 8px;
  font-size: 23px;
}

.county-badge small {
  margin-top: 6px;
  color: #b9c3c7;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
}

.city-list span {
  padding: 8px 11px;
  border: 1px solid #ffffff25;
  border-radius: 999px;
  color: #dbe1e3;
  font-size: 10px;
  font-weight: 800;
}

.prepare-head {
  max-width: none !important;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 55px;
  align-items: end;
}

.prepare-head > div {
  max-width: 650px;
}

.prepare-head > div > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.limits {
  grid-template-columns: .65fr 1fr .8fr;
  gap: 45px;
}

.limits > img {
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  object-fit: cover;
}

.rating {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 25px 0;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
}

.rating > strong {
  font-size: 53px;
  line-height: 1;
}

.rating div {
  display: flex;
  flex-direction: column;
}

.rating span {
  color: var(--accent);
  letter-spacing: .15em;
}

.rating b {
  margin-top: 4px;
  font-size: 12px;
}

.map-link {
  min-height: 47px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.faq > div:first-child img {
  height: 260px;
  margin-top: 25px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.final-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #161b20 15%, #161b20d8 60%, #161b2070);
}

.final-cta > div {
  position: relative;
  z-index: 2;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 940px) {
  .pricing-intro,
  .request-heading,
  .prepare-head,
  .limits {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-areas {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    height: 690px;
    min-height: 690px;
    max-height: 690px;
  }

  .pricing {
    padding: 76px 0;
  }

  .pricing-intro,
  .request-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-intro h2 {
    font-size: 40px;
  }

  .pricing-intro img,
  .request-heading img,
  .prepare-head img,
  .faq > div:first-child img {
    height: 210px;
  }

  .price-grid,
  .service-grid {
    display: block;
  }

  .price-grid article,
  .service-grid article {
    min-height: 0;
    margin-bottom: 12px;
  }

  .price-grid article {
    min-height: 290px;
  }

  .service-grid img,
  .service-grid article:nth-child(2) img,
  .service-grid article:nth-child(3) img {
    height: 220px;
  }

  .coverage {
    grid-template-columns: 1fr;
  }

  .city-list span {
    font-size: 9px;
  }

  .limits {
    display: block;
  }

  .limits > img,
  .limits > div,
  .limits blockquote {
    margin-bottom: 20px;
  }

  .final-cta {
    min-height: 500px;
  }
}

/* Broad litigation-support positioning and the filing-forward service card */
.hero-shade {
  background: linear-gradient(90deg, rgba(1,50,43,.94) 0%, rgba(1,50,43,.82) 38%, rgba(1,50,43,.22) 70%, rgba(1,50,43,.08) 100%);
}
.hero-copy {
  width: min(720px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - var(--max)) / 2));
  margin-right: auto;
}
.hero h1 {
  max-width: 720px;
  font-size: clamp(48px, 5.5vw, 78px);
  line-height: .96;
  text-wrap: balance;
}
.hero-copy > p:not(.eyebrow) { max-width: 640px; }
.service-grid .court-filing-card {
  border-color: color-mix(in srgb, var(--brand-teal) 60%, var(--line));
  box-shadow: 0 8px 24px rgba(1,50,43,.08);
}
.service-grid .court-filing-card h3 { color: var(--brand-moss); }
@media(max-width:940px) {
  .hero-copy { margin-left: 20px; }
}
@media(max-width:620px) {
  .hero-shade {
    background: linear-gradient(0deg, rgba(1,50,43,.99), rgba(1,50,43,.84) 65%, rgba(1,50,43,.1));
  }
  .hero>img { object-position: 76% center; }
  .hero-copy { margin-left: 0; }
  .hero h1 { font-size: clamp(37px, 9.2vw, 48px); line-height: .99; }
}
@media(min-width:621px) and (max-width:940px) {
  .hero>img { object-position: 70% center; }
  .hero-copy { width: min(560px, calc(100% - 40px)); }
}

.payment-policy{margin:0 0 38px;padding:24px 28px;border:1px solid #cbd8d2;border-left:5px solid #91b91e;border-radius:12px;background:#fff;color:#173b34}.payment-policy span{display:block;margin-bottom:8px;color:#52740d;font-size:11px;font-weight:900;letter-spacing:.12em}.payment-policy p{margin:0;max-width:1050px;line-height:1.65}.profile-note{display:grid;gap:5px;margin:24px 0;padding:18px 20px;border-left:4px solid #91b91e;background:#edf2ee;color:#173b34}.profile-note a{color:#075b4b;font-weight:700}.request-heading img[src$="sample-intake-preview.svg"]{height:auto;max-height:340px;object-fit:contain;background:#e7ece9}.faq details:last-child p{max-width:760px}
@media(max-width:620px){.payment-policy{padding:19px;font-size:14px}.request-heading img[src$="sample-intake-preview.svg"]{height:auto;max-height:none}}
