/* ============================================================
   Service Pages — hub (/services/) and single service pages
   Loaded only on those templates via sots_service_pages_styles().
   ============================================================ */

/* ─── Shared hero ─────────────────────────────────────────── */
.service-hero {
  position: relative;
  background: var(--sots-green-dark);
  padding: 132px 0 84px;
  overflow: hidden;
}

.service-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(36, 25, 14, 0.55) 0%,
    rgba(36, 25, 14, 0.15) 55%,
    rgba(156, 84, 6, 0.28) 100%
  );
  z-index: 0;
}

.service-hero > .container {
  position: relative;
  z-index: 1;
}

.service-hero--urgent .service-hero-bg {
  opacity: 0.24;
}

/* Breadcrumb */
.service-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.service-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--ease-fast);
}

.service-breadcrumb a:hover {
  color: var(--sots-white);
  text-decoration: underline;
}

.service-breadcrumb span[aria-current] {
  color: var(--sots-white);
  font-weight: 600;
}

/* Hero content */
.service-hero-inner {
  max-width: 780px;
}

.service-hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--sots-white);
  backdrop-filter: blur(6px);
}

.service-hero-icon svg {
  width: 38px;
  height: 38px;
}

.service-hero-label.section-label {
  color: var(--sots-green-mid) !important;
  margin-bottom: 14px !important;
}

.service-hero-title {
  color: var(--sots-white);
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 20px;
}

.service-hero-desc {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1875rem;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 620px;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.service-hero-actions .btn-outline.service-hero-phone {
  color: var(--sots-white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.service-hero-actions .btn-outline.service-hero-phone:hover {
  background: var(--sots-white);
  color: var(--sots-green-dark);
  border-color: var(--sots-white);
}

.service-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-hero-trust li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.service-hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 17px;
  height: 17px;
  margin-top: -8.5px;
  border-radius: 50%;
  background: var(--sots-green-mid)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23241a0e' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 11px 11px no-repeat;
}

/* ─── Highlights strip ────────────────────────────────────── */
.service-highlights {
  background: var(--sots-white);
  padding: 0;
}

.service-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: -46px;
  position: relative;
  z-index: 2;
  background: var(--sots-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.service-highlight {
  padding: 34px 32px;
  border-right: 1px solid var(--sots-gray-200);
}

.service-highlight:last-child {
  border-right: 0;
}

.service-highlight-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--sots-green-dark);
  margin: 0 0 8px;
}

.service-highlight-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--sots-gray-600);
  margin: 0;
}

/* ─── Overview + includes ─────────────────────────────────── */
.service-overview {
  background: var(--sots-white);
  padding: var(--section-py) 0;
}

.service-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.service-overview-text .section-title {
  margin-bottom: 24px !important;
}

.service-overview-text p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--sots-gray-600);
  margin: 0 0 20px;
}

.service-overview-cta {
  margin-top: 12px;
}

.service-includes {
  position: sticky;
  top: 116px;
  background: var(--sots-green-faint);
  border: 1px solid var(--sots-gray-200);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
}

.service-includes-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sots-green-dark);
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--sots-green-pale);
}

.service-includes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.service-includes-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--sots-gray-800);
}

.service-includes-list svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--sots-green);
}

/* ─── Signs ───────────────────────────────────────────────── */
.service-signs {
  background: var(--sots-bg);
  padding: var(--section-py) 0;
}

.service-signs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-sign {
  position: relative;
  background: var(--sots-white);
  border: 1px solid var(--sots-gray-200);
  border-radius: var(--radius-md);
  padding: 28px 26px 26px;
  transition: var(--ease);
}

.service-sign:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sots-green-light);
}

.service-sign-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--sots-green-light);
  opacity: 0.85;
  margin-bottom: 12px;
}

.service-sign p {
  margin: 0;
  font-size: 0.9875rem;
  line-height: 1.6;
  color: var(--sots-gray-800);
}

/* ─── Process ─────────────────────────────────────────────── */
.service-process {
  background: var(--sots-white);
  padding: var(--section-py) 0;
}

.service-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.service-process-step {
  position: relative;
  padding: 30px 24px;
  background: var(--sots-green-faint);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--sots-green);
}

.service-process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--sots-green);
  color: var(--sots-white);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
}

.service-process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--sots-green-dark);
  margin: 0 0 10px;
}

.service-process-step p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--sots-gray-600);
}

/* ─── FAQ (home.css is not loaded here — self-contained) ──── */
.service-faq {
  background: var(--sots-bg);
  padding: var(--section-py) 0;
}

.service-faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.service-faq-item {
  background: var(--sots-white);
  border: 1px solid var(--sots-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--ease-fast);
}

.service-faq-item.is-active {
  border-color: var(--sots-green-light);
  box-shadow: var(--shadow-sm);
}

.service-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 26px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--sots-green-dark);
  line-height: 1.45;
}

.service-faq-question:hover {
  color: var(--sots-green);
}

.service-faq-question:focus-visible {
  outline: 3px solid var(--sots-gold);
  outline-offset: -3px;
}

.service-faq-icon {
  flex: 0 0 auto;
  color: var(--sots-green);
  transition: transform 0.3s ease;
}

.service-faq-item.is-active .service-faq-icon {
  transform: rotate(180deg);
}

.service-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.service-faq-item.is-active .service-faq-answer {
  grid-template-rows: 1fr;
}

.service-faq-answer > p {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding: 0 26px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--sots-gray-600);
  transition: padding 0.3s ease;
}

.service-faq-item.is-active .service-faq-answer > p {
  padding: 0 26px 24px;
}

/* ─── Service areas strip ─────────────────────────────────── */
.service-areas-strip {
  background: var(--sots-white);
  padding: 72px 0;
  text-align: center;
}

.service-areas-strip-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--sots-green-dark);
  margin: 0 0 12px;
}

.service-areas-strip-desc {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 1.0625rem;
  color: var(--sots-gray-600);
}

.service-areas-strip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-areas-strip-list li {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--sots-green-faint);
  border: 1px solid var(--sots-gray-200);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sots-gray-800);
}

/* ─── Related services ────────────────────────────────────── */
.service-related {
  background: var(--sots-bg);
  padding: var(--section-py) 0;
}

.service-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.service-related-card {
  display: block;
  padding: 30px 28px;
  background: var(--sots-white);
  border: 1px solid var(--sots-gray-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--ease);
}

.service-related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sots-green-light);
}

.service-related-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  background: var(--sots-green-faint);
  color: var(--sots-green);
}

.service-related-icon svg {
  width: 28px;
  height: 28px;
}

.service-related-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sots-green-dark);
  margin: 0 0 8px;
}

.service-related-card:hover .service-related-title {
  color: var(--sots-green);
}

.service-related-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--sots-gray-600);
}

/* ─── Closing CTA ─────────────────────────────────────────── */
.service-cta {
  position: relative;
  background: var(--sots-green-dark);
  padding: 84px 0;
  overflow: hidden;
}

.service-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(156, 84, 6, 0.28) 0%,
    rgba(36, 25, 14, 0) 60%
  );
}

.service-cta > .container {
  position: relative;
  z-index: 1;
}

.service-cta-inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.service-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--sots-white);
  margin: 0 0 16px;
}

.service-cta-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 30px;
}

.service-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ============================================================
   Services hub (/services/)
   ============================================================ */

.services-hub-grid-section {
  background: var(--sots-white);
  padding: var(--section-py) 0;
}

.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.services-hub-card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  background: var(--sots-white);
  border: 1px solid var(--sots-gray-200);
  border-radius: var(--radius-lg);
  transition: var(--ease);
}

.services-hub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sots-green-light);
}

.services-hub-card--urgent {
  background: var(--sots-green-faint);
  border-color: var(--sots-green-light);
}

.services-hub-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: var(--sots-green);
  color: var(--sots-white);
}

.services-hub-card-icon svg {
  width: 32px;
  height: 32px;
}

.services-hub-card-title {
  font-family: var(--font-heading);
  font-size: 1.3125rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}

.services-hub-card-title a {
  color: var(--sots-green-dark);
  text-decoration: none;
  transition: var(--ease-fast);
}

.services-hub-card-title a:hover {
  color: var(--sots-green);
}

.services-hub-card-tagline {
  margin: 0 0 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sots-green);
}

.services-hub-card-desc {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--sots-gray-600);
}

.services-hub-card-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.services-hub-card-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--sots-gray-800);
}

.services-hub-card-list svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--sots-green);
}

.services-hub-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--sots-gray-200);
}

.services-hub-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--sots-green);
  text-decoration: none;
  transition: var(--ease-fast);
}

.services-hub-card-link:hover {
  gap: 12px;
  color: var(--sots-green-dark);
}

.services-hub-card-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sots-gray-600);
  text-decoration: none;
  border-bottom: 1px solid var(--sots-gray-400);
  transition: var(--ease-fast);
}

.services-hub-card-cta:hover {
  color: var(--sots-green);
  border-color: var(--sots-green);
}

/* Why us */
.services-hub-why {
  background: var(--sots-bg);
  padding: var(--section-py) 0;
}

.services-hub-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.services-hub-why-item {
  background: var(--sots-white);
  border: 1px solid var(--sots-gray-200);
  border-left: 3px solid var(--sots-green);
  border-radius: var(--radius-md);
  padding: 30px 30px 28px;
}

.services-hub-why-item h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sots-green-dark);
  margin: 0 0 10px;
}

.services-hub-why-item p {
  margin: 0;
  font-size: 0.9875rem;
  line-height: 1.7;
  color: var(--sots-gray-600);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .service-hero {
    padding: 116px 0 72px;
  }

  .service-highlights-grid {
    grid-template-columns: 1fr;
    margin-top: -36px;
  }

  .service-highlight {
    border-right: 0;
    border-bottom: 1px solid var(--sots-gray-200);
  }

  .service-highlight:last-child {
    border-bottom: 0;
  }

  .service-overview-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .service-includes {
    position: static;
  }

  .service-signs-grid,
  .services-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .service-hero {
    padding: 104px 0 60px;
  }

  .service-hero-icon {
    width: 62px;
    height: 62px;
  }

  .service-hero-icon svg {
    width: 32px;
    height: 32px;
  }

  .service-hero-desc {
    font-size: 1.0625rem;
  }

  .service-hero-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .service-overview,
  .service-signs,
  .service-process,
  .service-faq,
  .service-related,
  .services-hub-grid-section,
  .services-hub-why {
    padding: var(--section-py-sm) 0;
  }

  .service-signs-grid,
  .service-process-steps,
  .services-hub-grid,
  .services-hub-why-grid {
    grid-template-columns: 1fr;
  }

  .service-faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .service-faq-answer > p {
    padding: 0 20px;
  }

  .service-faq-item.is-active .service-faq-answer > p {
    padding: 0 20px 20px;
  }

  .service-cta-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}
