/* ============================================================
   SyncDS — Service page stylesheet
   Loads AFTER home.css. Shared across the five service pages
   (SEO/AEO, Websites, Apps, AI & Modernization, Consulting).
   Calmer framed backdrop, an editorial hero, key-takeaway
   grids, stat rows, an AI comparison table, and editorial
   prose blocks. Scoped under `.svc-page`.
   ============================================================ */

/* ---------- backdrop: calmer & framed (kills homepage orbs) ---------- */
.svc-page .orbs { display: none; }
.svc-page .stage {
  background:
    radial-gradient(1100px 620px at 50% -6%, rgba(70, 120, 200, 0.13), transparent 62%),
    radial-gradient(1200px 800px at 50% 116%, rgba(142, 199, 63, 0.11), transparent 60%),
    linear-gradient(180deg, #070b13 0%, #05080f 55%, #04060c 100%);
}
.svc-page .stage::after { opacity: 0.14; filter: blur(46px); animation-duration: 90s; }

.svc-guides {
  position: fixed; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100vw - 56px)); z-index: 1; pointer-events: none;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}
@media (max-width: 720px) { .svc-guides { display: none; } }

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.crumbs a { color: var(--ink-muted); text-decoration: none; transition: color 160ms ease; }
.crumbs a:hover { color: var(--brand-green-bright); }
.crumbs .sep { color: var(--ink-dim); }
.crumbs .current { color: #fff; }

/* ---------- left-aligned editorial section heads ---------- */
.svc-page .sec-head { text-align: left; max-width: 820px; margin-left: 0; margin-right: 0; }
.svc-page .sec-head .eyebrow { margin-bottom: 18px; }
.svc-page .sec-head p { margin-left: 0; margin-right: 0; }

/* ============================================================
   HERO — editorial split: lead copy + video/media frame
   ============================================================ */
.svc-hero { position: relative; z-index: 4; padding: 168px 0 clamp(36px, 5vw, 60px); }
.svc-hero-grid {
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.svc-hero .crumbs { margin-bottom: 26px; }
.svc-hero .eyebrow { margin-bottom: 22px; }
.svc-hero h1 {
  margin: 0; max-width: 17ch; font-weight: 300; letter-spacing: -0.025em; line-height: 1.03;
  font-size: clamp(38px, 5vw, 66px); color: #fff; text-wrap: balance;
}
.svc-hero h1 b { font-weight: 600; color: var(--brand-green-bright); }
.svc-hero-sub { margin: 24px 0 0; max-width: 52ch; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.62; color: rgba(243,246,251,0.82); text-wrap: pretty; }
.svc-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.svc-hero-foot { margin: 26px 0 0; font-family: 'DM Mono', monospace; font-size: 11.5px; line-height: 1.75; letter-spacing: 0.02em; color: var(--ink-dim); max-width: 58ch; }

/* media frame (video placeholder / hero photo) */
.svc-hero-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--card-border); aspect-ratio: 4 / 3.2;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 28px 60px -34px rgba(0,0,0,0.85);
}
.svc-hero-media .ph { width: 100%; height: 100%; border-radius: 0; border: 0; }
.svc-hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #05080f;
}
.svc-hero-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.svc-hero-media .svc-hero-video + .tag {
  z-index: 3;
  background: rgba(5, 8, 15, 0.78);
  backdrop-filter: blur(8px);
}
.svc-hero-media .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(142,199,63,0.14); border: 1px solid rgba(142,199,63,0.45);
  display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.svc-hero-media .play::after { content: ""; width: 0; height: 0; margin-left: 4px;
  border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 18px solid var(--brand-green-bright); }
.svc-hero-media .tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted); background: rgba(6,9,16,0.62); border: 1px solid var(--card-border);
  padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.svc-hero-ghost {
  position: absolute; top: 10px; right: 18px; z-index: 1; pointer-events: none;
  font-family: 'DM Mono', monospace; font-size: clamp(70px, 9vw, 128px); font-weight: 500;
  line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.08); letter-spacing: -0.02em;
}
@media (max-width: 920px) {
  .svc-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .svc-hero { padding-top: 144px; }
  .svc-hero-media { aspect-ratio: 16 / 10; }
}

/* ============================================================
   LEAD STATEMENT — left-aligned long-info
   ============================================================ */
.svc-page .long-info { text-align: left; padding: clamp(30px, 4vw, 52px) clamp(28px, 4vw, 56px); }
.svc-page .long-info::before { display: none; }
.svc-page .long-info::after { background: linear-gradient(120deg, rgba(142,199,63,0.05), transparent 55%); }
.svc-page .long-info .eyebrow { margin-bottom: 22px; }
.svc-page .long-info p {
  margin: 0; max-width: 66ch; text-align: left;
  font-size: clamp(18px, 2.1vw, 26px); font-weight: 400; line-height: 1.46;
}

/* ============================================================
   KEY TAKEAWAYS — bordered grid of titled cards
   ============================================================ */
.takeaways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.takeaway {
  position: relative; padding: 28px 28px 30px; border-radius: var(--radius-md);
  background: var(--card-bg-soft); border: 1px solid var(--card-border);
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}
.takeaway:hover { border-color: rgba(142,199,63,0.4); background: rgba(142,199,63,0.04); transform: translateY(-3px); }
.takeaway .tk-num { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.14em; color: var(--brand-green); }
.takeaway h3 { margin: 14px 0 10px; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; color: #fff; }
.takeaway p { margin: 0; color: var(--ink-muted); font-size: 14.5px; line-height: 1.6; }
.takeaway.is-best { grid-column: 1 / -1; background: rgba(142,199,63,0.05); border-color: rgba(142,199,63,0.3); }
.takeaway.is-best h3 { color: var(--brand-green-bright); }
.takeaway.is-best p { color: var(--ink); }
@media (max-width: 720px) { .takeaways { grid-template-columns: 1fr; } }

/* ============================================================
   STAT CARD ROW
   ============================================================ */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat {
  padding: 30px 24px; border-radius: var(--radius-md); text-align: center;
  background: var(--card-bg-soft); border: 1px solid var(--card-border);
}
.stat .num { font-weight: 600; font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.02em; line-height: 1; color: var(--brand-green-bright); }
.stat .lab { margin-top: 14px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.stat .src { margin-top: 12px; font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-dim); }
.stat-note { margin: 18px 0 0; font-family: 'DM Mono', monospace; font-size: 11.5px; color: var(--ink-dim); line-height: 1.6; }
@media (max-width: 860px) { .stat-row, .stat-row.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stat-row, .stat-row.cols-3 { grid-template-columns: 1fr; } }

/* ============================================================
   EDITORIAL PROSE BLOCKS
   ============================================================ */
.prose { max-width: 760px; }
.prose.wide { max-width: 900px; }
.prose h3 { margin: 38px 0 14px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; letter-spacing: -0.015em; color: #fff; }
.prose h3:first-child { margin-top: 0; }
.prose h4 { margin: 28px 0 12px; font-size: 17px; font-weight: 600; color: var(--brand-green-bright); letter-spacing: -0.005em; }
.prose p { margin: 0 0 18px; color: rgba(243,246,251,0.78); font-size: clamp(15px, 1.5vw, 17px); line-height: 1.7; }
.prose p b { color: #fff; font-weight: 600; }
.prose a.inline { color: var(--brand-green-bright); text-decoration: none; border-bottom: 1px solid rgba(196,238,94,0.4); }
.prose a.inline:hover { border-bottom-color: var(--brand-green-bright); }

/* checklist / warn list */
.list-check, .list-warn { list-style: none; margin: 4px 0 22px; padding: 0; display: grid; gap: 12px; }
.list-check li, .list-warn li { display: flex; align-items: flex-start; gap: 13px; font-size: 15px; line-height: 1.55; color: var(--ink); }
.list-check li::before {
  content: ""; flex-shrink: 0; margin-top: 4px; width: 18px; height: 18px; border-radius: 6px;
  background: rgba(142,199,63,0.14); border: 1px solid rgba(142,199,63,0.4);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4ee5e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.list-warn li::before {
  content: ""; flex-shrink: 0; margin-top: 4px; width: 18px; height: 18px; border-radius: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'><path d='M18 6 6 18M6 6l12 12'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 11px; opacity: 0.7;
}
.list-warn li { color: var(--ink-muted); }

/* two-column editorial layout: sticky heading + body */
.lede { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.lede .lede-head { position: sticky; top: 116px; }
.lede .lede-head .eyebrow { margin-bottom: 18px; }
.lede .lede-head h2 { margin: 0; font-weight: 300; letter-spacing: -0.02em; line-height: 1.06; font-size: clamp(28px, 3.6vw, 42px); color: #fff; text-wrap: balance; }
.lede .lede-head h2 b { font-weight: 600; color: var(--brand-green-bright); }
@media (max-width: 860px) { .lede { grid-template-columns: 1fr; gap: 28px; } .lede .lede-head { position: static; } }

/* ============================================================
   AI TOOL COMPARISON TABLE
   ============================================================ */
.aitable { border: 1px solid var(--card-border); border-radius: var(--radius-md); overflow: hidden; }
.aitable .row { display: grid; grid-template-columns: 0.9fr 1.4fr 1.4fr; }
.aitable .row + .row { border-top: 1px solid var(--card-border); }
.aitable .row.head { background: rgba(142,199,63,0.06); }
.aitable .cell { padding: 18px 22px; font-size: 14.5px; line-height: 1.55; color: var(--ink-muted); }
.aitable .row.head .cell { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-green-bright); }
.aitable .cell.tool { color: #fff; font-weight: 600; font-size: 15.5px; }
.aitable .cell.tool span { display: block; font-family: 'DM Mono', monospace; font-weight: 400; font-size: 11px; letter-spacing: 0.04em; color: var(--ink-dim); margin-top: 4px; text-transform: none; }
.aitable .row:not(.head) .cell + .cell { border-left: 1px solid var(--card-border); }
@media (max-width: 760px) {
  .aitable .row, .aitable .row.head { grid-template-columns: 1fr; }
  .aitable .row:not(.head) .cell + .cell { border-left: 0; border-top: 1px solid rgba(255,255,255,0.05); }
  .aitable .row.head { display: none; }
  .aitable .cell::before { content: attr(data-l); display: block; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-green); margin-bottom: 6px; }
  .aitable .cell.tool::before { display: none; }
}

/* ============================================================
   PROCESS TIMELINE (vertical, for "what to expect")
   ============================================================ */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding-bottom: 30px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step .sdot {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; z-index: 1;
  background: rgba(142,199,63,0.1); border: 1px solid rgba(142,199,63,0.3); color: var(--brand-green-bright);
  display: grid; place-items: center; font-family: 'DM Mono', monospace; font-size: 14px;
}
.step:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 50px; bottom: 4px; width: 1px; background: linear-gradient(180deg, rgba(142,199,63,0.4), rgba(142,199,63,0.06)); }
.step .sbody { padding-top: 4px; }
.step .sbody h4 { margin: 0 0 6px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: #fff; }
.step .sbody p { margin: 0; color: var(--ink-muted); font-size: 14.5px; line-height: 1.6; max-width: 60ch; }

/* ============================================================
   WHY-DIFFERENT GRID (reuse .why look, allow flexible spans)
   ============================================================ */
.svc-page .why { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .svc-page .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-page .why { grid-template-columns: 1fr; } }

/* ============================================================
   VERTICALS — editorial bordered list
   ============================================================ */
.svc-page .verticals { grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 64px); }
.svc-page .vert {
  border: 0; border-top: 1px solid var(--card-border); border-radius: 0; background: transparent;
  padding: 18px 4px; transform: none; gap: 16px;
}
.svc-page .vert:hover { transform: none; background: rgba(142,199,63,0.03); }
.svc-page .vert .vstar { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--ink-dim); letter-spacing: 0.05em; }
.svc-page .vert .vlabel { font-size: 17px; font-weight: 400; letter-spacing: -0.01em; }
@media (max-width: 560px) { .svc-page .verticals { grid-template-columns: 1fr; } }

/* ---------- editor's note / flag (subtle, for placeholder content) ---------- */
.note-flag {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.04em; color: var(--ink-dim);
  background: rgba(255,255,255,0.03); border: 1px dashed rgba(255,255,255,0.14);
  padding: 9px 14px; border-radius: 10px;
}
.note-flag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-dim); }

/* ---------- "what you get" outcome strip ---------- */
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.outcomes li { list-style: none; display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--card-bg-soft); border: 1px solid var(--card-border); font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.outcomes li::before { content: ""; flex-shrink: 0; margin-top: 6px; width: 6px; height: 6px; border-radius: 2px; background: var(--brand-green); box-shadow: 0 0 8px rgba(163,216,59,0.6); transform: rotate(45deg); }
@media (max-width: 640px) { .outcomes { grid-template-columns: 1fr; } }
