/* Services page — image banner grid with hover description */

body.services-page {
  background: var(--abw-white);
}

/* Light band between page header and services grid */
.services-light-band {
  padding: 70px 0 60px;
  background: #f4f6f9;
}

.services-light-band .services-intro {
  max-width: 640px;
  margin: 0 auto;
  color: var(--abw-blue);
}

.services-light-band .services-eyebrow {
  color: var(--abw-red);
}

.services-light-band .services-intro h2 {
  color: var(--abw-blue);
}

.services-light-band .services-intro p {
  color: var(--abw-gray);
}

.services-grid-section {
  position: relative;
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #001845 0%, var(--abw-blue) 45%, #001a4d 100%);
  overflow: hidden;
}

.services-grid-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(209, 32, 39, 0.18), transparent 42%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}

.services-grid-section .container {
  position: relative;
  z-index: 2;
}

.services-intro {
  max-width: 640px;
  margin: 0 auto 48px;
  color: var(--abw-white);
}

.services-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff8a90;
  margin-bottom: 12px;
}

.services-intro h2 {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--abw-white);
  margin: 0 0 14px;
}

.services-intro h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--abw-red);
  margin: 14px auto 0;
  border-radius: 2px;
}

.services-intro p {
  color: rgba(255, 255, 255, 0.78);
  margin: 16px 0 0;
  line-height: 1.65;
}

/* ===== Banner grid ===== */
.services-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-banner {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 4px;
  cursor: default;
  isolation: isolate;
}

.service-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  z-index: 0;
}

.service-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 18, 52, 0.35) 0%, rgba(0, 18, 52, 0.72) 100%);
  z-index: 1;
  transition: background 0.4s ease;
}

.service-banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 24px;
  color: var(--abw-white);
}

.service-banner-content h3 {
  font-family: var(--font-main);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 800;
  color: var(--abw-white);
  margin: 0;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease;
}

.service-banner-content p {
  max-width: 280px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, margin 0.4s ease;
}

.service-banner:hover img,
.service-banner:focus-within img {
  transform: scale(1.08);
}

.service-banner:hover .service-banner-overlay,
.service-banner:focus-within .service-banner-overlay {
  background: linear-gradient(180deg, rgba(0, 18, 52, 0.55) 0%, rgba(209, 32, 39, 0.72) 100%);
}

.service-banner:hover .service-banner-content h3,
.service-banner:focus-within .service-banner-content h3 {
  transform: translateY(-8px);
}

.service-banner:hover .service-banner-content p,
.service-banner:focus-within .service-banner-content p {
  opacity: 1;
  max-height: 160px;
  margin-top: 12px;
  transform: translateY(0);
}

/* ===== Contact CTA ===== */
.services-cta-band {
  padding: 80px 0;
  background: var(--abw-light);
}

.services-cta-band h2 {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--abw-blue);
  margin: 0 0 14px;
}

.services-cta-band > .container > .row > .col-lg-5 > p {
  color: var(--abw-gray);
  line-height: 1.7;
  margin: 0 0 22px;
}

.services-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--abw-blue);
  font-size: 0.95rem;
  font-weight: 500;
}

.services-contact-list i {
  color: var(--abw-red);
  margin-top: 4px;
  width: 16px;
}

.services-contact-list a {
  color: var(--abw-blue);
  text-decoration: none;
}

.services-contact-list a:hover {
  color: var(--abw-red);
}

.services-form {
  background: var(--abw-white);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(0, 32, 96, 0.08);
  box-shadow: 0 16px 40px rgba(0, 32, 96, 0.08);
}

.services-form .form-control {
  border: 1px solid rgba(0, 32, 96, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--abw-blue);
  background: #f8fafc;
}

.services-form .form-control:focus {
  border-color: var(--abw-red);
  box-shadow: 0 0 0 3px rgba(209, 32, 39, 0.12);
  background: var(--abw-white);
}

.services-form-note {
  font-size: 0.78rem;
  color: var(--abw-gray);
  line-height: 1.5;
  margin: 0 0 16px;
}

@media (max-width: 991.98px) {
  .services-banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-banner {
    min-height: 220px;
  }

  .services-grid-section {
    padding: 50px 0 70px;
  }
}

/* Services — mobile carousel */
.services-carousel {
  padding-bottom: 52px;
}

.services-carousel .carousel-item {
  padding: 0 28px;
}

.services-carousel .service-banner {
  min-height: 320px;
  max-width: 420px;
  margin: 0 auto;
}

.services-carousel .service-banner-content p {
  opacity: 1;
  max-height: 160px;
  margin-top: 12px;
  transform: none;
}

.services-carousel .service-banner-content h3 {
  transform: translateY(-4px);
}

.services-carousel .service-banner-overlay {
  background: linear-gradient(180deg, rgba(0, 18, 52, 0.45) 0%, rgba(0, 18, 52, 0.78) 100%);
}

.services-indicators {
  margin-bottom: 0;
}

.services-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  border: 0;
  opacity: 1;
}

.services-indicators .active {
  background-color: var(--abw-red);
  transform: scale(1.15);
}

.services-carousel .carousel-control-prev,
.services-carousel .carousel-control-next {
  width: 36px;
  opacity: 1;
}

.services-ctrl {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--abw-white);
  font-size: 0.85rem;
}

.services-carousel .carousel-control-prev:hover .services-ctrl,
.services-carousel .carousel-control-next:hover .services-ctrl {
  background: var(--abw-red);
  border-color: var(--abw-red);
}
