/* ================================================================
   SGS Service Pages — service-pages.css
   Додаткові стилі для внутрішніх сторінок послуг
   ================================================================ */

/* ── SERVICE HERO ────────────────────────────────────────────── */
.sgs-service-hero {
  padding: calc(var(--sgs-nav-h) + 70px) 0 70px;
  background: linear-gradient(145deg, #17141f 0%, #2d1760 55%, #17141f 100%);
  position: relative;
  overflow: hidden;
}
.sgs-service-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(89,49,150,.25) 0%, transparent 65%);
  pointer-events: none;
}
.sgs-service-breadcrumb {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.sgs-service-breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; }
.sgs-service-breadcrumb a:hover { color: rgba(255,255,255,.85); }
.sgs-service-breadcrumb span { color: rgba(255,255,255,.28); }
.sgs-service-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px;
  background: rgba(89,49,150,.2);
  border: 1px solid rgba(169,145,212,.3);
  border-radius: 100px;
  font-size: .78rem; color: #c9b8e8; font-weight: 500;
  margin-bottom: 20px;
}
.sgs-service-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 18px;
}
.sgs-service-title em { font-style: normal; color: var(--sgs-purple-lt); }
.sgs-service-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,.62);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.sgs-service-hero .btn-outline-light {
  border-color: rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
}
.sgs-service-hero .btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.55); color: #fff;
}

/* ── PROCESS STEPS ───────────────────────────────────────────── */
.sgs-process { counter-reset: step; }
.sgs-process-item {
  display: flex; gap: 24px;
  padding: 24px 0;
  border-bottom: .5px solid var(--sgs-border);
  align-items: flex-start;
}
.sgs-process-item:last-child { border-bottom: none; }
.sgs-process-num {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: rgba(89,49,150,.08);
  border: 1px solid rgba(89,49,150,.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fd, 'Syne', sans-serif);
  font-size: .9rem; font-weight: 800; color: var(--sgs-purple);
}
.sgs-process-item h4 {
  font-size: 1rem; font-weight: 700; color: #17141f; margin-bottom: 6px;
}
.sgs-process-item p { font-size: .88rem; color: var(--sgs-text-muted); margin: 0; line-height: 1.65; }

/* ── STRATEGY TABLE ──────────────────────────────────────────── */
.sgs-strategy-table { width: 100%; border-collapse: collapse; }
.sgs-strategy-table th {
  background: rgba(89,49,150,.06);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--sgs-purple);
  padding: 12px 16px;
  border-bottom: 1px solid var(--sgs-border);
  text-align: left;
}
.sgs-strategy-table td {
  padding: 14px 16px;
  border-bottom: .5px solid var(--sgs-border);
  font-size: .88rem; color: #444; vertical-align: top;
}
.sgs-strategy-table tr:last-child td { border-bottom: none; }
.sgs-strategy-table td:first-child { font-weight: 600; color: #17141f; white-space: nowrap; }
.sgs-strategy-table tr:hover td { background: rgba(89,49,150,.025); }

/* ── FEATURE GRID ────────────────────────────────────────────── */
.sgs-feature-list { display: flex; flex-direction: column; gap: 12px; }
.sgs-feature-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; background: #fff;
  border: 1px solid var(--sgs-border); border-radius: 4px;
}
.sgs-feature-icon {
  width: 40px; height: 40px; border-radius: 4px; flex-shrink: 0;
  background: rgba(89,49,150,.06); border: 1px solid rgba(89,49,150,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.sgs-feature-item h5 { font-size: .95rem; font-weight: 700; color: #17141f; margin-bottom: 4px; }
.sgs-feature-item p  { font-size: .85rem; color: var(--sgs-text-muted); margin: 0; line-height: 1.6; }

/* ── SCENARIO CARDS ──────────────────────────────────────────── */
.sgs-scenario-card {
  background: #fff; border: 1px solid var(--sgs-border); border-radius: 4px;
  padding: 28px 26px; height: 100%;
  border-left: 3px solid var(--sgs-purple);
}
.sgs-scenario-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sgs-purple); margin-bottom: 10px;
}
.sgs-scenario-card h3 { font-size: 1.1rem; font-weight: 700; color: #17141f; margin-bottom: 10px; }
.sgs-scenario-card p  { font-size: .88rem; color: var(--sgs-text-muted); line-height: 1.65; margin-bottom: 14px; }
.sgs-scenario-result {
  font-size: .82rem; color: var(--sgs-purple); font-weight: 600;
  background: rgba(89,49,150,.05);
  padding: 8px 12px; border-radius: 4px;
}

/* ── PLATFORM CHIPS ──────────────────────────────────────────── */
.sgs-platform-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sgs-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: rgba(89,49,150,.05);
  border: 1px solid rgba(89,49,150,.2);
  border-radius: 100px;
  font-size: .8rem; font-weight: 500; color: #17141f;
}

/* ── COVERAGE GRID ───────────────────────────────────────────── */
.sgs-coverage-item {
  padding: 20px; background: #fff;
  border: 1px solid var(--sgs-border); border-radius: 4px;
  text-align: center;
}
.sgs-coverage-icon { font-size: 1.6rem; margin-bottom: 10px; }
.sgs-coverage-item h5 { font-size: .88rem; font-weight: 700; color: #17141f; margin-bottom: 4px; }
.sgs-coverage-item p  { font-size: .78rem; color: var(--sgs-text-muted); margin: 0; }

/* ── RELATED SERVICES ────────────────────────────────────────── */
.sgs-related-card {
  background: #fff; border: 1px solid var(--sgs-border); border-radius: 4px;
  padding: 24px; display: flex; flex-direction: column;
  transition: all .2s; height: 100%;
}
.sgs-related-card:hover { border-color: rgba(89,49,150,.35); transform: translateY(-2px); }
.sgs-related-card .icon { font-size: 1.6rem; margin-bottom: 12px; }
.sgs-related-card h4 { font-size: 1rem; font-weight: 700; color: #17141f; margin-bottom: 6px; }
.sgs-related-card p  { font-size: .85rem; color: var(--sgs-text-muted); flex: 1; line-height: 1.6; }
.sgs-related-card a  {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 14px; font-size: .82rem; font-weight: 600;
  color: var(--sgs-purple); text-decoration: none;
}
.sgs-related-card a:hover { color: #17141f; }

/* ── STATS STRIP ─────────────────────────────────────────────── */
.sgs-stat-strip {
  background: rgba(89,49,150,.04);
  border: 1px solid rgba(89,49,150,.12);
  border-radius: 4px;
  padding: 28px;
  display: flex; gap: 0; flex-wrap: wrap;
}
.sgs-stat-strip-item {
  flex: 1; min-width: 120px; text-align: center;
  border-right: 1px solid rgba(89,49,150,.12);
  padding: 8px 20px;
}
.sgs-stat-strip-item:last-child { border-right: none; }
.sgs-stat-strip-num {
  font-size: 1.8rem; font-weight: 800;
  letter-spacing: -.04em; color: var(--sgs-purple); line-height: 1;
  margin-bottom: 4px;
}
.sgs-stat-strip-lbl { font-size: .75rem; color: var(--sgs-text-muted); }

/* ── QUOTE BLOCK ─────────────────────────────────────────────── */
.sgs-quote-block {
  padding: 24px 28px;
  background: rgba(89,49,150,.04);
  border-left: 3px solid var(--sgs-purple);
  border-radius: 0 4px 4px 0;
  font-size: 1rem; color: #17141f;
  line-height: 1.7; font-style: italic;
}
.sgs-quote-block strong { font-style: normal; font-weight: 700; }

/* ── PAGE CTA (per-page) ─────────────────────────────────────── */
.sgs-page-cta {
  background: linear-gradient(145deg, #17141f 0%, #2d1760 55%, #17141f 100%);
  padding: 80px 0; text-align: center;
}
.sgs-page-cta h2 { color: #fff; font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; }
.sgs-page-cta p  { color: rgba(255,255,255,.62); font-size: 1rem; max-width: 520px; margin: 0 auto 32px; line-height: 1.65; }
.sgs-page-cta .btn-outline-light {
  border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.85);
}
.sgs-page-cta .btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sgs-service-hero { padding: calc(var(--sgs-nav-h) + 40px) 0 48px; }
  .sgs-service-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .sgs-stat-strip { flex-direction: column; }
  .sgs-stat-strip-item { border-right: none; border-bottom: 1px solid rgba(89,49,150,.12); }
  .sgs-stat-strip-item:last-child { border-bottom: none; }
  .sgs-strategy-table { font-size: .82rem; }
  .sgs-strategy-table td, .sgs-strategy-table th { padding: 10px 12px; }
}

/* ── VENDOR CHIPS ─── */
.sgs-vendor-chips{display:flex!important;flex-wrap:wrap!important;gap:6px}
.sgs-vendor-chip{display:inline-flex;align-items:center;font-size:.78rem;font-weight:500;color:#17141f;padding:4px 12px;background:rgba(89,49,150,.05);border:1px solid rgba(89,49,150,.18);border-radius:100px;white-space:nowrap}
.sgs-vendor-group{background:#fff;border:1px solid #e8e4f0;border-radius:4px;padding:22px 20px;height:100%}
.sgs-vendor-group-title{font-size:.72rem;font-weight:700;text-transform:uppercase;color:#593196;margin-bottom:14px}
/* ── STEP CARDS ─── */
.sgs-step-card{background:#fff;border:1px solid #e8e4f0;border-radius:4px;padding:28px 24px;height:100%}
.sgs-step-num{font-size:.72rem;font-weight:800;color:#a991d4;margin-bottom:12px;display:block}
.sgs-step-icon{font-size:1.6rem;margin-bottom:14px}
.sgs-step-card h3{font-size:1rem;font-weight:700;color:#17141f;margin-bottom:8px}
.sgs-step-card p{font-size:.85rem;color:#666;margin:0;line-height:1.65}
/* ── WHY CARDS ─── */
.sgs-why-card{background:#fff;border:1px solid #e8e4f0;border-radius:4px;padding:22px 20px;height:100%}
.sgs-why-icon{font-size:1.5rem;margin-bottom:12px}
.sgs-why-card h4{font-size:.95rem;font-weight:700;color:#17141f;margin-bottom:6px}
.sgs-why-card p{font-size:.82rem;color:#666;margin:0;line-height:1.65}
/* ── CARD LIST ─── */
.sgs-card-list{list-style:none;padding:0;margin:14px 0 16px}
.sgs-card-list li{font-size:.84rem;color:#666;padding:4px 0;display:flex;gap:8px;border-bottom:.5px solid #e8e4f0}
.sgs-card-list li::before{content:'→';color:#a991d4;flex-shrink:0;font-weight:600}
.sgs-card-list li:last-child{border-bottom:none}