/* ==========================================
   SERVICE HUB + INDIVIDUAL SERVICE PAGES
========================================== */

.service-hub-section .section-header {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.service-hub-group {
  margin-top: clamp(34px, 5vw, 56px);
}

.service-hub-group > h3 {
  margin: 0 0 20px;
  color: #1f2426;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.04em;
}

.internal-service-card h4 {
  margin: 0 0 8px;
  color: #1f2426;
  font-size: 1.2rem;
  line-height: 1.25;
}

.single-service-page .service-detail-section {
  padding: clamp(64px, 8vw, 96px) 0;
  background: #f4f5f5;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: clamp(32px, 5vw, 58px);
  align-items: start;
}

.service-detail-card,
.service-sidebar-card {
  background: #ffffff;
  border: 1px solid #e3e6e7;
  border-radius: 24px;
  box-shadow: 0 14px 35px rgba(31, 36, 38, 0.06);
}

.service-detail-card {
  padding: clamp(26px, 4vw, 42px);
}

.service-detail-card h2,
.service-detail-card h3,
.service-sidebar-card h3 {
  color: #1f2426;
  letter-spacing: -0.035em;
}

.service-detail-card h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
}

.service-detail-card h3 {
  margin: 34px 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.service-detail-card p {
  color: #667174;
  line-height: 1.75;
  font-size: 1.05rem;
}

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

.service-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border-radius: 16px;
  background: #f4f5f5;
  color: #1f2426;
  line-height: 1.55;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  font-weight: 900;
  color: #1f2426;
}

.service-sidebar-card {
  padding: clamp(24px, 3vw, 32px);
  position: sticky;
  top: 110px;
}

.service-sidebar-card p {
  color: #667174;
  line-height: 1.7;
}

.service-sidebar-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

/* Outline button on the white sidebar card: dark outline, fills dark on hover. */
.service-sidebar-actions .btn--outline,
.service-sidebar-actions a.btn--outline:focus,
.service-sidebar-actions a.btn--outline:active,
.service-sidebar-actions a.btn--outline:visited {
  color: #1f2426;
  border-color: #1f2426;
}

.service-sidebar-actions .btn--outline:hover,
.service-sidebar-actions .btn--outline:focus-visible {
  background: #1f2426;
  border-color: #1f2426;
  color: #ffffff;
}

.service-related {
  padding: clamp(64px, 8vw, 90px) 0;
  background: #ffffff;
}

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

.service-related-card {
  display: block;
  padding: 24px;
  border: 1px solid #e3e6e7;
  border-radius: 22px;
  background: #ffffff;
  color: #1f2426;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(31, 36, 38, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(31, 36, 38, 0.1);
  color: #1f2426;
}

.service-related-card span {
  display: block;
  margin-bottom: 8px;
  color: #667174;
  font-size: 0.85rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-related-card strong {
  display: block;
  line-height: 1.25;
}

@media (max-width: 1000px) {
  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .service-sidebar-card {
    position: static;
  }

  .service-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .single-service-page .service-detail-section,
  .service-related {
    padding: 56px 0;
  }

  .service-detail-card,
  .service-sidebar-card,
  .service-related-card {
    border-radius: 20px;
  }

  .service-related-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar-actions .btn {
    width: 100%;
  }
}

/* ==========================================
   SERVICE + AREA PAGE IMPROVEMENTS
========================================== */

/* Breadcrumbs at the top of the hero */
.breadcrumbs {
  margin-bottom: 18px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs li + li::before {
  content: "\203A";
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.breadcrumbs [aria-current="page"] {
  color: #ffffff;
  font-weight: 700;
}

/* Hero buttons */
.internal-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* Hero photo from the gallery (service pages) */
.internal-hero.internal-hero--photo {
  background:
    linear-gradient(100deg, rgba(31, 36, 38, 0.94) 0%, rgba(31, 36, 38, 0.82) 50%, rgba(31, 36, 38, 0.6) 100%),
    var(--hero-photo) center/cover no-repeat;
}

/* Google rating under the sidebar buttons */
.rating-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  margin-top: 16px;
  color: #1f2426;
  font-size: 0.92rem;
  text-decoration: none;
}

.rating-badge__stars {
  color: #e8a400;
  letter-spacing: 1px;
}

.rating-badge:hover span:not(.rating-badge__stars),
.rating-badge:focus-visible span:not(.rating-badge__stars) {
  text-decoration: underline;
}

/* How it works band */
.how-it-works {
  padding: clamp(64px, 8vw, 90px) 0;
  background: #1f2426;
  color: #ffffff;
}

.how-it-works .section-label,
.how-it-works h2 {
  color: #ffffff;
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.how-it-works__step {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.how-it-works__number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2426;
  font-weight: 950;
}

.how-it-works__step h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.2rem;
}

.how-it-works__step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.how-it-works__actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.how-it-works .btn--dark {
  background: #ffffff;
  border-color: #ffffff;
  color: #1f2426;
}

.how-it-works .btn--dark:hover,
.how-it-works .btn--dark:focus-visible {
  background: #e2e7e8;
  border-color: #e2e7e8;
  color: #1f2426;
}

.how-it-works a.btn--dark:focus,
.how-it-works a.btn--dark:visited {
  color: #1f2426;
}

/* FAQs inside the service card */
.service-faqs {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #e3e6e7;
}

.service-faq {
  border-bottom: 1px solid #e3e6e7;
}

.service-faq summary {
  position: relative;
  padding: 16px 36px 16px 0;
  color: #1f2426;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.service-faq summary::-webkit-details-marker {
  display: none;
}

.service-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.service-faq[open] summary::after {
  content: "\2212";
}

.service-faq summary:focus-visible {
  outline: 2px solid #1f2426;
  outline-offset: 2px;
}

.service-faq p {
  margin: 0 0 18px;
  color: #5f6a6d;
}

/* City pages: intro and neighbourhoods */
.area-places {
  color: #5f6a6d;
  font-size: 0.95rem;
}

.area-places strong {
  color: #1f2426;
}

@media (max-width: 900px) {
  .how-it-works__steps {
    grid-template-columns: 1fr;
  }
}

/* Phones: keep city service links as a compact 2-column grid */
@media (max-width: 1000px) {
  .service-area-single .area-service-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .service-area-single .area-service-links a {
    padding: 12px 10px;
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .breadcrumbs ol {
    justify-content: center;
  }

  .internal-hero__actions {
    justify-content: center;
  }
}

/* Phones: the current page's name is already the headline below, so the
   breadcrumb shows only the path to it (avoids long titles wrapping). */
@media (max-width: 640px) {
  .breadcrumbs li:last-child:not(:first-child) {
    display: none;
  }
}

/* Warranty and insurance points under the sidebar buttons */
.service-assurances {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #e3e6e7;
  list-style: none;
  text-align: left;
}

.service-assurances li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #5f6a6d;
  font-size: 0.95rem;
  line-height: 1.45;
}

.service-assurances svg {
  flex: 0 0 18px;
  margin-top: 1px;
  color: #1e6b35;
}

.service-assurances strong {
  color: #1f2426;
}
