/* ═══════════════════════════════════════════════
   SERVICE PAGE — Shared Styles (Sharp Agency)
════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────── */
.sp-hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 90px) 0 100px;
  background: var(--bg);
}

/* Dot-grid texture (replaces stars/nebula/grid) */
.sp-hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 35%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 35%, #000 0%, transparent 72%);
}

.sp-hero__content { position: relative; z-index: 1; max-width: 700px; }

.sp-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 24px;
  transition: color 0.2s;
  text-decoration: none;
}
.sp-back:hover { color: var(--accent); }

.sp-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  font-weight: 700; line-height: 1.02;
  letter-spacing: -0.03em; color: var(--text);
  margin-bottom: 20px;
}
.sp-hero__title em {
  font-style: normal;
  color: var(--accent);
}

.sp-hero__sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-2); max-width: 560px;
  line-height: 1.7; margin-bottom: 34px;
}

/* ── Sections ────────────────────────────────── */
.sp-section {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}
.sp-section--dark {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Feature Grid ────────────────────────────── */
.sp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sp-feature {
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.sp-feature:hover {
  background: var(--bg-3);
  border-color: var(--border-2);
  transform: translateY(-3px);
}

.sp-feature__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 20px;
}

.sp-feature h3 {
  font-family: var(--font-ui); font-size: 1.05rem;
  font-weight: 600; color: var(--text);
  margin-bottom: 10px;
}
.sp-feature p {
  font-size: 13.5px; color: var(--text-3); line-height: 1.7;
}

/* ── Steps ───────────────────────────────────── */
.sp-steps {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}

.sp-step {
  display: flex; align-items: flex-start; gap: 32px;
  padding: 32px 36px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}
.sp-step:last-child { border-bottom: none; }
.sp-step:hover { background: var(--bg-3); }

.sp-step__num {
  font-family: var(--font-mono); font-size: 1.8rem;
  font-weight: 700; color: var(--text-4);
  flex-shrink: 0; line-height: 1; margin-top: 2px;
  min-width: 48px;
}

.sp-step h3 {
  font-family: var(--font-ui); font-size: 1.05rem;
  font-weight: 600; color: var(--text); margin-bottom: 6px;
}
.sp-step p { font-size: 14px; color: var(--text-3); line-height: 1.7; }

/* ── Platform Pills ──────────────────────────── */
.sp-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sp-platform {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, background 0.25s;
}
.sp-platform:hover { border-color: var(--border-2); background: var(--bg-3); }

.sp-platform__name {
  font-family: var(--font-ui); font-size: 14px;
  font-weight: 600; color: var(--text);
}
.sp-platform__tag {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--accent); letter-spacing: 0.06em;
}

/* ── CTA ─────────────────────────────────────── */
.sp-cta {
  padding: 120px 0;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden; text-align: center;
}
.sp-cta__inner {
  position: relative; z-index: 1;
  max-width: 620px; margin: 0 auto;
}
.sp-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text); margin: 16px 0;
}
.sp-cta__title em { font-style: normal; color: var(--accent); }
.sp-cta__inner p {
  font-size: 16px; color: var(--text-2);
  line-height: 1.7; margin-bottom: 34px;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .sp-features { grid-template-columns: repeat(2, 1fr); }
  .sp-platforms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sp-hero { min-height: auto; padding: calc(var(--nav-h) + 50px) 0 60px; }
  .sp-features { grid-template-columns: 1fr; }
  .sp-platforms { grid-template-columns: 1fr; }
  .sp-section { padding: 70px 0; }
  .sp-step { padding: 24px; gap: 20px; }
}

/* ═══════════════════════════════════════════════
   SERVICE PAGE — Extended sections (depth + detail)
════════════════════════════════════════════════ */

/* ── Hero trust strip ───────────────────────── */
.sp-hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 30px;
}
.sp-hero__trust span {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.04em; color: var(--text-2);
}
.sp-hero__trust svg { color: var(--accent); flex-shrink: 0; }

/* ── Stat band (kept for compatibility) ─────── */
.sp-stats__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sp-stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px 32px;
  text-align: center; transition: border-color 0.25s;
}
.sp-stat:hover { border-color: var(--border-2); }
.sp-stat__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}
.sp-stat__label { font-size: 13.5px; color: var(--text-3); line-height: 1.6; }
.sp-stats__note {
  text-align: center; font-family: var(--font-mono);
  font-size: 10px; color: var(--text-4);
  letter-spacing: 0.04em; margin-top: 22px;
}

/* ── Deliverables grid (kept for compatibility) ─ */
.sp-deliverables {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.sp-deliverable {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 26px 30px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 14px;
  transition: border-color 0.25s;
}
.sp-deliverable:hover { border-color: var(--border-2); }
.sp-deliverable > svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.sp-deliverable h3 {
  font-family: var(--font-ui); font-size: 0.95rem;
  font-weight: 600; color: var(--text); margin-bottom: 4px;
}
.sp-deliverable p { font-size: 13px; color: var(--text-3); line-height: 1.6; }

/* ── FAQ accordion ──────────────────────────── */
.sp-faq {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 760px; margin: 0 auto;
}
.sp-faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2); overflow: hidden;
  transition: border-color 0.3s;
}
.sp-faq__item--open { border-color: var(--border-2); }
.sp-faq__q {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 20px 24px; text-align: left;
  font-family: var(--font-ui); font-size: 15px;
  font-weight: 500; color: var(--text);
}
.sp-faq__q:hover { color: var(--accent); }
.sp-faq__q svg { flex-shrink: 0; color: var(--accent); transition: transform 0.3s; }
.sp-faq__item--open .sp-faq__q svg { transform: rotate(180deg); }
.sp-faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease-std); }
.sp-faq__a > div { padding: 0 24px 20px; font-size: 14px; color: var(--text-3); line-height: 1.7; }
.sp-faq__item--open .sp-faq__a { max-height: 360px; }

@media (max-width: 768px) {
  .sp-stats__grid { grid-template-columns: 1fr; }
  .sp-deliverables { grid-template-columns: 1fr; }
}

/* ── Split hero (text + visual) ─────────────── */
.sp-hero__content--split {
  max-width: 1140px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.sp-hero__content--split .sp-hero__text { max-width: 600px; }
.sp-hero__visual {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.sp-hero__visual img {
  width: 100%; max-width: 400px; height: auto;
  position: relative; z-index: 1;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.55));
}
/* Shared pedestal — identical base under every service hero */
.sp-hero__visual::after {
  content: '';
  width: 80%; max-width: 320px;
  aspect-ratio: 300 / 150;
  margin-top: -13%;
  background: url(images/pedestal.svg) center bottom / contain no-repeat;
  position: relative; z-index: 0;
  opacity: 0.6;
}
@media (max-width: 900px) {
  .sp-hero__content--split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sp-hero__content--split .sp-hero__text { max-width: 100%; }
  .sp-hero__visual { order: -1; }
  .sp-hero__visual img { max-width: 300px; }
}
/* Hero eyebrow sits on its own line below the back link */
.sp-hero__text .sp-back { display: flex; width: max-content; max-width: 100%; }
.sp-hero__text .sys-label { display: inline-flex; }
/* "Included in Full Presence" note on service-page heroes */
.sp-plan-note {
  display: block; width: fit-content; margin-top: 18px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid var(--border-accent); padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.sp-plan-note:hover { color: var(--accent-bright); border-color: var(--accent); }
