/* ===================================================================
   BLOG PAGE SECTIONS — 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. BLOG ARTICLES GRID ---
   White bg, 3x3 grid of blog cards, centered "Load More Articles" button.
   Cards: light blue bg, image top, title, excerpt, "Read Article" link.
   ----------------------------------------------------------------- */
.blog-listing {
  background: var(--white);
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.blog-listing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  width: 100%;
}
.blog-card {
  background: var(--light-blue);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.blog-card__body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}
.blog-card__text {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.65;
  flex: 1;
}
.blog-card__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.blog-card__link svg { stroke: var(--navy); }
.blog-listing__more { margin-top: -8px; }

/* --- 3. TESTIMONIALS ---
   Light blue bg, centered heading, 3 white cards in a row.
   ----------------------------------------------------------------- */
.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;
}

/* --- 4. WHY US ---
   Light blue bg, centered heading + subtitle, 3x2 grid of centered cards.
   ----------------------------------------------------------------- */
.why-us {
  background: var(--light-blue);
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
}
.why-us__header {
  text-align: center;
  max-width: 720px;
}
.why-us__title {
  font-size: 44px;
  margin-bottom: 16px;
}
.why-us__subtitle {
  font-size: 17px;
  color: var(--body-text);
  line-height: 1.6;
}
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px 64px;
  max-width: 1200px;
  width: 100%;
  text-align: center;
}
.why-us-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.why-us-card__icon {
  width: 40px;
  height: 40px;
}
.why-us-card__title {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}
.why-us-card__text {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.6;
}

/* --- 5. SERVICES ---
   White bg, centered heading, 3x2 grid of cards.
   ----------------------------------------------------------------- */
.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); }
.service-card--cta {
  background: var(--blue);
  color: var(--white);
}
.service-card--cta .service-card__body {
  padding: 24px;
}
.service-card--cta .service-card__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  flex: 1;
}
.service-card--cta .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* --- 6. HOW IT WORKS ---
   Dark navy bg, centered heading + subtitle,
   2-column: left image + badges, right 3 steps + 2 buttons.
   ----------------------------------------------------------------- */
.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;
}

/* --- 7. PCW ---
   White bg, 2-column: text left, image right.
   ----------------------------------------------------------------- */
.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;
}

/* --- 8. 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;
}

/* --- 9. FAQS ---
   Dark navy bg, centered heading, 6 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;
}
.faq-item__list {
  font-size: 15px;
  opacity: 0.72;
  line-height: 1.65;
  padding-left: 20px;
  list-style: disc;
}
.faq-item__list li {
  list-style: disc;
  margin-bottom: 2px;
}
.faqs__more { margin-top: -8px; }

/* --- 10. 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; }

/* =================================================================
   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;
  }

  /* --- BLOG LISTING mobile --- */
  .blog-listing {
    padding: 48px 20px;
    gap: 32px;
  }
  .blog-listing__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  /* --- WHY US mobile --- */
  .why-us {
    padding: 48px 20px;
    gap: 36px;
  }
  .why-us__title { font-size: 28px; }
  .why-us__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  /* --- SERVICES mobile --- */
  .services {
    padding: 48px 20px;
    gap: 24px;
  }
  .services__title { font-size: 28px; }
  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* --- 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;
  }

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

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

  /* --- FAQS mobile --- */
  .faqs {
    padding: 48px 20px;
    gap: 32px;
  }
  .faqs__title { font-size: 28px; }
  .faqs__list { gap: 24px; }
  .faq-item__question { font-size: 18px; }

  /* --- 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;
  }
}
