/* Individual service page template (e.g. /services/drywall-repair/) */

/* Page header + price card */
.sd-header { background: var(--fog); padding: 72px 0 80px; }
.sd-header__inner { display: flex; align-items: flex-end; gap: 80px; }
.sd-header__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.sd-crumbs { font-size: 14px; line-height: 18px; color: var(--slate); }
.sd-crumbs a { text-decoration: none; }
.sd-crumbs a:hover { text-decoration: underline; }
.sd-header__title { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 60px; letter-spacing: -0.025em; color: var(--navy); }
.sd-header__lede { max-width: 640px; }

.sd-price { width: 380px; flex-shrink: 0; background: var(--white); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.sd-price__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.sd-price__row--main { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.sd-price__label { font-size: 16px; font-weight: 600; line-height: 20px; color: var(--navy); }
.sd-price__amount { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 28px; color: var(--navy); }
.sd-price__amount--lg { font-size: 32px; line-height: 40px; }
.sd-price__btn { margin-top: 4px; width: 100%; font-size: 16px; line-height: 20px; padding: 15px; }

/* What's included + How it works */
.sd-included__inner { display: flex; align-items: flex-start; gap: 96px; }
.sd-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.sd-col__title { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 40px; letter-spacing: -0.02em; color: var(--navy); }
.sd-checks { list-style: none; display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.sd-checks li { display: flex; align-items: flex-start; gap: 14px; font-size: 17px; line-height: 24px; color: var(--navy); }
.sd-checks__icon { width: 24px; height: 24px; flex-shrink: 0; border-radius: 12px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.sd-steps { list-style: none; padding-top: 8px; }
.sd-steps__item { display: flex; align-items: flex-start; gap: 24px; padding-block: 22px; border-top: 1px solid var(--line); }
.sd-steps__num { width: 44px; flex-shrink: 0; font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 36px; color: var(--buoy); -webkit-text-stroke: 1px var(--navy); }
.sd-steps__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.sd-steps__title { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 26px; color: var(--navy); }
.sd-steps__body p { font-size: 16px; line-height: 25px; color: var(--slate); }

/* Service FAQ */
.sd-faq__inner { display: flex; align-items: flex-start; gap: 96px; }
.sd-faq__intro { width: 440px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; }
.sd-faq__title { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 44px; letter-spacing: -0.02em; color: var(--navy); }
.sd-faq__list { flex: 1; min-width: 0; border-bottom: 1px solid var(--line); }
.sd-faq__item { display: flex; flex-direction: column; gap: 12px; padding-block: 24px; border-top: 1px solid var(--line); }
.sd-faq__q { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 26px; letter-spacing: -0.01em; color: var(--navy); }
.sd-faq__a { font-size: 16px; line-height: 26px; color: var(--slate); max-width: 640px; }

/* Near you */
.sd-near { padding-block: 88px; }
.sd-near .container { display: flex; flex-direction: column; gap: 36px; }
.sd-near__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.sd-near__heading { display: flex; flex-direction: column; gap: 14px; }
.sd-near__title { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 44px; letter-spacing: -0.02em; color: var(--white); }
.sd-near__note { width: 400px; flex-shrink: 0; font-size: 16px; line-height: 26px; color: var(--on-dark); }
.sd-towns { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.sd-towns li { border: 1px solid #3A5170; border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 500; line-height: 18px; color: var(--white); }

/* Related services */
.sd-related .container { display: flex; flex-direction: column; gap: 32px; }
.sd-related__grid { list-style: none; display: flex; gap: 40px; }
.sd-related__grid > li { flex: 1; min-width: 0; }
.sd-related__card { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 2px solid var(--navy); color: var(--navy); text-decoration: none; height: 100%; }
.sd-related__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sd-related__name { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 30px; letter-spacing: -0.015em; }
.sd-related__price { font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 22px; white-space: nowrap; }
.sd-related__desc { font-size: 16px; line-height: 25px; color: var(--slate); }
.sd-related__card:hover { border-top-color: var(--buoy); }
.sd-related__card:hover .sd-related__name { text-decoration: underline; text-decoration-color: var(--buoy); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Final CTA */
.sd-cta { background: var(--buoy); padding-block: 72px; }
.sd-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.sd-cta__title { max-width: 720px; font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 52px; letter-spacing: -0.025em; color: var(--ink); }
.sd-cta__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.sd-cta__btn { background: var(--ink); color: var(--white); font-size: 16px; line-height: 20px; padding: 17px 27px; border-width: 1.5px; border-color: var(--ink); }
.sd-cta__btn:hover { background: var(--navy); border-color: var(--navy); }
.sd-cta__btn--outline { background: transparent; color: var(--ink); }
.sd-cta__btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

@media (max-width: 1100px) {
  .sd-header__inner, .sd-included__inner, .sd-faq__inner { gap: 48px; }
  .sd-price { width: 340px; }
  .sd-header__title { font-size: 46px; line-height: 50px; }
  .sd-faq__intro { width: 340px; }
  .sd-cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  .sd-header { padding: 48px 0 56px; }
  .sd-header__inner { flex-direction: column; align-items: stretch; gap: 32px; }
  .sd-header__title { font-size: 36px; line-height: 40px; }
  .sd-price { width: auto; padding: 24px; }
  .sd-included__inner { flex-direction: column; gap: 56px; }
  .sd-col { width: 100%; }
  .sd-col__title { font-size: 28px; line-height: 32px; }
  .sd-faq__inner { flex-direction: column; gap: 28px; }
  .sd-faq__intro { width: auto; }
  .sd-faq__title, .sd-near__title { font-size: 30px; line-height: 34px; }
  .sd-faq__q { font-size: 19px; line-height: 24px; }
  .sd-near { padding-block: 64px; }
  .sd-near__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sd-near__note { width: auto; }
  .sd-towns { gap: 8px; }
  .sd-towns li { padding: 8px 14px; font-size: 14px; }
  .sd-related__grid { flex-direction: column; gap: 28px; }
  .sd-related__name { font-size: 21px; line-height: 26px; }
  .sd-cta { padding-block: 56px; }
  .sd-cta__title { font-size: 32px; line-height: 36px; }
  .sd-cta__actions { flex-direction: column; align-items: stretch; width: 100%; }
}

/* Town pills as links */
.sd-towns a { color: var(--white); text-decoration: none; }
.sd-towns li:has(a:hover) { border-color: var(--buoy); }
