/* Fixnow Services page — image-free cards styled to match the homepage service tiles. */
.services-page-hero {
  position: relative;
  isolation: isolate;
  min-height: 330px;
  padding: 78px 0 58px;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(35, 58, 132, 0.62), rgba(35, 58, 132, 0.48)),
    url("../images/background/4.jpg") center 42% / cover no-repeat;
}
.services-page-hero::after {
  display: none;
}
.services-page-hero h1 {
  max-width: none;
  margin: 8px 0 14px;
  color: #fff;
  font-size: clamp(36px, 4.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.services-page-hero .breadcrumbs {
  justify-content: center;
  margin-top: 12px;
  font-size: 12px;
  color: #fff;
}
.services-page-hero .breadcrumbs a {
  color: #d7e4ff;
}
.services-listing {
  padding: 72px 0 82px;
}
.services-page-intro {
  max-width: 100%;
  margin: 0 0 30px;
}
.services-page-intro h2 {
  display: inline-block;
  margin: 0;
  color: #202b3d;
  font-size: clamp(29px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.services-title-line {
  display: inline-block;
  width: 36px;
  height: 2px;
  margin: 0 0 7px 12px;
  background: var(--primary-color, #29458e);
}
.services-page-intro > p:last-child {
  max-width: 960px;
  margin: 18px 0 0;
  color: #7c8796;
  font-size: 15px;
  line-height: 1.8;
}
.services-page .service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px 16px;
}
.services-page .service-tile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 22px 20px 21px;
  border: 0;
  border-top: 3px solid var(--primary-color, #29458e);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 31, 55, 0.08);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.services-page .service-tile:hover {
  transform: translateY(-4px);
  border-top-color: var(--secondary-color, #f04438);
  box-shadow: 0 13px 30px rgba(18, 31, 55, 0.12);
}
.services-page .service-tile-copy {
  padding: 0;
}
.services-page .service-tile h2 {
  margin: 0 0 10px;
  color: #202020;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.services-page .service-tile p {
  margin: 0 0 16px;
  color: #68778d;
  font-size: 13px;
  line-height: 1.75;
}
.services-page .service-tile .service-tile-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: 10px 14px;
  color: #fff;
  background: var(--secondary-color, #f04438);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 800;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.services-page .service-tile .service-tile-link:hover {
  background: var(--primary-color, #29458e);
  transform: translateY(-1px);
  color: #fff;
}
.services-page-cta {
  margin-top: 40px;
}
@media (max-width: 900px) {
  .services-page .service-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .services-page-hero {
    min-height: 220px;
    padding: 45px 0 38px;
  }
  .services-page-hero h1 {
    font-size: 36px;
  }
  .services-listing {
    padding: 46px 0 58px;
  }
  .services-page-intro {
    margin-bottom: 24px;
  }
  .services-page-intro h2 {
    font-size: 28px;
  }
  .services-page-intro > p:last-child {
    margin-top: 14px;
    font-size: 14px;
  }
  .services-page .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .services-page .service-tile {
    padding: 20px 18px;
  }
  .services-page .service-tile h2 {
    font-size: 19px;
  }
  .services-page-cta {
    margin-top: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .services-page .service-tile,
  .services-page .service-tile .service-tile-link {
    transition: none;
  }
}

/* Header and top contact strip sit INSIDE the Services hero background. */
.inner-page .services-page-hero {
  min-height: 390px;
  padding: 0 0 38px;
  background:
    linear-gradient(90deg, rgba(35, 58, 132, 0.62), rgba(35, 58, 132, 0.48)),
    url("../images/background/4.jpg") center 48% / cover no-repeat;
}
.inner-page .services-hero-header {
  position: relative;
  z-index: 2;
}
.inner-page .services-hero-header .topbar {
  background: transparent;
}
.inner-page .services-hero-header .topbar-inner {
  min-height: 62px;
}
.inner-page .services-hero-header .site-header {
  background: transparent;
}
.inner-page .services-hero-header .header-inner {
  background: #111027;
}
.inner-page .services-page-hero .services-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 54px;
}
@media (max-width: 760px) {
  .inner-page .services-page-hero {
    min-height: 350px;
    padding-bottom: 30px;
  }
  .inner-page .services-hero-header .topbar-inner {
    min-height: 46px;
  }
  .inner-page .services-page-hero .services-hero-content {
    padding-top: 42px;
  }
}


/* Service listing cards with image headers */
.services-page .service-tile {
  padding: 0;
  overflow: hidden;
}
.services-page .service-tile-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8edf4;
}
.services-page .service-tile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.services-page .service-tile:hover .service-tile-image img {
  transform: scale(1.045);
}
.services-page .service-tile-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}
