/* ===== Services page — site theme: --rr-* colours, .rr-eyebrow / .rr-title / .rr-lead / .rr-btn ===== */
.sp {
  --sp-ink: var(--rr-red, #15171c);
  --sp-navy: var(--rr-navy, #1b2a5b);
  --sp-gray: var(--rr-gray, #5e6470);
  --sp-border: #d8dbe2;
  --sp-circle: var(--rr-circle, #eef0f6);
  color: var(--sp-ink);
}
.sp p { margin: 0; }

/* buttons */
.sp-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: .75rem; }
.sp-actions .rr-btn { min-height: 46px; border: 0; cursor: pointer; }
.sp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.3rem;
  border-radius: 10px;
  border: 1px solid var(--sp-ink);
  background: transparent;
  color: var(--sp-ink);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.sp-btn-outline:hover { background: var(--sp-ink); color: #fff; }

/* ---- Banner: photo with the heading on its dark side ---- */
.sp-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(70vh, 640px);
  padding: 120px 0 72px;     /* top clears the fixed header */
  background: #1a1a1a;
  color: #fff;
  overflow: hidden;
}
.sp-banner-bg,
.sp-banner-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
}
.sp-banner-bg img { object-fit: cover; object-position: center right; }
.sp-banner::after {          /* soft shade behind the text so it stays readable on the lighter grey */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 45%, transparent 65%);
  pointer-events: none;
}
.sp-banner .container { position: relative; z-index: 1; }
.sp-banner-text { max-width: 600px; }

/* Desktop: show the whole artwork on the right; the space to its left takes the image's own edge tones */
@media (min-width: 992px) {
  .sp-banner { min-height: min(70vh, 640px, calc(50.4vw + 82px)); }   /* 50.4vw = 726/1440, so the image never outgrows the width */
  .sp-banner-bg {               /* start below the fixed white header so the top icons aren't hidden */
    top: 82px;
    height: auto !important;
    background: linear-gradient(180deg, #2e2b2e 0%, #262628 14%, #181818 41%, #0f0f11 69%, #090909 100%);
  }
  .sp-banner-bg img { object-fit: contain; object-position: right center; }
}

/* Tablet: portrait artwork in a right-hand column, its left edge faded into the dark background */
@media (min-width: 576px) and (max-width: 991.98px) {
  .sp-banner {
    min-height: calc(64vw + 82px);   /* 64vw = 46% column x 1.39 (portrait ratio, bottom desk trimmed) */
    padding: 104px 0 40px;
    background: linear-gradient(180deg, #18181a 0%, #0e0e10 100%);
  }
  .sp-banner-bg { top: 82px; left: auto; width: 46%; height: auto !important; }
  .sp-banner-bg img {
    object-position: center top;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
            mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  }
  .sp-banner-text { max-width: 54%; }
  .sp-banner .rr-title { font-size: clamp(1.9rem, 4.6vw, 2.8rem); }
}

.sp-crumbs {
  display: flex;
  gap: 8px;
  margin: 0 0 1.4rem !important;
  font-size: .9rem;
  color: rgba(255, 255, 255, .65);
}
.sp-crumbs a { color: rgba(255, 255, 255, .65); text-decoration: none; }
.sp-crumbs a:hover { color: #fff; }
.sp-crumbs span[aria-current] { color: #fff; font-weight: 600; }
.sp-banner .rr-eyebrow { color: rgba(255, 255, 255, .75); }
.sp-banner .rr-title { font-size: clamp(2.3rem, 4.2vw, 3.6rem); color: #fff; }
.sp-banner .rr-title .accent { color: #fff; opacity: .72; }

/* ---- Service rows ---- */
.sp-list { padding: 80px 0 40px; background: #fff; }
.sp-list-head { text-align: center; margin-bottom: 56px; }
.sp-list-head .rr-lead { max-width: 620px; margin: 0 auto; color: var(--sp-gray); }

.sp-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #fbfcff;
  border: 1px solid var(--sp-border);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(27, 42, 91, .05);
  scroll-margin-top: 110px;
  transition: border-color .3s, box-shadow .3s;
}
.sp-item + .sp-item { margin-top: 32px; }
.sp-item:hover { border-color: #b9bfcc; box-shadow: 0 18px 44px rgba(27, 42, 91, .09); }
.sp-item:nth-child(even) .sp-photo { order: 2; }

.sp-photo {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--sp-circle);
}
.sp-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform .8s ease;
}
.sp-item:hover .sp-photo img { transform: scale(1.04); }
.sp-count {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--sp-gray);
  font-size: .85rem;
  letter-spacing: .05em;
}
.sp-count b { color: var(--sp-ink); }

.sp-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3rem 2.75rem;
}
.sp-ico {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--sp-border);
  box-shadow: 0 8px 20px rgba(27, 42, 91, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.sp-ico img { width: 34px; height: 34px !important; object-fit: contain; }
.sp-title {
  position: relative;
  margin: 0 0 .9rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--sp-ink);
}
.sp-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--sp-gray);
  margin-bottom: 1.75rem !important;
}
.sp-text b { color: var(--sp-ink); }

/* ---- Closing call-to-action ---- */
.sp-cta-wrap { padding: 40px 0 88px; background: #fff; }
.sp-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 3rem 3.25rem;
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(135deg, #0c0b0b, #625651);   /* same as the enquiry popups */
  overflow: hidden;
}
.sp-cta::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, .03);
  pointer-events: none;
}
.sp-cta .rr-eyebrow { color: rgba(255, 255, 255, .7); }
.sp-cta h2 { margin: .5rem 0 .6rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; color: #fff; }
.sp-cta p { color: rgba(255, 255, 255, .78); max-width: 560px; line-height: 1.6; }
.sp-cta-btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  min-height: 52px;
  padding: 0 1rem 0 1.6rem;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--sp-ink);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.sp-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.sp-cta-btn .arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sp-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* gentle reveal on scroll (only when JS is running) */
.sp-js .sp-item { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .3s; }
.sp-js .sp-item.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .sp-js .sp-item { opacity: 1; transform: none; }
  .sp-photo img { transition: none; }
}

/* ---- Tablet ---- */
@media (max-width: 991.98px) {
  .sp-item { grid-template-columns: 1fr; }
  .sp-item:nth-child(even) .sp-photo { order: 0; }
  .sp-photo { min-height: 0; aspect-ratio: 16 / 8; }
  .sp-cta { flex-direction: column; align-items: flex-start; }
}

/* ---- Phone ---- */
@media (max-width: 575.98px) {
  .sp .container { padding-left: 16px; padding-right: 16px; }
  .sp-list { padding: 52px 0 24px; }
  .sp-list-head { margin-bottom: 32px; }
  .sp-item { border-radius: 20px; }
  .sp-item + .sp-item { margin-top: 20px; }
  .sp-photo { aspect-ratio: 16 / 10; }
  .sp-body { padding: 1.75rem 1.25rem 1.5rem; }
  .sp-ico { width: 56px; height: 56px; margin-bottom: 1.1rem; }
  .sp-ico img { width: 28px; height: 28px !important; }
  .sp-title { font-size: 1.35rem; }
  .sp-text { font-size: .96rem; }
  .sp-actions .rr-btn, .sp-btn-outline { flex: 1 1 auto; justify-content: space-between; }
  .sp-btn-outline { justify-content: center; }
  .sp-cta-wrap { padding: 24px 0 56px; }
  .sp-cta { padding: 2rem 1.5rem; border-radius: 20px; }
  .sp-cta-btn { width: 100%; justify-content: space-between; }
}

/* ---- Phone banner: text on the dark top of the portrait image, city artwork below ---- */
@media (max-width: 575.98px) {
  /* 139vw = image ratio (732/412 = 177.7vw) trimmed to drop the empty desk at the bottom */
  .sp-banner { align-items: flex-start; min-height: calc(139vw + 82px); padding: 104px 0 0; }
  .sp-banner-bg { top: 82px; height: auto !important; }   /* below the fixed white header */
  .sp-banner-bg img { object-position: center top; }
  .sp-banner::after { background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .2) 25%, transparent 40%); }
  .sp-banner .rr-title { font-size: 2.1rem; }
}
