/* ==========================================================================
   24Care — Province page layout
   Loaded by page-province.php AFTER c24-base.css.
   Only layout specific to this page lives here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero — copy left, lead form right

   Pulled up by --header-height so the transparent site header overlays it,
   which is what makes the white logo and nav legible.
   -------------------------------------------------------------------------- */

.c24-hero {
  position: relative;
  margin-top: calc(var(--header-height) * -1);
  background-color: var(--indigo);
  background-image: var(--c24-hero-image, none);
  background-size: cover;
  background-position: center;
  padding: 0;
}

.c24-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(61, 62, 89, 0.94) 0%, rgba(61, 62, 89, 0.78) 55%, rgba(61, 62, 89, 0.55) 100%);
}

.c24-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: calc(var(--header-height) + 72px);
  padding-bottom: 88px;
}

.c24-page .c24-hero__headline {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  margin-bottom: 20px;
}

.c24-page .c24-hero__sub {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 34em;
}

.c24-hero__form {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
}

/* --------------------------------------------------------------------------
   Assessment — copy left, image right
   -------------------------------------------------------------------------- */

.c24-assess {
  background: var(--white);
  padding: 88px 0;
}

.c24-assess__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.c24-assess__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   After your assessment — inclusions
   -------------------------------------------------------------------------- */

.c24-after {
  background: var(--parchment);
  padding: 88px 0;
}

.c24-after__body {
  max-width: 62ch;
  margin-bottom: 32px;
}

.c24-inclusions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 48px;
}

/* --------------------------------------------------------------------------
   Who it covers — three equal cards, no per-item CTA
   -------------------------------------------------------------------------- */

.c24-covers {
  background: var(--white);
  padding: 88px 0;
}

.c24-covers__intro {
  max-width: 60ch;
  margin-bottom: 36px;
}

.c24-covers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.c24-cover {
  background: var(--parchment);
  border-radius: 10px;
  padding: 28px 26px;
}

.c24-page .c24-cover h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.c24-page .c24-cover p {
  font-size: 17px;
  margin: 0;
}

.c24-covers__cta {
  margin-top: 36px;
}

/* --------------------------------------------------------------------------
   Testimonials — static three-up
   -------------------------------------------------------------------------- */

.c24-testimonials {
  background: var(--parchment);
  padding: 88px 0;
}

.c24-testimonials .c24-section-title {
  text-align: center;
  margin-bottom: 40px;
}

.c24-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.c24-testimonial {
  background: var(--white);
  border-radius: 10px;
  padding: 30px 26px;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.c24-testimonial blockquote {
  margin: 0 0 20px;
  padding: 0;
  border: none;
  font-size: 17px;
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}

.c24-testimonial figcaption {
  font-family: var(--font-head);
  line-height: 1.35;
}

.c24-testimonial__name {
  display: block;
  font-weight: 600;
  font-size: 16px;
}

.c24-testimonial__location {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Close — form repeats
   -------------------------------------------------------------------------- */

.c24-close {
  background: var(--indigo);
  padding: 88px 0;
}

.c24-close__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.c24-page .c24-close__copy p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.c24-close__form {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .c24-hero__inner,
  .c24-assess__inner,
  .c24-close__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .c24-covers__grid,
  .c24-testimonials__grid,
  .c24-inclusions {
    grid-template-columns: 1fr;
  }

  .c24-assess,
  .c24-after,
  .c24-covers,
  .c24-testimonials,
  .c24-close {
    padding: 56px 0;
  }

  .c24-hero__inner {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 48px;
  }
}

@media (max-width: 600px) {
  .c24-hero__form,
  .c24-close__form {
    padding: 20px;
  }
}
