/* ===================================================================
   ABOUT PAGE SECTIONS — built from Figma screenshots
   =================================================================== */

/* --- 1. HERO ---
   Same layout as homepage hero but with different text/badges.
   Full-width bg image, dark overlay, centered white text,
   2 buttons side by side, 3 trust badges in a row.
   Height: 640px. Overlay ~48% black.
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center 30%;
  text-align: center;
  color: var(--white);
  padding: 80px 80px;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero__title {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.1;
}
.hero__subtitle {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.88;
  line-height: 1.6;
  max-width: 600px;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.hero__badges {
  display: flex;
  gap: 28px;
  margin-top: 4px;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.hero__badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- 2. OUR STORY ---
   White bg, 2-column: image left (rounded corners), text right.
   Image takes roughly half width, text has title + 4 paragraphs.
   Generous vertical padding.
   ----------------------------------------------------------------- */
.our-story {
  background: var(--white);
  padding: 80px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1360px;
  margin: 0 auto;
  align-items: start;
}
.our-story__image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.our-story__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 16px;
}
.our-story__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}
.our-story__desc {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
}

/* --- 3. OUR COMMITMENT TO QUALITY CARE ---
   White bg, 2-column: image left (rounded corners), text right.
   Text includes title, intro paragraph, bullet list, closing paragraph.
   ----------------------------------------------------------------- */
.quality-care {
  background: var(--white);
  padding: 80px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1360px;
  margin: 0 auto;
  align-items: start;
}
.quality-care__image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.quality-care__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 16px;
}
.quality-care__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}
.quality-care__desc {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
}
.quality-care__list {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quality-care__list li {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.6;
}

/* --- 4. PCW ---
   White bg, 2-column: text left, image right.
   Reused from homepage — same structure.
   ----------------------------------------------------------------- */
.pcw {
  background: var(--white);
  padding: 80px 80px;
}
.pcw__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.pcw__title {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 24px;
}
.pcw__desc {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 24px;
}
.pcw__subtitle {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy);
}
.pcw__image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* --- 5. OUR MISSION ---
   Blue gradient bg, 2-column: text left, image right flush.
   Similar layout to about-trust / send-a-referral on homepage.
   ----------------------------------------------------------------- */
.our-mission {
  background: linear-gradient(135deg, #5583FC 0%, #7B9FFF 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  color: var(--white);
}
.our-mission__text {
  padding: 72px 64px 72px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.our-mission__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
}
.our-mission__desc {
  font-size: 16px;
  opacity: 0.88;
  line-height: 1.7;
}
.our-mission .btn--white {
  align-self: flex-start;
  margin-top: 8px;
  color: var(--navy);
}
.our-mission__image {
  overflow: hidden;
}
.our-mission__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- 6. TESTIMONIALS ---
   Light blue bg, centered heading, 3 white cards in a row.
   Reused from homepage — same structure.
   ----------------------------------------------------------------- */
.testimonials {
  background: var(--light-blue);
  padding: 72px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.testimonials__title {
  font-size: 44px;
  font-weight: 700;
  text-align: center;
  max-width: 680px;
  line-height: 1.15;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  width: 100%;
}
.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid #E2E8F0;
}
.testimonial-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.testimonial-card__google { height: 24px; width: auto; }
.testimonial-card__stars { display: flex; gap: 3px; }
.testimonial-card__stars svg { width: 20px; height: 20px; }
.testimonial-card__text {
  font-size: 17px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.65;
  flex: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
}
.testimonial-card__city {
  font-size: 14px;
  font-weight: 400;
  color: var(--grey);
  margin-left: 8px;
}

/* --- 7. WHAT WE STAND FOR ---
   Light blue bg, centered heading, 4-column grid of centered cards.
   Each card: blue circle checkmark icon, title, description.
   ----------------------------------------------------------------- */
.what-we-stand-for {
  background: var(--light-blue);
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
}
.what-we-stand-for__title {
  font-size: 44px;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
}
.what-we-stand-for__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  text-align: center;
}
.what-we-stand-for__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.what-we-stand-for__icon {
  width: 40px;
  height: 40px;
}
.what-we-stand-for__card-title {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}
.what-we-stand-for__card-text {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.6;
}

/* --- 8. HOW IT WORKS ---
   Dark navy bg, centered heading + subtitle,
   2-column: left image + badges, right 3 steps + 2 buttons.
   Reused from homepage.
   ----------------------------------------------------------------- */
.how-it-works {
  background: var(--navy);
  color: var(--white);
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.how-it-works__title {
  font-size: 44px;
  text-align: center;
  max-width: 600px;
  line-height: 1.15;
}
.how-it-works__subtitle {
  font-size: 17px;
  text-align: center;
  opacity: 0.75;
  max-width: 580px;
  line-height: 1.6;
  margin-top: -20px;
}
.how-it-works__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  width: 100%;
  align-items: start;
}
.how-it-works__image {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.how-it-works__badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.how-it-works__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}
.how-it-works__badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.how-it-works__steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.step__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.step__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.step__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
}
.step__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step__text {
  font-size: 15px;
  opacity: 0.75;
  line-height: 1.65;
}
.step__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-top: 12px;
}
.how-it-works__buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

/* --- 9. CTA ---
   Full-width bg image, dark overlay, centered white text, 2 buttons.
   Reused from homepage.
   ----------------------------------------------------------------- */
.cta {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--white);
  padding: 80px 80px;
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}
.cta__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta__title {
  font-size: 44px;
  line-height: 1.15;
}
.cta__subtitle {
  font-size: 17px;
  opacity: 0.88;
  line-height: 1.65;
  max-width: 560px;
}
.cta__buttons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

/* --- 10. FOOTER ---
   White bg, blue top border, 5-column grid, bottom bar.
   Reused from homepage.
   ----------------------------------------------------------------- */
.footer {
  background: var(--white);
  border-top: 4px solid var(--blue);
}
.footer__main {
  display: grid;
  grid-template-columns: 200px repeat(4, 1fr);
  gap: 40px;
  padding: 52px 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__logo {
  width: 160px;
  height: auto;
}
.footer__map-img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}
.footer__col {
  display: flex;
  flex-direction: column;
}
.footer__heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}
.footer__heading--socials {
  margin-top: 28px;
}
.footer__link {
  font-size: 14px;
  color: var(--body-text);
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer__link:hover { color: var(--blue); }
.footer__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 4px;
  margin-top: 12px;
}
.footer__label:first-of-type { margin-top: 0; }
.footer__info {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.5;
  margin-bottom: 4px;
}
.footer__areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.footer__areas a {
  font-size: 14px;
  color: var(--body-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__areas a:hover { color: var(--blue); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  border-top: 1px solid #E2E8F0;
  font-size: 13px;
  color: var(--grey);
}
.footer__bottom p { margin: 0; }

/* =================================================================
   MOBILE RESPONSIVE — @media (max-width: 768px)
   Matches mobile Figma screenshots (412px viewport)
   =================================================================*/
@media (max-width: 768px) {

  /* --- HERO mobile --- */
  .hero {
    min-height: 520px;
    padding: 48px 20px;
    text-align: left;
    align-items: flex-start;
  }
  .hero__content {
    align-items: flex-start;
    max-width: 100%;
  }
  .hero__title { font-size: 32px; }
  .hero__subtitle { font-size: 15px; max-width: 100%; }
  .hero__buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__badges {
    flex-direction: column;
    gap: 12px;
  }

  /* --- OUR STORY mobile --- */
  .our-story {
    grid-template-columns: 1fr;
    padding: 48px 20px;
    gap: 32px;
  }
  .our-story__title { font-size: 28px; }
  .our-story__text { padding-top: 0; }

  /* --- QUALITY CARE mobile --- */
  .quality-care {
    grid-template-columns: 1fr;
    padding: 48px 20px;
    gap: 32px;
  }
  .quality-care__title { font-size: 28px; }
  .quality-care__text { padding-top: 0; }

  /* --- PCW mobile --- */
  .pcw { padding: 48px 20px; }
  .pcw__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pcw__title { font-size: 28px; }
  .pcw__image { order: -1; }

  /* --- OUR MISSION mobile --- */
  .our-mission {
    grid-template-columns: 1fr;
  }
  .our-mission__image { max-height: 300px; }
  .our-mission__text {
    padding: 40px 20px;
  }
  .our-mission__title { font-size: 28px; }
  .our-mission .btn--white {
    width: 100%;
    justify-content: center;
  }

  /* --- TESTIMONIALS mobile --- */
  .testimonials {
    padding: 48px 20px;
    gap: 32px;
  }
  .testimonials__title { font-size: 28px; }
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* --- WHAT WE STAND FOR mobile --- */
  .what-we-stand-for {
    padding: 48px 20px;
    gap: 36px;
  }
  .what-we-stand-for__title { font-size: 28px; }
  .what-we-stand-for__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* --- HOW IT WORKS mobile --- */
  .how-it-works {
    padding: 48px 20px;
    gap: 32px;
  }
  .how-it-works__title { font-size: 28px; }
  .how-it-works__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .how-it-works__buttons {
    flex-direction: column;
    width: 100%;
  }
  .how-it-works__buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- CTA mobile --- */
  .cta {
    min-height: 400px;
    padding: 48px 20px;
    text-align: left;
    align-items: flex-start;
  }
  .cta__content {
    align-items: flex-start;
  }
  .cta__title { font-size: 28px; }
  .cta__subtitle { max-width: 100%; }
  .cta__buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta__buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- FOOTER mobile --- */
  .footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px 20px;
  }
}
