/* =====================================================
   Master Lawyer - Practice area page styles
   Page: practice-area.html (Personal Injury example)
   Namespace: .pa-*
   Typography uses the role tokens from style.css (--font-display, --font-label,
   --font-body, --font-caption and their -weight / -stretch / -scale), so every
   font option in the customizer applies here too. Sizes are design sizes
   multiplied by the role scale and --screen-type.
   The FAQ reuses the site's Bootstrap accordion styles from style.css.
   ===================================================== */

.pa {
  --pa-gold: var(--gold);
  --pa-gold-text: #8a6420;
  --pa-ink: #262626;
  --pa-text: #5f5f5f;
  --pa-muted: #706d67;
  --pa-line: #e6e0d4;
  --pa-soft: #f7f5f1;
  --pa-dark: #191919;
  --pa-dark-line: rgba(255, 255, 255, 0.12);
  --pa-dark-text: #cfcfcf;
  --pa-ease: cubic-bezier(0.22, 1, 0.36, 1);

  background: #fff;
  font-family: var(--font-body);
  color: var(--pa-text);
}

/* ---------- Shared headings ---------- */

.pa-section {
  padding: 90px 0;
  background: #fff;
}

.pa-section--soft {
  background: var(--pa-soft);
}

.pa-section--dark {
  background: var(--pa-dark);
  color: var(--pa-dark-text);
}

.pa-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.pa-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.pa-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-stretch: var(--font-label-stretch);
  font-size: calc(13px * var(--font-label-scale) * var(--screen-type));
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pa-gold-text);
}

.pa-head--center .pa-eyebrow {
  justify-content: center;
}

.pa-eyebrow--light {
  color: var(--pa-gold);
}

.pa-eyebrow .ico {
  font-size: 20px;
}

.pa-title {
  position: relative;
  margin: 0 0 22px;
  padding: 0 0 18px;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-stretch: var(--font-display-stretch);
  font-size: min(calc(50px * var(--font-display-scale) * var(--screen-type)), 10vw);
  line-height: 1.08;
  text-transform: var(--font-display-case);
  color: var(--pa-ink);
}

.pa-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--pa-gold);
}

.pa-head--center .pa-title::after {
  left: 50%;
  margin-left: -28px;
}

.pa-section--dark .pa-title {
  color: #fff;
}

.pa-intro {
  margin: 0;
  font-size: calc(17px * var(--font-body-scale) * var(--screen-type));
  line-height: 1.65;
}

.pa-intro a {
  color: var(--pa-ink);
  text-decoration: underline;
  text-decoration-color: var(--pa-gold);
  text-underline-offset: 3px;
  transition: color 0.3s var(--pa-ease);
}

.pa-intro a:hover {
  color: var(--pa-gold-text);
}

/* ---------- Links & buttons ---------- */

.pa-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-stretch: var(--font-label-stretch);
  font-size: calc(14px * var(--font-label-scale) * var(--screen-type));
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pa-ink);
  text-decoration: none;
  transition: color 0.3s var(--pa-ease);
}

.pa-more .ico {
  font-size: 14px;
  color: var(--pa-gold-text);
  transition: transform 0.35s var(--pa-ease);
}

.pa-more:hover {
  color: var(--pa-gold-text);
}

.pa-more:hover .ico {
  transform: translateX(4px);
}

.pa-more--light {
  color: #fff;
}

.pa-more--light .ico,
.pa-more--light:hover {
  color: var(--pa-gold);
}

.pa-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
}

.pa-call {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pa-call .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgb(var(--gold-rgb) / 60%);
  border-radius: 50%;
  font-size: 20px;
  color: var(--pa-gold);
  transition: background-color 0.35s var(--pa-ease), color 0.35s var(--pa-ease);
}

.pa-call:hover .ico {
  background: var(--pa-gold);
  color: #000;
}

.pa-call__text {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.pa-call__number {
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-stretch: var(--font-label-stretch);
  font-size: calc(19px * var(--font-label-scale) * var(--screen-type));
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s var(--pa-ease);
}

.pa-call__number:hover {
  color: var(--pa-gold);
}

.pa-call__hint {
  font-size: calc(13px * var(--font-body-scale) * var(--screen-type));
  color: #a9a59d;
}

.pa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid #000;
  border-radius: 8px;
  background: #000;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-stretch: var(--font-label-stretch);
  font-size: calc(15px * var(--font-label-scale) * var(--screen-type));
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s var(--pa-ease), color 0.3s var(--pa-ease);
}

.pa-button:hover {
  background: #fff;
  color: #000;
}

.pa-button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- Intro ---------- */

.pa-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 100px;
  background: #111;
  color: var(--pa-dark-text);
  isolation: isolate;
}

.pa-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  opacity: 0.45;
}

.pa-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.94) 35%, rgba(17, 17, 17, 0.55));
}

.pa-hero__intro {
  max-width: 620px;
  animation: pa-rise 0.8s var(--pa-ease) both;
}

.pa-hero__title {
  margin: 0 0 22px;
  padding: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-stretch: var(--font-display-stretch);
  font-size: min(calc(96px * var(--font-display-scale) * var(--screen-type)), 14vw);
  line-height: 0.98;
  text-transform: var(--font-display-case);
  color: #fff;
}

.pa-hero__lead {
  margin: 0 0 14px;
  font-size: calc(19px * var(--font-body-scale) * var(--screen-type));
  line-height: 1.6;
  color: #e8e6e1;
}

.pa-hero__note {
  margin: 0 0 34px;
  font-size: calc(15px * var(--font-body-scale) * var(--screen-type));
  line-height: 1.6;
  color: #a9a59d;
}

.pa-hero .btn-default.btn2 {
  color: #000;
}

.pa-hero .btn-default.btn2:hover,
.pa-hero .btn-default.btn2:focus-visible {
  color: #fff;
}

.pa-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border: 1px solid var(--pa-dark-line);
  border-radius: 10px;
  background: rgba(17, 17, 17, 0.72);
  animation: pa-rise 0.8s 0.15s var(--pa-ease) both;
}

.pa-stats__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 28px 26px;
  position: relative;
  animation: pa-rise 0.7s var(--pa-ease) both;
  transition: background-color 0.4s var(--pa-ease);
}

.pa-stats__item:nth-child(odd) {
  border-right: 1px solid var(--pa-dark-line);
}

.pa-stats__item:nth-child(-n + 2) {
  border-bottom: 1px solid var(--pa-dark-line);
}

.pa-stats dt {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: calc(14px * var(--font-body-scale) * var(--screen-type));
  line-height: 1.45;
  color: #b4b0a8;
}

.pa-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-stretch: var(--font-display-stretch);
  font-size: calc(56px * var(--font-display-scale) * var(--screen-type));
  line-height: 1;
  text-transform: var(--font-display-case);
  color: var(--pa-gold);
}

@keyframes pa-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- What we handle ---------- */

.pa-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pa-line);
  border-left: 1px solid var(--pa-line);
  list-style: none;
}

.pa-type {
  position: relative;
  padding: 34px 28px 30px;
  border-right: 1px solid var(--pa-line);
  border-bottom: 1px solid var(--pa-line);
  background: #fff;
}

.pa-type::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: 3px;
  background: var(--pa-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--pa-ease);
}

.pa-type:hover::before {
  transform: scaleX(1);
}

.pa-type .ico {
  display: block;
  margin-bottom: 20px;
  font-size: 38px;
  line-height: 1;
  color: var(--pa-gold);
  transition: transform 0.45s var(--pa-ease);
}

.pa-type:hover .ico {
  transform: translateY(-3px);
}

.pa-type__title {
  margin: 0 0 10px;
  padding: 0;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-stretch: var(--font-label-stretch);
  font-size: calc(20px * var(--font-label-scale) * var(--screen-type));
  line-height: 1.25;
  color: var(--pa-ink);
}

.pa-type p {
  margin: 0;
  font-size: calc(15px * var(--font-body-scale) * var(--screen-type));
  line-height: 1.6;
}

/* ---------- How a case works ---------- */

.pa-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pa-step;
}

.pa-step {
  counter-increment: pa-step;
  position: relative;
  padding-top: 70px;
}

.pa-step::before {
  content: "0" counter(pa-step);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--pa-gold);
  border-radius: 50%;
  background: var(--pa-soft);
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-stretch: var(--font-label-stretch);
  font-size: calc(16px * var(--font-label-scale) * var(--screen-type));
  line-height: 1;
  color: var(--pa-ink);
}

.pa-step::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 60px;
  right: -16px;
  height: 1px;
  background: var(--pa-line);
}

.pa-step:last-child::after {
  display: none;
}

.pa-step__when {
  margin: 0 0 6px;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-stretch: var(--font-label-stretch);
  font-size: calc(13px * var(--font-label-scale) * var(--screen-type));
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pa-gold-text);
}

.pa-step__title {
  margin: 0 0 10px;
  padding: 0;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-stretch: var(--font-label-stretch);
  font-size: calc(20px * var(--font-label-scale) * var(--screen-type));
  line-height: 1.25;
  color: var(--pa-ink);
}

.pa-step p:last-child {
  margin: 0;
  font-size: calc(15px * var(--font-body-scale) * var(--screen-type));
  line-height: 1.6;
}

/* ---------- Fees ---------- */

.pa-fees > p {
  margin: 0 0 22px;
  font-size: calc(17px * var(--font-body-scale) * var(--screen-type));
  line-height: 1.65;
}

.pa-checks {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.pa-checks li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-top: 1px solid var(--pa-line);
  font-size: calc(16px * var(--font-body-scale) * var(--screen-type));
  line-height: 1.55;
  color: var(--pa-ink);
}

.pa-checks li:last-child {
  border-bottom: 1px solid var(--pa-line);
}

.pa-checks li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 2px;
  width: 14px;
  height: 7px;
  border-bottom: 2px solid var(--pa-gold);
  border-left: 2px solid var(--pa-gold);
  transform: rotate(-45deg);
}

.pa-example {
  padding: 36px 34px 30px;
  border-radius: 10px;
  background: var(--pa-dark);
  color: var(--pa-dark-text);
}

.pa-example__title {
  margin: 0 0 22px;
  padding: 0;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-stretch: var(--font-label-stretch);
  font-size: calc(20px * var(--font-label-scale) * var(--screen-type));
  color: #fff;
}

.pa-example__rows {
  margin: 0 0 18px;
}

.pa-example__rows div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pa-dark-line);
}

.pa-example__rows dt {
  font-weight: 400;
}

.pa-example__rows dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.pa-example__rows .pa-example__total {
  align-items: baseline;
  padding-top: 18px;
  border-bottom: 0;
}

.pa-example__total dt {
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-stretch: var(--font-label-stretch);
  font-size: calc(15px * var(--font-label-scale) * var(--screen-type));
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.pa-example__rows .pa-example__total dd {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-stretch: var(--font-display-stretch);
  font-size: calc(44px * var(--font-display-scale) * var(--screen-type));
  line-height: 1;
  text-transform: var(--font-display-case);
  color: var(--pa-gold);
}

.pa-example__note {
  margin: 0;
  font-family: var(--font-caption);
  font-weight: var(--font-caption-weight);
  font-stretch: var(--font-caption-stretch);
  font-size: calc(13px * var(--font-caption-scale) * var(--screen-type));
  line-height: 1.55;
  color: #a9a59d;
}

/* ---------- Results ---------- */

.pa-result {
  height: 100%;
  padding: 34px 30px 30px;
  border: 1px solid var(--pa-dark-line);
  border-radius: 10px;
  background: #262626;
  transition: transform 0.45s var(--pa-ease), border-color 0.45s var(--pa-ease);
}

.pa-result:hover {
  border-color: rgb(var(--gold-rgb) / 55%);
  transform: translateY(-4px);
}

.pa-result__amount {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-stretch: var(--font-display-stretch);
  font-size: calc(64px * var(--font-display-scale) * var(--screen-type));
  line-height: 1;
  text-transform: var(--font-display-case);
  color: var(--pa-gold);
}

.pa-result__type {
  margin: 0 0 22px;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-stretch: var(--font-label-stretch);
  font-size: calc(13px * var(--font-label-scale) * var(--screen-type));
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a9a59d;
}

.pa-result__title {
  margin: 0 0 10px;
  padding: 0;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-stretch: var(--font-label-stretch);
  font-size: calc(20px * var(--font-label-scale) * var(--screen-type));
  color: #fff;
}

.pa-result p:last-child {
  margin: 0;
  font-size: calc(15px * var(--font-body-scale) * var(--screen-type));
  line-height: 1.6;
}

.pa-results-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 30px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--pa-dark-line);
}

.pa-results-foot p {
  margin: 0;
  font-family: var(--font-caption);
  font-weight: var(--font-caption-weight);
  font-stretch: var(--font-caption-stretch);
  font-size: calc(14px * var(--font-caption-scale) * var(--screen-type));
  color: #a9a59d;
}

/* ---------- Your lawyers ---------- */

.pa-lawyer {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 18px;
  height: 100%;
  padding: 30px;
  border: 1px solid var(--pa-line);
  border-radius: 10px;
  background: #fff;
  transition: transform 0.45s var(--pa-ease), border-color 0.45s var(--pa-ease);
}

.pa-lawyer:hover {
  border-color: var(--pa-gold);
  transform: translateY(-4px);
}

/* Photo beside the name and role; the bio and link run full width below. */
.pa-lawyer__photo {
  grid-row: 1 / 3;
  align-self: center;
  overflow: hidden;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #eceae6;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--pa-gold);
}

.pa-lawyer__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Half-length portraits: zoom in on the face (about a third of the way
   down the photo). */
.pa-lawyer__photo--portrait img {
  object-position: 50% 0;
  transform: scale(2.1);
  transform-origin: 52% 34%;
}

/* The download's placeholders are not zoomed. */
.pa-lawyer__photo img[src*="placeholders/"] {
  transform: none;
}

.pa-lawyer__name {
  align-self: end;
  margin: 0 0 2px;
  padding: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-stretch: var(--font-display-stretch);
  font-size: calc(30px * var(--font-display-scale) * var(--screen-type));
  line-height: 1.15;
  text-transform: var(--font-display-case);
  color: var(--pa-ink);
}

.pa-lawyer__role {
  align-self: start;
  margin: 0;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-stretch: var(--font-label-stretch);
  font-size: calc(14px * var(--font-label-scale) * var(--screen-type));
  letter-spacing: 0.04em;
  color: var(--pa-gold-text);
}

.pa-lawyer p:not(.pa-lawyer__role),
.pa-lawyer .pa-more {
  grid-column: 1 / -1;
}

.pa-lawyer p:not(.pa-lawyer__role) {
  margin: 22px 0;
  font-size: calc(15px * var(--font-body-scale) * var(--screen-type));
  line-height: 1.6;
}

/* ---------- FAQ ---------- */

.pa-faq-head {
  position: sticky;
  top: 110px;
}

.pa-faq.accordion {
  margin-bottom: 0;
  border-top: 1px solid var(--pa-line);
}

.pa-faq .accordion-item {
  border-bottom: 1px solid var(--pa-line);
}

.pa-faq .accordion-header {
  margin: 0;
}

.pa-faq .accordion-button {
  padding: 22px 40px 22px 0;
}

.pa-faq .accordion-button:not(.collapsed) {
  color: var(--pa-gold-text);
}

.pa-faq .accordion-body {
  padding: 0 40px 26px 0;
  font-size: calc(16px * var(--font-caption-scale) * var(--screen-type));
  line-height: 1.65;
  color: var(--pa-text);
}

/* ---------- Closing call to action ---------- */

.pa-cta {
  padding: 70px 0;
  background: var(--pa-gold);
  color: #000;
}

.pa-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
}

.pa-cta__title {
  margin: 0 0 8px;
  padding: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-stretch: var(--font-display-stretch);
  font-size: min(calc(48px * var(--font-display-scale) * var(--screen-type)), 9vw);
  line-height: 1.08;
  text-transform: var(--font-display-case);
  color: #000;
}

.pa-cta__text p {
  margin: 0;
  font-size: calc(17px * var(--font-body-scale) * var(--screen-type));
  line-height: 1.6;
}

.pa-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 30px;
}

.pa-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-stretch: var(--font-label-stretch);
  font-size: calc(19px * var(--font-label-scale) * var(--screen-type));
  letter-spacing: 0.04em;
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s var(--pa-ease);
}

.pa-cta__phone .ico {
  font-size: 22px;
}

.pa-cta__phone:hover {
  opacity: 0.7;
}

.pa-cta__phone:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Hero stats: staggered reveal, count-up and drawn rule ---------- */

.pa-stats__item:nth-child(1) { animation-delay: 0.25s; }
.pa-stats__item:nth-child(2) { animation-delay: 0.37s; }
.pa-stats__item:nth-child(3) { animation-delay: 0.49s; }
.pa-stats__item:nth-child(4) { animation-delay: 0.61s; }

.pa-stats__item::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 0;
  width: 32px;
  height: 2px;
  background: var(--pa-gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: pa-rule 0.8s var(--pa-ease) both;
  animation-delay: inherit;
  transition: width 0.45s var(--pa-ease);
}

.pa-stats__item:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.pa-stats__item:hover::after {
  width: 56px;
}

@keyframes pa-rule {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pa-stats__item,
  .pa-stats__item::after {
    animation: none;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
  .pa-steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 44px;
  }

  .pa-step:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 991px) {
  .pa-hero {
    padding: 64px 0 70px;
  }

  .pa-hero::after {
    background: rgba(17, 17, 17, 0.86);
  }

  .pa-hero__intro {
    max-width: none;
    margin-bottom: 44px;
  }

  .pa-types {
    grid-template-columns: repeat(2, 1fr);
  }

  .pa-example {
    margin-top: 44px;
  }

  .pa-section .col-lg-4 + .col-lg-4 .pa-lawyer {
    height: auto;
    margin-top: 24px;
  }

  .pa-faq-head {
    position: static;
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .pa-section {
    padding: 64px 0;
  }

  .pa-head {
    margin-bottom: 36px;
  }

  .pa-steps {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .pa-step {
    padding: 0 0 32px 70px;
  }

  .pa-step::after,
  .pa-step:nth-child(3)::after {
    display: block;
    inset: 56px auto 8px 24px;
    width: 1px;
    height: auto;
  }

  .pa-step:last-child {
    padding-bottom: 0;
  }

  .pa-step:last-child::after {
    display: none;
  }

  .pa-section .col-md-4 + .col-md-4 .pa-result {
    margin-top: 20px;
  }
}

@media (max-width: 575px) {
  .pa-types {
    grid-template-columns: 1fr;
  }

  .pa-type {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    padding: 24px 20px 22px;
  }

  .pa-type .ico {
    grid-row: span 2;
    margin: 0;
    font-size: 32px;
  }

  .pa-stats__item {
    padding: 22px 18px;
  }

  .pa-stats dd {
    font-size: min(calc(56px * var(--font-display-scale) * var(--screen-type)), 10vw);
  }

  .pa-example {
    padding: 28px 22px 24px;
  }

  .pa-result,
  .pa-lawyer {
    padding: 28px 22px 24px;
  }

  .pa-faq .accordion-button {
    padding-right: 32px;
  }

  .pa-faq .accordion-body {
    padding-right: 0;
  }

  .pa-cta {
    padding: 56px 0;
  }

  .pa-cta__actions,
  .pa-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pa-hero__intro,
  .pa-stats {
    animation: none;
  }

  .pa-type::before,
  .pa-type .ico,
  .pa-more .ico,
  .pa-result,
  .pa-lawyer,
  .pa-call .ico,
  .pa-call__number,
  .pa-button,
  .pa-cta__phone {
    transition: none;
  }

  .pa-type:hover .ico,
  .pa-more:hover .ico,
  .pa-result:hover,
  .pa-lawyer:hover {
    transform: none;
  }
}
