/* ===================================================================
   CONTACT US PAGE SECTIONS — built from Figma screenshots
   =================================================================== */

/* --- 1. HERO ---
   Full-width bg image, dark overlay, centered white text,
   overlapping white contact form card.
   Height: ~780px. Overlay ~48% black.
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-size: cover;
  background-position: center 30%;
  text-align: center;
  color: var(--white);
  padding: 80px 80px 120px;
}
.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: 16px;
  margin-bottom: 40px;
}
.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: 560px;
}

/* --- Contact Form Card (overlaid on hero) --- */
.contact-form {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: 16px;
  padding: 40px 44px;
  max-width: 480px;
  width: 100%;
  text-align: left;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.contact-form__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-form__desc {
  font-size: 15px;
  color: var(--body-text);
  margin-bottom: 24px;
  line-height: 1.5;
}
.contact-form__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.contact-form__input {
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #F8FAFC;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}
.contact-form__input:focus {
  border-color: var(--blue);
}
.contact-form__textarea {
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #F8FAFC;
  color: var(--navy);
  outline: none;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.2s;
}
.contact-form__textarea:focus {
  border-color: var(--blue);
}
.contact-form__submit {
  width: 100%;
  justify-content: center;
}
.contact-form__call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
}
.contact-form__call svg {
  stroke: var(--blue);
  flex-shrink: 0;
}

/* --- 2. CONTACT INFO ---
   White bg, centered heading, 3 info cards in a row,
   full-width map image below.
   ----------------------------------------------------------------- */
.contact-info {
  background: var(--white);
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.contact-info__title {
  font-size: 44px;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
}
.contact-info__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  text-align: center;
}
.contact-info__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.contact-info__card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-info__card-text {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.5;
}
.contact-info__card-text a {
  color: var(--body-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-info__card-text a:hover {
  color: var(--blue);
}
.contact-info__map {
  max-width: 1200px;
  width: 100%;
}
.contact-info__map img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* --- 3. SERVICES ---
   White bg, centered heading, 3x2 grid of cards.
   5 regular cards (image + text) + 1 blue 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); }

/* Blue CTA card (6th card) */
.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;
}

/* --- 4. WHY US ---
   Light blue bg, centered heading + subtitle, 3x2 grid of centered cards.
   Each card: blue circle checkmark, title, description.
   ----------------------------------------------------------------- */
.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. 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;
}

/* --- 6. FAQS ---
   Dark navy bg, left-aligned 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;
  list-style: none;
  padding: 0;
  margin: 0;
}
.faqs__more { margin-top: -8px; }

/* --- 7. 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: auto;
    padding: 48px 20px 40px;
    text-align: left;
    align-items: flex-start;
  }
  .hero__content {
    align-items: flex-start;
    max-width: 100%;
    margin-bottom: 24px;
  }
  .hero__title { font-size: 32px; }
  .hero__subtitle { font-size: 15px; max-width: 100%; }

  /* --- Contact Form Card mobile --- */
  .contact-form {
    max-width: 100%;
    padding: 28px 20px;
    border-radius: 12px;
  }
  .contact-form__title { font-size: 22px; }
  .contact-form__desc { font-size: 14px; margin-bottom: 20px; }
  .contact-form__call { font-size: 14px; }

  /* --- CONTACT INFO mobile --- */
  .contact-info {
    padding: 48px 20px;
    gap: 32px;
  }
  .contact-info__title { font-size: 28px; text-align: left; }
  .contact-info__cards {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }
  .contact-info__card { align-items: flex-start; }

  /* --- SERVICES mobile --- */
  .services {
    padding: 48px 20px;
    gap: 24px;
  }
  .services__title { font-size: 28px; }
  .services__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;
  }

  /* --- HOW IT WORKS mobile --- */
  .how-it-works {
    padding: 48px 20px;
    gap: 32px;
  }
  .how-it-works__title { font-size: 28px; }
  .how-it-works__subtitle { font-size: 15px; margin-top: -12px; }
  .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;
  }

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