/* ============================================================
   ASNOWCO — Complete Design System
   Blue · Black · White
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  /* Blacks */
  --ink:      #06080f;
  --ink-2:    #0d1120;
  --ink-3:    #141929;
  --ink-4:    #1b2235;

  /* Whites / Lights */
  --white:    #ffffff;
  --off-white:#f7f8fc;
  --pale:     #eef1f8;
  --pale-2:   #e4e8f2;

  /* Text on dark */
  --d-text:   #e8ecf8;
  --d-muted:  rgba(232,236,248,.62);
  --d-faint:  rgba(232,236,248,.36);
  --d-line:   rgba(232,236,248,.10);
  --d-line2:  rgba(232,236,248,.06);

  /* Text on light */
  --l-text:   #0d1120;
  --l-muted:  #4a5270;
  --l-faint:  #8b93b0;
  --l-line:   #d2d6e8;
  --l-line2:  #e8ebf4;

  /* Blue accent */
  --blue:        #4cbff5;
  --blue-bright: #67dbff;
  --blue-dim:    rgba(76,191,245,.14);
  --blue-border: rgba(76,191,245,.30);
  --blue-glow:   rgba(76,191,245,.20);

  /* Shadows */
  --sh-xs: 0 1px 3px rgba(6,8,15,.08);
  --sh-sm: 0 2px 8px rgba(6,8,15,.08), 0 1px 3px rgba(6,8,15,.05);
  --sh-md: 0 6px 20px rgba(6,8,15,.10), 0 2px 6px rgba(6,8,15,.06);
  --sh-lg: 0 12px 40px rgba(6,8,15,.14), 0 4px 12px rgba(6,8,15,.08);

  /* Shape */
  --r-sm:  8px;
  --r:     12px;
  --r-lg:  18px;
  --r-xl:  24px;

  /* Spacing — strict 8-pt scale */
  --s1:4px;  --s2:8px;   --s3:12px;  --s4:16px;
  --s5:20px; --s6:24px;  --s8:32px;  --s10:40px;
  --s12:48px;--s16:64px; --s20:80px; --s24:96px;

  /* Type */
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  clamp(1.75rem, 2.5vw, 2.2rem);
  --fs-4xl:  clamp(2.2rem, 3.5vw, 3.25rem);
  --fs-hero: clamp(3rem, 5.5vw, 5rem);

  --container: 1140px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  background: var(--off-white);
  color: var(--l-text);
  padding-bottom: 80px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* ── Accessibility ─────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -999px; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 16px; top: 16px; width: auto; height: auto;
  padding: 10px 16px; background: var(--ink); color: var(--d-text);
  border-radius: var(--r); z-index: 9999;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s2);
  padding: 11px 22px;
  font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .01em; white-space: nowrap; text-decoration: none;
  border-radius: var(--r);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .16s, border-color .16s, color .16s,
              box-shadow .16s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Primary — blue fill */
.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 2px 8px var(--blue-glow);
}
.btn-primary:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  box-shadow: 0 4px 18px rgba(76,191,245,.36);
}

/* Ghost on dark — white outline */
.btn-ghost {
  background: transparent;
  border-color: var(--d-line);
  color: var(--d-muted);
}
.btn-ghost:hover {
  border-color: rgba(232,236,248,.45);
  color: var(--d-text);
  background: rgba(232,236,248,.06);
}

/* Outline on light — for light sections */
.btn-outline {
  background: transparent;
  border-color: var(--l-line);
  color: var(--l-muted);
}
.btn-outline:hover {
  border-color: var(--l-text);
  color: var(--l-text);
  background: rgba(13,17,32,.04);
}

.btn-sm  { padding: 8px 16px; font-size: var(--fs-xs); border-radius: var(--r-sm); }
.btn-lg  { padding: 14px 30px; font-size: var(--fs-base); border-radius: var(--r-lg); }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3 { margin: 0; line-height: 1.1; }
h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: var(--fs-4xl); font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.015em; }

.kicker {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s3);
}
.kicker::before {
  content: ""; display: block;
  width: 18px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}

.lead {
  font-size: var(--fs-lg); line-height: 1.7;
  color: var(--d-muted); max-width: 52ch; margin: 0;
}
.lead-light { color: var(--l-muted); }

.section-lead {
  font-size: var(--fs-lg); line-height: 1.7;
  color: var(--l-muted); max-width: 52ch; margin: var(--s3) 0 0;
}
.section-lead-dark { color: var(--d-muted); }

.muted      { color: var(--l-muted); }
.muted-dark { color: var(--d-muted); }
.small      { font-size: var(--fs-sm); }
.fineprint  { font-size: var(--fs-xs); color: var(--l-faint); }
.fineprint-dark { font-size: var(--fs-xs); color: var(--d-faint); }

.link { color: var(--blue); font-weight: 600; transition: color .15s; }
.link:hover { color: var(--blue-bright); }

/* ── Layout ───────────────────────────────────────────────── */
.grid { display: grid; gap: var(--s5); }
.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }

.section-head { max-width: 680px; margin-bottom: var(--s10); }
.section-head h2 { margin-bottom: var(--s3); }
.section-head-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: var(--s4);
  max-width: none; margin-bottom: var(--s10);
}
.publications-head { max-width: none; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(6,8,15,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--d-line);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: var(--s4);
  padding: var(--s3) 0;
}
.brand { display: flex; align-items: center; gap: var(--s2); flex: 0 0 auto; }
.brand-logo { height: 32px; width: auto; }

.site-nav {
  display: flex; gap: var(--s1); align-items: center;
  flex: 1; justify-content: center;
}
.site-nav a {
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--d-muted);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  transition: color .14s, background .14s;
}
.site-nav a:hover {
  color: var(--d-text); background: rgba(232,236,248,.07);
}
.site-nav a[aria-current="page"] { color: var(--d-text); }

.nav-crm {
  background: var(--blue-dim) !important;
  border: 1px solid var(--blue-border) !important;
  color: var(--blue) !important;
  border-radius: var(--r-sm);
}
.nav-crm:hover {
  background: rgba(76,191,245,.24) !important;
  color: var(--blue-bright) !important;
}

.header-cta { display: flex; gap: var(--s2); align-items: center; flex: 0 0 auto; }

.nav-toggle {
  display: none;
  background: rgba(232,236,248,.07);
  border: 1px solid var(--d-line);
  color: var(--d-text);
  border-radius: var(--r-sm);
  padding: var(--s2);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
}
.nav-toggle-bar { display: block; width: 18px; height: 2px; background: var(--d-text); border-radius: 2px; opacity: .85; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--ink);
  color: var(--d-text);
  padding: var(--s24) 0 var(--s20);
  position: relative; overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 700px at 5% 60%, rgba(76,191,245,.08), transparent 55%),
    radial-gradient(700px 500px at 92% 0%, rgba(76,191,245,.05), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      0deg, transparent, transparent 79px,
      rgba(232,236,248,.014) 79px, rgba(232,236,248,.014) 80px
    ),
    repeating-linear-gradient(
      90deg, transparent, transparent 79px,
      rgba(232,236,248,.014) 79px, rgba(232,236,248,.014) 80px
    );
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--s12);
  align-items: center;
  position: relative; z-index: 1;
}
.hero-copy h1 {
  color: var(--d-text);
  margin-bottom: var(--s6);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s8) 0; }

.hero-metrics {
  display: flex; gap: var(--s6); flex-wrap: wrap;
  padding-top: var(--s6);
  border-top: 1px solid var(--d-line);
  margin-top: var(--s8);
}
.hero-metric-value {
  font-size: var(--fs-base); font-weight: 800;
  color: var(--d-text); letter-spacing: -.01em;
}
.hero-metric-label {
  font-size: var(--fs-xs); color: var(--d-faint); margin-top: 2px;
}

/* Hero form card — white card on dark hero */
.hero-form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(6,8,15,.08);
  position: relative; z-index: 1;
}
.hero-form-card-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright), var(--blue));
  background-size: 200% 100%;
}
.hero-form-card-body { padding: var(--s8); }
.hero-form-card h2 {
  font-size: var(--fs-2xl); color: var(--l-text);
  margin-bottom: var(--s1);
}
.hero-form-card .sub {
  font-size: var(--fs-sm); color: var(--l-muted);
  margin-bottom: var(--s6); line-height: 1.5;
}
.hero-form-card label { display: block; margin-bottom: var(--s4); }
.hero-form-card label span {
  display: block; font-size: var(--fs-sm); font-weight: 600;
  color: var(--l-muted); letter-spacing: .01em; margin-bottom: var(--s2);
}
.hero-form-card .form-note {
  font-size: var(--fs-xs); color: var(--l-faint); line-height: 1.5;
  margin: var(--s4) 0 var(--s5);
}

/* ── Sections ─────────────────────────────────────────────── */
.section {
  padding: var(--s20) 0;
  background: var(--white);
}
.section-pale {
  padding: var(--s20) 0;
  background: var(--off-white);
}
.section-dark {
  padding: var(--s20) 0;
  background: var(--ink);
  color: var(--d-text);
}
.section-dark h2, .section-dark h3 { color: var(--d-text); }
.section-dark .section-lead { color: var(--d-muted); }
.section-dark .section-head h2 { color: var(--d-text); }
.section-dark .kicker { color: var(--blue); }
.section-dark .kicker::before { background: var(--blue); }

/* ── Cards (light context) ────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--l-line2);
  border-radius: var(--r-lg);
  padding: var(--s8);
  box-shadow: var(--sh-sm);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--sh-md); transform: translateY(-1px); }
.card h3 { color: var(--l-text); margin-bottom: var(--s3); }
.card p { color: var(--l-muted); margin: 0 0 var(--s3); line-height: 1.65; }
.card p:last-child { margin-bottom: 0; }

/* Cards in pale sections */
.section-pale .card {
  box-shadow: var(--sh-sm), 0 0 0 1px rgba(6,8,15,.03);
}

/* ── Cards (dark context) ─────────────────────────────────── */
.card-dark {
  background: var(--ink-2);
  border: 1px solid var(--d-line);
  border-radius: var(--r-lg);
  padding: var(--s8);
}
.card-dark h3 { color: var(--d-text); margin-bottom: var(--s3); }
.card-dark p { color: var(--d-muted); margin: 0 0 var(--s3); line-height: 1.65; }
.card-dark p:last-child { margin-bottom: 0; }

/* ── Step cards ───────────────────────────────────────────── */
.step {
  background: var(--white);
  border: 1px solid var(--l-line2);
  border-radius: var(--r-lg);
  padding: var(--s8);
  box-shadow: var(--sh-sm);
  position: relative;
}
.step-num {
  font-size: clamp(3rem, 4.5vw, 4.5rem);
  font-weight: 800;
  color: var(--pale-2);
  line-height: 1; letter-spacing: -.05em;
  margin-bottom: var(--s4);
  user-select: none;
}
.step h3 { color: var(--l-text); margin-bottom: var(--s3); }
.step p  { color: var(--l-muted); margin: 0; line-height: 1.65; }
.step-action { margin-top: var(--s4); }

/* ── Feature icon ─────────────────────────────────────────── */
.feature-icon {
  width: 44px; height: 44px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: var(--s4);
  flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; }

/* ── Person / Team ─────────────────────────────────────────── */
.person { display: flex; flex-direction: column; }
.avatar {
  width: 100%; aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--d-line);
  margin-bottom: var(--s4);
}
.avatar-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.person h3 { color: var(--d-text); margin-bottom: 4px; }
.person-title {
  font-size: var(--fs-sm); color: var(--blue);
  font-weight: 500; margin-bottom: var(--s3);
}
.person-bio {
  font-size: var(--fs-sm); color: var(--d-muted);
  line-height: 1.65; margin: 0;
}

/* ── CTA Strip ────────────────────────────────────────────── */
.cta-strip {
  display: flex; align-items: center;
  justify-content: space-between; gap: var(--s6);
  background: var(--ink-2);
  border: 1px solid var(--d-line);
  border-radius: var(--r-lg);
  padding: var(--s6) var(--s8);
  margin-top: var(--s10);
}
.cta-strip-left { }
.cta-strip-title { font-weight: 700; color: var(--d-text); font-size: var(--fs-base); }
.cta-strip-sub { font-size: var(--fs-sm); color: var(--d-muted); margin-top: 2px; }
.cta-strip-actions { display: flex; gap: var(--s3); flex-shrink: 0; }

/* Light variant */
.cta-strip-light {
  background: var(--off-white);
  border-color: var(--l-line2);
}
.cta-strip-light .cta-strip-title { color: var(--l-text); }
.cta-strip-light .cta-strip-sub { color: var(--l-muted); }

/* ── Forms ─────────────────────────────────────────────────── */
label { display: block; margin-bottom: var(--s4); }
label span {
  display: block; font-size: var(--fs-sm); font-weight: 600;
  color: var(--l-muted); letter-spacing: .01em; margin-bottom: var(--s2);
}
input, textarea {
  width: 100%;
  padding: 11px var(--s4);
  border: 1.5px solid var(--l-line);
  border-radius: var(--r);
  background: var(--white);
  color: var(--l-text);
  font-family: var(--sans); font-size: var(--fs-base);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: var(--l-faint); }
input:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-dim);
}
textarea { resize: vertical; }
.form-row { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s5); }
.form-note {
  font-size: var(--fs-xs); color: var(--l-faint);
  line-height: 1.5; margin: var(--s3) 0 var(--s4);
}

/* Contact section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12); align-items: start;
}
.contact-left h2 { margin-bottom: var(--s4); }
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s6) 0; }
.contact-next {
  font-size: var(--fs-sm); color: var(--l-muted);
  line-height: 1.7; margin: 0; max-width: 44ch;
}
.contact-detail { font-size: var(--fs-xs); color: var(--l-faint); margin-top: var(--s4); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--l-line2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.contact-form-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
}
.contact-form-body { padding: var(--s8); }
.contact-form label { display: block; margin-bottom: var(--s4); }
.contact-form label span {
  display: block; font-size: var(--fs-sm); font-weight: 600;
  color: var(--l-muted); letter-spacing: .01em; margin-bottom: var(--s2);
}

/* ── Blog cards ────────────────────────────────────────────── */
.blog-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--l-line2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: box-shadow .2s, transform .18s;
}
.blog-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.blog-card-media { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--ink-2); }
.blog-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.88) contrast(1.04);
  transition: transform .3s;
}
.blog-card:hover .blog-card-media img { transform: scale(1.03); }
.blog-card-body {
  padding: var(--s6); display: flex; flex-direction: column; flex: 1; gap: var(--s2);
}
.blog-card .kicker {
  font-family: var(--mono); font-size: var(--fs-xs);
  font-weight: 400; letter-spacing: .04em;
  color: var(--l-faint);
  text-transform: none;
}
.blog-card .kicker::before { display: none; }
.blog-card h3 { font-size: var(--fs-xl); color: var(--l-text); margin: 0; }
.blog-card p { font-size: var(--fs-sm); color: var(--l-muted); line-height: 1.6; margin: 0; }
.blog-card .btn { margin-top: auto; align-self: flex-start; }

/* ── Post ──────────────────────────────────────────────────── */
.post { max-width: 780px; }
.post-top {
  display: flex; align-items: center;
  justify-content: space-between; gap: var(--s3);
  margin-bottom: var(--s6);
}
.post-back { font-size: var(--fs-sm); font-weight: 600; color: var(--l-muted); }
.post-back:hover { color: var(--l-text); }
.post-meta { font-family: var(--mono); font-size: var(--fs-xs); color: var(--l-faint); }
.post-title { font-size: var(--fs-4xl); color: var(--l-text); margin: var(--s2) 0 var(--s6); }
.post-media {
  width: 100%; aspect-ratio: 16/9;
  border-radius: var(--r-xl);
  overflow: hidden; background: var(--ink-2);
  border: 1px solid var(--l-line2);
  margin-bottom: var(--s8);
}
.post-media-img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88); }
.post-content { font-size: var(--fs-base); color: var(--l-muted); line-height: 1.8; }
.post-content p { margin: 0 0 var(--s5); }
.post-content h2 {
  font-size: var(--fs-3xl); color: var(--l-text);
  margin: var(--s10) 0 var(--s4);
  font-weight: 800; letter-spacing: -.02em;
}
.post-content strong { color: var(--l-text); }
.post-content ul { padding-left: var(--s6); margin: 0 0 var(--s5); }
.post-content li { margin: var(--s2) 0; }
.post-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.post-content a:hover { color: var(--blue-bright); }

/* ── Mogul CRM ─────────────────────────────────────────────── */
.mogul-hero-right {
  display: flex; align-items: center; justify-content: flex-end;
}
.mogul-hero-logo {
  width: 100%; max-width: 540px; height: auto;
  object-fit: contain; object-position: center right;
  filter: drop-shadow(0 8px 32px rgba(76,191,245,.18));
}

/* ── Carousel ──────────────────────────────────────────────── */
.carousel { display: grid; gap: var(--s4); padding: var(--s6); }
.carousel-viewport {
  width: 100%; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--d-line);
  background: var(--ink);
}
.carousel-track { display: flex; transition: transform .5s ease; will-change: transform; }
.carousel-slide { min-width: 100%; margin: 0; padding: 0; }
.carousel-slide img { width: 100%; height: auto; display: block; object-fit: contain; }
.carousel-controls { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s3); }
.carousel-btn {
  appearance: none; border: 1px solid var(--d-line); background: var(--ink-2);
  color: var(--d-text); border-radius: var(--r); padding: var(--s2) var(--s3);
  font-weight: 700; cursor: pointer; transition: background .15s;
}
.carousel-btn:hover { background: var(--ink-3); }
.carousel-btn:focus { outline: none; box-shadow: 0 0 0 2px var(--blue); }
.carousel-dots { display: flex; justify-content: center; gap: var(--s2); }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 999px;
  border: 1px solid var(--d-line); background: rgba(232,236,248,.10);
  padding: 0; cursor: pointer; transition: background .15s;
}
.carousel-dot[aria-current="true"] { background: var(--blue); border-color: var(--blue); }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }

/* ── Services pills ─────────────────────────────────────────── */
.pills { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.pill {
  font-size: var(--fs-xs); font-weight: 500;
  padding: var(--s1) var(--s3); border-radius: 999px;
  border: 1px solid var(--l-line); color: var(--l-muted); background: var(--off-white);
}
.service-badge {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: var(--s1) var(--s2);
  border-radius: var(--r-sm);
  border: 1px solid var(--blue-border); background: var(--blue-dim);
  color: var(--blue); white-space: nowrap;
}
.service-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3);
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--d-line);
  padding: var(--s10) 0 var(--s8);
}
.footer-inner {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: var(--s6); align-items: center;
  padding-bottom: var(--s6);
  border-bottom: 1px solid var(--d-line);
  margin-bottom: var(--s4);
}
.footer-brand { display: flex; align-items: center; gap: var(--s4); }
.footer-logo { height: 22px; width: auto; }
.footer-mogul-logo { height: 19px; width: auto; opacity: .82; }
.footer-divider { width: 1px; height: 18px; background: var(--d-line); }
.footer-links { display: flex; gap: var(--s5); flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { font-size: var(--fs-sm); font-weight: 500; color: var(--d-muted); transition: color .15s; }
.footer-links a:hover { color: var(--d-text); }
.footer-contact { display: flex; gap: var(--s5); flex-wrap: wrap; justify-content: flex-end; }
.footer-contact a { font-size: var(--fs-sm); font-weight: 600; color: var(--d-muted); transition: color .15s; }
.footer-contact a:hover { color: var(--blue); }
.footer-copy { font-size: var(--fs-xs); color: var(--d-faint); margin: 0; }
.footer-slogan { font-size: var(--fs-xs); color: var(--d-faint); font-style: italic; margin: 0 0 0 var(--s4); }

/* ── Sticky CTA ─────────────────────────────────────────────── */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: var(--s3) 0;
  background: rgba(6,8,15,.97);
  border-top: 1px solid var(--d-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .22s ease, opacity .22s ease;
}
.sticky-cta.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.sticky-cta-title { font-size: var(--fs-base); font-weight: 700; color: var(--d-text); }
.sticky-cta-sub { font-size: var(--fs-xs); color: var(--d-faint); margin-top: 2px; }
.sticky-cta-actions { display: flex; gap: var(--s2); }

@keyframes ctaPulse {
  0%   { box-shadow: 0 2px 8px var(--blue-glow); }
  55%  { box-shadow: 0 4px 20px rgba(76,191,245,.5); }
  100% { box-shadow: 0 2px 8px var(--blue-glow); }
}
.sticky-cta .btn-primary { animation: ctaPulse 2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .sticky-cta .btn-primary { animation: none; } }

/* ── Hero compact (secondary pages) ─────────────────────────── */
.hero-compact {
  background: var(--ink);
  color: var(--d-text);
  padding: var(--s16) 0 var(--s12);
  position: relative; overflow: hidden;
}
.hero-compact::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 500px at 12% 70%, rgba(76,191,245,.06), transparent 55%);
  pointer-events: none;
}
.hero-compact .container { position: relative; z-index: 1; }
.hero-compact h1 { color: var(--d-text); margin-bottom: var(--s4); }
.hero-compact .lead { color: var(--d-muted); }
.hero-compact .hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s8); }

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 980px) {
  body { padding-bottom: 90px; }

  .section, .section-pale, .section-dark { padding: var(--s12) 0; }
  .hero { padding: var(--s12) 0 var(--s10); }
  .hero-compact { padding: var(--s10) 0 var(--s8); }

  h1 { font-size: clamp(1.875rem, 7.5vw, 3rem); letter-spacing: -.02em; }
  h2 { font-size: clamp(1.5rem, 5.5vw, 2.4rem); }
  .post-title { font-size: clamp(1.5rem, 5.5vw, 2.4rem); }
  .lead { font-size: var(--fs-base); }
  .section-lead { font-size: var(--fs-base); }

  .hero-inner { grid-template-columns: 1fr; gap: var(--s8); }
  .hero-form-card, .hero-form-card-body { max-width: 500px; }

  .cols-3, .cols-2 { grid-template-columns: 1fr; gap: var(--s4); }
  .card, .card-dark, .step { padding: var(--s6); }
  .hero-form-card-body { padding: var(--s6); }

  .contact-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .contact-form-body { padding: var(--s6); }
  .contact-next { max-width: none; }

  .section-head { margin-bottom: var(--s8); }
  .section-head-row { align-items: center; }

  .cta-strip { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-strip-actions { justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: var(--s4); }
  .footer-brand { justify-content: center; }
  .footer-links, .footer-contact { justify-content: center; }

  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 52px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    padding: var(--s4) var(--s5);
    background: rgba(6,8,15,.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--d-line);
    gap: var(--s1); z-index: 1200;
    display: none;
  }
  .site-nav a { padding: var(--s3) var(--s4); width: 100%; }
  .site-nav a.nav-crm { text-align: center; margin-top: var(--s2); }
  .site-nav.is-open { display: flex; }

  .sticky-cta-inner { flex-direction: column; align-items: stretch; gap: var(--s2); }
  .sticky-cta-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
  .sticky-cta-actions .btn { width: 100%; justify-content: center; }

  .blog-card h3, .blog-card p { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .blog-card h3 { -webkit-line-clamp: 2; }
  .blog-card p { -webkit-line-clamp: 3; }

  .mogul-hero-right { justify-content: center; }
  .mogul-hero-logo { max-width: 320px; }

  .carousel-controls {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "dots dots" "prev next";
  }
  .carousel-controls [data-carousel-prev] { grid-area: prev; }
  .carousel-controls [data-carousel-next] { grid-area: next; }
  .carousel-controls [data-carousel-dots] { grid-area: dots; }

  .post { max-width: none; }
}
