/* ═══════════════════════════════════════════════════════════════
   Digiably — Design System
   Inspired by digiabletech.com: clean, warm, conversion-focused.
   Fonts: Space Grotesk (display) · Fraunces (serif) · DM Sans (body)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #faf7f2;              /* warm paper white */
  --bg-soft: #f4efe7;
  --card: #ffffff;
  --ink: #1c1917;             /* near-black warm */
  --ink-soft: #57534e;
  --muted: #78716c;
  --border: #e7e0d5;
  --brand: #c8702a;           /* primary amber */
  --brand-deep: #a05520;
  --brand-bright: #fe6e00;    /* hot accent */
  --brand-soft: #fdf0e0;      /* amber wash */
  --brand-grad: linear-gradient(120deg, #fe6e00 0%, #e8a04a 55%, #c8702a 100%);
  --green: #1c7c54;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(28,25,23,.05), 0 1px 3px rgba(28,25,23,.06);
  --shadow: 0 4px 16px rgba(28,25,23,.07), 0 1px 3px rgba(28,25,23,.05);
  --shadow-lg: 0 18px 45px rgba(28,25,23,.12);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-card { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
.display { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2.title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3.card-title { font-size: 1.22rem; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand-grad); border-radius: 2px; }
.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 500; }
.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before { display: none; }
.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--brand-grad); border-radius: 2px; }

.section-head { max-width: 760px; margin-bottom: 52px; }
.center.section-head { margin-left: auto; margin-right: auto; }
.section-head p.lead { margin-top: 14px; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 6px 20px rgba(254,110,0,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(254,110,0,.36); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-1px); }
.btn-soft { background: var(--brand-soft); color: var(--brand-deep); }
.btn-soft:hover { background: #fbe3c6; transform: translateY(-1px); }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand-grad);
  display: grid; place-items: center;
  color: #fff; font-size: 1.15rem; font-weight: 700;
  box-shadow: 0 4px 12px rgba(254,110,0,.3);
}
.logo b { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-display); font-size: 0.92rem; font-weight: 500;
  color: var(--ink-soft); position: relative; padding: 4px 0;
  transition: color .18s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--brand-grad); border-radius: 2px; transition: width .22s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: none; width: 42px; height: 42px; border-radius: 10px; position: relative; }
.nav-toggle span {
  position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--card); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 14px 24px 22px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s ease, opacity .2s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-links a:last-of-type { border-bottom: none; }
  .nav-cta { margin: 16px 0 4px; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero { position: relative; padding: 90px 0 96px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 60% at 12% 8%, rgba(254,110,0,.10), transparent 60%),
    radial-gradient(45% 55% at 92% 30%, rgba(232,160,74,.10), transparent 60%),
    radial-gradient(60% 50% at 50% 110%, rgba(200,112,42,.07), transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero h1 { margin: 18px 0 22px; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; color: var(--muted); font-size: .9rem; }
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--bg);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #fff;
  margin-left: -10px;
}
.avatar-stack span:first-child { margin-left: 0; }
.hero-proof .stars { color: #f5a623; letter-spacing: 2px; font-size: .95rem; }

/* Hero visual card */
.hero-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}
.hero-card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--brand-grad); opacity: .35; filter: blur(26px);
}
.hc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.hc-tag {
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--brand-soft); color: var(--brand-deep);
  padding: 6px 12px; border-radius: 999px;
}
.hc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(28,124,84,.15); }
.kpi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.kpi {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
}
.kpi b { font-family: var(--font-display); font-size: 1.5rem; display: block; line-height: 1.15; }
.kpi b em { font-style: normal; color: var(--brand-bright); font-weight: 700; }
.kpi span { font-size: .8rem; color: var(--muted); }
.hc-chart { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px 12px; }
.hc-chart .bars { display: flex; align-items: flex-end; gap: 9px; height: 92px; margin-top: 10px; }
.hc-chart .bars i {
  flex: 1; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--brand-bright), var(--brand));
  opacity: .85; transition: opacity .2s;
  min-height: 6px;
}
.hc-chart .bars i:hover { opacity: 1; }
.hc-chart label { font-size: .78rem; color: var(--muted); display: block; text-align: center; margin-top: 8px; }

/* Partner strip */
.partners { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--card); padding: 26px 0; }
.partners-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.partners-label { font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.partner-logos { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; }
.partner-logos span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  color: #a8a29e; transition: color .2s; display: inline-flex; align-items: center; gap: 8px;
}
.partner-logos span:hover { color: var(--ink); }

/* ── Cards / grids ──────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .hero-inner { grid-template-columns: 1fr; } .hero { padding: 60px 0 70px; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(200,112,42,.35); }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; margin-bottom: 20px;
  background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center; font-size: 1.5rem;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.card:hover .card-icon { background: var(--brand-grad); color: #fff; transform: scale(1.06) rotate(-3deg); }
.card p { color: var(--ink-soft); font-size: .97rem; margin: 10px 0 18px; }
.card-link {
  font-family: var(--font-display); font-size: .88rem; font-weight: 600; color: var(--brand-deep);
  display: inline-flex; align-items: center; gap: 7px;
}
.card-link svg { width: 15px; height: 15px; transition: transform .18s; }
.card:hover .card-link svg { transform: translateX(4px); }

/* ── Feature split (big service block) ──────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .split-visual { order: 2; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.rev .split-visual { order: 0; } }
.split h2 { margin-bottom: 18px; }
.split .lead { margin-bottom: 26px; }
.checklist li {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px dashed var(--border);
  font-size: .98rem; color: var(--ink-soft);
}
.checklist li:last-child { border-bottom: none; }
.checklist svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--green); margin-top: 3px; }

.split-visual { position: relative; }
.result-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 30px; position: relative;
}
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.result-item { background: var(--bg-soft); border-radius: var(--radius); padding: 18px; }
.result-item b { font-family: var(--font-display); font-size: 1.9rem; display: block; line-height: 1.1; }
.result-item b em { font-style: normal; color: var(--brand-bright); }
.result-item span { font-size: .83rem; color: var(--muted); }
.result-note { margin-top: 16px; font-size: .78rem; color: var(--muted); }

/* ── Stats band ─────────────────────────────────────────────── */
.stats { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 80% at 90% 0%, rgba(254,110,0,.22), transparent 60%),
              radial-gradient(40% 80% at 8% 100%, rgba(232,160,74,.15), transparent 60%);
}
.stats-inner { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 70px 0; }
@media (max-width: 920px) { .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; } }
.stat b { font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 700; display: block; line-height: 1.05; }
.stat b em { font-style: normal; color: #f5a623; }
.stat span { color: #d6d3d1; font-size: .92rem; display: block; margin-top: 8px; }

/* ── Steps ──────────────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: relative; counter-increment: step; transition: transform .22s ease, box-shadow .22s ease; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: 2.4rem;
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: block; margin-bottom: 14px; line-height: 1;
}
.step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { font-size: .94rem; color: var(--ink-soft); }

/* ── Testimonials ───────────────────────────────────────────── */
.t-slider { position: relative; overflow: hidden; }
.t-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.t-slide { flex: 0 0 100%; padding: 4px; }
.t-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; }
.t-stars { color: #f5a623; letter-spacing: 3px; margin-bottom: 18px; font-size: 1.05rem; }
.t-card blockquote { font-size: 1.18rem; line-height: 1.7; color: var(--ink); font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
.t-card blockquote::before { content: "“"; color: var(--brand); font-family: var(--font-serif); font-size: 3.2rem; line-height: 0; vertical-align: -18px; margin-right: 4px; display: inline-block; }
.t-meta { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.t-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-display); }
.t-meta b { display: block; font-family: var(--font-display); }
.t-meta span { font-size: .85rem; color: var(--muted); }
.t-controls { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.t-controls button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--card);
  display: grid; place-items: center; transition: all .2s; color: var(--ink);
}
.t-controls button:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); transform: translateY(-2px); }
.t-controls button svg { width: 18px; height: 18px; }
.t-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.t-dots button { width: 9px; height: 9px; border-radius: 999px; border: none; background: #d6cfc3; transition: all .25s; }
.t-dots button.active { width: 26px; background: var(--brand-grad); }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); margin-bottom: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: rgba(200,112,42,.4); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  background: none; border: none; padding: 20px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink);
  text-align: left;
}
.faq-q .icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand-deep); transition: transform .28s ease, background .2s; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--brand-grad); color: #fff; }
.faq-q .icon svg { width: 14px; height: 14px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--ink-soft); font-size: .97rem; }

/* ── CTA band ───────────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; }
.cta-card {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: 64px 56px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 120% at 85% 0%, rgba(254,110,0,.28), transparent 60%),
    radial-gradient(45% 100% at 5% 110%, rgba(232,160,74,.16), transparent 60%);
}
.cta-card > * { position: relative; }
.cta-card h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 14px; }
.cta-card p { color: #d6d3d1; max-width: 520px; margin-bottom: 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-note { margin-top: 22px; font-size: .84rem; color: #a8a29e; display: flex; align-items: center; gap: 8px; }
.cta-note svg { width: 15px; height: 15px; color: #f5a623; }

/* ── Page hero (subpages) ───────────────────────────────────── */
.page-hero { padding: 72px 0 60px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 16px 0 18px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: .86rem; color: var(--muted); font-family: var(--font-display); }
.breadcrumb a { color: var(--brand-deep); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb svg { width: 13px; height: 13px; }

/* ── Portfolio ──────────────────────────────────────────────── */
.p-item { overflow: hidden; display: flex; flex-direction: column; }
.p-cover {
  height: 190px; border-radius: var(--radius); margin-bottom: 22px; position: relative;
  display: grid; place-items: center; overflow: hidden;
}
.p-cover .p-emblem {
  font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: #fff; letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.p-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.92); color: var(--ink);
  font-family: var(--font-display); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.p-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.p-tags span {
  font-size: .76rem; font-family: var(--font-display); font-weight: 600;
  background: var(--brand-soft); color: var(--brand-deep);
  padding: 4px 11px; border-radius: 999px;
}
.p-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
.p-metrics div { background: var(--bg-soft); border-radius: 10px; padding: 12px 10px; text-align: center; }
.p-metrics b { font-family: var(--font-display); font-size: 1.05rem; display: block; color: var(--brand-deep); }
.p-metrics span { font-size: .72rem; color: var(--muted); }

/* ── Blog ───────────────────────────────────────────────────── */
.post-card { display: flex; flex-direction: column; }
.post-cover { height: 170px; border-radius: var(--radius); margin-bottom: 20px; }
.post-cat {
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand-deep);
}
.post-card h3 { margin: 10px 0 10px; font-size: 1.2rem; line-height: 1.3; }
.post-card h3 a:hover { color: var(--brand-deep); }
.post-card p { color: var(--ink-soft); font-size: .94rem; margin-bottom: 16px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); }
.post-meta svg { width: 14px; height: 14px; }

.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 1.7rem; margin: 40px 0 14px; }
.article h3 { font-size: 1.3rem; margin: 32px 0 12px; }
.article p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.04rem; }
.article ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; color: var(--ink-soft); }
.article ul li { margin-bottom: 8px; }
.article blockquote { border-left: 3px solid var(--brand); padding: 6px 0 6px 22px; margin: 26px 0; font-family: var(--font-serif); font-style: italic; font-size: 1.18rem; color: var(--ink); }
.article .callout { background: var(--brand-soft); border-radius: var(--radius); padding: 20px 24px; margin: 26px 0; color: var(--brand-deep); font-size: .98rem; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .86rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: 12px;
  background: var(--bg); font-family: inherit; font-size: .97rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(254,110,0,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 16px; display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.form-success {
  display: none; background: #e9f7f0; border: 1px solid #b8e4cf; color: var(--green);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 22px; font-size: .95rem;
}
.form-success.show { display: block; animation: fadeUp .35s ease; }

/* ── Contact layout ─────────────────────────────────────────── */
.contact-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Contact info cards ─────────────────────────────────────── */
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; }
.info-card .card-icon { margin-bottom: 0; flex-shrink: 0; }
.info-card b { font-family: var(--font-display); display: block; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--ink-soft); font-size: .93rem; }
.info-card a:hover { color: var(--brand-deep); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--ink); color: #d6d3d1; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer .logo b { -webkit-text-fill-color: initial; background: none; color: #f5a623; }
.footer-about p { font-size: .92rem; color: #a8a29e; max-width: 320px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: #d6d3d1; transition: background .18s, color .18s, transform .18s;
}
.footer-social a:hover { background: var(--brand-grad, linear-gradient(135deg,#c8702a,#e89b3c)); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.footer h4 { color: #fff; font-family: var(--font-display); font-size: .95rem; margin-bottom: 18px; letter-spacing: .04em; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { color: #a8a29e; font-size: .93rem; transition: color .18s, padding-left .18s; }
.footer ul a:hover { color: #f5a623; padding-left: 5px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; color: #a8a29e; font-size: .93rem; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: #f5a623; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .83rem; color: #78716c; }
.footer-bottom a:hover { color: #f5a623; }
.footer-bottom .legal-links { display: flex; gap: 22px; }

/* ═══════════════════════════════════════════════════════════════
   Core positioning sections (Paid Ads · AI Content · Automation)
   ═══════════════════════════════════════════════════════════════ */
.core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 920px) { .core-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .core-grid { grid-template-columns: 1fr; } }

.core-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; overflow: hidden; color: inherit;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.core-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-grad); }
.core-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(200,112,42,.35); }
.core-card h3 { font-family: var(--font-display); font-size: 1.28rem; margin: 18px 0 10px; }
.core-card > p { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; flex: 1; }
.core-card .card-icon { margin-bottom: 0; }
.core-card .card-link { margin-top: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.chips span {
  font-family: var(--font-display); font-size: .76rem; font-weight: 600;
  background: var(--bg-soft); color: var(--ink-soft); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 999px;
}
.chips.center { justify-content: center; }

.flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.flow-step {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 20px; font-family: var(--font-display); font-weight: 600;
  font-size: .92rem; color: var(--ink); text-align: center;
}
.flow-step.flow-sm {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 14px; color: var(--brand-deep); background: var(--brand-soft); border-color: rgba(200,112,42,.22);
}
.flow-arrow { color: var(--brand-bright); font-size: 1.25rem; font-weight: 700; line-height: 1; }
@media (max-width: 600px) {
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
}

.why-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }

/* ── Reveal animations ──────────────────────────────────────── */
/* Only hide .reveal content when JS is active — content stays
   visible if JS is disabled or fails to load. */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ── Scroll top ─────────────────────────────────────────────── */
#backTop {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  border: none; background: var(--ink); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .25s, transform .25s, background .2s;
}
#backTop.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
#backTop:hover { background: var(--brand-deep); }
#backTop svg { width: 19px; height: 19px; }

/* ── Misc ───────────────────────────────────────────────────── */
::selection { background: rgba(254,110,0,.22); }
.grad-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-soft); color: var(--brand-deep);
  border: 1px solid rgba(200,112,42,.25);
  font-family: var(--font-display); font-weight: 600; font-size: .84rem;
  padding: 9px 18px; border-radius: 999px;
}
.page-hero .lead { margin-bottom: 6px; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 20px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .mb-5 { margin-bottom: 20px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
