/* Studio Setup detail pages (/studio-setup/{slug}) — every section under the split hero
   (studio-detail-hero.css): about, accessories, benefits, uses, features and the closing CTA.
   The installation process (studio-process.css), the related-studios cards (studio-variants.css)
   and the FAQ (.ifp-faq-* in smartclass.css) are the hub's own components, reused as-is.
   Sections alternate white / #f6f8fb; the process (fixed #f6f8fb) sits after a white section. */

.sd-section { padding: calc(var(--space-section) + 16px) 0; background: var(--bg); }
.sd-section-alt { background: var(--surface); }
.sd-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sd-head { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.sd-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.sd-head h2 { margin: 0 0 12px; }
.sd-head p { margin: 0; font-size: var(--text-body-lg); line-height: 1.7; color: var(--fg-body); }

/* Small gradient badge holding a Lucide icon — the same brand fill as the carousel controls. */
.sd-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--text-gradient);
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.28);
}
.sd-icon [data-lucide] { width: 22px; height: 22px; stroke: #fff; stroke-width: 2; }

.sd-card {
  background: var(--surface-card);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07), 0 1px 4px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sd-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06); }
.sd-card h3 { margin: 0; font-size: 1.125rem; line-height: 1.3; }
.sd-card p { margin: 0; font-size: var(--text-body-sm); line-height: 1.65; color: var(--fg-body); }

/* ── About ── */
.sd-tags { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sd-tags li { padding: 5px 14px; border-radius: 999px; background: var(--surface-card); border: 1px solid #dbe4f0; font-size: var(--text-body-sm); font-weight: 600; color: var(--fg-secondary); }
.sd-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sd-info-grid .sd-card { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 28px; }
.sd-stats { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.sd-stats strong {
  display: block;
  font-family: var(--h-font, 'Inter', sans-serif);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  background: var(--text-gradient-ink);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.sd-stats span { font-size: var(--text-body-sm); color: var(--fg-body); }

/* ── Accessories ── */
.sd-acc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.sd-acc { flex: 0 0 calc((100% - 48px) / 3); display: flex; flex-direction: column; overflow: hidden; }
.sd-acc-media { aspect-ratio: 4 / 3; padding: 16px 16px 4px; background: var(--plate); }
.sd-acc-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sd-acc h3 { padding: 6px 22px 0; text-align: center; }
.sd-acc h3 a { color: inherit; text-decoration: none; }
.sd-acc h3 a:hover { text-decoration: underline; }
.sd-acc > p { margin: 8px 22px 20px; text-align: center; }
.sd-acc-specs { margin: auto 22px 22px; padding-top: 14px; border-top: 1px solid #e8edf4; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 0.8125rem; line-height: 1.5; }
.sd-acc-specs dt { font-weight: 700; color: var(--fg-primary); }
.sd-acc-specs dd { margin: 0; color: var(--fg-body); }

/* ── Benefits ── */
.sd-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sd-benefit { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 28px; }

/* ── Ideal uses ── */
.sd-uses { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.sd-uses li { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; background: var(--surface-card); border-radius: 999px; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07); font-weight: 600; color: var(--fg-primary); }
.sd-uses .sd-icon { width: 36px; height: 36px; box-shadow: none; }
.sd-uses .sd-icon [data-lucide] { width: 18px; height: 18px; }

/* ── Features ── */
.sd-feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sd-feature { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px; }
.sd-feature-num {
  font-family: var(--h-font, 'Inter', sans-serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  background: var(--text-gradient-ink);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── Why SNL Solutions (hub) — white into the process section's grey ── */
.sd-why { background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); }
.sd-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sd-why-grid .sd-card { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 26px; }

/* ── Closing CTA ── */
/* .cta-btn-ghost takes its colours from these variables (smartclass.css) — flip them for the dark band. */
.sd-cta {
  --ghost-fg: #fff;
  --ghost-bd: rgba(255, 255, 255, 0.55);
  --ghost-hover-bd: #fff;
  --ghost-hover-tint: rgba(255, 255, 255, 0.1);
  padding: calc(var(--space-section) + 24px) 0;
  text-align: center;
  color: #fff;
}
.sd-cta .sd-inner { max-width: 760px; }
.sd-cta h2 { margin: 0 0 14px; color: #fff; }
.sd-cta p { margin: 0 0 30px; font-size: var(--text-body-lg); line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
.sd-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* Related studios reuse .studio-variants; on a detail page there are five, not six,
   so on desktop they sit in a single row (the hub's six keep their 3 x 2 grid). */
.sd-related .studio-variant-grid { justify-content: center; }
@media (min-width: 1000px) {
  .sd-related .studio-variants-inner { max-width: 1320px; }
  .sd-related .studio-variant-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .sd-related .studio-variant-body { padding: 16px 16px 18px; }
  .sd-related .studio-variant-body h3 { font-size: 1.1rem; }
}

@media (max-width: 1024px) { .sd-inner { padding: 0 32px; } }
@media (max-width: 999px) {
  .sd-acc { flex-basis: calc((100% - 24px) / 2); }
  .sd-benefit-grid, .sd-feature-grid, .sd-why-grid { grid-template-columns: repeat(2, 1fr); }
  .sd-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) { .sd-inner { padding: 0 24px; } }
@media (max-width: 599px) {
  .sd-acc { flex-basis: 100%; }
  .sd-benefit-grid, .sd-feature-grid, .sd-why-grid { grid-template-columns: 1fr; gap: 18px; }
  .sd-stats { gap: 12px; }
  .sd-uses li { font-size: var(--text-body-sm); }
}
@media (prefers-reduced-motion: reduce) { .sd-card { transition: none; } .sd-card:hover { transform: none; } }
