/* Service page styles — extends theme.css */

/* Active nav link */
.site-nav .nav-active {
  color: var(--accent);
  font-weight: 600;
}

/* Service page hero (dark, like homepage) */
.svc-hero {
  background: var(--fg);
  color: var(--bg);
  padding: 80px 24px 0;
  position: relative;
  overflow: hidden;
}
.svc-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: var(--accent);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.4;
}

/* Body layout: content + sidebar */
.svc-body {
  padding: 72px 24px;
  background: var(--bg);
}
.svc-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

/* Main content area */
.svc-content h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 48px 0 16px;
}
.svc-content h2:first-child { margin-top: 0; }
.svc-content p {
  font-size: 0.975rem;
  color: var(--fg-muted);
  line-height: 1.78;
  margin-bottom: 18px;
}
.svc-content strong { color: var(--fg); font-weight: 600; }

/* Inline CTA link */
.cta-inline {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin: 8px 0 32px;
  letter-spacing: 0.01em;
}
.cta-inline:hover { text-decoration: underline; }

/* FAQ list */
.faq-list { margin-top: 8px; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.05rem;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.35;
}
.faq-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Sidebar */
.svc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 88px;
}
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: 4px;
}
.sidebar-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.05rem;
  color: var(--fg);
  margin-bottom: 16px;
}
.sidebar-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}
.sidebar-links a:hover { text-decoration: underline; }
.sidebar-cta { background: var(--accent); border-color: var(--accent); }
.sidebar-cta h3 { color: var(--bg); }
.sidebar-cta p { color: rgba(245,240,232,0.75); }

/* CTA button */
.cta-btn {
  display: inline-block;
  background: var(--accent-warm);
  color: var(--fg);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.cta-btn:hover { opacity: 0.88; }
.svc-hero .cta-btn { margin-top: 32px; }

/* Service grid "learn more" link */
.service-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.service-link:hover { text-decoration: underline; }

/* Quote CTA band — bottom of every service page */
.svc-quote-cta {
  background: var(--fg);
  color: var(--bg);
  padding: 72px 24px;
}
.svc-quote-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.svc-quote-cta h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.svc-quote-cta p {
  font-size: 0.95rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.6;
  max-width: 480px;
}
.svc-quote-cta-text { flex: 1; }
.svc-quote-cta-action { flex-shrink: 0; }

/* Responsive */
@media (max-width: 900px) {
  .svc-layout {
    grid-template-columns: 1fr;
  }
  .svc-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-card { flex: 1 1 260px; }
}
@media (max-width: 600px) {
  .svc-hero { padding-top: 56px; }
  .svc-hero::before { display: none; }
  .svc-body { padding: 48px 24px; }
  .svc-sidebar { flex-direction: column; }
}
