/* Bottom-half sections for the Healthcare landing page. All rules are page-scoped. */

.hc-testimonials {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 14%, rgba(110, 90, 243, .09), transparent 22%),
    linear-gradient(180deg, #f1f0fe 0%, var(--hc-band) 100%);
}

.hc-testimonial-grid,
.hc-pricing-grid,
.hc-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hc-testimonial-card {
  position: relative;
  min-height: 220px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(52, 79, 164, .18);
  border-radius: 2px;
  background: rgba(255, 255, 255, .72);
  transition: transform 180ms var(--hc-ease), border-color 180ms ease, background-color 180ms ease;
}

.hc-testimonial-card:hover {
  border-color: rgba(52, 79, 164, .36);
  background: #fff;
  transform: translateY(-3px);
}

.hc-testimonial-quote {
  position: absolute;
  top: 7px;
  right: 14px;
  color: rgba(52, 79, 164, .14);
  font-family: Georgia, serif;
  font-size: 62px;
  line-height: 1;
}

.hc-testimonial-person {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 26px;
}

.hc-testimonial-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(22, 43, 104, .16);
}

.hc-testimonial-avatar--patient { object-position: 43% 31%; }
.hc-testimonial-avatar--senior { object-position: 82% 28%; }
.hc-testimonial-avatar--pharmacy { object-position: 22% 26%; }

.hc-testimonial-person h3 {
  margin: 0 0 2px;
  color: var(--hc-ink);
  font-size: 11px;
  font-weight: 800;
}

.hc-testimonial-person p {
  margin: 0;
  color: var(--hc-muted);
  font-size: 8px;
  font-weight: 600;
}

.hc-testimonial-stars {
  margin-top: 15px;
  color: #6b5ae5;
  font-size: 10px;
  letter-spacing: 2px;
}

.hc-testimonial-copy {
  margin: 12px 0 0;
  color: #666c80;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.72;
}

.hc-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid rgba(52, 79, 164, .17);
  background: rgba(255, 255, 255, .72);
}

.hc-stat-item {
  min-width: 0;
  padding: 18px 12px;
  text-align: center;
}

.hc-stat-item + .hc-stat-item {
  border-left: 1px solid rgba(52, 79, 164, .14);
}

.hc-stat-item strong,
.hc-stat-item span {
  display: block;
}

.hc-stat-item strong {
  color: var(--hc-ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.hc-stat-item span {
  margin-top: 2px;
  color: var(--hc-muted);
  font-size: 8px;
  font-weight: 700;
}

.hc-pricing {
  background:
    radial-gradient(circle at 50% 45%, rgba(110, 90, 243, .055), transparent 34%),
    var(--hc-page);
}

.hc-pricing-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 24px 20px 20px;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(31, 47, 108, .045);
}

.hc-pricing-card--featured {
  border-color: rgba(110, 90, 243, .28);
  background: #f0efff;
  box-shadow: 0 18px 42px rgba(73, 63, 155, .11);
}

.hc-pricing-popular {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--hc-accent);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hc-pricing-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hc-pricing-icon {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--hc-primary);
  font-size: 11px;
  box-shadow: 0 7px 14px rgba(52, 79, 164, .2);
}

.hc-pricing-card h3 {
  margin: 0;
  color: var(--hc-ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.hc-price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--hc-primary-dark);
  background: #e8ebfb;
  font-size: 8px;
  font-weight: 700;
}

.hc-pricing-card--featured .hc-price-pill {
  color: #fff;
  background: var(--hc-primary-dark);
}

.hc-price-pill strong {
  font-size: 13px;
  font-weight: 800;
}

.hc-pricing-features {
  display: grid;
  gap: 11px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}

.hc-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #6e7385;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.45;
}

.hc-pricing-features li span {
  display: grid;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  place-items: center;
  border-radius: 50%;
  color: var(--hc-primary);
  background: rgba(52, 79, 164, .09);
  font-size: 8px;
  font-weight: 900;
}

.hc-pricing-button {
  width: 100%;
  margin-top: auto;
  border-color: rgba(38, 59, 130, .32);
}

.hc-pricing-card--featured .hc-pricing-button {
  color: #fff;
  background: var(--hc-primary-dark);
}

.hc-appointment {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, .52), transparent 42%),
    var(--hc-band);
}

.hc-appointment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}

.hc-appointment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  margin-top: 24px;
}

.hc-form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.hc-form-field--wide,
.hc-appointment-submit {
  grid-column: 1 / -1;
}

.hc-form-field label {
  color: #4f556a;
  font-size: 8px;
  font-weight: 800;
}

.hc-form-field input,
.hc-form-field select,
.hc-form-field textarea {
  width: 100%;
  min-height: 36px;
  padding: 9px 10px;
  border: 0;
  border-bottom: 1px solid #cfd4e3;
  border-radius: 0;
  outline: 0;
  color: var(--hc-ink);
  background: rgba(255, 255, 255, .44);
  font: inherit;
  font-size: 9px;
  line-height: 1.35;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.hc-form-field textarea {
  min-height: 64px;
  resize: vertical;
}

.hc-form-field input:focus,
.hc-form-field select:focus,
.hc-form-field textarea:focus {
  border-color: var(--hc-primary);
  background: #fff;
  box-shadow: 0 3px 0 rgba(52, 79, 164, .08);
}

.hc-form-field input::placeholder,
.hc-form-field textarea::placeholder {
  color: #9a9fb0;
}

.hc-appointment-submit {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--hc-primary-dark);
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(38, 59, 130, .2);
  transition: transform 180ms var(--hc-ease), box-shadow 180ms var(--hc-ease), background-color 180ms ease;
}

.hc-appointment-submit:hover {
  background: var(--hc-navy-deep);
  box-shadow: 0 14px 28px rgba(38, 59, 130, .28);
  transform: translateY(-2px);
}

.hc-appointment-promo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--hc-primary-dark);
  box-shadow: var(--hc-shadow);
}

.hc-appointment-promo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transition: transform 700ms var(--hc-ease);
}

.hc-appointment-promo:hover > img {
  transform: scale(1.025);
}

.hc-appointment-promo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(20, 39, 112, .92) 0%, rgba(26, 56, 144, .34) 64%, rgba(26, 56, 144, .08) 100%),
    linear-gradient(90deg, rgba(48, 63, 154, .24), rgba(92, 80, 220, .18));
}

.hc-appointment-promo-content {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  color: #fff;
}

.hc-appointment-promo-content > span {
  display: inline-block;
  margin-bottom: 9px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hc-appointment-promo-content h3 {
  max-width: 290px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.hc-appointment-promo-content a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  text-decoration: none;
}

.hc-insights {
  background: var(--hc-page);
}

.hc-insight-card {
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 10px 28px rgba(31, 47, 108, .055);
}

.hc-insight-image {
  display: block;
  height: 142px;
  overflow: hidden;
  background: #e7ebf8;
}

.hc-insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--hc-ease);
}

.hc-insight-card:hover .hc-insight-image img {
  transform: scale(1.045);
}

.hc-insight-body {
  min-height: 154px;
  padding: 16px;
}

.hc-insight-body > span {
  color: var(--hc-primary);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hc-insight-body h3 {
  margin: 8px 0 15px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.42;
}

.hc-insight-body h3 a {
  color: var(--hc-ink);
  text-decoration: none;
}

.hc-insight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--hc-primary-dark);
  font-size: 7px;
  font-weight: 800;
  text-decoration: none;
}

.hc-cta-wrap {
  position: relative;
  z-index: 3;
  margin-bottom: -48px;
  padding: 10px 0 0;
  background: var(--hc-page);
}

.hc-cta-panel {
  position: relative;
  min-height: 176px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 83% 22%, rgba(255, 255, 255, .18), transparent 25%),
    linear-gradient(110deg, #384dff 0%, #5b56ed 60%, #7456df 100%);
  box-shadow: 0 22px 46px rgba(35, 34, 116, .24);
}

.hc-cta-panel::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: inherit;
  content: '';
  pointer-events: none;
}

.hc-cta-doctor {
  position: absolute;
  bottom: -46px;
  left: -4px;
  width: 38%;
  height: 250px;
  object-fit: cover;
  object-position: 50% 15%;
  opacity: .98;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 78%, transparent 100%);
}

.hc-cta-copy {
  position: relative;
  z-index: 1;
  width: 61%;
  margin-left: auto;
  padding: 36px 42px 32px 24px;
  color: #fff;
}

.hc-cta-copy > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .76);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hc-cta-copy h2 {
  max-width: 400px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.07;
}

.hc-cta-button {
  margin-top: 17px;
  color: var(--hc-primary-dark);
  background: #fff;
  box-shadow: 0 10px 24px rgba(21, 26, 92, .2);
}

.hc-cta-button:hover {
  color: var(--hc-primary-dark);
  box-shadow: 0 13px 28px rgba(21, 26, 92, .28);
}

.hc-footer {
  position: relative;
  z-index: 1;
  padding: 98px 0 24px;
  color: rgba(255, 255, 255, .68);
  background:
    radial-gradient(circle at 38% 100%, rgba(83, 77, 220, .23), transparent 27%),
    var(--hc-footer);
}

.hc-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, .65fr)) minmax(0, 1.35fr);
  gap: 34px;
}

.hc-footer-logo {
  display: inline-flex;
  color: #fff;
  text-decoration: none;
}

.hc-footer-logo .brand-logo {
  width: 68px !important;
  height: 75px !important;
  margin: -12px 0 8px !important;
  aspect-ratio: auto !important;
  filter: drop-shadow(0 7px 15px rgba(0, 0, 0, .25)) !important;
}

.hc-footer-brand > p,
.hc-footer-newsletter > p {
  margin: 0;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.65;
}

.hc-footer-contact {
  display: grid;
  gap: 5px;
  margin-top: 13px;
}

.hc-footer a {
  color: inherit;
  text-decoration: none;
}

.hc-footer a:hover {
  color: #fff;
}

.hc-footer-contact a {
  font-size: 7px;
  font-weight: 700;
}

.hc-footer-column,
.hc-footer-newsletter {
  padding-top: 5px;
}

.hc-footer-column h3,
.hc-footer-newsletter h3 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.hc-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.hc-footer-column a {
  font-size: 8px;
  font-weight: 600;
}

.hc-footer-newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.hc-footer-newsletter input {
  min-width: 0;
  height: 34px;
  padding: 0 13px;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 8px;
}

.hc-footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, .46);
}

.hc-footer-newsletter button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  place-items: center;
  color: #fff;
  background: var(--hc-accent);
  cursor: pointer;
}

.hc-footer-newsletter form.is-complete {
  border-color: rgba(147, 197, 253, .48);
}

.hc-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 7px;
}

.hc-footer-bottom p {
  margin: 0;
}

.hc-footer-bottom div {
  display: flex;
  gap: 14px;
}

@media (max-width: 820px) {
  .hc-testimonial-grid,
  .hc-pricing-grid,
  .hc-insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-testimonial-card:last-child,
  .hc-pricing-card:last-child,
  .hc-insight-card:last-child {
    grid-column: 1 / -1;
  }

  .hc-appointment-grid {
    grid-template-columns: 1fr;
  }

  .hc-appointment-promo {
    min-height: 370px;
  }

  .hc-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hc-testimonial-grid,
  .hc-pricing-grid,
  .hc-insights-grid {
    grid-template-columns: 1fr;
  }

  .hc-testimonial-card:last-child,
  .hc-pricing-card:last-child,
  .hc-insight-card:last-child {
    grid-column: auto;
  }

  .hc-stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-stat-item:nth-child(3) {
    border-left: 0;
  }

  .hc-stat-item:nth-child(n + 3) {
    border-top: 1px solid rgba(52, 79, 164, .14);
  }

  .hc-appointment-form {
    grid-template-columns: 1fr;
  }

  .hc-form-field--wide,
  .hc-appointment-submit {
    grid-column: auto;
  }

  .hc-appointment-promo {
    min-height: 330px;
  }

  .hc-cta-wrap {
    margin-bottom: -38px;
  }

  .hc-cta-panel {
    min-height: 250px;
  }

  .hc-cta-doctor {
    width: 52%;
    height: 230px;
    opacity: .66;
  }

  .hc-cta-copy {
    width: 68%;
    padding: 42px 22px 32px 14px;
  }

  .hc-footer {
    padding-top: 88px;
  }

  .hc-footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .hc-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hc-stat-item {
    padding-inline: 7px;
  }

  .hc-appointment-promo-content {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .hc-cta-doctor {
    width: 62%;
    opacity: .38;
  }

  .hc-cta-copy {
    width: 82%;
    padding-right: 16px;
  }
}
