/* ===================================================================
   AREAS WE SERVE PAGE — built from Figma screenshots
   =================================================================== */

/* --- 1. HERO ---
   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. COMMUNITIES ---
   White bg, centered heading + subtitle,
   "Cities" group title, 3-col grid of location cards,
   "Counties" group title, 3-col grid of county cards,
   Bottom CTA section.
   ----------------------------------------------------------------- */
.communities {
  background: var(--white);
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.communities__header {
  text-align: center;
  margin-bottom: 40px;
}
.communities__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.communities__subtitle {
  font-size: 17px;
  color: var(--body-text);
  line-height: 1.6;
}
.communities__group-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
  margin-top: 16px;
  color: var(--navy);
}
.communities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  margin-bottom: 40px;
}
.community-card {
  background: var(--light-blue);
  border: 1px solid #D6E0F5;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.community-card:hover {
  border-color: var(--blue);
  box-shadow: 0 2px 12px rgba(85, 131, 252, 0.12);
}
.community-card__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.community-card__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.community-card__desc {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.6;
}
.community-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-top: auto;
  padding-top: 4px;
}
.community-card__link svg {
  stroke: var(--navy);
  flex-shrink: 0;
}
.community-card:hover .community-card__link {
  color: var(--blue);
}
.community-card:hover .community-card__link svg {
  stroke: var(--blue);
}

/* Communities bottom CTA */
.communities__bottom {
  text-align: center;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.communities__bottom-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}
.communities__bottom-text {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.6;
}
.communities__bottom-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

/* --- 3. OFFICE ---
   White bg, 2-column: text left, map image right.
   Separated by subtle top border.
   ----------------------------------------------------------------- */
.office {
  background: var(--white);
  padding: 80px 80px;
  border-top: 1px solid #E2E8F0;
}
.office__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.office__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}
.office__desc {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 32px;
}
.office__details {
  margin-bottom: 20px;
}
.office__label {
  font-size: 14px;
  font-weight: 400;
  color: var(--grey);
  display: block;
  margin-bottom: 4px;
}
.office__info {
  font-size: 16px;
  color: var(--navy);
  line-height: 1.5;
}
.office__map img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}

/* --- 4. SERVICES ---
   White bg, centered heading, 3x2 grid of cards (5 cards, no CTA card).
   ----------------------------------------------------------------- */
.services {
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  background: var(--white);
}
.services__title {
  font-size: 44px;
  text-align: center;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  width: 100%;
}
.service-card {
  background: var(--light-blue);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-card__body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.service-card__title {
  font-size: 20px;
  font-weight: 600;
}
.service-card__text {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.6;
  flex: 1;
}
.service-card__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.service-card__link svg { stroke: var(--navy); }

/* --- 5. HOW IT WORKS ---
   Dark navy bg, centered heading + subtitle,
   2-column: left image, right 3 steps + 2 buttons.
   No badges below image on this page version.
   ----------------------------------------------------------------- */
.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__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;
}

/* --- 6. CTA ---
   Full-width bg image, dark overlay, centered white text, 2 buttons.
   ----------------------------------------------------------------- */
.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;
}

/* --- 7. FAQS ---
   Dark navy bg, centered heading, 5 FAQ items with left border + icon.
   ----------------------------------------------------------------- */
.faqs {
  background: var(--navy);
  color: var(--white);
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.faqs__title {
  font-size: 44px;
  text-align: center;
}
.faqs__list {
  max-width: 700px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.faq-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 2px;
}
.faq-item__icon svg { width: 28px; height: 28px; }
.faq-item__content {
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item__label {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.6;
}
.faq-item__question {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}
.faq-item__answer {
  font-size: 15px;
  opacity: 0.72;
  line-height: 1.65;
}

/* --- 8. FOOTER ---
   White bg, blue top border, 5-column grid, bottom bar.
   ----------------------------------------------------------------- */
.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; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .communities__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .office__content {
    grid-template-columns: 1fr;
  }
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

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

  /* --- COMMUNITIES --- */
  .communities {
    padding: 48px 20px;
    align-items: flex-start;
  }
  .communities__header {
    text-align: left;
  }
  .communities__title {
    font-size: 28px;
  }
  .communities__subtitle {
    font-size: 15px;
  }
  .communities__group-title {
    font-size: 22px;
    text-align: left;
  }
  .communities__grid {
    grid-template-columns: 1fr;
  }
  .community-card {
    padding: 24px 20px;
  }
  .community-card__name {
    font-size: 18px;
  }
  .community-card__desc {
    font-size: 14px;
  }
  .communities__bottom {
    align-items: flex-start;
    text-align: left;
  }
  .communities__bottom-title {
    font-size: 18px;
  }
  .communities__bottom-text {
    font-size: 14px;
  }
  .communities__bottom-buttons {
    flex-direction: column;
    width: 100%;
  }
  .communities__bottom-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- OFFICE --- */
  .office {
    padding: 48px 20px;
  }
  .office__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .office__title {
    font-size: 32px;
  }
  .office__desc {
    font-size: 15px;
  }

  /* --- SERVICES --- */
  .services {
    padding: 48px 20px;
    align-items: flex-start;
  }
  .services__title {
    font-size: 28px;
    text-align: left;
  }
  .services__grid {
    grid-template-columns: 1fr;
  }
  .service-card__image {
    height: 200px;
  }
  .service-card__body {
    padding: 24px 20px;
  }

  /* --- HOW IT WORKS --- */
  .how-it-works {
    padding: 48px 20px;
  }
  .how-it-works__title {
    font-size: 32px;
    text-align: left;
  }
  .how-it-works__subtitle {
    text-align: left;
  }
  .how-it-works__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .how-it-works__image {
    aspect-ratio: 16/10;
  }
  .how-it-works__buttons {
    flex-direction: column;
    width: 100%;
  }
  .how-it-works__buttons .btn {
    width: 100%;
    justify-content: center;
  }

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

  /* --- FAQS --- */
  .faqs {
    padding: 48px 20px;
    align-items: flex-start;
  }
  .faqs__title {
    font-size: 28px;
    text-align: left;
  }
  .faqs__list {
    gap: 28px;
  }
  .faq-item__question {
    font-size: 18px;
  }
  .faq-item__answer {
    font-size: 14px;
  }

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