/* Only inner-page content is styled here. Shared chrome uses the homepage styles. */
.sp-body { line-height: 1.8; }
.sp-content { min-height: 60vh; }
.sp-content :is(h1,h2,h3,p) { margin: 0; }
.sp-content h1 { font-size: clamp(38px, 5.5vw, 76px); font-weight: 500; line-height: 1.06; letter-spacing: -.055em; max-width: 950px; }
.sp-content h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.16; letter-spacing: -.045em; font-weight: 500; }
.sp-content h3 { font-size: 20px; line-height: 1.4; font-weight: 650; letter-spacing: -.025em; }
.sp-content p { font-size: 16px; line-height: 1.8; }
.sp-content p + p { margin-top: 16px; }
.sp-content a:not(.button) { text-decoration: underline; text-underline-offset: 5px; }
.sp-content a:not(.button):hover { color: #174cdf; }
.sp-content .page-hero { padding: 38px 0 64px; border-bottom: 1px solid #dcded6; }
.sp-content .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: #4e5c52; margin-bottom: 40px; }
.sp-content .eyebrow { color: #174cdf; font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 22px; }
.sp-content .hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 70px; align-items: start; }
.sp-content .hero-grid h1 { font-size: clamp(38px, 4.6vw, 65px); }
.sp-content .lead { color: #4e5c52; font-size: 18px; max-width: 650px; margin-top: 25px; }
.sp-content .hero-help { color: #4e5c52; font-size: 14px; margin-top: 24px; }
.sp-content .enquiry-note { border: 1px solid #dcded6; padding: 30px; background: #ebece5; }
.sp-content .enquiry-note h2 { font-size: 28px; }
.sp-content .enquiry-note p { color: #4e5c52; font-size: 14px; margin-top: 20px; }
.sp-content .check-list { padding-left: 20px; list-style: disc; margin: 22px 0 0; }
.sp-content .check-list li { padding: 10px 0 10px 4px; border-bottom: 1px solid #dcded6; font-size: 15px; }
.sp-content .check-list li::marker { color: #174cdf; }
.sp-content p.enquiry-reassurance { margin-top: 24px; color: #465568; }
.sp-content .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.sp-content .button { font-size: 14px; }
.sp-content .section { padding-block: 65px; }
.sp-content .soft { background: #ebece5; }
.sp-content .content-grid, .sp-content .contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 65px; }
.sp-content .content-grid :is(h2,h3) + p { margin-top: 22px; }
.sp-content .text-link { font-size: 15px; display: inline-flex; margin-top: 20px; }
.sp-content .service-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 65px; padding: 40px 0; border-top: 1px solid #dcded6; scroll-margin-top: 30px; }
.sp-content .service-detail:last-child { border-bottom: 1px solid #dcded6; }
.sp-content .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.sp-content .step-number { display: block; color: #174cdf; font-size: 14px; margin-bottom: 22px; }
.sp-content .step h3 { margin-bottom: 15px; }
.sp-content .step p { font-size: 15px; color: #4e5c52; }
.sp-content .contact-card { padding: 32px; border: 1px solid #dcded6; min-width: 0; }
.sp-content .contact-card h2 { margin-bottom: 22px; }
.sp-content .contact-card .gb-actions { flex-wrap: wrap; }
.sp-content .contact-card .small { color: #4e5c52; font-size: 14px; margin-top: 22px; }
.sp-content .legal { max-width: 850px; }
.sp-content .legal h1 { margin-bottom: 30px; }
.sp-content .legal h2 { font-size: 30px; margin: 40px 0 18px; }
.sp-content .legal-notice { padding: 22px; background: #ebece5; border-left: 3px solid #174cdf; margin-bottom: 30px; }
.sp-content .gb-cta-banner .eyebrow { color: inherit; }
.sp-content .gb-cta-banner h2 { font-size: clamp(38px, 4vw, 56px); }
.sp-content .gb-cta-banner .enquiry-location { margin-top: 20px; }
@media (max-width: 1000px) {
  .sp-content .hero-grid, .sp-content .content-grid, .sp-content .service-detail { gap: 35px; }
  .sp-content .contact-grid { gap: 24px; }
}
@media (max-width: 760px) {
  .sp-content .page-hero { padding: 28px 0 42px; }
  .sp-content .breadcrumb { margin-bottom: 30px; }
  .sp-content .hero-grid, .sp-content .content-grid, .sp-content .contact-grid, .sp-content .service-detail { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sp-content .lead { font-size: 17px; }
  .sp-content .enquiry-note, .sp-content .contact-card { padding: 24px; }
  .sp-content .section { padding-block: 44px; }
  .sp-content .service-detail { padding-block: 30px; gap: 20px; }
  .sp-content .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sp-content .step { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 18px; }
  .sp-content .step-number { margin: 0; }
  .sp-content h1 { overflow-wrap: break-word; }
}
/* ==========================================
   SERVICES OVERVIEW — MOBILE CONTENT ORDER
   Desktop retains its existing composition.
   ========================================== */

.services-overview-mobile-enquiry {
  display: none;
}

@media (max-width: 760px) {
  /*
   * Mobile enquiries are shown after the service list.
   * Hidden versions do not remain keyboard-focusable.
   */
  .sp-content .services-overview-hero .actions,
  .sp-content .services-overview-hero .enquiry-note {
    display: none;
  }

  .sp-content .services-overview-hero {
    padding-bottom: 30px;
  }

  .sp-content .services-overview-list {
    padding-top: 0;
    padding-bottom: 36px;
  }

  /* Service rows */
  .sp-content .services-overview-list .service-detail {
    gap: 16px;
    padding-block: 28px;
    border-color: #d4deeb;

    scroll-margin-top: calc(
      var(--gb-page-header-height, 90px) + 16px
    );
  }

  .sp-content .services-overview-list .service-detail h2 {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    color: #15325a;
    font-size: clamp(24px, 6.4vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.04em;
  }

  /* Decorative, service-specific line icons */
  .sp-content .services-overview-list .service-detail h2::before {
    content: "";
    display: block;
    flex: 0 0 26px;

    width: 26px;
    height: 26px;
    margin-top: 2px;

    background: #174cdf;

    -webkit-mask:
      var(--service-icon) center / contain no-repeat;
    mask:
      var(--service-icon) center / contain no-repeat;
  }

  .services-overview-list #resin {
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 8 9-5 9 5-9 5-9-5Zm0 5 9 5 9-5M3 18l9 5 9-5'/%3E%3C/svg%3E");
  }

  .services-overview-list #decorating {
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='14' height='6' rx='1'/%3E%3Cpath d='M17 6h3v7h-9v8H8v-8'/%3E%3C/svg%3E");
  }

  .services-overview-list #garden {
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 3C7 2 3 8 6 14s15 1 13-11ZM5 21c0-8 5-11 10-14'/%3E%3C/svg%3E");
  }

  .services-overview-list #maintenance {
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m14 4 3 3 4-2a6 6 0 0 1-8 8l-7 8-3-3 8-8a6 6 0 0 1 3-8Z'/%3E%3C/svg%3E");
  }

  .services-overview-list #roofing {
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 12 10-9 10 9M5 10v10h14V10M2 20h20'/%3E%3C/svg%3E");
  }

  .services-overview-list #waste {
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 7 9-4 9 4-9 5-9-5Zm0 0v12l9 4 9-4V7m-9 5v11M7 5l9 5'/%3E%3C/svg%3E");
  }

  .services-overview-list #electrical {
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m13 2-9 12h7l-1 8 10-13h-8l1-7Z'/%3E%3C/svg%3E");
  }

  .services-overview-list #windows-and-doors {
    --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='1'/%3E%3Cpath d='M12 3v18M4 12h16'/%3E%3C/svg%3E");
  }

  .sp-content .services-overview-list .service-detail p {
    color: #536780;
    font-size: 15px;
    line-height: 1.75;
  }

  .sp-content .services-overview-list .service-detail .small {
    font-size: 13px;
  }

  .sp-content .services-overview-list .text-link {
    min-height: 44px;
    margin-top: 12px;
    padding-block: 8px;

    color: #174cdf;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
  }

  /* Contact links, then useful project details */
  .sp-content .services-overview-mobile-enquiry {
    display: block;
    padding-block: 36px 44px;

    background: #e8eef5;
    border-top: 1px solid #d4deeb;
  }

  .sp-content .services-overview-mobile-enquiry > .wrap > h2 {
    color: #15325a;
    font-size: 30px;
    font-weight: 650;
  }

  .sp-content .services-overview-mobile-enquiry .actions {
    margin-top: 22px;
  }

  .sp-content .services-overview-mobile-enquiry .enquiry-note {
    margin-top: 30px;
    border-color: #d4deeb;
    background: #f5f4ef;
  }
}
/* Supporting information on individual service pages */
.gb-service-support h2 {
  max-width: 24ch;
}

.gb-service-questions {
  margin-top: 28px;
  border-top: 1px solid var(--line, #dcded6);
}

.gb-service-question {
  border-bottom: 1px solid var(--line, #dcded6);
}

.gb-service-question summary {
  position: relative;
  padding: 22px 38px 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

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

.gb-service-question summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 4px;
  color: var(--blue, #174cdf);
  font-size: 22px;
  line-height: 1;
}

.gb-service-question[open] summary::after {
  content: "−";
}

.gb-service-question summary:focus-visible {
  outline: 3px solid var(--blue, #174cdf);
  outline-offset: 4px;
}

.gb-service-answer {
  max-width: 74ch;
  padding: 0 28px 22px 0;
}

.gb-service-answer p {
  margin: 0;
  line-height: 1.8;
}

@media (max-width: 760px) {
  .gb-service-question summary {
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 16px;
  }

  .gb-service-question summary::after {
    top: 18px;
  }
}
