/* HERO SECTION */
body {
  background: var(--bg-gray);
}

.services-hero-wrapper {
  background: var(--bg-gray);
}

.services-hero {
  position: relative;
  color: #ffffff;
  padding: 12rem 0 10rem;
  overflow: hidden;
  z-index: 0;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(148, 25, 25, 0.97) 0%, rgba(4, 21, 98, 0.92) 40%, rgba(4, 21, 98, 0.80) 80%),
    url("../images/gasstation3.webp");
  background-size: cover;
  background-position: center right;
  z-index: -1;
}

.services-hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 5rem;
  align-items: center;
  justify-content: center;
}

.services-hero-media {
  width: 100%;
  max-width: 560px;
  height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.services-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-hero-content {
  max-width: 540px;
  margin-left: 0;
}

.services-hero-kicker {
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: #ff2e2e;
}

.services-hero-heading {
  font-size: 7rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1.75rem;
}

.services-hero-heading span {
  display: inline-block;
}

.services-hero-line {
  width: 100%;
  max-width: 480px;
  height: 3px;
  background: #ff2e2e;
  margin: 1.75rem 0 1.75rem;
}

.services-hero-subcopy {
  font-size: 1.5rem;
  line-height: 1.7;
  max-width: 430px;
}

@media (max-width: 900px) {
  .services-hero {
    padding: 6rem 0 7rem;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  }

  .services-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .services-hero-media {
    height: 360px;
    max-width: 420px;
  }

  .services-hero-content {
    margin-left: 0;
    justify-self: center;
  }

  .services-hero-line {
    margin-left: auto;
    margin-right: auto;
  }

  .services-hero-heading {
    font-size: 3rem;
  }
}

@media (max-width: 600px) {
  .services-hero {
    padding: 4.5rem 0 5rem;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .services-hero-media {
    height: 260px;
  }

  .services-hero-heading {
    font-size: 2.4rem;
  }

  .services-hero-subcopy {
    font-size: 0.95rem;
  }
}

/* INTRO SECTION */

.services-intro {
  background: var(--bg-gray);
  padding: 4rem 1.5rem;
}

.services-intro-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.services-intro-copy {
  min-width: 0;
}

.services-intro-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3vw, 3rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: var(--text);
}

.services-intro-copy p {
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.2rem;
  max-width: 34rem;
}

.services-intro-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-intro-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.7;
  color: #444;
}

.services-intro-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: var(--brand-600);
}

.services-intro-media {
  min-width: 260px;
}

.services-intro-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.services-intro-image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 900px) {
  .services-intro-inner {
    grid-template-columns: 1fr;
  }
}

.services-grid-section {
  background: var(--bg-gray);
  padding: 4rem 1.5rem;
}

.services-grid-shell {
  max-width: var(--page-max);
  margin: 0 auto;
}

.services-grid-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.services-grid-heading h2 {
  font-family: var(--font-body);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.services-grid-heading p {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.6;
  color: #555;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--brand);
}

.service-card p {
  font-family: var(--font-body);
  font-size: 1.4rem;
  line-height: 1.6;
  color: #555;
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.service-card-link:hover {
  gap: 10px;
}

.service-card-link i {
  font-size: 1.1rem;
}

.services-process {
  background: var(--bg-gray);
  padding: 4rem 1.5rem;
}

.services-process-shell {
  max-width: var(--page-max);
  margin: 0 auto;
  background: var(--panel);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.25rem 1.75rem 2.5rem;
}

.services-process-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.services-process-heading h2 {
  font-family: var(--font-body);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.services-process-heading p {
  max-width: 600px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.6;
  color: #555;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 32px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-card {
  position: relative;
  text-align: center;
  padding-top: 0.25rem;
}

.process-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  margin: 0 auto 0.75rem;
  z-index: 1;
  background: #0a1f44;
  color: #fff;
  border: none;
}

.process-card h3 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.process-card p {
  font-family: var(--font-body);
  font-size: 1.35rem;
  line-height: 1.6;
  color: #555;
}


/* COVERAGE SECTION */
.services-coverage {
  padding: 4rem 1.5rem;
  background: var(--bg-gray);
}

.services-coverage-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  background: var(--panel);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.25rem 1.75rem 2.5rem;
}

.services-coverage-header {
  margin-bottom: 2rem;
  text-align: center;
}

.services-coverage-header h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--brand);
  text-transform: uppercase;
}

.services-coverage-header p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

.services-coverage-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.services-map-layout {
  grid-template-columns: 1fr;
}

.coverage-map-wrapper {
  /* No extra wrapper styling - map sits directly in card */
}

#service-map {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Keep map controls below header */
#service-map .leaflet-control-container {
  z-index: 100;
}

#service-map .leaflet-control-zoom {
  z-index: 100;
}

.marker-cluster {
  background: transparent;
  border: none;
}

.marker-cluster div {
  background: transparent;
  border: none;
}

.aps-cluster {
  background: transparent;
  border: none;
}

.aps-cluster-inner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.leaflet-control-attribution {
  display: none !important;
}

@media (max-width: 900px) {
  #service-map {
    height: 360px;
  }
}

@media (max-width: 600px) {
  .services-coverage {
    padding: 3.5rem 0;
  }
}

.services-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  background-color: var(--brand-600);
  color: var(--text-white);
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  box-shadow: var(--shadow);
}

.services-cta span {
  pointer-events: none;
}

.services-cta:hover {
  transform: translateY(-1px);
  background-color: var(--brand);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid-shell,
  .services-process-shell,
  .services-coverage-inner {
    padding: 1.75rem 1.25rem 2rem;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  #service-map {
    height: 320px;
  }
}
