/* Harpenden Taxis — services landing page. Page-scoped; no changes to global CSS. */
.ht-sv {
  --sv-navy: #171c42; --sv-blue: #2c3077; --sv-red: #be2039;
  --sv-ink: #24283a; --sv-body: #646b7d;
  color: var(--sv-ink); font-family: "IBM Plex Sans", sans-serif;
}
.ht-sv__container { width: min(calc(100% - var(--ht-gutter, 24px) * 2), var(--ht-container-width, 1580px)); margin-inline: auto; }
.ht-sv h1, .ht-sv h2, .ht-sv h3 { font-family: Manrope, "IBM Plex Sans", sans-serif; letter-spacing: -.048em; }
.ht-sv a:focus-visible { outline: 3px solid #f3a1b0; outline-offset: 4px; }
.ht-sv__eyebrow { display: flex; align-items: center; gap: 12px; color: var(--sv-blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 19px; }
.ht-sv__eyebrow > span { width: 30px; height: 2px; flex: 0 0 30px; background: var(--sv-red); }

/* Hero — photo already supplied by site owner. Dark overlay protects white text. */
.ht-sv__hero {
  position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: clamp(390px, 35vw, 510px); padding: 66px 0 72px; overflow: hidden;
  background: #151b37 url('../../images/pages/services-hero.webp') center 44% / cover no-repeat;
}
.ht-sv__hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,18,42,.97) 0%, rgba(15,21,45,.88) 35%, rgba(15,21,45,.5) 74%, rgba(15,21,45,.40) 100%); }
.ht-sv__hero::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, #2c3077, #be2039); }
.ht-sv__hero-content { position: relative; z-index: 1; }
.ht-sv__breadcrumb { display: flex; align-items: center; gap: 11px; margin-bottom: 45px; color: #d0d4e2; font-size: 12px; font-weight: 600; }
.ht-sv__breadcrumb a { color: #fff; text-decoration: none; }
.ht-sv__breadcrumb a:hover { color: #ffabbc; }
.ht-sv__breadcrumb svg { color: #b9bfd2; }
.ht-sv__eyebrow--hero { color: #ffb6c6; margin-bottom: 17px; }
.ht-sv__hero h1 { color: #fff; max-width: 860px; font-size: clamp(38px, 4.3vw, 74px); font-weight: 800; line-height: 1.13; margin: 0; }
.ht-sv__hero h1 span { display: block; color: #f39aab; }
.ht-sv__hero-intro { color: #ecedf5; max-width: 620px; margin: 22px 0 0; line-height: 1.75; font-size: clamp(15px, 1.05vw, 18px); }
.ht-sv__hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 25px; }
.ht-sv__btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 51px; padding: 13px 23px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none !important; transition: background .22s ease, transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.ht-sv__btn:hover { transform: translateY(-2px); }
.ht-sv__btn--red { color: #fff !important; background: var(--sv-red); border: 1px solid var(--sv-red); box-shadow: 0 12px 28px rgb(190 32 57 / 17%); }
.ht-sv__btn--red:hover { color: #fff; background: #9e1a32; border-color: #9e1a32; }
.ht-sv__hero-call { color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; }
.ht-sv__hero-call:hover { color: #f5a7b6; }

/* All eight service cards in a static 3-column grid. */
.ht-sv__services { padding: clamp(70px, 6vw, 105px) 0 clamp(82px, 7vw, 120px); background: #ffffff; }
.ht-sv__section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.ht-sv__section-heading h2 { font-size: clamp(32px, 3.6vw, 54px); font-weight: 800; color: var(--sv-navy); line-height: 1.16; }
.ht-sv__section-heading h2 span { color: var(--sv-red); }
.ht-sv__section-heading > p { max-width: 435px; margin: 0 0 5px; color: var(--sv-body); font-size: 16px; line-height: 1.75; }
.ht-sv__grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 26px; }
.ht-sv__card { grid-column: span 2; position: relative; min-width: 0; border-radius: 18px; border: 1px solid #dbe1ed; background: #fff; box-shadow: 0 8px 24px rgb(23 28 66 / 5%); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.ht-sv__card:hover, .ht-sv__card:focus-within { transform: translateY(-6px); border-color: #b9c4de; box-shadow: 0 24px 46px rgb(23 28 66 / 15%); z-index: 1; }
.ht-sv__card-link { display: flex; flex-direction: column; height: 100%; color: inherit !important; text-decoration: none !important; border-radius: inherit; overflow: hidden; }
.ht-sv__card-image { position: relative; height: clamp(192px, 15vw, 242px); background: #e9ecf5; overflow: hidden; }
.ht-sv__card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ht-sv__card:hover .ht-sv__card-image img { transform: scale(1.055); }
.ht-sv__card-category { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; padding: 7px 13px; border: 1px solid rgb(255 255 255 / 65%); border-radius: 999px; background: rgb(23 28 42 / 82%); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .025em; backdrop-filter: blur(8px); }
.ht-sv__card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: clamp(20px, 2vw, 28px); }
.ht-sv__card-body h3 { color: var(--sv-navy); font-size: clamp(20px,1.45vw,24px); font-weight: 800; line-height: 1.28; margin: 0 0 11px; }
.ht-sv__card-body > p { margin: 0; color: var(--sv-body); font-size: 14px; line-height: 1.7; min-height: 106px; padding-bottom: 20px; }
.ht-sv__card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #e8ebf1; padding-top: 18px; margin-top: auto; color: var(--sv-navy); font-size: 13px; font-weight: 800; }
.ht-sv__card-arrow { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--sv-red); color: #fff; box-shadow: 0 7px 18px rgb(190 32 57 / 20%); transition: background .2s ease, transform .2s ease; }
.ht-sv__card:hover .ht-sv__card-arrow { background: var(--sv-navy); transform: translateX(3px); }

.ht-sv__card:nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
/* 4-item benefits strip */
.ht-sv__benefits { background: #e9ecf5; padding: 38px 0; border-block: 1px solid #d9deed; }
.ht-sv__benefits-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 25px; }
.ht-sv__benefit { display: flex; align-items: center; gap: 15px; min-width: 0; padding: 9px 4px; }
.ht-sv__benefit-icon { display: grid; place-items: center; flex: 0 0 57px; width: 57px; height: 57px; border: 1px solid #bdc7e2; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgb(23 28 66 / 6%); }
.ht-sv__benefit-icon img { display: block; width: 29px; height: 29px; object-fit: contain; }
.ht-sv__benefit h3 { margin: 0; color: var(--sv-navy); font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.ht-sv__benefit p { margin: 5px 0 0; color: #656d82; font-size: 12px; line-height: 1.5; }

/* Final CTA */
.ht-sv__cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(65px, 6.5vw, 105px) 0; background: #ffffff; border-bottom: 1px solid #dce2ee; }
.ht-sv__cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.ht-sv__eyebrow--cta { color: var(--sv-blue); }
.ht-sv__cta h2 { color: var(--sv-navy); max-width: 790px; font-size: clamp(31px, 3.15vw, 51px); font-weight: 800; line-height: 1.2; }
.ht-sv__cta h2 span { color: var(--sv-red); }
.ht-sv__cta p:not(.ht-sv__eyebrow) { color: var(--sv-body); max-width: 650px; margin: 15px 0 0; font-size: 15px; line-height: 1.7; }
.ht-sv__cta-buttons { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.ht-sv__btn--outline { color: var(--sv-navy) !important; border: 1px solid #8e97b3; background: transparent; }
.ht-sv__btn--outline:hover { background: #e9ecf5; border-color: var(--sv-navy); }

@media (max-width: 1100px) {
  .ht-sv__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .ht-sv__card, .ht-sv__card:nth-last-child(2):nth-child(3n + 1) { grid-column: auto; }
  .ht-sv__benefits-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ht-sv__cta-inner { flex-direction: column; align-items: flex-start; gap: 25px; }
}
@media (max-width: 720px) {
  .ht-sv__hero { min-height: 430px; padding: 40px 0 60px; background-position: 58% center; }
  .ht-sv__breadcrumb { margin-bottom: 47px; }
  .ht-sv__hero h1 { font-size: clamp(35px,9vw,52px); }
  .ht-sv__hero-intro { font-size: 15px; }
  .ht-sv__section-heading { display: block; margin-bottom: 28px; }
  .ht-sv__section-heading > p { margin: 17px 0 0; font-size: 14px; }
  .ht-sv__grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .ht-sv__card-image { height: clamp(205px,55vw,310px); }
  .ht-sv__card-body > p { min-height: 0; margin-bottom: 24px; }
  .ht-sv__services { padding: 65px 0 72px; }
  .ht-sv__benefits-grid { gap: 10px; }
  .ht-sv__benefit { gap: 11px; }
  .ht-sv__benefit-icon { flex-basis: 46px; width: 46px; height: 46px; }
  .ht-sv__benefit-icon img { width: 24px; height: 24px; }
  .ht-sv__benefit h3 { font-size: 12px; }
  .ht-sv__benefit p { font-size: 11px; }
  .ht-sv__cta-buttons { flex-wrap: wrap; }
}
@media (max-width: 450px) {
  .ht-sv__hero-actions { gap: 17px; }
  .ht-sv__benefits-grid { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .ht-sv__benefit { padding-block: 11px; }
  .ht-sv__cta-buttons { width: 100%; }
  .ht-sv__cta-buttons .ht-sv__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ht-sv *, .ht-sv *::before, .ht-sv *::after { transition-duration: .01ms !important; animation: none !important; }
}
