/* ============================================================
   service-digital-marketing.css
   Extracted from <style> block in service-digital-marketing.html.
   ============================================================ */

/* ========== HERO · Pipeline Orchestrator ========== */
.dm-hero-svg { width: 100%; height: auto; max-width: 480px; display: block; margin: 0 auto; }

@keyframes dmChanBar {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@keyframes dmChanPulse {
  0%, 100% { opacity: .85; }
  50%      { opacity: 1; }
}
@keyframes dmFlow {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes dmHubPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
@keyframes dmKpiBar {
  0%, 12%  { width: 0; }
  100%     { width: var(--w, 70%); }
}
@keyframes dmSyncDot {
  0%, 100% { fill: #FF6B35; transform: scale(1); }
  50%      { fill: rgba(255,107,53,.4); transform: scale(1.5); }
}

.dm-chan-bar { animation: dmChanBar 1.6s ease-out forwards; transform-origin: left center; transform-box: fill-box; }
.dm-chan-bar.b2 { animation-delay: .2s; }
.dm-chan-bar.b3 { animation-delay: .4s; }
.dm-chan-bar.b4 { animation-delay: .6s; }
.dm-chan-card { animation: dmChanPulse 2.6s ease-in-out infinite; }
.dm-chan-card.c2 { animation-delay: .3s; }
.dm-chan-card.c3 { animation-delay: .6s; }
.dm-chan-card.c4 { animation-delay: .9s; }

.dm-flow-1 { offset-path: path('M 130 100 C 180 100 200 220 220 240'); animation: dmFlow 2.4s ease-in-out infinite; }
.dm-flow-2 { offset-path: path('M 130 160 C 180 160 200 230 220 240'); animation: dmFlow 2.4s ease-in-out infinite .6s; }
.dm-flow-3 { offset-path: path('M 130 220 C 180 220 200 240 220 240'); animation: dmFlow 2.4s ease-in-out infinite 1.2s; }
.dm-flow-4 { offset-path: path('M 130 280 C 180 280 200 260 220 240'); animation: dmFlow 2.4s ease-in-out infinite 1.8s; }

.dm-hub { animation: dmHubPulse 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }

.dm-kpi-bar { animation: dmKpiBar 2s ease-out forwards; }
.dm-sync-dot { animation: dmSyncDot 1.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }

/* Hero label chips, nudged 5px outward from the shared .nl-* defaults so
   they clear the header strip (top) and sync ticker (bottom). Scoped to
   .topo-dm so other service pages keep the shared positions. */
.topo-dm .nl-1 { top: 1px; }     /* LinkedIn channel · top left */
.topo-dm .nl-2 { top: 1px; }     /* Google channel · top right */
.topo-dm .nl-5 { top: -17px; }   /* Attribution layer · top centre */
.topo-dm .nl-3 { top: 459px; }   /* CRM sync hub · bottom left */
.topo-dm .nl-4 { top: 459px; }   /* Pipeline KPI · bottom right */
.topo-dm .nl-6 { top: 499px; }   /* Closed-loop ROI · bottom centre */

/* ========== CHANNEL MIX PANEL SVGs ========== */
.cm-vis { width: 100%; max-width: 230px; height: auto; display: block; margin: 0 auto; }

/* ABM-led — target accounts highlighted */
@keyframes abmTargetPulse {
  0%, 100% { opacity: .85; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.12); }
}
.cm-abm-target { animation: abmTargetPulse 2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.cm-abm-target.t2 { animation-delay: .3s; }
.cm-abm-target.t3 { animation-delay: .6s; }
@keyframes abmRing {
  0%   { r: 14; opacity: .8; }
  100% { r: 30; opacity: 0; }
}
.cm-abm-ring { animation: abmRing 1.8s ease-out infinite; }
.cm-abm-ring.r2 { animation-delay: .6s; }
.cm-abm-ring.r3 { animation-delay: 1.2s; }

/* SEO-led — search results stack */
@keyframes seoRank {
  0%, 20%  { transform: translateY(20px); opacity: 0; }
  30%      { opacity: 1; }
  100%     { transform: translateY(0); opacity: 1; }
}
.cm-seo-rank { animation: seoRank 4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.cm-seo-rank.k2 { animation-delay: .5s; }
.cm-seo-rank.k3 { animation-delay: 1s; }
.cm-seo-rank.k4 { animation-delay: 1.5s; }

/* Paid-led — bid auction */
@keyframes paidBid {
  0%, 30% { transform: scaleY(.3); }
  100%    { transform: scaleY(1); }
}
.cm-paid-bar { animation: paidBid 2.2s ease-out infinite; transform-origin: bottom center; transform-box: fill-box; }
.cm-paid-bar.p2 { animation-delay: .15s; }
.cm-paid-bar.p3 { animation-delay: .3s; }
.cm-paid-bar.p4 { animation-delay: .45s; }
.cm-paid-bar.p5 { animation-delay: .6s; }

/* Balanced — orbit pie */
@keyframes balOrbit { to { transform: rotate(360deg); } }
/* origin is the hub at view-box (100,100), not the group's own box */
.cm-bal-orbit { animation: balOrbit 16s linear infinite; transform-origin: 100px 100px; transform-box: view-box; }

/* ========== 5-STAGE FUNNEL ========== */
.funnel-wrap {
  margin-top: 40px;
  display: grid;
  gap: 14px;
}
.funnel-row {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(11,30,63,.1);
  border-radius: 14px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.funnel-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(11,30,63,.08);
}
.funnel-stage {
  display: flex;
  align-items: center;
  gap: 14px;
}
.funnel-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0B1E3F, #1E63E9);
  color: var(--c-white);
  font: 800 14px/1 'Space Grotesk', sans-serif;
  flex-shrink: 0;
}
.funnel-stage h3 {
  font: 700 1rem/1.2 'Space Grotesk', sans-serif;
  color: #0B1E3F;
  margin: 0;
}
.funnel-stage small {
  display: block;
  font: 500 11px/1.2 'JetBrains Mono', monospace;
  color: #FF6B35;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}
.funnel-bar-wrap {
  position: relative;
  height: 32px;
}
.funnel-bar {
  height: 100%;
  background: linear-gradient(90deg, #FF6B35, #1E63E9);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.funnel-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  animation: funnelSheen 2.6s ease-in-out infinite;
}
@keyframes funnelSheen {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
.funnel-conv {
  font: 600 11px/1 'JetBrains Mono', monospace;
  color: rgba(11,30,63,.6);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.funnel-kpi {
  text-align: right;
  font-family: 'Space Grotesk', sans-serif;
}
.funnel-kpi .kn {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0B1E3F;
  line-height: 1;
}
.funnel-kpi .kl {
  display: block;
  font: 500 11px/1 'JetBrains Mono', monospace;
  color: #4D5A77;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
@media (max-width: 920px) {
  .funnel-row { grid-template-columns: 1fr; gap: 14px; }
  .funnel-kpi { text-align: left; padding-top: 6px; border-top: 1px dashed rgba(11,30,63,.1); }
}

/* ========== INDUSTRIES GRID ========== */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
@media (max-width: 980px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .ind-grid { grid-template-columns: 1fr; } }
.ind-card {
  position: relative;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(11,30,63,.1);
  border-radius: 14px;
  padding: 26px 22px 22px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .3s ease;
}
.ind-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(11,30,63,.08);
  border-color: rgba(30,99,233,.3);
}
.ind-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF6B35, #1E63E9);
  opacity: .85;
}
.ind-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0B1E3F, #1E63E9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--c-white);
}
.ind-icon svg { width: 22px; height: 22px; }
.ind-card h3 {
  font: 700 1.1rem/1.25 'Space Grotesk', sans-serif;
  color: #0B1E3F;
  margin: 0 0 4px;
}
.ind-reg {
  display: inline-block;
  font: 600 10px/1 'JetBrains Mono', monospace;
  color: #FF6B35;
  background: rgba(255,107,53,.1);
  padding: 4px 8px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ind-card p {
  font: 400 .9rem/1.55 'Inter', sans-serif;
  color: #4D5A77;
  margin: 0;
}

/* ========== SAMPLE MONTHLY REPORT ========== */
.report-card {
  margin-top: 40px;
  background: #0B1E3F;
  color: var(--c-white);
  border-radius: 18px;
  padding: 40px clamp(24px, 4vw, 50px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.report-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,107,53,.3), transparent 65%);
  z-index: -1;
}
.report-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.report-meta { font-family: 'Space Grotesk', sans-serif; }
.report-meta .rm-tag {
  display: inline-block;
  font: 700 10px/1 'JetBrains Mono', monospace;
  color: #FF6B35;
  background: rgba(255,107,53,.15);
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: .12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.report-meta h3 {
  font: 700 1.4rem/1.2 'Space Grotesk', sans-serif;
  margin: 0 0 4px;
  color: var(--c-white);
}
.report-meta p {
  font: 500 .88rem/1.4 'Inter', sans-serif;
  color: rgba(255,255,255,.6);
  margin: 0;
}
.report-pipeline {
  text-align: right;
  font-family: 'Space Grotesk', sans-serif;
}
.report-pipeline .rp-label {
  font: 600 10px/1 'JetBrains Mono', monospace;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .12em;
  display: block;
  margin-bottom: 4px;
}
.report-pipeline .rp-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1;
}
.report-pipeline .rp-delta {
  display: inline-block;
  margin-top: 6px;
  font: 700 12px/1 'JetBrains Mono', monospace;
  color: #5EEAD4;
  background: rgba(94,234,212,.15);
  padding: 4px 8px;
  border-radius: 999px;
}
.report-scorecards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 820px) { .report-scorecards { grid-template-columns: repeat(2, 1fr); } }
.score {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 16px 18px;
}
.score .sc-l {
  font: 600 10px/1 'JetBrains Mono', monospace;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .1em;
  display: block;
  margin-bottom: 8px;
}
.score .sc-v {
  font: 800 1.4rem/1 'Space Grotesk', sans-serif;
  color: var(--c-white);
  display: block;
  margin-bottom: 4px;
}
.score .sc-d {
  font: 700 10px/1 'JetBrains Mono', monospace;
  letter-spacing: .08em;
}
.score .sc-d.up   { color: #5EEAD4; }
.score .sc-d.down { color: #FF6B35; }

.report-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
}
@media (max-width: 820px) { .report-bottom { grid-template-columns: 1fr; } }
.report-leaders h4,
.report-actions h4 {
  font: 700 .95rem/1.2 'Space Grotesk', sans-serif;
  color: var(--c-white);
  margin: 0 0 16px;
}
.lead-row {
  display: grid;
  grid-template-columns: 28px 1fr 100px 90px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: 'Space Grotesk', sans-serif;
}
.lead-row:last-child { border-bottom: none; }
.lead-rank {
  font: 700 12px/1 'JetBrains Mono', monospace;
  color: rgba(255,255,255,.55);
}
.lead-name { color: var(--c-white); font-size: .92rem; font-weight: 600; }
.lead-val { font: 700 .88rem/1 'JetBrains Mono', monospace; color: var(--c-white); text-align: right; }
.lead-bar {
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
}
.lead-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #FF6B35, #1E63E9);
  border-radius: 2px;
}
.report-actions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.report-actions li {
  font: 500 .88rem/1.5 'Inter', sans-serif;
  color: rgba(255,255,255,.85);
  padding: 8px 0 8px 22px;
  position: relative;
}
.report-actions li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #FF6B35;
  font-weight: 700;
}
