/* ═══════════════════════════════════════════════════════════════
   INNER PAGE — Commercial Service Pages
   ═══════════════════════════════════════════════════════════════ */

/* ── Service Hero ─────────────────────────────────────────────── */
.svc-hero {
  background: var(--bg-page);
  padding-top: clamp(5rem, 9vw, 7rem);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
.svc-hero::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 100px;
  background: var(--bg-surface);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
/* Angled background stripe */
.svc-hero::before {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 55%;
  height: 100%;
  background: var(--red-lt);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}
[data-theme="dark"] .svc-hero::before {
  background: rgba(124,58,237,.1);
}
.svc-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.svc-hero-inner > * { min-width: 0; }
.svc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--red-lt);
  border: 1px solid rgba(109,26,30,.2);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-accent);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
[data-theme="dark"] .svc-hero-badge {
  background: rgba(167,139,250,.1);
  border-color: rgba(167,139,250,.25);
  color: #A78BFA;
}
.svc-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.08;
  margin-bottom: 1.4rem;
  letter-spacing: -.025em;
}
.svc-hero h1 strong {
  color: var(--red-mid);
  font-style: italic;
  font-weight: 900;
}
[data-theme="dark"] .svc-hero h1 strong { color: #C4B5FD; }
.svc-hero-desc {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.75;
  max-width: 42ch;
}
.svc-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
/* Mini proof row */
.svc-hero-proof {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.svc-proof-item { display: flex; flex-direction: column; }
.svc-proof-num {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}
.svc-proof-num span { color: var(--red-mid); }
[data-theme="dark"] .svc-proof-num span { color: #C4B5FD; }
.svc-proof-label { font-size: var(--fs-base); color: var(--text-muted); margin-top: .2rem; }

/* ── Hero Visual Card ─────────────────────────────────────────── */
.svc-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Hero Placeholder Image ───────────────────────────────────── */
.svc-hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  border-radius: var(--r-lg);
}
.svc-hero-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, var(--bg-surface-2) 0%, var(--bg-surface) 100%);
  border: 1.5px solid var(--border-md);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  overflow: hidden;
}
.svc-hero-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
[data-theme="dark"] .svc-hero-img-placeholder {
  background: linear-gradient(140deg, rgba(124,58,237,.14) 0%, var(--bg-surface-2) 100%);
  box-shadow: 0 20px 60px rgba(124,58,237,.18), var(--shadow-lg);
}
[data-theme="dark"] .svc-hero-img-placeholder::before {
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
}
.ship-icon-svg {
  width: 52px; height: 52px;
  color: var(--text-subtle);
  opacity: .45;
  position: relative; z-index: 1;
}
.ship-label {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-subtle);
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .5;
  position: relative; z-index: 1;
}
/* Float badges anchored inside the image — no overflow clipping */
.svc-hero-img .svc-float-badge { position: absolute; z-index: 2; }
.svc-hero-img .svc-float-badge.top-left  { top: 20px;    left: 20px;  }
.svc-hero-img .svc-float-badge.bot-right { bottom: 20px; right: 20px; }
.svc-result-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-md);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
  position: relative;
}
.svc-result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-deep), var(--red-mid));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
[data-theme="dark"] .svc-result-card::before { background: linear-gradient(90deg, #A78BFA, #C4B5FD); }
.src-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.src-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
}
.src-metric:last-child { border-bottom: none; }
.src-metric-label { font-size: var(--fs-base); color: var(--text-muted); }
.src-metric-val {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 900;
  color: var(--text-primary);
}
.src-metric-up { font-size: var(--fs-base); font-weight: 700; color: #166534; }
[data-theme="dark"] .src-metric-up { color: #4ADE80; }
/* Floating badge */
.svc-float-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1.5px solid var(--border-md);
  border-radius: var(--r-md);
  padding: .85rem 1.1rem;
  box-shadow: var(--shadow-md);
  animation: float-badge 4s ease-in-out infinite;
}
@keyframes float-badge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.svc-float-badge.top-left { top: -18px; left: -20px; animation-delay: 0s; }
.svc-float-badge.bot-right { bottom: -18px; right: -20px; animation-delay: -2s; }
.sfb-num {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}
.sfb-num.green { color: #166534; }
[data-theme="dark"] .sfb-num.green { color: #4ADE80; }
.sfb-label { font-size: .72rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; margin-top: .2rem; }

/* ── Outcomes / Why It Matters ────────────────────────────────── */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
.outcomes-grid > * { min-width: 0; }
.outcome-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.outcome-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red-mid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.outcome-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(212,59,42,.25); }
.outcome-card:hover::after { transform: scaleX(1); }
[data-theme="dark"] .outcome-card:hover { border-color: rgba(167,139,250,.4); box-shadow: 0 8px 32px rgba(124,58,237,.2), 0 0 0 1px rgba(167,139,250,.15); }
[data-theme="dark"] .outcome-card::after { background: #A78BFA; }
.outcome-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--red-lt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
.outcome-card:hover .outcome-icon { background: var(--red-mid); }
.outcome-card:hover .outcome-icon svg { color: #fff; }
[data-theme="dark"] .outcome-icon { background: rgba(167,139,250,.1); }
[data-theme="dark"] .outcome-icon svg { color: #A78BFA; }
[data-theme="dark"] .outcome-card:hover .outcome-icon { background: #A78BFA; }
[data-theme="dark"] .outcome-card:hover .outcome-icon svg { color: #FFFFFF; }
.outcome-icon svg { width: 26px; height: 26px; color: var(--red-deep); transition: color var(--transition); }
.outcome-card h3 { font-size: var(--fs-xl); color: var(--text-primary); margin-bottom: .6rem; font-weight: 700; }
.outcome-card p  { font-size: var(--fs-base); color: var(--text-muted); line-height: 1.7; }

/* ── Deliverables (visual) ────────────────────────────────────── */
.deliverables-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.deliverables-visual > * { min-width: 0; }
.deliv-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition);
}
.deliv-card:hover { border-color: rgba(212,59,42,.25); transform: translateX(4px); }
[data-theme="dark"] .deliv-card:hover { border-color: rgba(167,139,250,.2); }
.deliv-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red-lt);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: .15rem;
}
[data-theme="dark"] .deliv-check { background: rgba(167,139,250,.12); }
.deliv-check svg { width: 14px; height: 14px; color: var(--red-deep); }
[data-theme="dark"] .deliv-check svg { color: #A78BFA; }
.deliv-content { min-width: 0; }
.deliv-content h4 { font-size: var(--fs-base); font-weight: 700; color: var(--text-primary); margin-bottom: .25rem; }
.deliv-content p  { font-size: var(--fs-base); color: var(--text-muted); line-height: 1.65; }

/* ── Process Steps (visual) ───────────────────────────────────── */
.process-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pv-step {
  display: flex;
  gap: 1.75rem;
  position: relative;
}
.pv-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: -1px;
  width: 2px;
  background: linear-gradient(to bottom, var(--red-mid), transparent);
}
[data-theme="dark"] .pv-step:not(:last-child)::after { background: linear-gradient(to bottom, rgba(167,139,250,.4), transparent); }
.pv-step-left { flex-shrink: 0; padding-bottom: 2rem; }
.pv-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--red-mid);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(212,59,42,.3);
}
[data-theme="dark"] .pv-num { background: #7C3AED; color: #FFFFFF; box-shadow: 0 4px 16px rgba(124,58,237,.45); }
.pv-content { padding-top: .5rem; padding-bottom: 2rem; min-width: 0; }
.pv-content h4 { font-size: var(--fs-xl); font-weight: 700; color: var(--text-primary); margin-bottom: .5rem; }
.pv-content p  { font-size: var(--fs-base); color: var(--text-muted); line-height: 1.72; }

/* ── Comparison / Why Us table ────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
}
.compare-table th {
  padding: 1.1rem 1.5rem;
  font-size: var(--fs-base);
  font-weight: 700;
  text-align: left;
  background: var(--bg-surface);
  color: var(--text-primary);
  border-bottom: 1.5px solid var(--border);
}
.compare-table th:last-child {
  background: var(--red-dark);
  color: #fff;
  text-align: center;
}
[data-theme="dark"] .compare-table th:last-child { background: var(--red-deep); }
.compare-table td {
  padding: 1rem 1.5rem;
  font-size: var(--fs-base);
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:last-child {
  text-align: center;
  font-weight: 700;
  color: var(--red-mid);
  background: rgba(109,26,30,.04);
}
[data-theme="dark"] .compare-table td:last-child { color: #A78BFA; background: rgba(167,139,250,.04); }
.compare-table tr:hover td { background: var(--bg-surface); }
.compare-table td:last-child { transition: none; }
.cmp-yes { color: #166534 !important; font-size: 1.25rem; }
.cmp-no  { color: var(--text-subtle) !important; font-size: 1.25rem; }
[data-theme="dark"] .cmp-yes { color: #4ADE80 !important; }

/* ── Pricing Callout ──────────────────────────────────────────── */
.pricing-callout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.pricing-callout > * { min-width: 0; }
.pricing-tier {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
}
.pricing-tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pricing-tier.highlight {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 0 0 3px rgba(212,59,42,.25), var(--shadow-lg);
}
[data-theme="dark"] .pricing-tier.highlight { background: var(--section-dark); border-color: rgba(167,139,250,.3); }
.pt-badge {
  display: inline-block;
  background: var(--red-mid);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
  padding: .3rem .85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
[data-theme="dark"] .pricing-tier.highlight .pt-badge { background: #7C3AED; color: #FFFFFF; }
.pt-name { font-family: var(--ff-display); font-size: var(--fs-2xl); font-weight: 700; color: var(--text-primary); margin-bottom: .3rem; }
.pricing-tier.highlight .pt-name { color: #fff; }
.pt-price { margin: 1rem 0; }
.pt-price .amt { font-family: var(--ff-display); font-size: var(--fs-4xl); font-weight: 900; color: var(--text-primary); line-height: 1; }
.pricing-tier.highlight .pt-price .amt { color: var(--peach); }
[data-theme="dark"] .pricing-tier.highlight .pt-price .amt { color: #A78BFA; }
.pt-price .per { font-size: var(--fs-base); color: var(--text-muted); }
.pricing-tier.highlight .pt-price .per { color: rgba(255,255,255,.55); }
.pt-features { margin: 1.25rem 0; display: flex; flex-direction: column; gap: .6rem; }
.pt-feature {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: var(--fs-base);
  color: var(--text-muted);
}
.pricing-tier.highlight .pt-feature { color: rgba(255,255,255,.75); }
.pt-check { color: #166534; flex-shrink: 0; margin-top: .1rem; }
.pricing-tier.highlight .pt-check { color: var(--peach); }
[data-theme="dark"] .pricing-tier.highlight .pt-check { color: #A78BFA; }
.pricing-tier .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ── Testimonial spotlight ────────────────────────────────────── */
.testimonial-spotlight {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.testimonial-spotlight > * { min-width: 0; }
.testimonial-spotlight::before {
  content: '\201C';
  position: absolute;
  top: -20px; left: 24px;
  font-family: var(--ff-display);
  font-size: 12rem;
  color: rgba(109,26,30,.06);
  line-height: 1;
  pointer-events: none;
}
[data-theme="dark"] .testimonial-spotlight::before { color: rgba(167,139,250,.05); }
.ts-quote {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.4;
  position: relative;
  z-index: 1;
}
.ts-author { display: flex; flex-direction: column; gap: .4rem; align-items: flex-end; min-width: 180px; }
.ts-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--red-lt);
  border: 2.5px solid rgba(109,26,30,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 900;
  color: var(--red-deep);
  margin: 0 auto .75rem;
}
[data-theme="dark"] .ts-avatar { background: rgba(167,139,250,.1); color: #A78BFA; border-color: rgba(167,139,250,.25); }
.ts-stars { color: var(--red-mid); font-size: var(--fs-lg); text-align: center; }
[data-theme="dark"] .ts-stars { color: #A78BFA; }
.ts-name { font-weight: 700; color: var(--text-primary); font-size: var(--fs-base); text-align: center; }
.ts-role { font-size: var(--fs-base); color: var(--text-muted); text-align: center; }

/* ── Related services strip ───────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
}
.related-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.related-card:hover { border-color: rgba(212,59,42,.3); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .related-card:hover { border-color: rgba(167,139,250,.25); }
.related-icon {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--red-lt);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
[data-theme="dark"] .related-icon { background: rgba(167,139,250,.1); }
.related-icon svg { width: 22px; height: 22px; color: var(--red-deep); }
[data-theme="dark"] .related-icon svg { color: #A78BFA; }
.related-info h4 { font-size: var(--fs-base); font-weight: 700; color: var(--text-primary); margin-bottom: .2rem; }
.related-info p  { font-size: var(--fs-base); color: var(--text-muted); }

/* ── Sticky CTA sidebar ───────────────────────────────────────── */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}
/* Allow grid children to shrink below content min-width so inner overflow-x:auto containers work correctly on mobile */
.service-layout > * { min-width: 0; }
.sticky-sidebar { position: sticky; top: 96px; }
.cta-sidebar-card {
  background: var(--red-dark);
  border-radius: var(--r-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-sidebar-card::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(212,59,42,.25);
  top: -60px; right: -60px;
  pointer-events: none;
}
[data-theme="dark"] .cta-sidebar-card { background: var(--section-dark); }
.cta-sidebar-card h3 { font-size: var(--fs-xl); color: #fff; margin-bottom: .65rem; font-weight: 700; position: relative; z-index: 1; }
.cta-sidebar-card p  { font-size: var(--fs-base); color: rgba(255,255,255,.7); margin-bottom: 1.5rem; line-height: 1.65; position: relative; z-index: 1; }
.cta-sidebar-card .btn { width: 100%; justify-content: center; position: relative; z-index: 1; }
.info-sidebar-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.info-sidebar-card h4 { font-size: var(--fs-xl); font-weight: 700; color: var(--text-primary); margin-bottom: 1.1rem; }
.sidebar-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-base);
}
.sidebar-stat-row:last-child { border-bottom: none; }
.sidebar-stat-label { color: var(--text-muted); }
.sidebar-stat-val { font-weight: 700; color: var(--text-primary); }

/* ── Inner page responsive ────────────────────────────────────── */
@media(max-width:1024px) {
  .svc-hero-inner    { grid-template-columns: 1fr; }
  .svc-hero-visual   { display: none; }
  .service-layout    { grid-template-columns: 1fr; }
  .sticky-sidebar    { position: static; }
  .outcomes-grid     { grid-template-columns: 1fr 1fr; }
  .deliverables-visual { grid-template-columns: 1fr; }
  .pricing-callout   { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-callout .pricing-tier.highlight { order: -1; }
  .compare-table     { font-size: .9rem; }
  .testimonial-spotlight { grid-template-columns: 1fr; }
  .ts-author         { align-items: flex-start; flex-direction: row; gap: 1rem; }
  .ts-avatar         { margin: 0; }
  .related-grid      { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px) {
  .svc-hero::before  { display: none; }
  .outcomes-grid     { grid-template-columns: 1fr; }
  .related-grid      { grid-template-columns: 1fr; }
  /* Compare table — force horizontal scroll with reduced padding */
  .compare-table th,
  .compare-table td  { padding: .75rem 1rem; white-space: nowrap; }
  .compare-table td:first-child { white-space: normal; min-width: 130px; }
  /* Hero actions stack on tablet */
  .svc-hero-actions  { flex-direction: column; }
  .svc-hero-actions .btn { width: 100%; justify-content: center; }
  /* Pricing callout full width on tablet */
  .pricing-callout   { max-width: 100% !important; }
  /* Proof items tighten gap */
  .svc-hero-proof    { gap: 1.25rem; }
  /* Testimonial spotlight author row fix */
  .ts-author         { flex-direction: row; align-items: center; flex-wrap: wrap; min-width: 0; }
  /* Hero desc: remove max-width constraint so it fills available width */
  .svc-hero-desc     { max-width: 100%; }
  /* Section desc: unconstrain so it fills the column */
  .section-desc      { max-width: 100%; }
  /* Hero padding: reduce top padding on tablet */
  .svc-hero          { padding-top: clamp(4rem, 7vw, 5rem); }
}
/* ═══════════════════════════════════════════════════════════════
   SERVICE PAGE — Mobile Fixes (≤480px)
   ═══════════════════════════════════════════════════════════════ */
@media(max-width:480px){

  /* Service hero — title & badge */
  .svc-hero h1{font-size:clamp(1.9rem,8.5vw,2.5rem);letter-spacing:-.02em}
  .svc-hero-badge{font-size:.72rem;letter-spacing:.04em;padding:.35rem .85rem}
  .svc-hero-desc{font-size:var(--fs-base);margin-bottom:1.75rem}

  /* Proof row — single column stack on mobile */
  .svc-hero-proof{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:.85rem;
    padding-top:1.5rem;
  }
  .svc-proof-item:last-child{text-align:left}
  .svc-proof-num{font-size:var(--fs-xl)}

  /* Hero inner padding */
  .svc-hero-inner{padding-bottom:3rem}

  /* Deliverables cards */
  .deliv-card{padding:1.1rem 1.2rem;gap:.75rem}
  .deliv-content h4{font-size:var(--fs-base)}
  .deliv-content p{font-size:.9rem}

  /* Process steps */
  .pv-step{gap:1.1rem}
  .pv-num{width:36px;height:36px;font-size:var(--fs-base)}
  .pv-step:not(:last-child)::after{left:17px}
  .pv-content h4{font-size:var(--fs-base)}
  .pv-content p{font-size:.9rem}
  .pv-content{padding-bottom:1.5rem}
  .pv-step-left{padding-bottom:1.5rem}

  /* Compare table — shrink cell padding, let it scroll */
  .compare-table th,
  .compare-table td{padding:.6rem .75rem;font-size:.82rem}

  /* Pricing callout */
  .pricing-callout{gap:1rem}
  .pricing-tier{padding:1.5rem 1.25rem}
  .pt-price .amt{font-size:var(--fs-3xl)}
  .pt-name{font-size:var(--fs-xl)}

  /* Testimonial spotlight */
  .testimonial-spotlight{padding:1.75rem 1.25rem;gap:1.5rem}
  .ts-quote{font-size:var(--fs-xl)}
  .ts-author{min-width:0}

  /* Outcome cards */
  .outcome-card{padding:1.5rem}

  /* Section inline margin overrides */
  .svc-hero ~ .section > .container > div[style*="margin-bottom:4rem"],
  .section > .container > div[style*="margin-bottom:4rem"]{margin-bottom:2.5rem!important}
  .section > .container > div[style*="margin-bottom:3.5rem"]{margin-bottom:2rem!important}

  /* Section title: override inline font-size so headings scale on phones */
  .section-title{font-size:clamp(1.6rem,6.5vw,2.1rem)!important}

  /* Hero badge: allow wrapping on narrow screens */
  .svc-hero-badge{white-space:normal;text-align:center;justify-content:center;line-height:1.4}

  /* Sidebar stat rows */
  .sidebar-stat-row{flex-direction:column;gap:.2rem;align-items:flex-start}

  /* Related cards inside sidebar: ensure text doesn't overflow */
  .related-info h4{font-size:.9rem}
  .related-info p{font-size:.82rem}

  /* Sidebar cards */
  .cta-sidebar-card{padding:1.5rem 1.25rem}
  .info-sidebar-card{padding:1.25rem}
}

/* ═══════════════════════════════════════════════════════════════
   SERVICE PAGE — Very Small Phones (≤360px)
   Covers Galaxy A series, budget Android, older iPhones in portrait
   ═══════════════════════════════════════════════════════════════ */
@media(max-width:360px){

  /* Reduce container gutter on very small screens */
  .container{padding-left:1rem;padding-right:1rem}

  /* Section padding */
  .section{padding:clamp(2.5rem,7vw,4rem) 0}

  /* Hero top padding */
  .svc-hero{padding-top:3.5rem}

  /* Hero h1: tighter size for 360px viewport */
  .svc-hero h1{font-size:clamp(1.55rem,7.5vw,1.85rem)}

  /* Section titles: scale down for narrow viewport */
  .section-title{font-size:clamp(1.35rem,6vw,1.6rem)!important}

  .svc-proof-num{font-size:var(--fs-xl)}

  /* Hero actions: reduce button padding */
  .btn{padding:.85rem 1.5rem}

  /* Deliverables: tighter */
  .deliv-card{padding:.9rem 1rem;gap:.6rem}
  .deliv-content h4{font-size:.9rem}
  .deliv-content p{font-size:.82rem}

  /* Process steps */
  .pv-num{width:32px;height:32px;font-size:.9rem}
  .pv-step:not(:last-child)::after{left:15px}
  .pv-content h4{font-size:.95rem}
  .pv-content p{font-size:.82rem}
  .pv-step{gap:.9rem}

  /* Compare table: tighter cells */
  .compare-table th,
  .compare-table td{padding:.5rem .65rem;font-size:.78rem}
  .compare-table td:first-child{min-width:110px}

  /* Pricing tier: tighter padding */
  .pricing-tier{padding:1.25rem 1rem}
  .pt-price .amt{font-size:var(--fs-2xl)}
  .pt-name{font-size:var(--fs-xl)}

  /* Testimonial spotlight */
  .testimonial-spotlight{padding:1.25rem 1rem;gap:1rem}
  .ts-quote{font-size:var(--fs-lg)}
  .ts-avatar{width:52px;height:52px;font-size:var(--fs-base)}

  /* Outcome cards */
  .outcome-card{padding:1.25rem}
  .outcome-icon{width:46px;height:46px}
  .outcome-icon svg{width:22px;height:22px}
  .outcome-card h3{font-size:var(--fs-base)}

  /* FAQ items: tighter */
  .faq-question{font-size:.9rem;padding:.85rem 0}

  /* Sidebar: make cards more compact */
  .cta-sidebar-card{padding:1.25rem 1rem}
  .info-sidebar-card{padding:1rem}

  /* Breadcrumb: smaller text */
  .breadcrumb{font-size:.82rem;margin-bottom:1rem}
}
/* ═══════════════════════════════════════════════════════════════
   ARTICLE READABILITY SYSTEM
   Improves scanning, rhythm, and legibility for long-form content
   Works in both light mode and dark mode
   ═══════════════════════════════════════════════════════════════ */

/* ── Article body prose: better line-height & font size ── */
.service-detail-body {
  --article-lh: 1.85;
  --article-gap: 1.5rem;
}

/* Base paragraph: slightly larger, more air */
.service-detail-body p {
  font-size: var(--fs-lg);         /* 1.125rem — easier to read than base */
  line-height: var(--article-lh);
  margin-bottom: var(--article-gap);
  color: var(--text-body);
  max-width: 68ch;                 /* constrains line length for readability */
}

/* Lead paragraph — first real paragraph after the hero */
.service-detail-body > p:first-of-type {
  font-size: var(--fs-xl);         /* 1.25rem — a gentle entrance */
  line-height: 1.8;
  color: var(--text-primary);
  font-weight: 500;
  max-width: 62ch;
}

/* ── Heading hierarchy & spacing ── */

/* H2: section titles — more breathing room above */
.service-detail-body h2 {
  font-size: clamp(1.5rem, 2.5vw, var(--fs-2xl));
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 3.5rem;
  margin-bottom: 0.9rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
  /* Accent rule to anchor each section visually */
  position: relative;
}
.service-detail-body h2::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--red-mid);
  border-radius: 2px;
}
[data-theme="dark"] .service-detail-body h2::before {
  background: #A78BFA;
}

/* H3: subsection titles — tighter but distinct */
.service-detail-body h3 {
  font-size: var(--fs-xl);         /* 1.25rem */
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2.25rem;
  margin-bottom: 0.65rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* H4: used for FAQ questions */
.service-detail-body h4 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

/* ── Inline strong: make bold stand out clearly ── */
.service-detail-body p strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ── Checklist / deliverables list: better spacing & icon alignment ── */
.service-detail-body .deliverables-list {
  margin: 1rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-detail-body .deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: var(--text-body);
  transition: background 0.18s ease;
  border-radius: 0;
}
.service-detail-body .deliverables-list li:first-child {
  border-top: 1px solid var(--border);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.service-detail-body .deliverables-list li:last-child {
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.service-detail-body .deliverables-list li:hover {
  background: var(--bg-surface);
}
[data-theme="dark"] .service-detail-body .deliverables-list li:hover {
  background: rgba(255, 255, 255, 0.03);
}
/* Check icon: accent colour, top-aligned */
.service-detail-body .deliverables-list .feature-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 1rem;
  color: var(--red-deep);
  line-height: 1.65;
}
[data-theme="dark"] .service-detail-body .deliverables-list .feature-icon {
  color: #A78BFA;
}

/* ── Key stat / callout paragraphs (bold openers) ── */
/* Bold-first paragraphs (like "GBP signals dominate.") get a subtle
   left border to flag them as scan-worthy key findings */
.service-detail-body p:has(> strong:first-child) {
  border-left: 3px solid var(--red-mid);
  padding-left: 1rem;
  margin-left: -0.25rem;
  background: rgba(212, 59, 42, 0.03);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
[data-theme="dark"] .service-detail-body p:has(> strong:first-child) {
  border-left-color: #A78BFA;
  background: rgba(167, 139, 250, 0.04);
}

/* ── Links in body copy ── */
.service-detail-body a[style*="color:var(--tangerine)"],
.service-detail-body a[href] {
  text-decoration: underline;
  text-decoration-color: rgba(109, 26, 30, 0.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: text-decoration-color 0.18s, color 0.18s;
}
.service-detail-body a[style*="color:var(--tangerine)"]:hover,
.service-detail-body a[href]:hover {
  text-decoration-color: var(--red-mid);
  color: var(--red-mid) !important;
}
[data-theme="dark"] .service-detail-body a[style*="color:var(--tangerine)"],
[data-theme="dark"] .service-detail-body a[href] {
  text-decoration-color: rgba(196, 181, 253, 0.5);
}
[data-theme="dark"] .service-detail-body a[style*="color:var(--tangerine)"]:hover,
[data-theme="dark"] .service-detail-body a[href]:hover {
  text-decoration-color: #A78BFA;
  color: #A78BFA !important;
}

/* ── Figure / image captions ── */
.service-detail-body figure {
  margin: 2.5rem 0;
}
.service-detail-body figure img {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  display: block;
  width: 100%;
}
.service-detail-body figure figcaption {
  font-size: 0.825rem;
  color: var(--text-subtle);
  margin-top: 0.6rem;
  padding: 0 0.25rem;
  line-height: 1.55;
  font-style: italic;
}

/* ── FAQ section: treat H3 questions as accordion-style scannable items ── */
.service-detail-body h2 + h3,
.service-detail-body h2 + p + h3 {
  margin-top: 1.75rem;
}

/* Visually distinguish FAQ h3 items from normal subsection h3s */
/* Selector targets h3 elements that come after the "Frequently Asked Questions" h2 */
.service-detail-body .faq-zone h3 {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.85rem 1.1rem;
  margin-top: 1rem;
  font-size: var(--fs-lg);
  cursor: default;
}
[data-theme="dark"] .service-detail-body .faq-zone h3 {
  background: rgba(255, 255, 255, 0.03);
}

/* ── Sidebar cards: a touch more visual weight ── */
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}
.sidebar-card:hover {
  box-shadow: var(--shadow-md);
}
.sidebar-card h4 {
  font-size: var(--fs-lg);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
}

/* ── Table of contents: reading progress aid (optional enhancement) ── */

/* ── Prose section spacing: first h2 shouldn't have massive top margin ── */
.service-detail-body > h2:first-of-type {
  margin-top: 2rem;
}

/* ── Article CTA block (inline at article end) ── */
.service-detail-body > div[style*="border-radius:var(--r-lg)"] {
  border-radius: var(--r-lg) !important;
}

/* ── Author block: improve legibility ── */
.service-detail-body > div[style*="border-top"] p[style*="color:var(--white)"],
.service-detail-body > div[style*="border-top"] p[style*="font-weight:600"] {
  font-size: var(--fs-lg);
}

/* ── Mobile: tighten up for narrow screens ── */
@media (max-width: 768px) {
  .service-detail-body p {
    font-size: var(--fs-base);
    max-width: 100%;
  }
  .service-detail-body > p:first-of-type {
    font-size: var(--fs-lg);
  }
  .service-detail-body h2 {
    margin-top: 2.5rem;
    font-size: var(--fs-xl);
  }
  .service-detail-body h3 {
    margin-top: 1.75rem;
    font-size: var(--fs-lg);
  }
  .service-detail-body .deliverables-list li {
    font-size: var(--fs-base);
    padding: 0.65rem 0.5rem;
  }
  .service-detail-body p:has(> strong:first-child) {
    padding-left: 0.75rem;
  }
}