/* Service subpages (bridge-loans-spain, ...) — reuses homepage.css design system.
   Only additions: light header on white page, hero, steps, FAQ. */

.header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--dark);
}
.h-client-login {
  border-color: var(--dark);
}
.h-client-login:hover {
  background-color: var(--dark);
  color: white;
}
body {
  background-color: white;
  color: var(--dark);
}

/* hero */
.service-hero {
  background-color: var(--foreground);
  padding: 80px 0;
}
.service-hero h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 110%;
  margin: 0 0 16px;
  max-width: 900px;
}
.service-hero .t-cd {
  max-width: 780px;
}
.service-hero .p {
  max-width: 780px;
}

/* generic content blocks */
.service-block {
  max-width: 780px;
  margin: 0 auto;
}
.service-block h2 {
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 16px;
}
.service-block ul {
  margin: 12px 0 0 20px;
  padding: 0;
}
.service-block ul li {
  font-size: 16px;
  font-weight: 300;
  line-height: 130%;
  margin-bottom: 12px;
}

/* numbered steps */
.service-steps {
  counter-reset: step;
  margin-top: 26px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 26px;
}
.service-step {
  position: relative;
  padding-left: 56px;
}
.service-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--dark);
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 16px;
}
.service-step h3 {
  font-size: 18px;
  font-weight: 400;
  margin: 6px 0 8px;
}
.service-step p {
  font-size: 16px;
  font-weight: 300;
  line-height: 130%;
  margin: 0;
}

/* FAQ */
.service-faq {
  background-color: var(--foreground);
}
.service-faq .service-block h2 {
  margin-bottom: 26px;
}
.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(38, 38, 38, 0.15);
}
.faq-item:first-of-type {
  border-top: 1px solid rgba(38, 38, 38, 0.15);
}
.faq-item h3 {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 10px;
}
.faq-item p {
  font-size: 16px;
  font-weight: 300;
  line-height: 130%;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .service-hero {
    padding: 60px 0;
  }
  .service-hero h1 {
    font-size: 30px;
  }
  .service-block h2 {
    font-size: 24px;
  }
  .section-padding.service-section {
    padding: 60px 0;
  }
}

/* FAQ pages: centered hero column, tighter gap to first section */
.faq-hero {
  padding: 72px 0 28px;
}
.faq-first-section.section-padding {
  padding-top: 48px;
}
@media screen and (max-width: 767px) {
  .faq-hero {
    padding: 48px 0 20px;
  }
  .faq-first-section.section-padding {
    padding-top: 36px;
  }
}

/* FAQ pages: tighter vertical rhythm between question sections */
.faq-section.section-padding {
  padding: 64px 0;
}
.faq-first-section.section-padding {
  padding-top: 48px;
}
@media screen and (max-width: 767px) {
  .faq-section.section-padding {
    padding: 44px 0;
  }
  .faq-first-section.section-padding {
    padding-top: 32px;
  }
}
