/* =========================================
   Services Page Styles
   ========================================= */

/* Hero */
.services-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 0;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/services_hero.png');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(6,72,43,0.92) 0%,
    rgba(11,107,58,0.80) 40%,
    rgba(11,107,58,0.3) 70%,
    transparent 100%);
  z-index: 1;
}

.services-hero-content {
  position: relative;
  z-index: 2;
  padding: 70px 5vw;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.services-hero-content h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  color: white;
  margin: 0 0 16px;
  line-height: 1.2;
}

.services-hero-content p {
  font-size: 20px;
  color: rgba(255,255,255,0.88);
  margin: 0 0 28px;
  font-weight: 500;
  line-height: 1.6;
}

.services-hero-content .btn-outline {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}

.services-hero-content .btn-outline:hover {
  background: rgba(255,255,255,0.25);
}

/* ── Service Grid: force 3 columns on services page ── */
.service-grid.three {
  grid-template-columns: repeat(3, 1fr) !important;
}

.service-card.has-image {
  display: flex;
  flex-direction: column;
}

.service-card.has-image .card-image-wrap {
  height: 210px;
}

.service-card.has-image .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card.has-image .card-content p {
  flex: 1;
}



/* Job Type Grid - flat image style */
.job-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.job-type-flat {
  text-align: center;
}

.job-img-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
}

.job-type-flat h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--deep);
  margin: 0 0 8px;
}

.job-type-flat p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Process flow - timeline style */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
}

.step-top {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 900;
  font-size: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(11,107,58,0.3);
}

.step-line {
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--green), rgba(11,107,58,0.2));
  border-radius: 99px;
}

.step-arrow {
  display: none;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  border: 2px solid rgba(11,107,58,0.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.process-step {
  text-align: center;
  padding: 0 4px;
}

.process-step h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--deep);
  margin: 0 0 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Services CTA */
.services-cta {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 70% 60%, rgba(245,158,11,0.4), transparent 45%),
              linear-gradient(135deg, #0a4a24 0%, #0d5c2f 45%, #1a7a40 100%);
  margin: 58px calc((100vw - 1180px) / -2);
  padding: 0;
}

.services-cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 320px;
}

.services-cta-left {
  padding: 60px 50px;
  position: relative;
  z-index: 2;
}

.cta-quote-icon {
  font-size: 72px;
  line-height: 0;
  color: var(--orange);
  display: block;
  margin-bottom: 16px;
}

.services-cta-left h2 {
  color: white;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 12px;
  line-height: 1.3;
}

.services-cta-left p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin: 0;
}

.services-cta-right {
  position: relative;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.cta-fleet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
}

/* Footer reuse from custom.css */
.site-footer {
  background: linear-gradient(180deg, #102118 0%, #06180f 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
  font-size: 15px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  color: white;
  font-size: 26px;
  font-weight: 900;
  display: inline-block;
  margin-bottom: 20px;
}

.footer-desc {
  line-height: 1.8;
  margin: 0;
}

.footer-heading {
  color: white;
  font-size: 20px;
  margin: 0 0 28px;
  font-weight: 800;
}

.links-col ul { list-style: none; padding: 0; margin: 0; }
.links-col li { margin-bottom: 18px; }
.links-col a { color: rgba(255,255,255,0.7); transition: color 0.2s; font-weight: 500; }
.links-col a:hover { color: white; }

.contact-list { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  color: inherit;
  transition: transform 0.2s;
}

.contact-item:hover { color: white; transform: translateX(5px); }

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.9);
}
.icon-circle.phone { background: rgba(255,255,255,0.15); }
.icon-circle.line { background: #00B900; color: white; }

.contact-info { display: flex; flex-direction: column; }
.contact-info strong { color: white; font-size: 17px; font-weight: 800; }
.contact-info span { font-size: 14px; margin-top: 4px; color: rgba(255,255,255,0.6); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 20px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 980px) {
  .job-type-grid { grid-template-columns: repeat(2, 1fr); }
  .process-flow { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process-flow::before { display: none; }
  .services-cta-inner { grid-template-columns: 1fr; }
  .services-cta-right { display: none; }
  .services-cta { margin: 58px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .job-type-grid { grid-template-columns: 1fr 1fr; }
  .process-flow { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 50px; }
  .services-cta-left { padding: 40px 20px; }
}
