/* ============================================================================
   SERVICE PAGES (SEO deep pages) — shared components
   The pages live in ./<slug>/index.html, so this file is linked as ../service-pages.css
   ============================================================================ */
.sp [id] { scroll-margin-top: 96px; }
.sp a:focus-visible { outline: 3px solid #C5A059; outline-offset: 2px; border-radius: 4px; }

/* Page-wide: continuous light band (servicios band) with transparent sections */
.sp { background: linear-gradient(180deg, #C2DBED 0%, #9CC4E1 100%); }

/* Breadcrumbs */
.sp-breadcrumbs {
  max-width: 74rem;
  margin: 0 auto;
  padding: calc(70px + 2rem) 1.5rem 0;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9375rem;
  color: rgba(22, 49, 79, 0.65);
}
.sp-breadcrumbs a { color: rgba(22, 49, 79, 0.65); text-decoration: none; transition: color 0.2s; }
.sp-breadcrumbs a:hover { color: #16314F; }
.sp-breadcrumbs span { margin: 0 0.5rem; }

/* Hero */
.sp-hero { text-align: center; padding: 3.5rem 1.5rem 2.5rem; }
.sp-hero h1 {
  font-family: 'Saira Condensed', 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #16314F;
}
.sp-lede {
  max-width: 64ch;
  margin: 1.5rem auto 0;
  font-family: 'Barlow', sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(22, 49, 79, 0.8);
}

/* Sections */
.sp-section { padding: 3rem 1.5rem; }
.sp-section-inner { max-width: 74rem; margin: 0 auto; }
.sp-section h2 {
  font-family: 'Saira Condensed', 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #16314F;
  margin-bottom: 1.1rem;
}
.sp-section p {
  font-family: 'Barlow', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(22, 49, 79, 0.8);
  max-width: 70ch;
  margin-bottom: 1rem;
}
.sp-section .sp-lead { font-size: 1.125rem; }

/* Bullet lists (gold square markers) */
.sp-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.7rem; }
.sp-list li {
  position: relative;
  padding-left: 1.7rem;
  font-family: 'Barlow', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(22, 49, 79, 0.85);
  max-width: 66ch;
}
.sp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.6rem;
  height: 0.6rem;
  background: #C5A059;
  border-radius: 2px;
}

/* Two-column block (image + text) */
.sp-two-col {

.sp-two-col--flip { direction: rtl; }
.sp-two-col--flip > * { direction: ltr; }
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.sp-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 24px 48px -20px rgba(11, 30, 52, 0.45);
  display: block;
}

/* FAQ */
.sp-faq details {
  border-bottom: 1px solid rgba(22, 49, 79, 0.16);
  padding: 1.1rem 0;
}
.sp-faq details:first-child { border-top: 1px solid rgba(22, 49, 79, 0.16); }
.sp-faq summary {
  cursor: pointer;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.03em;
  color: #16314F;
}
.sp-faq summary:hover { color: #9B7228; }
.sp-faq details p { margin: 0.8rem 0 0; }

/* Related services — plain link pills */
.sp-related { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.sp-related a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(22, 49, 79, 0.25);
  background: rgba(255, 255, 255, 0.4);
  color: #16314F;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sp-related a:hover { background: #16314F; border-color: #16314F; color: #EAF3FB; }

/* CTA (transparent on the band, navy text) */
.sp-cta { text-align: center; padding: 4.5rem 1.5rem; }
.sp-cta h2 {
  font-family: 'Saira Condensed', 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #16314F;
}
.sp-cta p {
  max-width: 52ch;
  margin: 1.25rem auto 0;
  font-family: 'Barlow', sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(22, 49, 79, 0.75);
}
.sp-cta .rp-cta-actions { justify-content: center; }
.sp .rp-btn--gold { color: #143152; }
.sp .rp-btn--ghost { color: #16314F; border-color: rgba(22, 49, 79, 0.4); }
.sp .rp-btn--ghost:hover { border-color: #16314F; color: #16314F; }

@media (max-width: 767px) {
  .sp-hero { padding: 2.5rem 1.25rem 2rem; }
  .sp-section { padding: 2.5rem 1.25rem; }
  .sp-two-col { grid-template-columns: 1fr; gap: 1.5rem; }
  .sp-cta { padding: 3.5rem 1.25rem; }
}
