/* CareNext hero matching reference */

.site-main--blank {
  display: block;
}

/* Shared homepage content width — matches .container, header, footer & about */
.carenext-hp-shell,
.carenext-hero__shell,
.carenext-about__shell,
.carenext-services__shell,
.carenext-home-highlight__shell,
.carenext-home-cta__shell,
.carenext-home-blog__shell,
.carenext-home-whyus,
.carenext-home-reviews,
.carenext-home-stats__inner {
  width: min(1280px, calc(100% - 2rem));
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.site-main--blank .section {
  padding-left: 0;
  padding-right: 0;
}

.carenext-hero--comforcare {
  position: relative;
  overflow: hidden;
  height: 480px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #0b3c70;
}

.carenext-hero__bg,
.carenext-hero__overlay {
  position: absolute;
  inset: 0;
}

.carenext-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.03);
  filter: saturate(.92);
  display: block;
}

.carenext-hero__overlay {
  background:
    linear-gradient(90deg, rgba(5, 15, 26, .72) 0%, rgba(5, 15, 26, .32) 24%, rgba(5, 15, 26, .1) 100%),
    linear-gradient(180deg, rgba(4, 14, 24, .1) 0%, rgba(4, 14, 24, .32) 100%);
}

.carenext-hero__shell {
  position: relative;
  z-index: 2;
  padding: 104px 0 56px;
  text-align: center;
}

.carenext-hero__eyebrow {
  margin: 0 auto 1.5rem;
  max-width: 1100px;
  color: rgba(255,255,255,.92);
  font-family: var(--body-font, 'Outfit', sans-serif);
  font-size: 34px;
  line-height: 1.45;
  text-wrap: balance;
  font-weight: 400;
}

.carenext-hero__title {
  margin: 0 auto 2rem;
  max-width: 1100px;
  color: #fff;
  text-wrap: balance;
}

.carenext-hero__title em {
  font-style: normal;
  color: #fff;
  font-weight: 700;
}

.carenext-hero__description {
  margin: 0 auto 2rem;
  max-width: 880px;
  color: rgba(255,255,255,.88);
  font-size: .96rem;
  line-height: 1.75;
}

.carenext-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.15rem;
  margin-top: 0.25rem;
  position: relative;
  z-index: 2;
}

.carenext-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 2.15rem;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--ocean) 0%, var(--ocean-2) 55%, var(--accent-color, #0857a0) 100%);
  color: #fff;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 800;
  min-width: min(100%, 250px);
  transition: filter .2s ease;
}

.carenext-hero__button:hover {
  filter: brightness(1.02);
}

.carenext-about {
  padding: clamp(3.5rem, 5vw, 5rem) 0 clamp(4rem, 5.5vw, 5.5rem);
  background: #fff;
}

.carenext-about__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.carenext-about__copy,
.carenext-about__panel {
  border-radius: 4px;
}

.carenext-about__copy {
  padding: clamp(1.25rem, 2.5vw, 2.25rem) clamp(0.5rem, 2vw, 1.5rem) 1.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.carenext-about__title {
  margin: 0 0 1.35rem;
  max-width: 50ch;
  color: var(--ocean, #0b3c70);
  text-wrap: balance;
}

.carenext-about__content {
  max-width: 62ch;
}

.carenext-about__lead {
  margin: 0 0 1.15rem;
  color: #173451;
  font-family: var(--body-font, 'Outfit', sans-serif);
  font-size: 1.05rem;
  line-height: 1.72;
  font-weight: 500;
}

.carenext-about__body {
  margin: 0 0 1.85rem;
  color: #5b6472;
  font-family: var(--body-font, 'Outfit', sans-serif);
  font-size: 1rem;
  line-height: 1.74;
  font-weight: 400;
}

.carenext-about__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 50px;
  padding: .75rem 1.65rem;
  border-radius: 999px;
  background: var(--ocean, #0b3c70);
  color: #fff;
  text-decoration: none;
  font-family: var(--body-font, 'Outfit', sans-serif);
  font-size: .95rem;
  font-weight: 800;
  transition: filter .2s ease;
}

.carenext-about__button:hover {
  filter: brightness(1.03);
}

.carenext-about__panel {
  padding: 2.2rem;
  background: var(--ocean, #0b3c70);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 22px 48px rgba(11, 60, 112, .15);
}

.carenext-about__panel-title {
  margin: 0;
  color: #fff;
}

.carenext-about__panel-text {
  margin: 0;
  color: #fff;
  line-height: 1.75;
}

.carenext-about__notice {
  padding: .9rem 1rem;
  border-radius: 4px;
  font-size: .92rem;
  line-height: 1.55;
  font-weight: 700;
  color: #fff;
}

.carenext-about__notice--success {
  background: rgba(255,255,255,.12);
}

.carenext-about__notice--error {
  background: rgba(255, 255, 255, .18);
}

.carenext-about__form {
  display: grid;
  gap: .85rem;
  margin-top: .2rem;
}

.carenext-about__field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.carenext-about__field-row:nth-of-type(n + 2) {
  grid-template-columns: 1fr;
}

.carenext-about__form input,
.carenext-about__form select,
.carenext-about__form textarea {
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: var(--ink, #0f172a);
  font: inherit;
  font-size: .95rem;
  line-height: 1.4;
  padding: .9rem 1rem;
  box-shadow: inset 0 0 0 1px rgba(11, 60, 112, .08);
}

.carenext-about__form textarea {
  min-height: 104px;
  resize: vertical;
}

.carenext-about__form input::placeholder,
.carenext-about__form textarea::placeholder {
  color: var(--ink-3, #64748b);
}

.carenext-about__form input:focus,
.carenext-about__form select:focus,
.carenext-about__form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,.18), inset 0 0 0 1px rgba(11, 60, 112, .15);
}

.carenext-about__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 1.6rem;
  margin-top: .35rem;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: var(--ocean, #0b3c70);
  font-size: .95rem;
  font-weight: 800;
  cursor: pointer;
  transition: filter .2s ease;
}

.carenext-about__submit:hover {
  filter: brightness(1.02);
}

.carenext-services {
  padding: 0 0 5.25rem;
  background: #fff;
}

.carenext-services__head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.carenext-services__eyebrow {
  margin: 0 0 .35rem;
  color: var(--ocean-2, #0857a0);
  font-family: var(--body-font, 'Outfit', sans-serif);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.carenext-services__title {
  margin: 0 auto .75rem;
  max-width: none;
  color: var(--ink, #1f2d4d);
}

.carenext-services__desc {
  margin: 0 auto;
  max-width: 54ch;
  color: var(--paragraph-color, #667085);
  font-size: 1rem;
  line-height: 1.75;
}

.carenext-services__grid {
  display: grid;
  gap: 1.35rem;
}

.carenext-services__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.carenext-services__grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.carenext-services__grid--carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1.25rem;
  scroll-snap-type: x mandatory;
  padding-bottom: .75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 60, 112, .35) transparent;
}

.carenext-services__grid--carousel::-webkit-scrollbar {
  height: 8px;
}

.carenext-services__grid--carousel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(11, 60, 112, .28);
}

.carenext-services__grid--carousel .carenext-service-card {
  flex: 0 0 min(380px, calc(100% - 2rem));
  scroll-snap-align: start;
}

.carenext-service-card {
  background: #dff6fb;
  border-radius: 26px;
  padding: 1.15rem 1.15rem 1.2rem;
  box-shadow: 0 16px 32px rgba(10, 22, 40, .08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.carenext-service-card__media {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 1.7 / 1;
  background: rgba(11, 60, 112, .08);
}

.carenext-service-card__image,
.carenext-service-card__fallback {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.carenext-service-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean, #0b3c70);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.carenext-service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem .15rem 0;
}

.carenext-service-card__title {
  margin: 0 0 .75rem;
  color: var(--ink, #1f2d4d);
}

.carenext-service-card__title a {
  color: inherit;
  text-decoration: none;
}

.carenext-service-card__excerpt {
  margin: 0 0 1rem;
  color: var(--paragraph-color, #465268);
  font-size: .98rem;
  line-height: 1.65;
}

.carenext-service-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--ocean-2, #0857a0);
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 3px solid var(--cta-color, #5a9939);
  padding-bottom: .15rem;
}

.carenext-service-card__link:hover {
  color: var(--ocean, #0b3c70);
}

.carenext-services__footer {
  margin-top: 2.25rem;
  text-align: center;
}

.carenext-services__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .75rem 1.8rem;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--ocean) 0%, var(--ocean-2) 55%, var(--accent-color, #0857a0) 100%);
  color: #fff;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 800;
}

.carenext-home-whyus-shell {
  background: #fff;
  padding: 56px 0 42px;
}

.carenext-home-whyus-shell.hp-section {
  background-color: var(--hp-bg, #fff);
}

.carenext-home-whyus {
  text-align: center;
}

.carenext-home-whyus__title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--hp-title, #101828);
}

.carenext-home-whyus__description {
  max-width: 980px;
  margin: 14px auto 28px;
  font-size: 1rem;
  line-height: 1.6;
  color: #344054;
}

.carenext-home-whyus__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 30px;
}

.carenext-home-whyus__item {
  padding: 8px 14px;
}

.carenext-home-whyus__icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d5d9e0;
  color: #1d4ed8;
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.carenext-home-whyus__icon img {
  max-width: 30px;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.carenext-home-whyus__icon .dashicons {
  width: 30px;
  height: 30px;
  font-size: 30px;
}

.carenext-home-whyus__item h3 {
  margin: 0 0 8px;
  font-size: 1.9rem;
  line-height: 1.25;
  color: #101828;
}

.carenext-home-whyus__item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #344054;
}

.carenext-home-whyus__actions {
  margin-top: 26px;
}

.carenext-home-whyus__button {
  display: inline-flex;
  padding: 10px 25px;
  border: 1px solid #2b3545;
  border-radius: 6px;
  color: #111827;
  text-decoration: none;
  background: transparent;
}

.carenext-home-reviews-shell {
  width: 100%;
  background: #d9f1fb;
  padding: 34px 0 56px;
}

.carenext-home-reviews-shell--trust {
  background: #d9f1fb;
}

.carenext-home-reviews-shell.hp-section {
  background-color: var(--hp-bg, #d9f1fb) !important;
}

.carenext-home-reviews-shell--trust.hp-section {
  background-color: var(--hp-bg, #d9f1fb) !important;
}

.carenext-home-reviews__shortcode {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.carenext-home-reviews__shortcode > * {
  max-width: 100%;
}

.carenext-home-reviews {
  position: relative;
}

.carenext-home-reviews__top {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
  text-align: center;
}

.carenext-home-reviews__title {
  margin: 8px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  text-align: center;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -.01em;
  font-weight: 800;
  color: var(--hp-title, #03193a);
}

.carenext-home-reviews__read-all {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 2px solid #335fb7;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
  color: #3158aa;
  text-decoration: none;
}

.carenext-home-reviews__panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.carenext-home-reviews__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 0;
}

.carenext-home-reviews__control {
  width: 40px;
  height: 40px;
  border: 2px solid var(--ocean-2, #2554a8);
  background: #fff;
  color: var(--ocean-2, #2554a8);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  padding: 0;
  line-height: 1;
  font-size: 30px;
  font-weight: 600;
}

.carenext-home-reviews__control:hover {
  background: var(--ocean-2, #2554a8);
  color: #fff;
}

.carenext-home-reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.carenext-home-reviews__track::-webkit-scrollbar {
  display: none;
}

.carenext-home-review-card {
  scroll-snap-align: start;
}

.carenext-home-review-card__bubble {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 24px 28px 30px;
  box-shadow: 0 6px 18px rgba(23, 58, 96, .08);
  min-height: 280px;
}

.carenext-home-review-card__bubble::after {
  content: "";
  position: absolute;
  left: 54px;
  bottom: -26px;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 26px solid #fff;
}

.carenext-home-review-card__stars {
  margin: 0 0 8px;
  display: inline-flex;
}

.carenext-home-review-card__stars img {
  height: 12px;
  width: auto;
  display: block;
  object-fit: contain;
}

.carenext-home-review-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 600;
  color: #2f3e4f;
}

.carenext-home-review-card p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: #4f5f72;
}

.carenext-home-review-card a {
  margin-top: 16px;
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #335fb7;
  text-decoration: none;
  text-transform: lowercase;
}

.carenext-home-review-card__author {
  margin-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 10px;
}

.carenext-home-review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.carenext-home-review-card__name {
  display: block;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #223c58;
}

.carenext-home-review-card__role,
.carenext-home-review-card__date {
  display: block;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #506884;
}

.carenext-home-review-card__role {
  font-weight: 500;
}

.carenext-home-review-card__date {
  font-weight: 400;
}

.carenext-home-review-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #c7dff5;
  color: #214f92;
  font-size: 28px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carenext-home-review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carenext-home-review-card__author strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  color: #223c58;
}

.carenext-home-review-card__author small {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: #506884;
}

.carenext-home-trust-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 26px;
}

.carenext-home-trust-head__avatars {
  display: inline-flex;
  align-items: center;
}

.carenext-home-trust-head__avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 2px solid #fff;
  overflow: hidden;
  background: #d8e1ef;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .1);
}

.carenext-home-trust-head__avatar + .carenext-home-trust-head__avatar {
  margin-left: -12px;
}

.carenext-home-trust-head__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carenext-home-trust-head__content h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 50px);
  line-height: 1.1;
  color: #2b6789;
  font-weight: 800;
}

.carenext-home-trust-head__content p {
  margin: 4px 0 0;
  font-size: 16px;
  color: #2d4055;
}

.carenext-home-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.carenext-home-trust-card {
  background: #f5f7fb;
  border: 1px solid #c8d0dc;
  border-radius: 16px;
  padding: 24px 26px;
}

.carenext-home-trust-card__brand {
  height: 44px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.carenext-home-trust-card__brand img {
  max-height: 38px;
  width: auto;
  max-width: 190px;
}

.carenext-home-trust-card__stars {
  height: 18px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.carenext-home-trust-card__stars img {
  height: 18px;
  width: auto;
}

.carenext-home-trust-card p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #253f58;
}

.carenext-home-trust-card strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.1;
  color: #253f58;
}

.carenext-home-trust-card em {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-style: normal;
  color: #506884;
}

.carenext-home-reviews__actions {
  margin-top: 18px;
  text-align: center;
}

.carenext-home-highlight {
  background: #fff;
  padding: 90px 0 110px;
}

.carenext-home-highlight__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 4.5rem;
  align-items: center;
}

.carenext-home-highlight__media {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carenext-home-highlight__backdrop {
  position: absolute;
  left: 28px;
  bottom: 18px;
  width: min(100%, 760px);
  height: 360px;
  border-radius: 42px;
  background: var(--ocean-pale);
}

.carenext-home-highlight__card {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  height: 430px;
  border-radius: 40px;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 24px 56px rgba(10, 22, 40, .18);
}

.carenext-home-highlight__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 60, 112, .14) 0%, rgba(11, 60, 112, .35) 100%);
}

.carenext-home-highlight__card--empty {
  background: linear-gradient(135deg, rgba(11, 60, 112, .18) 0%, rgba(8, 87, 160, .28) 100%);
}

.carenext-home-highlight__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.carenext-home-highlight__play:hover .carenext-home-highlight__play-icon,
.carenext-home-highlight__play:focus-visible .carenext-home-highlight__play-icon {
  transform: scale(1.04);
}

.carenext-home-highlight__play:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .85);
  outline-offset: -6px;
}

.carenext-home-highlight__play-icon {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: var(--ocean-2);
  box-shadow: 0 20px 40px rgba(11, 60, 112, .28);
  transition: transform .2s ease;
}

.carenext-home-highlight__play-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 30px solid #fff;
}

.carenext-home-highlight__content {
  max-width: 620px;
  margin-left: auto;
}

.carenext-home-highlight__title {
  margin: 0 0 1.35rem;
  color: var(--ink, #2a3450);
}

.carenext-home-highlight__desc {
  margin: 0;
  color: var(--paragraph-color, #7b7b7b);
  font-size: 1.08rem;
  line-height: 1.75;
}

.carenext-home-highlight__note {
  margin: 1.35rem 0 0;
  color: var(--ocean-2);
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 800;
}

.carenext-home-highlight__btn {
  margin-top: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--ocean) 0%, var(--ocean-2) 55%, var(--accent-color, #0857a0) 100%);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
}

.carenext-home-highlight__btn:hover {}

.carenext-home-cta {
  background: #fff;
  padding: 88px 0 96px;
  border-top: 1px solid #d4e6f0;
  position: relative;
  isolation: isolate;
}

.carenext-home-cta.hp-section {
  background-color: var(--hp-bg, #fff) !important;
}

.carenext-home-cta__desk {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 2rem;
  align-items: stretch;
  padding: 2.4rem;
  border-radius: 28px;
  background: #f7fcff;
  box-shadow: 0 18px 48px rgba(11, 60, 112, .08);
  border: 1px solid #d4e6f0;
}

.carenext-home-cta__intro {
  padding: .5rem 1rem .5rem .25rem;
}

.carenext-home-cta__eyebrow {
  margin: 0 0 .85rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ocean-2, #0857a0);
}

.carenext-home-cta__title {
  margin: 0 0 1rem;
  color: var(--hp-title, var(--ink, #1a2b42));
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.carenext-home-cta__desc {
  margin: 0;
  color: #5a6b82;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 54ch;
}

.carenext-home-cta__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .85rem;
  padding: 2rem 1.75rem;
  border-radius: 22px;
  background: linear-gradient(165deg, #0b3c70 0%, #0857a0 58%, #0a4f92 100%);
  color: #fff;
  text-align: center;
}

.carenext-home-cta__panel-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .92);
}

.carenext-home-cta__phone {
  display: inline-block;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  letter-spacing: .01em;
}

.carenext-home-cta__phone:hover {
  color: #e8f4fc;
}

.carenext-home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: .35rem;
  width: 100%;
}

.carenext-home-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .75rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.carenext-home-cta__btn--primary {
  background: #fff;
  color: var(--ocean, #0b3c70);
}

.carenext-home-cta__btn--primary:hover {
  background: #f0f7fc;
}

.carenext-home-cta__btn--secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
}

.carenext-home-cta__btn--secondary:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
}

.carenext-home-blog-card__media.is-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8f1f8 0%, #d7e6f2 100%);
}

.carenext-home-blog-card__placeholder {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(11, 60, 112, .12);
  position: relative;
}

.carenext-home-blog-card__placeholder::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 3px solid rgba(11, 60, 112, .28);
  border-radius: 6px;
}

.carenext-home-blog {
  background: #fff;
  padding: 2rem 0 6rem;
}

.carenext-home-blog__head {
  text-align: center;
  margin-bottom: 2.3rem;
}

.carenext-home-blog__title {
  margin: 0;
  color: var(--ink, #2a3450);
}

.carenext-home-blog__desc {
  margin: .8rem auto 0;
  max-width: 58ch;
  color: var(--paragraph-color, #7b7b7b);
  font-size: 1.03rem;
  line-height: 1.7;
}

.carenext-home-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.carenext-home-blog-card {
  background: #fff;
  display: flex;
  flex-direction: column;
}

.carenext-home-blog-card__media {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 1.55 / 1;
  background: #eff4f8;
}

.carenext-home-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carenext-home-blog-card__body {
  padding: 1rem 0 0;
}

.carenext-home-blog-card__title {
  margin: 0 0 .55rem;
  color: var(--ink, #2a3450);
}

.carenext-home-blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.carenext-home-blog-card__meta {
  margin: 0 0 .9rem;
  color: var(--ink-3, #7a7a7a);
  font-size: .95rem;
}

.carenext-home-blog-card__excerpt {
  margin: 0;
  color: var(--paragraph-color, #737373);
  font-size: 1rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.carenext-home-blog__footer {
  margin-top: 2.5rem;
  text-align: center;
}

.carenext-home-blog__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--ocean) 0%, var(--ocean-2) 55%, var(--accent-color, #0857a0) 100%);
  color: #fff;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 800;
}

.carenext-home-blog__button:hover {}

/* Homepage FAQ — matches services archive accordion */
.carenext-home-faq {
  --srv-archive-accent: var(--ocean, #0b3c70);
  --srv-archive-text: var(--ink, #1d2327);
  --srv-archive-text-muted: var(--ink-3, #646970);
  --srv-archive-border: #d4dae2;
  --srv-archive-heading-font: var(--heading-font, 'Cormorant Garamond'), serif;
  --srv-archive-body-font: var(--body-font, 'Montserrat'), sans-serif;
  background: #f6f9fd;
  padding: 4rem 0;
}

.carenext-home-faq.hp-section {
  background-color: var(--hp-bg, #f6f9fd);
}

.carenext-home-faq .srv-archive-faq-center {
  max-width: 850px;
  margin: 0 auto;
  padding: 0;
}

.carenext-home-faq .carenext-faq-accordion {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.carenext-home-faq .carenext-faq-accordion__head {
  text-align: center;
  margin-bottom: 2rem;
}

.carenext-home-faq .carenext-faq-accordion__title {
  font-family: var(--srv-archive-heading-font);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.1;
  color: var(--hp-title, var(--srv-archive-text));
  margin: 0 auto .5rem;
}

.carenext-home-faq .carenext-faq-accordion__title em {
  font-style: italic;
  color: var(--sage, #5a9939);
}

.carenext-home-faq .carenext-faq-accordion__subtitle {
  margin: 0 auto;
  max-width: 58ch;
  color: var(--srv-archive-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.carenext-home-faq .carenext-faq-accordion__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--srv-archive-border);
}

.carenext-home-faq .carenext-faq-item {
  border-bottom: 1px solid var(--srv-archive-border);
  background: transparent;
  transition: background-color .2s ease;
}

.carenext-home-faq .carenext-faq-q {
  width: 100%;
  padding: 1.25rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  color: var(--srv-archive-text);
  font-family: var(--srv-archive-body-font);
  font-size: 1.1rem;
  font-weight: 600;
  transition: color .2s ease;
}

.carenext-home-faq .carenext-faq-q > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.carenext-home-faq .carenext-faq-item.open .carenext-faq-q {
  color: var(--srv-archive-accent);
}

.carenext-home-faq .carenext-faq-toggle {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  position: relative;
  transition: transform .3s ease;
}

.carenext-home-faq .carenext-faq-toggle::before,
.carenext-home-faq .carenext-faq-toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--srv-archive-text);
  transition: transform .3s ease, background-color .3s ease, opacity .3s ease;
}

.carenext-home-faq .carenext-faq-toggle::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.carenext-home-faq .carenext-faq-toggle::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.carenext-home-faq .carenext-faq-item.open .carenext-faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.carenext-home-faq .carenext-faq-item.open .carenext-faq-toggle::before {
  transform: translate(-50%, -50%) rotate(180deg);
  background-color: var(--srv-archive-accent);
}

.carenext-home-faq .carenext-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s cubic-bezier(.4, 0, .2, 1);
  background: transparent;
}

.carenext-home-faq .carenext-faq-item.open .carenext-faq-a {
  max-height: 1000px;
}

.carenext-home-faq .carenext-faq-a p {
  padding: 0 0 1.25rem;
  margin: 0;
  color: var(--srv-archive-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Homepage Builder — Phase 2 layout variants & section colors */

.hp-section.carenext-about,
.hp-section.carenext-home-blog,
.hp-section.carenext-home-highlight,
.hp-section.carenext-services,
.hp-section.carenext-home-whyus-shell,
.hp-section.carenext-home-faq {
  background-color: var(--hp-bg, #f6f9fd);
}

.hp-section.carenext-home-reviews-shell,
#testimonials.hp-section,
#testimonials.carenext-home-reviews-shell {
  background-color: var(--hp-bg, #d9f1fb) !important;
}

.hp-section.carenext-home-cta,
#cta.hp-section,
#cta.carenext-home-cta {
  background-color: var(--hp-bg, #fff) !important;
}

.carenext-about.hp-section {
  background-color: var(--hp-bg, #fff);
}

.carenext-home-blog.hp-section {
  background-color: var(--hp-bg, #fff);
}

.carenext-hero.hp-section {
  background-color: var(--hp-bg, #0b3c70);
}

.carenext-hero__title,
.carenext-hero__eyebrow {
  color: var(--hp-title, #fff);
}

.carenext-about__title,
.carenext-services__title,
.carenext-home-highlight__title,
.carenext-home-blog__title,
.carenext-home-cta__title,
.carenext-home-whyus__title,
.carenext-home-reviews__title,
.carenext-home-faq .carenext-faq-accordion__title,
.hp-section-title {
  color: var(--hp-title, inherit);
}

.site-main--blank .carenext-hero__title {
  font-family: var(--hp-h1-font-family);
  font-size: var(--hp-h1-font-size);
  font-weight: var(--hp-h1-font-weight);
  line-height: var(--hp-h1-line-height);
  letter-spacing: var(--hp-h1-letter-spacing);
  text-transform: var(--hp-h1-text-transform, none);
  color: var(--hp-h1-color, #fff);
}

.site-main--blank .carenext-about__title,
.site-main--blank .carenext-services__title,
.site-main--blank .carenext-home-highlight__title,
.site-main--blank .carenext-home-cta__title,
.site-main--blank .carenext-home-blog__title,
.site-main--blank .carenext-home-whyus__title,
.site-main--blank .carenext-home-reviews__title,
.site-main--blank .carenext-home-faq .carenext-faq-accordion__title,
.site-main--blank h2.display,
.site-main--blank .hp-section-title {
  font-family: var(--hp-h2-font-family);
  font-size: var(--hp-h2-font-size, 1.75rem);
  font-weight: var(--hp-h2-font-weight);
  line-height: var(--hp-h2-line-height);
  letter-spacing: var(--hp-h2-letter-spacing);
  text-transform: var(--hp-h2-text-transform, none);
}

.site-main--blank .carenext-about__panel-title,
.site-main--blank .carenext-home-cta__panel-title,
.site-main--blank .carenext-service-card__title,
.site-main--blank .carenext-home-blog-card__title,
.site-main--blank .carenext-home-faq .carenext-faq-q {
  font-family: var(--hp-h3-font-family);
  font-size: var(--hp-h3-font-size);
  font-weight: var(--hp-h3-font-weight);
  line-height: var(--hp-h3-line-height);
  letter-spacing: var(--hp-h3-letter-spacing);
  text-transform: var(--hp-h3-text-transform, none);
  color: var(--hp-h3-color, inherit);
}

.site-main--blank .carenext-home-whyus__item h3,
.site-main--blank .carenext-home-review-card h3 {
  font-family: var(--hp-h3-font-family);
  font-size: var(--hp-h3-font-size);
  font-weight: var(--hp-h3-font-weight);
  line-height: var(--hp-h3-line-height);
  letter-spacing: var(--hp-h3-letter-spacing);
  text-transform: var(--hp-h3-text-transform, none);
  color: var(--hp-h3-color, #101828);
}

.carenext-home-stats .numbers-bar {
  display: block;
  padding: 36px 0;
}

.carenext-home-stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

@media (max-width: 1024px) {
  .carenext-home-stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

.carenext-home-stats .numbers-bar .num-val,
.carenext-home-stats .numbers-bar .num-lbl {
  color: #fff;
}

.carenext-services.hp-style-grid-4 .carenext-services__grid--4,
.carenext-services__grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.carenext-services.hp-style-carousel .carenext-services__grid--carousel,
.carenext-services__grid--carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.carenext-services__grid--carousel .carenext-service-card {
  flex: 0 0 min(380px, calc(100% - 2rem));
  scroll-snap-align: start;
}

.testi-grid--slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1.25rem;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
}

.testi-grid--slider .t-card {
  flex: 0 0 min(340px, 88vw);
  scroll-snap-align: start;
}

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

.testi-grid--trust .t-card {
  border: 1px solid #dce5ee;
  border-radius: 16px;
  padding: 1.5rem;
  background: #fff;
}

body.carenext-highlight-video-open {
  overflow: hidden;
}

.carenext-highlight-video-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.carenext-highlight-video-modal[hidden] {
  display: none;
}

.carenext-highlight-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 34, .78);
}

.carenext-highlight-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 28px 64px rgba(0, 0, 0, .35);
}

.carenext-highlight-video-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.carenext-highlight-video-modal__close:hover,
.carenext-highlight-video-modal__close:focus-visible {
  background: rgba(0, 0, 0, .82);
}

.carenext-highlight-video-modal__frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.carenext-highlight-video-modal__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#testimonials.hp-section,
#testimonials.carenext-home-reviews-shell,
.carenext-home-reviews-shell.hp-section {
  background-color: var(--hp-bg, #d9f1fb) !important;
}

#testimonials.hp-section.alt {
  background-color: var(--hp-bg, #d9f1fb) !important;
}

#cta.hp-section {
  background-color: var(--hp-bg, #fff) !important;
}

@media (max-width: 1024px) {
  .carenext-hero--comforcare {
    height: auto;
    min-height: 440px;
  }

  .carenext-hero__shell {
    padding: 96px 0 52px;
  }

  .carenext-services__grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carenext-home-whyus__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carenext-home-reviews__track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

@media (max-width: 768px) {
  .carenext-hero--comforcare {
    height: auto;
    min-height: 400px;
  }

  .carenext-hero__shell {
    padding: 92px 0 48px;
  }

  .carenext-about {
    padding: 4rem 0 4.5rem;
  }

  .carenext-about__shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .carenext-about__copy {
    padding: 0;
  }

  .carenext-about__title {
    max-width: none;
    margin-bottom: 1.15rem;
  }

  .carenext-about__lead,
  .carenext-about__body {
    font-size: 1rem;
    line-height: 1.7;
  }

  .carenext-about__body {
    margin-bottom: 1.5rem;
  }

  .testi-grid--trust {
    grid-template-columns: 1fr;
  }

  .carenext-services__grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carenext-services__grid--4 {
    grid-template-columns: 1fr;
  }

  .carenext-services__grid--carousel .carenext-service-card {
    flex: 0 0 min(300px, 88vw);
  }

  .carenext-about__panel {
    padding: 1.8rem;
  }

  .carenext-home-highlight {
    padding: 72px 0 84px;
  }

  .carenext-home-highlight__shell {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .carenext-home-highlight__media {
    min-height: 320px;
  }

  .carenext-home-whyus-shell {
    padding: 38px 0 26px;
  }

  .carenext-home-whyus__title {
    font-size: 1.8rem;
  }

  .carenext-home-whyus__description {
    margin: 10px auto 20px;
    font-size: 1rem;
  }

  .carenext-home-whyus__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .carenext-home-whyus__item {
    padding: 2px 8px;
  }

  .carenext-home-whyus__item h3 {
    font-size: 1.4rem;
  }

  .carenext-home-reviews__top {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .carenext-home-reviews__title {
    font-size: 1.8rem;
  }

  .carenext-home-reviews__track {
    grid-auto-columns: min(88vw, 340px);
  }

  .carenext-home-trust-head {
    flex-direction: column;
    text-align: center;
  }

  .carenext-home-trust-grid {
    grid-template-columns: 1fr;
  }

  .carenext-home-trust-card strong {
    font-size: 24px;
  }

  .carenext-home-highlight__backdrop {
    left: 16px;
    right: 16px;
    width: auto;
    height: 240px;
    border-radius: 28px;
  }

  .carenext-home-highlight__card {
    width: 100%;
    height: 280px;
    border-radius: 28px;
  }

  .carenext-home-highlight__play-icon {
    width: 84px;
    height: 84px;
  }

  .carenext-home-highlight__play-icon::before {
    border-top-width: 14px;
    border-bottom-width: 14px;
    border-left-width: 24px;
  }

  .carenext-home-highlight__content {
    max-width: none;
    margin-left: 0;
  }

  .carenext-home-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carenext-home-cta__desk {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }

  .carenext-home-cta__intro {
    padding: 0;
  }

  .carenext-home-cta__panel {
    padding: 1.6rem 1.4rem;
  }

  .carenext-hero__eyebrow {
    font-size: .95rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
  }

  .carenext-hero__title {
    margin-bottom: 1.75rem;
  }

  .carenext-hero__description {
    font-size: .92rem;
  }
}

@media (max-width: 600px) {
  .carenext-hero--comforcare {
    min-height: auto;
  }

  .carenext-hero__shell {
    padding-bottom: 44px;
  }

  .carenext-hero__actions {
    flex-direction: column;
    gap: 1rem;
  }

  .carenext-hero__button {
    min-height: 52px;
    min-width: 100%;
    font-size: .95rem;
  }

  .carenext-about {
    padding: 3.35rem 0 4rem;
  }

  .carenext-about__title {
    max-width: none;
  }

  .carenext-about__lead,
  .carenext-about__body {
    max-width: none;
  }

  .carenext-about__points {
    gap: .65rem;
  }

  .carenext-about__point {
    width: 100%;
    justify-content: flex-start;
  }

  .carenext-services {
    padding-bottom: 4.2rem;
  }

  .carenext-services__grid--3,
  .carenext-services__grid--4 {
    grid-template-columns: 1fr;
  }

  .carenext-services__grid--carousel .carenext-service-card {
    flex: 0 0 min(280px, 92vw);
  }

  .carenext-service-card {
    border-radius: 22px;
  }

  .carenext-service-card__title {
    font-size: 1.35rem;
  }

  .carenext-home-highlight {
    padding: 64px 0 80px;
  }

  .carenext-home-highlight__shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .carenext-home-highlight__media {
    min-height: 280px;
  }

  .carenext-home-highlight__card {
    height: 250px;
  }

  .carenext-home-highlight__play-icon {
    width: 72px;
    height: 72px;
  }

  .carenext-home-highlight__play-icon::before {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 20px;
  }

  .carenext-home-highlight__desc,
  .carenext-home-highlight__note {
    font-size: 1rem;
  }

  .carenext-home-blog__grid {
    grid-template-columns: 1fr;
  }

  .carenext-home-cta {
    padding: 56px 0 72px;
  }

  .carenext-home-cta__desk {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .carenext-home-cta__actions {
    flex-direction: column;
  }

  .carenext-home-cta__btn {
    width: 100%;
  }
}
