/* ===================================================================
   Service page layout
   Shared by kitchen-remodeling.html, bathroom-remodeling.html,
   home-additions.html, roofing.html and commercial-construction.html.
   Uses the tokens already defined in style.css.
   =================================================================== */

/* ── Hero ── */
.svc-hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 190px 40px 110px;
  overflow: hidden;
  background: var(--black);
}
.svc-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(139,115,85,0.24) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 15% 85%, rgba(80,110,80,0.10) 0%, transparent 55%),
    linear-gradient(170deg, #0c0a06 0%, #141410 50%, #141414 100%);
}
.svc-hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; width: 100%; }
.svc-hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 700;
  letter-spacing: -0.042em;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 26px;
}
.svc-hero h1 em { font-style: italic; font-weight: 300; color: rgba(255,255,255,0.62); }
.svc-hero .svc-lede {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.68;
  color: rgba(255,255,255,0.58);
  max-width: 640px;
  margin-bottom: 40px;
}
.svc-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Breadcrumb ── */
.svc-crumb {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-2);
}
.svc-crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.svc-crumb li { display: flex; align-items: center; gap: 8px; }
.svc-crumb li + li::before { content: "/"; color: var(--border); }
.svc-crumb a { color: var(--text-2); transition: color var(--t); }
.svc-crumb a:hover { color: var(--accent); }
.svc-crumb [aria-current] { color: var(--text); font-weight: 500; }

/* ── Generic section rhythm ── */
.svc-section { padding: 104px 0; background: var(--bg); }
.svc-section.alt { background: var(--bg-alt); }
.svc-prose { max-width: 780px; }
.svc-prose h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 26px;
}
.svc-prose h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 38px 0 12px;
}
.svc-prose p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 20px;
}
.svc-prose p strong { color: var(--text); font-weight: 600; }

/* ── Scope grid ── */
.svc-scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 22px;
  margin-top: 48px;
}
.svc-scope-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 30px 28px;
  transition: transform var(--t), box-shadow var(--t);
}
.svc-section.alt .svc-scope-card { background: var(--white); }
.svc-scope-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.svc-scope-card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
}
.svc-scope-card p { font-size: 15px; font-weight: 300; line-height: 1.66; color: var(--text-2); }

/* ── Process ── */
.svc-steps { margin-top: 52px; display: flex; flex-direction: column; gap: 2px; }
.svc-step {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.svc-step:last-child { border-bottom: 1px solid var(--border); }
.svc-step-num {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--accent);
  opacity: 0.42;
  line-height: 1;
}
.svc-step h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); margin-bottom: 9px; }
.svc-step p { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--text-2); }

/* ── Supporting photo ── */
.svc-photo {
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 56px;
  background: var(--bg-alt);
}
.svc-photo img { width: 100%; height: auto; display: block; }
.svc-photo figcaption {
  font-size: 13px;
  color: var(--text-2);
  padding: 14px 18px;
  border-top: 1px solid var(--border);
}

/* ── Areas served ── */
.svc-areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.svc-area-pill {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 980px;
  padding: 9px 19px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}

/* ── FAQ ── */
.svc-faq { margin-top: 48px; max-width: 820px; }
.svc-faq details {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.svc-faq details:first-of-type { border-top: 1px solid var(--border); }
.svc-faq summary {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--t);
}
.svc-faq details[open] summary::after { transform: rotate(45deg); }
.svc-faq details p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-2);
  margin-top: 15px;
}

/* ── Related services ── */
.svc-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 18px; margin-top: 42px; }
.svc-related a {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 25px 24px;
  background: var(--white);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: block;
}
.svc-related a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.svc-related strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); margin-bottom: 7px; }
.svc-related span { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--text-2); }

/* ── Closing CTA ── */
.svc-cta { background: var(--black); padding: 104px 0; text-align: center; }
.svc-cta h2 {
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}
.svc-cta p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto 38px;
}
.svc-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .svc-hero { padding: 150px 24px 84px; }
  .svc-section { padding: 76px 0; }
  .svc-step { grid-template-columns: 56px 1fr; gap: 18px; }
  .svc-step-num { font-size: 30px; }
  .svc-cta { padding: 78px 0; }
}
