/* Legal Intake / Law firm — Figma node 281:2439
   Shared section layout lives in hb-healthcare.css. */

.li-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.li-hero__actions .hb-btn img {
  width: 18px;
  height: 18px;
} 
.hc-head--center {
  max-width: 870px;
}
.new-legal-text{
  font-size: 47px;
} 
.hc-head__lede {
  max-width: 550px;
}
.li-page .hc-hero__bg img {
  object-position: 78% center;
}

.li-page .hc-hero .hb-h1,
.li-page .hb-h2 {
  font-weight: 600;
}

.li-page .hc-hero__lede,
.li-page .hc-head > .hb-para,
.li-page .hc-head__lede {
  color: #313457;
}

.li-page .hc-hero__hint {
  color: #4f5275;
}

/* Cost banner */
.li-cost {
  padding: 0 0 42px;
}

.li-cost__card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 60px 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, #05063E 24.354%, #9D7BFF 163.82%, #D8D8FF 248.21%);
  overflow: hidden;
}

.li-cost__left,
.li-cost__right {
  flex: 1 1 0;
  min-width: 0;
}

.li-cost__left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.li-cost__eyebrow {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #fdfcff;
}

.li-cost__title {
  margin: 0;
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.96px;
  color: #fffefd;
}

.li-cost__muted {
  color: #a9aac8;
}

.li-cost__right .hb-para {
  color: #c3c4e5;
}

/* Decorative who visual (Figma cutout, not circular mask) */
.li-who__visual {
  position: absolute;
  top: -33px;
  right: 0;
  width: min(476px, 40%);
  pointer-events: none;
  z-index: 0;
}

.li-who__visual img {
  width: 100%;
  height: auto;
  display: block;
}

.li-page .hc-who .hc-head,
.li-page .hc-who .hc-grid2,
.li-page .hc-who .li-grid3 {
  position: relative;
  z-index: 1;
}

/* Practice areas — 3 columns */
.li-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

@media (max-width: 1024px) {
  .li-cost__card {
    flex-direction: column;
    gap: 24px;
  }

  .li-grid3 {
    grid-template-columns: 1fr 1fr;
  }

  .li-who__visual {
    width: min(320px, 42%);
    opacity: 0.7;
  }
}

@media (max-width: 768px) {
  .li-cost {
    padding: 0 0 32px;
  }

  .li-cost__card {
    padding: 42px 24px;
  }

  .li-cost__title {
    font-size: 36px;
    letter-spacing: -0.72px;
  }

  .li-grid3 {
    grid-template-columns: 1fr;
  }

  .li-who__visual {
    display: none;
  }
}
