:root {
  --ink: #0f1222;
  --ink-2: #3c4058;
  --muted: #6b7088;
  --line: #e6e7ef;
  --bg: #f7f7fb;
  --card: #fff;
  --brand: #4b2bd6;
  --brand-2: #6d4dff;
  --brand-soft: #efebff;
  --accent: #ff6b3d;
  --green: #12a150; --green-s: #e3f6ea;
  --amber: #b86e00; --amber-s: #fff2db;
  --red: #d33a3a; --red-s: #fde8e8;
  --blue: #2563eb; --blue-s: #e5edff;
  --teal: #0e8f8f; --teal-s: #dff5f4;
  --violet: #7a3fd6; --violet-s: #f1e8ff;
  --grey: #5b6075; --grey-s: #eef0f4;
  --gutter: clamp(16px, 3vw, 80px);
  --space: clamp(16px, 1.5vw, 32px);
  --r: 14px;
  --shadow: 0 1px 2px rgb(15 18 34 / .04), 0 6px 24px rgb(15 18 34 / .06);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); line-height: 1.55; font-size: 15px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
h3, .h3 { font-size: 1.12rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
.h3 { margin: 32px 0 14px; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
img, video { height: auto; }
iframe, video { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.boot { display: grid; place-items: center; min-height: 100vh; color: var(--muted); }

.shell { width: calc(100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(36px, 4vw, 88px) 0; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.right { text-align: right; }
.muted { color: var(--muted); }
.fine { font-size: 12.5px; color: var(--muted); }
.block { display: block; }
.row { display: flex; align-items: center; }
.row.gap { gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; gap: 10px; }
.row.center { justify-content: center; }
.grow { flex: 1; min-width: 0; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 62ch; }
.pre { white-space: pre-wrap; }
.good { color: var(--green); }
.overdue { color: var(--red); font-weight: 600; }
.ic { width: 18px; height: 18px; flex: none; }

/* buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 10px 16px; font-weight: 600; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: transform .1s, background .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgb(75 43 214 / .28); }
.btn.primary:hover { background: var(--brand-2); }
.btn.ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn.danger { background: var(--red); color: #fff; }
.btn.danger-ghost { background: #fff; border-color: #f3c4c4; color: var(--red); }
.btn.sm { padding: 6px 12px; font-size: 13.5px; border-radius: 8px; }
.btn.lg { padding: 13px 22px; font-size: 1rem; }
.btn.block { display: flex; width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); position: relative; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.back { margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: none !important; }
.chip small { color: var(--muted); font-weight: 500; }
.chip.on, .chip:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge.green { background: var(--green-s); color: var(--green); }
.badge.amber { background: var(--amber-s); color: var(--amber); }
.badge.red { background: var(--red-s); color: var(--red); }
.badge.blue { background: var(--blue-s); color: var(--blue); }
.badge.teal { background: var(--teal-s); color: var(--teal); }
.badge.violet { background: var(--violet-s); color: var(--violet); }
.badge.grey { background: var(--grey-s); color: var(--grey); }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.cards2, .cards3, .cards4 { display: grid; gap: 18px; }
.cards2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cards3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.cards4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.card-head h3 { margin: 0; }
section.card + section.card { margin-top: 18px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.page-head { margin-bottom: 28px; }
.page-head.center .lead { margin-inline: auto; }
.band { background: #fff; border-block: 1px solid var(--line); }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; display: grid; justify-items: center; gap: 6px; }
.empty .ic { width: 28px; height: 28px; color: var(--line); }
.empty p { margin: 0 0 6px; }
.hint { background: var(--brand-soft); color: var(--ink-2); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; display: flex; gap: 8px; align-items: flex-start; }
.hint .ic { color: var(--brand); margin-top: 2px; }

/* header */
.topbar { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.1rem; text-decoration: none !important; }
.logo small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-top: -2px; }
.logo span { line-height: 1.15; }
.logo-mark { width: 34px; height: 34px; color: var(--brand); }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a { color: var(--ink-2); font-weight: 600; padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.nav-links a:hover, .nav-links a.on { background: var(--brand-soft); color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }
.count { position: absolute; top: -6px; right: -6px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.count[hidden] { display: none; }

/* hero */
.hero { background: radial-gradient(900px 400px at 85% 10%, #e6defd 0, transparent 60%), radial-gradient(600px 300px at 0% 100%, #ffe6dc 0, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 72px 0 56px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ticks.col { flex-direction: column; gap: 9px; margin: 14px 0 18px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); }
.ticks .ic { color: var(--green); width: 17px; margin-top: 2px; }
/* Card general transition */
.card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
@media (hover: hover) {
  .card:hover {
    box-shadow: 0 14px 30px -8px rgba(15, 18, 34, 0.12), 0 0 0 1px rgba(75, 43, 214, 0.1);
  }
}

.hero-photo-card {
  position: relative;
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 22px;
  background: #111428;
}
.hero-card { padding: 22px; width: 100%; position: relative; }
.hero-float {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 10px 24px -6px rgba(15, 18, 34, 0.14);
  pointer-events: none;
  animation: floatSlow 4s ease-in-out infinite alternate;
}
.hero-float.float-top { top: -14px; right: -8px; animation-delay: 0s; }
.hero-float.float-bottom { bottom: -16px; left: -10px; animation-delay: 2s; }
.hero-float .h-spark { color: var(--brand); display: grid; place-items: center; }
.hero-float .h-spark .ic { width: 15px; height: 15px; }

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}
@keyframes beaconPulse {
  0% { box-shadow: 0 0 0 0 rgba(18, 161, 80, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(18, 161, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 161, 80, 0); }
}

.hc-head { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 14px; }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: beaconPulse 2.2s infinite; }
.hc-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hc-metrics div { background: var(--bg); border-radius: 10px; padding: 10px 12px; transition: transform 0.2s ease, border-color 0.2s ease; border: 1px solid transparent; }
.hc-metrics div:hover { transform: translateY(-2px); border-color: rgba(75, 43, 214, 0.2); background: #fff; }
.hc-metrics small { color: var(--muted); font-size: 12px; display: block; }
.hc-metrics b { font-size: 1.3rem; }
.hc-chart { display: flex; align-items: end; gap: 6px; height: 120px; margin: 18px 0; }
.hc-chart i { flex: 1; background: linear-gradient(180deg, var(--brand-2), var(--brand)); border-radius: 6px 6px 2px 2px; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease; cursor: pointer; }
.hc-chart i:hover { transform: scaleY(1.1); filter: brightness(1.25); }
.hc-row { display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.hc-row span { display: flex; gap: 6px; align-items: center; }
.hc-row .ic { color: var(--green); width: 16px; }

/* partners strip */
.partner-strip {
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.partner-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
}
.partner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
}
.partner-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.partner-item:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: 0 8px 18px -4px rgba(75, 43, 214, 0.12);
}
.partner-ic {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand);
}
.partner-ic .ic { width: 15px; height: 15px; }
.partner-text b { display: block; font-size: 12.5px; line-height: 1.2; }
.partner-text small { display: block; font-size: 10.5px; color: var(--muted); }

/* stats cards */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -10px; }
.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 12px 28px -6px rgba(75, 43, 214, 0.14);
}
.stat-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.stat-ic .ic { width: 22px; height: 22px; }
.stat-card:hover .stat-ic {
  transform: scale(1.1) rotate(5deg);
  background: var(--brand);
  color: #fff;
}
.stat-card b { display: block; font-size: 1.55rem; color: var(--brand); line-height: 1.15; }
.stat-card span { color: var(--muted); font-size: 13px; font-weight: 500; }

/* service cards with illustrated thumbnail */
.svc {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none !important;
  color: var(--ink);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.svc:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: 0 18px 36px -10px rgba(75, 43, 214, 0.18), 0 0 0 1px rgba(75, 43, 214, 0.16);
}
.svc-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111428;
}
.svc-thumb svg,
.svc-thumb .svc-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc:hover .svc-thumb svg,
.svc:hover .svc-thumb .svc-img {
  transform: scale(1.06);
}
.svc-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(15, 18, 34, 0.35) 100%);
  pointer-events: none;
}
.svc-cat-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.svc-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.svc-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 0;
  transition: all 0.25s ease;
}
.svc-ic .ic { width: 20px; height: 20px; }
.svc:hover .svc-ic {
  background: var(--brand);
  color: #fff;
  transform: scale(1.05) rotate(3deg);
}
.svc-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 9px;
  border-radius: 999px;
}
.svc h3 {
  font-size: 1.16rem;
  margin: 0 0 8px;
  transition: color 0.2s ease;
}
.svc:hover h3 {
  color: var(--brand);
}
.svc p {
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.5;
  margin: 0 0 16px;
  flex: 1;
}
.svc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.svc-foot small { font-size: 11px; display: block; }
.svc-price b { font-size: 1.15rem; color: var(--ink); }
.svc-arrow {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--muted);
  transition: all 0.25s ease;
}
.svc:hover .svc-arrow {
  transform: translateX(4px);
  background: var(--brand);
  color: #fff;
}
.svc-ic.lg { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.svc-ic.lg .ic { width: 30px; height: 30px; }
.detail-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 22px; }
.detail-head .muted { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* plans */
.plan { position: relative; display: flex; flex-direction: column; transition: transform 0.28s ease, box-shadow 0.28s ease; }
.plan:hover { transform: translateY(-5px); box-shadow: 0 16px 36px -8px rgba(75, 43, 214, 0.16); }
.plan .ticks { flex: 1; }
.plan.pop { border: 2px solid var(--brand); box-shadow: 0 10px 40px rgb(75 43 214 / .15); }
.ribbon { position: absolute; top: -12px; left: 22px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.price { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; }
.price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tiers { margin-top: 26px; }
.toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-top: 10px; }
.toggle button { border: 0; background: none; padding: 8px 16px; border-radius: 9px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: all 0.2s ease; }
.toggle button.on { background: var(--brand); color: #fff; }
.market { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.market-track { position: relative; height: 10px; background: var(--grey-s); border-radius: 5px; }
.market-range { position: absolute; top: 0; bottom: 0; background: #ffd9cb; border-radius: 5px; }
.market-track b { position: absolute; top: -5px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .25); }
.market-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.market-legend span { display: flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.us { background: var(--brand); }
.dot.mk { background: #ffb59c; }
.sources { font-size: 13px; padding-left: 18px; color: var(--muted); }
.faq details { margin-bottom: 10px; padding: 16px 20px; transition: border-color 0.2s ease; }
.faq details:hover { border-color: var(--brand); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* addons & products */
.addon { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; transition: all 0.2s ease; }
.addon:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 8px 20px -4px rgba(75, 43, 214, 0.12); }
.addon p { color: var(--muted); margin: 0; font-size: 14px; }
.addon h4 { margin-bottom: 4px; }
.addon.on { border-color: var(--green); background: #fbfffc; }
.addon-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.addon-foot small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.product { padding: 0; overflow: hidden; transition: transform 0.28s ease, box-shadow 0.28s ease; }
.product:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 16px 36px -8px rgba(75, 43, 214, 0.16); }
.product-body { padding: 14px 16px 16px; display: grid; gap: 10px; }
.product h4 { margin: 0; }
.product s { color: var(--muted); font-size: 13px; }
.art { position: relative; aspect-ratio: 10/7; overflow: hidden; background: #13172e; }
.art svg,
.art .product-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.product:hover .art svg,
.product:hover .art .product-img { transform: scale(1.05); }
.art-kind-tag { position: absolute; left: 10px; top: 10px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }

/* Recent Work Cards with SVG Mockups */
.work-grid { margin-top: 8px; }
.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.work-card:hover {
  transform: translateY(-7px);
  border-color: var(--brand);
  box-shadow: 0 22px 42px -10px rgba(75, 43, 214, 0.2), 0 0 0 1px rgba(75, 43, 214, 0.18);
}
.work-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0815;
}
.work-visual > svg,
.work-visual > .work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card:hover .work-visual > svg,
.work-card:hover .work-visual > .work-img {
  transform: scale(1.04);
}
.work-overlay-badge .ic { width: 14px; height: 14px; }
.work-overlay-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(15, 18, 34, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}
.work-card:hover .work-overlay-badge {
  background: var(--brand);
  transform: translateY(-2px);
}
.work-content {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.work-cat {
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.work-content h3 {
  margin: 0;
  font-size: 1.25rem;
  transition: color 0.2s ease;
}
.work-card:hover .work-content h3 {
  color: var(--brand);
}
.work-content p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 12px;
  flex: 1;
}
.work-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.work-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.work-metric-pill .ic {
  width: 14px;
  height: 14px;
  color: var(--green);
}
.work-card:hover .work-metric-pill {
  border-color: rgba(75, 43, 214, 0.2);
  background: #fff;
}

/* Reviews & Testimonials */
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.quote-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
  box-shadow: 0 14px 32px -8px rgba(75, 43, 214, 0.14);
}
.quote-stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  margin-bottom: 12px;
}
.quote-stars .ic {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.quote-card blockquote {
  margin: 0 0 18px;
  font-size: 1.02rem;
  color: var(--ink-2);
  line-height: 1.55;
  font-style: italic;
  flex: 1;
}
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.quote-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--h) 80% 55%), hsl(calc(var(--h) + 40) 75% 40%));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.quote-who {
  flex: 1;
  min-width: 0;
}
.quote-who b { display: block; font-size: 14.5px; }
.quote-who small { color: var(--muted); font-size: 12.5px; }
.quote-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-s);
  padding: 3px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.quote-verified .ic { width: 12px; height: 12px; }

/* Free Audit Preview Component */
.audit-preview {
  margin-top: 24px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 8px 24px -4px rgba(15, 18, 34, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.audit-preview:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
}
.audit-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13.5px;
}
.audit-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 9px;
  border-radius: 999px;
}
.audit-preview-body {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.audit-scorecard-img { width: 100%; height: auto; border-radius: 10px; display: block; }
.audit-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.audit-flow li { position: relative; display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; }
.audit-flow li:last-child { padding-bottom: 0; }
.audit-flow li:not(:last-child)::before {
  content: ""; position: absolute; left: 13px; top: 28px; bottom: 2px; width: 2px;
  background: linear-gradient(var(--brand), var(--brand-soft)); border-radius: 2px;
}
.af-n {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 800; color: #fff; background: var(--brand); position: relative; z-index: 1;
}
.audit-flow li:last-child .af-n { background: var(--green); }
.audit-flow b { display: block; font-size: 13.5px; line-height: 1.3; }
.audit-flow small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; margin-top: 1px; }
.audit-ring {
  width: 90px;
  height: 90px;
}
.audit-ring svg {
  width: 100%;
  height: 100%;
}
.audit-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}
.audit-checklist div {
  background: var(--bg);
  border-radius: 8px;
  padding: 8px 10px;
}
.audit-checklist small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.audit-checklist b {
  display: block;
  font-size: 13px;
  margin: 1px 0;
}
.audit-checklist span {
  font-size: 11px;
  font-weight: 700;
}

/* About Page Elements */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-studio-art {
  padding: 0;
  overflow: hidden;
  border-radius: var(--r);
  background: #0e0a22;
  box-shadow: 0 16px 36px -10px rgba(15, 18, 34, 0.15);
}
.about-studio-art svg,
.about-studio-art .about-studio-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.pillar-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
}
.pillar-card h3 {
  margin: 12px 0 6px;
  font-size: 1.15rem;
}
.pillar-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.timeline-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tl-card {
  padding: 24px;
  position: relative;
}
.tl-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
}
.tl-year {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: var(--brand);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tl-card h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.tl-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
}
.leader-spotlight {
  display: grid;
  grid-template-columns: clamp(130px, 18vw, 176px) 1fr;
  gap: 28px;
  padding: 32px;
  align-items: center;
}
.leader-avatar {
  width: 100%;
  max-width: 176px;
  aspect-ratio: 1;
  height: auto;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 3rem;
  font-weight: 800;
  box-shadow: 0 10px 24px -6px rgba(75, 43, 214, 0.3);
}
.leader-info h3 {
  margin: 0 0 4px;
  font-size: 1.5rem;
}
.leader-role {
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 12px;
}
.leader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}
.leader-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }


/* forms */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field i { color: var(--red); font-style: normal; }
input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea { resize: vertical; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.lead-form h3 { margin-bottom: 16px; }
.lead-form .fine { text-align: center; margin: 10px 0 0; }
.success-box { text-align: center; padding: 20px 6px; display: grid; justify-items: center; gap: 4px; }
.success-box > .ic { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--green-s); color: var(--green); }
.success-box.big > .ic { width: 72px; height: 72px; padding: 16px; }
.check { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0; font-size: 14px; }
.err { color: var(--red); font-size: 14px; }
.auth { display: grid; place-items: center; }
.auth form { width: min(440px, 100%); }
.demo-box { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); display: grid; gap: 8px; font-size: 13px; }
.demo-box .chip { justify-content: flex-start; }
.contact-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .ic { color: var(--brand); width: 20px; height: 20px; }
.person-card { display: flex; align-items: center; gap: 16px; }
.prose h3 { margin-top: 24px; }

/* cart & checkout */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 22px; align-items: start; }
.cart-line { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line h4 { margin: 2px 0; }
.cart-line .amt { min-width: 90px; text-align: right; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { border: 0; background: var(--bg); width: 30px; cursor: pointer; font-size: 16px; }
.qty span { width: 32px; display: grid; place-items: center; font-weight: 600; }
.coupon { margin-top: 16px; }
.coupon input { max-width: 300px; }
.summary { position: sticky; top: 90px; }
.summary dl, .inv-tot { margin: 0 0 16px; display: grid; gap: 8px; }
.summary dl div, .inv-tot div, .kv div { display: flex; justify-content: space-between; gap: 12px; }
.summary dt, .inv-tot dt { color: var(--muted); }
.summary dd, .inv-tot dd, .kv dd { margin: 0; font-weight: 600; }
.summary .good dt, .summary .good dd { color: var(--green); }
.summary .total, .inv-tot .total { border-top: 1px solid var(--line); padding-top: 10px; font-size: 1.15rem; }
.summary .total dt, .inv-tot .total dt { color: var(--ink); font-weight: 700; }
.summary .hint { margin-bottom: 14px; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 10px; margin-bottom: 14px; }
.pay-opt { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; gap: 8px; align-items: center; cursor: pointer; font-weight: 600; }
.pay-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }

/* tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table.hover tbody tr { cursor: pointer; }
.table.hover tbody tr:hover { background: var(--bg); }
.table input[type=number] { width: 110px; }
.table select { width: auto; padding: 6px 8px; }

/* footer */
.footer { background: var(--ink); color: #c9cbe0; padding: 56px 0 24px; margin-top: 40px; }
.footer .logo { color: #fff; }
.footer .logo small, .footer .muted { color: #9a9db8; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 32px; }
.foot-grid h4 { color: #fff; }
.foot-grid > div > a:not(.logo) { display: block; color: #c9cbe0; margin-bottom: 8px; }
.footer .chip { background: transparent; border-color: #34385a; color: #c9cbe0; }
.footer .fine { color: #8a8daa; border-top: 1px solid #262a46; padding-top: 18px; }
.footer .fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-right: 72px; } /* clear of the WhatsApp button */
.fine-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer .fine-links a { color: #c9cbe0; }
.footer .fine-links a:hover { color: #fff; }
.policy h1 { margin: 22px 0 4px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgb(37 211 102 / .4); z-index: 20; }
.wa-float .ic { width: 28px; height: 28px; }

/* dashboards */
.dash { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.side { background: #fff; border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.is-admin .side { background: var(--ink); border-color: var(--ink); }
.is-admin .side .logo { color: #fff; }
.side nav, .side-foot { display: grid; gap: 2px; }
.side nav { flex: 1; align-content: start; }
.side a, .side button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; text-decoration: none; border: 0; background: none; cursor: pointer; text-align: left; width: 100%; }
.side a:hover, .side button:hover { background: var(--bg); }
.side a.on { background: var(--brand-soft); color: var(--brand); }
.is-admin .side a, .is-admin .side button { color: #b8bbd6; }
.is-admin .side a:hover, .is-admin .side button:hover { background: #1d2140; color: #fff; }
.is-admin .side a.on { background: var(--brand); color: #fff; }
.side em { margin-left: auto; font-style: normal; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 8px; }
.dash-main { min-width: 0; }
.dash-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 12px 28px; background: rgb(247 247 251 / .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.side-toggle { display: none; }
.dash-content { padding: clamp(20px, 2vw, 56px); width: 100%; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.dash-head h1 { font-size: 1.7rem; margin: 0; }
.dash-head p { margin: 4px 0 0; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who b, .who small { display: block; line-height: 1.3; }
.who.lg h1 { margin: 0; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 13px; flex: none; }
.avatar.lg { width: 56px; height: 56px; font-size: 18px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.kpi small { color: var(--muted); font-weight: 600; display: block; }
.kpi b { display: block; font-size: 1.6rem; letter-spacing: -.02em; margin: 4px 0; }
.kpi span { color: var(--muted); font-size: 13px; }
.dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.dash-grid > .card { margin: 0 !important; }
.dash-content > .dash-grid:first-of-type:has(> section.card:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row small { display: block; }
.link-row { color: var(--ink); text-decoration: none !important; }
.link-row:hover b { color: var(--brand); }
.link-row .ic { color: var(--muted); }
.progress-row { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.progress-row:last-child { border-bottom: 0; }
.progress { height: 8px; background: var(--grey-s); border-radius: 4px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 4px; }
.steps { list-style: none; padding: 0; margin: 0; display: flex; gap: 4px; font-size: 12px; color: var(--muted); }
.steps li { flex: 1; border-top: 3px solid var(--line); padding-top: 4px; }
.steps li.done { border-color: var(--green); color: var(--green); font-weight: 600; }
.plan-now { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; background: linear-gradient(120deg, var(--brand-soft), #fff); }
.plan-now h2 { margin: 2px 0 4px; }
.plan-now p { margin: 0; color: var(--ink-2); }
.order + .order { margin-top: 18px; }

/* charts */
.bars { display: flex; align-items: end; gap: 10px; padding-top: 22px; }
.bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bar i { width: 70%; max-width: 54px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); border-radius: 8px 8px 3px 3px; min-height: 2px; }
.bar small { color: var(--muted); font-size: 12px; }
.bar-val { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.funnel { display: grid; gap: 10px; }
.funnel div { display: grid; grid-template-columns: 96px 1fr 40px; align-items: center; gap: 10px; font-size: 13.5px; }
.funnel span { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.funnel i { height: 10px; border-radius: 5px; background: var(--brand); display: block; }
.funnel b { text-align: right; }
.feed { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 14px; }
.feed li { display: grid; gap: 2px; }
.feed .muted { font-size: 12px; }
.st-new { --c: var(--blue); } .st-contacted { --c: var(--violet); } .st-qualified { --c: var(--teal); } .st-proposal { --c: var(--amber); } .st-won { --c: var(--green); } .st-lost { --c: var(--grey); }
.funnel i[class^=st-] { background: var(--c); }

/* CRM */
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px; margin-bottom: 16px; }
.filters input { flex: 1 1 240px; }
.filters select { flex: 0 1 180px; }
.score { display: inline-grid; place-items: center; min-width: 36px; padding: 3px 8px; border-radius: 8px; font-weight: 800; font-size: 13px; }
.score.s0 { background: var(--grey-s); color: var(--grey); }
.score.s1 { background: var(--amber-s); color: var(--amber); }
.score.s2 { background: var(--green-s); color: var(--green); }
.kv { display: grid; gap: 10px; margin: 0 0 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.stagebar { display: flex; margin-bottom: 18px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.stagebar button { flex: 1; border: 0; background: none; padding: 12px 8px; font-weight: 700; cursor: pointer; color: var(--muted); border-right: 1px solid var(--line); }
.stagebar button:last-child { border-right: 0; }
.stagebar button:hover { background: var(--bg); }
.stagebar button.on { background: var(--c); color: #fff; }
.reply { display: grid; gap: 10px; margin-bottom: 16px; }
.reply .row input { width: auto; }
.kanban { display: grid; grid-template-columns: repeat(6, minmax(220px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 10px; }
.kcol { background: #eceef5; border-radius: var(--r); padding: 10px; min-height: 300px; transition: background .15s; }
.kcol.over { background: var(--brand-soft); outline: 2px dashed var(--brand); }
.kcol header { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 10px; border-bottom: 3px solid var(--c); margin-bottom: 10px; font-size: 13.5px; }
.kcol header span { color: var(--muted); font-size: 12px; }
.kcol-body { display: grid; gap: 10px; }
.kcard { background: #fff; border-radius: 10px; padding: 12px; border: 1px solid var(--line); cursor: grab; display: grid; gap: 4px; font-size: 14px; box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.kcard:hover { border-color: var(--brand); }
.kcard.dragging { opacity: .5; }
.kcard small { font-size: 12px; }
.price-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.price-edit label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.price-edit small { font-size: 12px; font-weight: 600; }
.inbox { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 18px; align-items: start; }
.inbox-list { padding: 8px; display: grid; gap: 4px; }
.inbox-list a { display: grid; gap: 4px; padding: 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14px; }
.inbox-list a:hover { background: var(--bg); }
.inbox-list a.on { background: var(--brand-soft); }
.thread .msgs { display: grid; gap: 12px; margin-bottom: 16px; max-height: 460px; overflow-y: auto; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 12px; background: var(--bg); }
.msg p { margin: 4px 0 0; white-space: pre-wrap; }
.msg.staff { background: var(--brand-soft); justify-self: end; }
.ticket-tools { margin-bottom: 12px; }
.ticket-tools select { width: auto; }

/* modal & toasts */
.modal { border: 0; padding: 0; border-radius: 16px; width: min(480px, calc(100% - 32px)); box-shadow: 0 20px 60px rgb(0 0 0 / .25); }
.modal.wide { width: min(720px, calc(100% - 32px)); }
.modal::backdrop { background: rgb(15 18 34 / .45); backdrop-filter: blur(2px); }
.modal-card header, .modal-card footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.modal-card header { border-bottom: 1px solid var(--line); }
.modal-card header h3 { margin: 0; }
.modal-card footer { border-top: 1px solid var(--line); justify-content: flex-end; gap: 10px; }
.modal-body { padding: 20px; max-height: 65vh; overflow-y: auto; }
#toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 100; }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; box-shadow: 0 8px 24px rgb(0 0 0 / .2); animation: up .2s ease; transition: opacity .3s; }
.toast.err { background: var(--red); }
.toast.out { opacity: 0; }
@keyframes up { from { transform: translateY(10px); opacity: 0; } }

/* invoice */
.invoice { max-width: 860px; margin: 18px auto 0; padding: 36px; }
.invoice header { align-items: flex-start; margin-bottom: 26px; }
.invoice header p { margin: 8px 0 0; font-size: 13.5px; }
.invoice .right p { margin: 0; }
.bill-to { margin-bottom: 20px; }
.bill-to p { margin: 4px 0 0; }
.inv-tot { max-width: 320px; margin: 20px 0 20px auto; }

/* responsive */
@media (max-width: 1080px) {
  .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .split, .checkout-grid, .inbox { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 40px; gap: 28px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary { position: static; }
  .menu-btn { display: inline-grid; }
  .hide-sm { display: none; }
  .nav { gap: 12px; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 10px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-actions { margin-left: auto; }
  .dash { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 40; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 40px rgb(0 0 0 / .2); }
  .side.open { transform: none; }
  .side-toggle { display: inline-grid; }
  .dash-top { padding: 10px 16px; }
  .dash-content { padding: 20px 16px; }
  .dash-top .who div { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 36px 0; }
  .grid2 { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .foot-grid { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr; }
  .detail-head { flex-direction: column; }
  .cart-line { flex-direction: column; align-items: flex-start; }
  .stagebar { overflow-x: auto; }
  .stagebar button { flex: 0 0 auto; padding: 10px 14px; }
  .invoice { padding: 20px; }
  .invoice header { flex-direction: column; }
  .msg { max-width: 92%; }
  .cards3, .cards2 { grid-template-columns: 1fr; }
}
@media print {
  .noprint, .topbar, .footer, .wa-float, #toasts { display: none !important; }
  body { background: #fff; }
  .invoice { box-shadow: none; border: 0; margin: 0; }
  .section { padding: 0; }
}

/* service detail: facts, sub-nav, matrix, split, competitors, process */
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.facts span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.facts .ic { width: 16px; height: 16px; color: var(--brand); }
.detail-head .hint { margin-top: 12px; }
.subnav { position: sticky; top: 68px; z-index: 5; display: flex; gap: 4px; overflow-x: auto; background: rgb(247 247 251 / .92); backdrop-filter: blur(8px); padding: 8px 0; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.subnav button { border: 0; background: none; padding: 8px 14px; border-radius: 8px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.subnav button:hover { background: var(--brand-soft); color: var(--brand); }
#packages { scroll-margin-top: 130px; }
section[id] { scroll-margin-top: 120px; }
.link-btn { border: 0; background: none; color: var(--brand); font-weight: 600; cursor: pointer; padding: 0 0 12px; text-align: left; }
.link-btn:hover { text-decoration: underline; }
.matrix td:first-child { font-weight: 500; }
.matrix th:not(:first-child), .matrix td:not(:first-child) { text-align: center; width: 22%; }
.matrix th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--ink-2); margin-top: 2px; }
.pop-col { background: color-mix(in srgb, var(--brand-soft) 60%, transparent); }
.yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green-s); color: var(--green); }
.yes .ic { width: 15px; height: 15px; }
.no { color: #b9bccb; font-weight: 700; }
.below-matrix { margin-top: 18px; }
.excl .ic { color: var(--red); }
.stack { display: flex; height: 18px; border-radius: 9px; overflow: hidden; margin-bottom: 18px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .04); }
.stack i { display: block; height: 100%; }
.c0 { background: #4b2bd6; } .c1 { background: #7c5cff; } .c2 { background: #ff6b3d; } .c3 { background: #12a150; } .c4 { background: #0e8f8f; } .c5 { background: #f5a524; } .c6 { background: #2563eb; } .c7 { background: #b84ad6; }
.sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.split-table { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.split-table tr.sum td { font-weight: 800; background: var(--bg); }
.pay-card h4 { margin-bottom: 12px; }
.milestones { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; counter-reset: m; }
.milestones li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: 14px; }
.milestones li span { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.milestones li.paid { background: var(--green-s); }
.milestones li.paid .ic { color: var(--green); width: 16px; }
.milestones.small li { padding: 8px 10px; font-size: 13.5px; }
.dotpend { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--amber); display: inline-block; }
.pay-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.pay-plans .pay-opt span { display: grid; }
.pay-plans small { color: var(--muted); font-weight: 500; }
.pay-head { margin: 16px 0 10px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.success-box .card.left { text-align: left; width: 100%; margin-top: 10px; }
.position { margin: 14px 0; }
.comp td { vertical-align: top; font-size: 13.5px; }
.comp td small, .comp-all td small { display: block; color: var(--muted); font-size: 12px; }
.comp tr.us td { background: var(--brand-soft); }
.comp td:nth-child(2) { min-width: 170px; font-weight: 600; }
.comp td:nth-child(3), .comp td:nth-child(4) { min-width: 200px; color: var(--ink-2); }
.comp a { font-weight: 600; }
.pad { padding: 12px 4px 0; margin: 0; }
.comp-all td { vertical-align: top; }
.tier-line, .comp-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 2px 0; }
.tier-line span { color: var(--muted); }
.comp-line { display: grid; gap: 0; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.comp-line:last-child { border-bottom: 0; }
.comp-line span { color: var(--ink-2); }
.sources.cols { columns: 2; column-gap: 32px; }
.sources.cols li { break-inside: avoid; margin-bottom: 4px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.timeline li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; align-content: start; }
.timeline li > span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.addon .for { display: block; margin-top: 8px; color: var(--brand); font-weight: 600; font-size: 12px; }
.addon[hidden] { display: none; }
.comp-peek { margin-top: 12px; font-size: 14px; }
.comp-peek summary { cursor: pointer; font-weight: 600; color: var(--brand); }
@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subnav { top: 68px; }
}
@media (max-width: 640px) {
  .timeline, .pay-plans { grid-template-columns: 1fr; }
  .sources.cols { columns: 1; }
  .matrix th:not(:first-child), .matrix td:not(:first-child) { width: auto; }
}

/* blog */
.blog-hero { background: radial-gradient(800px 300px at 90% 0%, #e6defd 0, transparent 60%), radial-gradient(500px 260px at 0% 100%, #ffe6dc 0, transparent 60%); border-bottom: 1px solid var(--line); }
.blog-hero .section { padding-bottom: 40px; }
.blog-search { display: flex; gap: 10px; max-width: 560px; margin-top: 18px; }
.blog-search input { flex: 1; }
.chips.sub { margin-top: -10px; }
.chips.sub .chip { font-size: 12.5px; padding: 5px 12px; }
.blog-group + .blog-group { margin-top: 36px; }
.blog-group .sec-head { margin-bottom: 14px; }
.blog-group h2, .blog-group h3 { display: flex; align-items: center; gap: 10px; margin: 0; }
.svc-ic.sm { width: 34px; height: 34px; border-radius: 10px; margin: 0; }
.svc-ic.sm .ic { width: 18px; height: 18px; }
.cover { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: hsl(var(--h) 70% 50%); }
.cover svg { width: 100%; height: 100%; transition: transform 0.35s ease; }
.cover .cover-art-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.cover .cover-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 100%); pointer-events: none; }
.cover-ic { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; transition: transform 0.3s ease; z-index: 1; }
.cover-ic .ic { width: 46px; height: 46px; stroke-width: 1.4; filter: drop-shadow(0 4px 12px rgb(0 0 0 / .25)); }
.cover.wide { aspect-ratio: 3 / 1; border-radius: var(--r); margin: 6px 0 28px; }
.cover.wide .cover-ic .ic { width: 72px; height: 72px; }
.post-card .cover { aspect-ratio: 3 / 1; }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); text-decoration: none !important; transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease; }
.post-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 16px 36px -8px rgba(75, 43, 214, 0.16); }
.post-card:hover .cover svg { transform: scale(1.06); }
.post-card:hover .cover .cover-art-img { transform: scale(1.06); }
.post-card:hover .cover-ic { transform: scale(1.1) rotate(4deg); }
.post-body { padding: 16px 18px 18px; display: grid; gap: 8px; flex: 1; align-content: start; }
.post-body h3 { margin: 0; font-size: 1.05rem; transition: color 0.2s ease; }
.post-card:hover .post-body h3 { color: var(--brand); }
.post-body p { margin: 0; color: var(--muted); font-size: 14px; }
.post-body small { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.post-body small .ic { width: 14px; height: 14px; }
.tag { display: inline-block; justify-self: start; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; margin-bottom: 18px; color: var(--muted); }
.crumbs a { font-weight: 600; }
.post-head { max-width: 820px; display: grid; gap: 10px; }
.post-head h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.post-head .lead { margin: 0; }
.post-meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.post-meta b, .post-meta small { display: block; line-height: 1.35; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.post-main { max-width: 760px; }
.takeaways { background: var(--brand-soft); border-radius: var(--r); padding: 20px 22px; margin-bottom: 28px; }
.takeaways h2 { font-size: 1.05rem; margin: 0 0 4px; }
.takeaways .ticks { margin-bottom: 0; }
.prose-article { font-size: 1.04rem; line-height: 1.75; color: var(--ink-2); }
.prose-article h2 { font-size: 1.45rem; color: var(--ink); margin: 36px 0 12px; scroll-margin-top: 90px; }
.prose-article h3 { font-size: 1.12rem; color: var(--ink); margin: 24px 0 8px; }
.prose-article p { margin: 0 0 16px; }
.prose-article ul, .prose-article ol { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.prose-article li::marker { color: var(--brand); font-weight: 700; }
.prose-article strong { color: var(--ink); }
.prose-article a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.callout { border-left: 4px solid var(--accent); background: #fff6f2; padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 0 0 18px; color: var(--ink); font-weight: 600; }
.post-faq { margin-top: 36px; }
.post-faq h2 { font-size: 1.45rem; scroll-margin-top: 90px; }
.post-faq details { margin-bottom: 10px; padding: 16px 20px; }
.post-faq summary { font-weight: 700; cursor: pointer; }
.post-faq details p { margin: 10px 0 0; color: var(--ink-2); }
.post-side { position: sticky; top: 88px; display: grid; gap: 16px; }
.toc { padding: 16px; display: grid; gap: 2px; }
.toc h4 { margin: 0 0 6px; }
.toc a, .toc button { border: 0; background: none; text-align: left; padding: 6px 8px; border-radius: 8px; color: var(--ink-2); font-size: 13.5px; cursor: pointer; }
.toc a:hover, .toc button:hover { background: var(--brand-soft); color: var(--brand); }
.side-cta { display: grid; gap: 8px; }
.side-cta h4, .side-cta p { margin: 0; }
.side-cta p { font-size: 13.5px; }
.side-cta .svc-ic { margin: 0; }
.side-cta .btn { margin-top: 6px; }
.share h4 { margin: 0 0 10px; }
.share .chip { font-size: 13px; }
.share .chip .ic { width: 15px; height: 15px; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, var(--brand-soft), #fff); }
.cta-band h2 { margin: 0 0 4px; }
.cta-band p { margin: 0; }
@media (max-width: 980px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-side { position: static; }
  .toc { display: none; }
}
@media (max-width: 640px) {
  .blog-search { flex-direction: column; }
  .cover.wide { aspect-ratio: 2 / 1; }
}
.toc a { display: block; text-decoration: none !important; }
.post-card[hidden], .blog-group[hidden] { display: none; }
.cat-head { margin: 44px 0 6px; }
.cat-head:first-of-type { margin-top: 8px; }
/* seven nav items: collapse to the menu button before they crowd the header */
.logo span { white-space: nowrap; }
@media (max-width: 1100px) {
  .menu-btn { display: inline-grid; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 10px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-actions { margin-left: auto; }
}
/* contact page */
.contact-hero { background: radial-gradient(800px 320px at 90% 0%, #e6defd 0, transparent 60%), radial-gradient(500px 260px at 0% 100%, #ffe6dc 0, transparent 60%); border-bottom: 1px solid var(--line); }
.contact-hero .section { padding-bottom: 48px; }
.contact-hero h1 { margin: 12px 0 10px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.c-card { display: grid; gap: 4px; align-content: start; color: var(--ink); text-decoration: none !important; transition: transform .15s, border-color .15s; }
.c-card:hover { transform: translateY(-3px); border-color: var(--brand); }
.c-card .svc-ic { margin-bottom: 8px; }
.c-card small { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; }
.c-card b { font-size: 1.02rem; overflow-wrap: anywhere; }
.c-card .muted { font-size: 13.5px; }
.enquiry { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.enq-copy h2 { margin-bottom: 8px; }
.enq-steps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 18px; }
.enq-steps li { display: flex; gap: 14px; }
.enq-steps li > span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; }
.enq-steps p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.enq-copy .hint { margin-bottom: 18px; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.visit-copy h2 { margin: 12px 0 8px; }
.visit-copy .contact-list { margin: 18px 0; }
.map-frame { padding: 0; overflow: hidden; aspect-ratio: 4 / 3; min-height: 300px; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: 1fr 1fr; } .enquiry, .visit-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } .map-frame { min-height: 260px; } }
.footer .foot-grid p.muted { margin: 4px 0 8px; }

/* Fluid sizing shared by the storefront, guides and both portals. */
#app { min-height: 100svh; }
body { overflow-wrap: break-word; }
:where(.row, .cards2, .cards3, .cards4, .grid2, .hero-grid, .split,
  .checkout-grid, .dash-grid, .foot-grid, .post-grid, .split-grid, .inbox,
  .hc-metrics, .stats, .kpis, .price-edit, .pay-plans) > * { min-width: 0; }
.cards2, .cards3, .cards4 { gap: var(--space); }
.card { padding: clamp(16px, 1.6vw, 28px); }
.product, .post-card { padding: 0; }
.hero-grid { gap: clamp(24px, 4vw, 96px); padding-block: clamp(40px, 5vw, 112px); }
.hero-grid > :first-child { max-width: 72ch; }
.hero-card { width: 100%; max-width: 760px; justify-self: center; }
.split { gap: clamp(24px, 4vw, 80px); }
.table-wrap, .kanban, .subnav, .split-table { min-width: 0; max-width: 100%; overscroll-behavior-inline: contain; }
.split-table { overflow-x: auto; }
.table-wrap { scrollbar-gutter: stable; }
.crumbs, .card-head, .addon-foot, .svc-foot, .list-row, .ticket-tools { flex-wrap: wrap; }
input, select, textarea { min-width: 0; max-width: 100%; }
.btn, .chip { white-space: normal; text-align: center; }
.icon-btn, .logo-mark { flex-shrink: 0; }
.btn, .icon-btn, .chip, .toggle button { min-height: 44px; }
.nav { min-height: 76px; height: auto; padding-block: 10px; }
.nav-links { top: 100%; }
.nav-links a { white-space: nowrap; }
.nav-links.open { max-height: calc(100svh - 76px); overflow-y: auto; }
.subnav { top: 76px; }
.side { height: 100svh; max-width: 90vw; }
.modal { max-height: calc(100svh - 32px); }
.modal-body { max-height: 65svh; }
.modal-card header, .modal-card footer { gap: 12px; }
.modal-card footer { flex-wrap: wrap; }
#toasts { width: max-content; max-width: calc(100% - 32px); bottom: calc(20px + env(safe-area-inset-bottom)); }
.wa-float { right: max(16px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); }
.post-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); }
.post-main { max-width: none; }
.prose-article { max-width: 76ch; }
.post-head { max-width: 76ch; }
@media (min-width: 1600px) {
  .cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero h1 { font-size: clamp(3.6rem, 3.5vw, 5.5rem); }
  .lead { font-size: clamp(1.1rem, 1vw, 1.4rem); }
  .post-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 24%); gap: clamp(40px, 4vw, 100px); }
}
@media (max-width: 1200px) and (min-width: 901px) {
  .nav { gap: 12px; }
  .nav-links a { padding-inline: 8px; }
}
@media (max-width: 980px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .row.between, .row.gap, .coupon, .reply .row { flex-wrap: wrap; }
  .row.gap > .btn { max-width: 100%; }
  .cards4, .dash-content > .dash-grid:first-of-type:has(> section.card:nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 10px; }
  .stats div, .hc-metrics div { padding: 12px; }
  .hc-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .hc-metrics b { font-size: clamp(1rem, 4vw, 1.3rem); }
  .toggle { display: flex; flex-wrap: wrap; }
  .toggle button { flex: 1 1 auto; justify-content: center; padding-inline: 10px; }
  .filters input, .filters select { flex: 1 1 100%; }
  .steps { flex-wrap: wrap; gap: 10px; }
  .steps li { flex: 1 1 80px; }
  .invoice { padding: 16px; }
  .invoice .right { text-align: left; }
  .modal-card header, .modal-card footer, .modal-body { padding: 16px; }
  .map-frame { min-height: 220px; }
  .foot-grid { gap: 24px; }
}
@media (max-width: 380px) {
  .nav { gap: 8px; }
  .nav-actions { gap: 6px; }
  .nav-actions > .btn { font-size: 0; padding: 0; width: 44px; }
  .nav-actions > .btn .ic { width: 18px; height: 18px; }
  .logo { gap: 6px; font-size: 1rem; }
  .logo small { font-size: 10px; }
  .hc-metrics { grid-template-columns: minmax(0, 1fr); }
  .hc-metrics div { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
}
@media print {
  .shell { width: 100%; }
  .dash-content { padding: 0; }
}

/* Mobile records flow down the page instead of squeezing desktop columns. */
.table-label { display: none; }
.table-value { min-width: 0; }
.who > div { min-width: 0; }
@media screen and (max-width: 760px) {
  .mobile-table, .mobile-table tbody { display: block; width: 100%; }
  .mobile-table { position: relative; border: 0; background: transparent; }
  .mobile-table thead {
    position: absolute; width: 1px; height: 1px; padding: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .mobile-table tbody { display: grid; gap: 16px; }
  .mobile-table tbody tr {
    display: grid; grid-template-columns: minmax(0, 1fr);
    padding: 12px; border: 1px solid var(--line);
    border-radius: 12px; background: var(--card);
  }
  .mobile-table tbody td,
  .mobile-table.matrix td:not(:first-child),
  .mobile-table.comp td:nth-child(n) {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px;
    width: auto; min-width: 0; max-width: 100%; padding: 10px 4px;
    text-align: left; white-space: normal; border-bottom: 1px solid var(--line);
  }
  .mobile-table tbody tr td:last-child { border-bottom: 0; }
  .mobile-table .table-label {
    display: block; font-size: 12px; font-weight: 700;
    color: var(--muted); line-height: 1.4;
  }
  .mobile-table .table-value {
    width: 100%; line-height: 1.6; white-space: normal;
    word-break: normal; overflow-wrap: anywhere;
  }
  .mobile-table .who { width: 100%; align-items: flex-start; }
  .mobile-table .who > div { flex: 1; }
  .mobile-table .who b, .mobile-table .who small { line-height: 1.6; }
  .mobile-table :is(input[type=number], select) { width: 100%; max-width: 100%; min-height: 44px; }
  .mobile-table .table-value > .btn { max-width: 100%; }
  .mobile-table .pop-col { border-radius: 8px; padding-inline: 10px !important; }
  .table-wrap { overflow: visible; }
  .split-table.mobile-table { overflow: visible; }
  .kanban { grid-template-columns: minmax(0, 1fr); overflow: visible; }
  .kcol { min-height: 0; }
  .stagebar, .subnav { flex-wrap: wrap; overflow: visible; }
  .stagebar button { flex: 1 1 auto; white-space: normal; }
  .subnav { position: static; }
  .subnav button { white-space: normal; flex: 1 1 auto; }
  .tier-line, .comp-line { flex-wrap: wrap; }
}

/* Let nested content shrink and wrap inside its own layout area. */
:where(.card, .field, .hint, .who, .person-card, .detail-head, .work,
  .timeline, .ticks li, .contact-list li, .modal-card header, .modal-card footer,
  .summary dl div, .inv-tot div, .kv div, .milestones li) > * { min-width: 0; }
:where(.card, .post-main, .foot-grid, .modal, .toast, .side) {
  overflow-wrap: anywhere; word-break: normal;
}
:where(.btn, .chip, .badge, .eyebrow, .facts span) { max-width: 100%; }
.badge, .eyebrow, .facts span { white-space: normal; }
.btn > .ic { flex-shrink: 0; }
:where(.ticks li, .contact-list li, .hint) > .ic { flex-shrink: 0; }
:where(.pre, .msg p) { white-space: pre-wrap; overflow-wrap: anywhere; }
pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
input[type=range] { width: 100%; min-width: 0; }
textarea { resize: vertical; }
.modal { overflow: hidden; }
.modal-card { display: flex; flex-direction: column; max-height: calc(100svh - 32px); }
.modal-card header, .modal-card footer { flex-shrink: 0; }
.modal-card header h3 { flex: 1; }
.modal-body { min-height: 0; overflow: auto; overscroll-behavior: contain; }
@media screen and (max-width: 760px) {
  .table-wrap { scrollbar-gutter: auto; }
  .modal-card footer > .btn { flex: 1 1 auto; }
  .person-card { flex-wrap: wrap; }
  .cart-line > .row { flex-wrap: wrap; }
  .summary dd, .inv-tot dd { text-align: right; }
}
:where(.sec-head, .dash-head, .cta-band, .card-head, .plan-now) > * { min-width: 0; max-width: 100%; }
.bars { gap: clamp(4px, 1vw, 10px); }
.bar { flex: 1 1 0; min-width: 0; text-align: center; }
.bar-val, .bar small { max-width: 100%; overflow-wrap: anywhere; }
/* A minimum map height must not force its aspect ratio past the page width. */
.map-frame.card { width: 100%; max-width: 100%; min-width: 0; padding: 0; }
input[type=range] { margin-inline: 0; }

/* footer payments & trust */
.foot-payments {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
}
.foot-pay-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.pay-chip {
  font-size: 11.5px;
  color: #c5c8e0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.pay-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
@media (max-width: 640px) {
  .foot-pay-chips {
    justify-content: center;
  }
}

/* footer contact: plain links on desktop, centred pill cards on phones */
.foot-contact .f-pill { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.foot-contact .f-pill .ic { width: 16px; height: 16px; margin-top: 4px; color: #e0b15a; }
.foot-contact .f-pill span { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .footer { padding-top: 40px; text-align: center; }
  .foot-grid { text-align: center; justify-items: center; }
  .foot-grid .logo { justify-content: center; }
  .foot-grid .row { justify-content: center; }
  .foot-grid > div > a:not(.logo):not(.f-pill) { margin-bottom: 10px; }
  .foot-contact { width: 100%; display: grid; justify-items: center; gap: 10px; }
  .foot-contact h4 { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; margin: 6px 0 4px; font-size: 1.15rem; }
  .foot-contact h4::before, .foot-contact h4::after { content: ""; flex: 0 1 60px; height: 1px; background: linear-gradient(90deg, transparent, #e0b15a); }
  .foot-contact h4::after { transform: scaleX(-1); }
  .foot-contact .f-pill { align-items: center; justify-content: center; text-align: left; gap: 12px; margin: 0; max-width: 100%; padding: 14px 18px; border-radius: 14px; background: #1c2040; color: #e4e6f5 !important; }
  .foot-contact .f-pill .ic { margin-top: 0; width: 20px; height: 20px; }
  .foot-contact .f-pill:first-of-type { width: 100%; }
  .footer .fine, .fine-links { justify-content: center; text-align: center; }
  .footer .fine { padding-right: 0; }
}
.foot-grid > .foot-contact > a.f-pill { display: flex; }
@media (max-width: 640px) { .footer { padding-bottom: 88px; } .foot-grid > .foot-contact > a.f-pill { width: min(100%, 340px); } }

/* phones: every footer section gets the "Get in Touch" treatment */
@media (max-width: 640px) {
  .foot-grid { gap: 28px; }
  .foot-links { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .foot-links h4 { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 4px; font-size: 1.15rem; }
  .foot-links h4::before, .foot-links h4::after { content: ""; flex: 0 1 60px; height: 1px; background: linear-gradient(90deg, transparent, #e0b15a); }
  .foot-links h4::after { transform: scaleX(-1); }
  .foot-grid > .foot-links > a { display: flex; align-items: center; justify-content: center; margin: 0; padding: 14px 10px; min-height: 52px; border-radius: 14px; background: #1c2040; color: #e4e6f5; font-size: 14px; line-height: 1.3; text-align: center; }
  .foot-grid > .foot-links > a:last-child:nth-child(even) { grid-column: 1 / -1; }
  .foot-grid > div:first-child { display: grid; justify-items: center; gap: 4px; }
}

/* service page header: text on the left, illustration on the right */
.detail-head { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(280px, 400px); gap: 20px 28px; align-items: start; }
.service-art { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
.service-art svg,
.service-art-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.service-art figcaption { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; }
.service-art figcaption span { background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
@media (max-width: 1000px) { .detail-head { grid-template-columns: auto minmax(0, 1fr); } .service-art { grid-column: 1 / -1; max-width: 520px; } }
@media (max-width: 640px) { .detail-head { grid-template-columns: 1fr; } .service-art { max-width: none; } }

/* contact cards inside the "Need something custom?" section */
.contact-cards.compact { grid-template-columns: 1fr 1fr; margin-top: 24px; gap: 14px; }
.contact-cards.compact .c-card { padding: 16px; }
.contact-cards.compact .svc-ic { width: 40px; height: 40px; margin-bottom: 4px; }
.contact-cards.compact .c-card b { font-size: .95rem; }
@media (max-width: 480px) { .contact-cards.compact { grid-template-columns: 1fr; } }

/* ==========================================================================
   Responsive enhancements & fine-tuned hover interactions
   ========================================================================== */

/* Shimmer animation for primary CTAs */
.btn.primary {
  position: relative;
  overflow: hidden;
}
.btn.primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(25deg);
  pointer-events: none;
  transition: none;
}
.btn.primary:hover::after {
  left: 120%;
  transition: left 0.75s ease-in-out;
}

/* WhatsApp float pulse */
@keyframes waPulse {
  0% { transform: scale(1); box-shadow: 0 4px 14px rgba(18, 161, 80, 0.35); }
  50% { transform: scale(1.06); box-shadow: 0 8px 24px rgba(18, 161, 80, 0.55); }
  100% { transform: scale(1); box-shadow: 0 4px 14px rgba(18, 161, 80, 0.35); }
}
.wa-float {
  animation: waPulse 3s infinite ease-in-out;
}
.wa-float:hover {
  animation: none;
  transform: scale(1.12);
}

/* Nav links hover underline effect */
.nav-links a {
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.on::after {
  width: calc(100% - 24px);
}

/* Micro-interaction on buttons */
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(1px);
}
.btn .ic {
  transition: transform 0.2s ease;
}
.btn:hover .ic {
  transform: translateX(3px);
}

/* Responsive queries */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about-hero-grid { grid-template-columns: 1fr; }
  .timeline-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-float { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
  .partner-strip { padding: 14px 0 24px; }
  .partner-row { gap: 8px; }
  .work-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .leader-spotlight { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .leader-tags, .leader-contact { justify-content: center; }
  .audit-preview-body { grid-template-columns: 1fr; }
  .audit-scorecard-img { max-width: 420px; margin: 0 auto; }
  .audit-checklist { width: 100%; }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stat-card { padding: 14px; }
  .audit-checklist { grid-template-columns: 1fr; }
  .audit-preview { padding: 14px; }
  .quote-card { padding: 18px; }
  .pillar-card { padding: 18px; }
  .work-content { padding: 16px; }
  .svc-body { padding: 14px; }
}


/* Preserve the supplied brand artwork at every logo placement. */
.logo-mark { width: 44px; height: 44px; object-fit: contain; }
.side .logo { gap: 8px; }
@media (max-width: 380px) { .nav .logo-mark { width: 36px; height: 36px; } }

/* Shop search, sort and pager */
.shop-tools { align-items: center; }
.shop-tools select { flex: 0 1 200px; }
.shop-count { margin: 0 0 12px; font-size: 13.5px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 28px 0 40px; }
.pager .chip { min-width: 44px; justify-content: center; }
.pager .chip:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.pager-gap { color: var(--muted); }
@media (max-width: 700px) { .shop-tools select { flex: 1 1 100%; } .pager .chip { flex: 0 0 auto; } }

/* ==========================================================================
   Liquid Glass — aurora background with frosted, light-catching surfaces.
   Public site only: dashboards (.dash) keep the flat look.
   ========================================================================== */
@property --aurora-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); --aurora-a: 0deg; }
  50%  { transform: translate3d(-4%, 3%, 0) scale(1.08); --aurora-a: 180deg; }
  100% { transform: translate3d(0, 0, 0) scale(1); --aurora-a: 360deg; }
}
@keyframes auroraFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(5%, -4%, 0) rotate(8deg); }
}

body:not(:has(.dash)) {
  --glass: rgb(255 255 255 / .56);
  --glass-strong: rgb(255 255 255 / .74);
  --glass-edge: rgb(255 255 255 / .78);
  --glass-blur: blur(22px) saturate(175%);
  --glass-sheen: linear-gradient(135deg, rgb(255 255 255 / .62) 0%, rgb(255 255 255 / .14) 42%, rgb(255 255 255 / .06) 60%, rgb(255 255 255 / .34) 100%);
  --glass-shadow: inset 0 1px 0 rgb(255 255 255 / .9), inset 0 0 0 1px rgb(255 255 255 / .28), 0 12px 32px -14px rgb(52 32 140 / .28), 0 2px 6px rgb(15 18 34 / .05);
  --card: var(--glass);
  --line: rgb(104 88 196 / .16);
  --bg: rgb(255 255 255 / .5);
  --muted: #565b76;
  --brand-soft: rgb(109 77 255 / .13);
  --shadow: var(--glass-shadow);
  --r: 20px;
  background: #efecfa;
  isolation: isolate;

  /* aurora: two drifting layers of soft colour fields behind everything */
  &::before, &::after {
    content: ""; position: fixed; inset: -25%; z-index: -1; pointer-events: none;
    will-change: transform;
  }
  &::before {
    background:
      radial-gradient(38% 42% at 18% 22%, rgb(150 120 255 / .55), transparent 70%),
      radial-gradient(34% 38% at 82% 18%, rgb(255 160 130 / .48), transparent 70%),
      radial-gradient(40% 44% at 70% 78%, rgb(90 210 200 / .40), transparent 70%),
      radial-gradient(36% 40% at 22% 82%, rgb(120 160 255 / .42), transparent 70%);
    filter: blur(40px);
    animation: auroraDrift 38s ease-in-out infinite;
  }
  &::after {
    background: conic-gradient(from var(--aurora-a) at 50% 50%, rgb(240 140 220 / .22), rgb(130 110 255 / .18), rgb(80 200 230 / .2), rgb(255 190 140 / .2), rgb(240 140 220 / .22));
    filter: blur(80px);
    opacity: .9;
    mix-blend-mode: soft-light;
    animation: auroraFloat 26s ease-in-out infinite, auroraDrift 52s linear infinite reverse;
  }

  /* surfaces */
  .card, .band, .market, .toggle, .split-table, .timeline li, .stat-card, .partner-item,
  .audit-preview, .service-art, .hero-float, .facts span, .mobile-table tbody tr {
    background: var(--glass-sheen), var(--glass);
    border-color: var(--glass-edge);
    box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
  }
  .band { border-color: rgb(255 255 255 / .6); box-shadow: none; }
  .hero { background: transparent; }
  .hc-metrics div, .work-metric-pill, .audit-checklist div, .milestones li { background: rgb(255 255 255 / .45); border-color: rgb(255 255 255 / .6); }
  .hc-metrics div:hover, .work-card:hover .work-metric-pill { background: rgb(255 255 255 / .75); }

  /* pointer-following light on glass (position set by main.js) */
  .card, .btn, .chip, .icon-btn { --mx: 50%; --my: 0%; }
  @media (hover: hover) {
    .card:hover, .btn.ghost:hover, .chip:hover, .icon-btn:hover {
      background-image: radial-gradient(240px circle at var(--mx) var(--my), rgb(255 255 255 / .55), transparent 60%), var(--glass-sheen);
    }
    .card:hover { border-color: rgb(255 255 255 / .95); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgb(255 255 255 / .4), 0 22px 48px -18px rgb(52 32 140 / .38), 0 2px 8px rgb(15 18 34 / .06); }
    .product:hover { border-color: rgb(255 255 255 / .95); }
  }

  /* controls: capsule glass */
  .btn { border-radius: 999px; transition: transform .35s cubic-bezier(.2, .9, .3, 1.3), box-shadow .3s ease, background .3s ease, color .2s; }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: scale(.97); }
  .btn.primary {
    background: linear-gradient(180deg, rgb(255 255 255 / .28), rgb(255 255 255 / 0) 52%), linear-gradient(120deg, #7a5cff, var(--brand) 55%, #5b2fd8);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), inset 0 -2px 6px rgb(30 10 120 / .25), 0 10px 26px -8px rgb(75 43 214 / .6);
  }
  .btn.primary:hover { background: linear-gradient(180deg, rgb(255 255 255 / .34), rgb(255 255 255 / 0) 52%), linear-gradient(120deg, #8a6dff, #5a38e6 55%, #6a3be6); }
  .btn.ghost, .btn.danger-ghost, .icon-btn, .chip {
    background: var(--glass-sheen), var(--glass);
    border-color: var(--glass-edge);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .85), 0 4px 14px -6px rgb(52 32 140 / .22);
    -webkit-backdrop-filter: blur(14px) saturate(170%);
    backdrop-filter: blur(14px) saturate(170%);
  }
  .icon-btn { border-radius: 999px; }
  .chip.on { background: linear-gradient(180deg, rgb(255 255 255 / .5), rgb(255 255 255 / .1)), rgb(109 77 255 / .18); border-color: rgb(109 77 255 / .45); color: var(--brand); }
  .footer .chip { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .14); box-shadow: none; }

  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea {
    background: rgb(255 255 255 / .66);
    border-color: rgb(255 255 255 / .85);
    border-radius: 14px;
    box-shadow: inset 0 1px 3px rgb(52 32 140 / .08);
  }
  input:focus, select:focus, textarea:focus { background: rgb(255 255 255 / .85); border-color: rgb(109 77 255 / .55); box-shadow: 0 0 0 4px rgb(109 77 255 / .16); }

  /* header, menu, dialogs, footer */
  .topbar {
    background: linear-gradient(180deg, rgb(255 255 255 / .62), rgb(255 255 255 / .38));
    border-bottom: 1px solid rgb(255 255 255 / .7);
    box-shadow: 0 8px 30px -18px rgb(52 32 140 / .35);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
    backdrop-filter: blur(26px) saturate(180%);
  }
  .nav-links a { border-radius: 999px; }
  .nav-links a:hover, .nav-links a.on { background: rgb(255 255 255 / .6); box-shadow: inset 0 1px 0 #fff, 0 2px 10px -4px rgb(52 32 140 / .25); }
  .modal {
    background: linear-gradient(160deg, rgb(255 255 255 / .9), rgb(255 255 255 / .74));
    border: 1px solid rgb(255 255 255 / .9);
    border-radius: 24px;
    box-shadow: inset 0 1px 0 #fff, 0 30px 80px -20px rgb(30 18 90 / .45);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    backdrop-filter: blur(30px) saturate(180%);
  }
  .modal::backdrop { background: rgb(30 22 70 / .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .footer {
    background: linear-gradient(180deg, rgb(18 16 40 / .86), rgb(12 10 28 / .94));
    border-top: 1px solid rgb(255 255 255 / .12);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
  }
  .toast { background: rgb(20 18 44 / .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgb(255 255 255 / .14); border-radius: 999px; }
  .pager .chip.on { color: #fff; background: linear-gradient(180deg, rgb(255 255 255 / .28), rgb(255 255 255 / 0) 52%), var(--brand); border-color: transparent; }
}

/* small screens: open menu as a glass sheet */
@media (max-width: 1100px) {
  body:not(:has(.dash)) .nav-links {
    /* the header's own blur stops a nested one, so the sheet stays near-opaque */
    background: linear-gradient(180deg, rgb(255 255 255 / .97), rgb(248 246 255 / .97));
    border-bottom: 1px solid rgb(255 255 255 / .8);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 20px 40px -20px rgb(52 32 140 / .35);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
    backdrop-filter: blur(26px) saturate(180%);
  }
}
/* phones: lighter blur keeps scrolling smooth */
@media (max-width: 700px) {
  body:not(:has(.dash)) { --glass-blur: blur(14px) saturate(160%); }
  body:not(:has(.dash))::before { filter: blur(28px); }
}
@media (prefers-reduced-motion: reduce) {
  body:not(:has(.dash))::before, body:not(:has(.dash))::after { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  body:not(:has(.dash)) { --glass: rgb(255 255 255 / .92); --glass-strong: #fff; }
}
@media print {
  body:not(:has(.dash))::before, body:not(:has(.dash))::after { display: none; }
}

/* Static service pages, services index and FAQ (SEO / answer-engine pages) */
.svc-page .post-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.answer { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: var(--r); padding: 16px 20px; margin: 0 0 24px; }
.answer h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin: 0 0 6px; }
.answer p { margin: 0 0 6px; font-size: 1.05rem; line-height: 1.6; }
.svc-hero { margin: 0 0 28px; }
.svc-hero img { width: 100%; height: auto; border-radius: var(--r); display: block; }
.svc-page section { margin-bottom: 32px; scroll-margin-top: 90px; }
.svc-page h2 { margin: 0 0 12px; }
.tier-card .price { margin: 4px 0 12px; font-size: 1.6rem; }
.tier-card .price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.tier-card.pop { border-color: var(--brand); box-shadow: 0 8px 24px -8px rgba(75, 43, 214, .25); }
.steps-list { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 12px; }
.steps-list li { counter-increment: st; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; }
.steps-list li::before { content: counter(st); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.steps-list span { color: var(--muted); }
.no { color: var(--muted); }
.faq-wrap { display: grid; gap: 10px; max-width: 820px; }
.svc-page .table td, .svc-page .table th { white-space: normal; vertical-align: top; }
.svc-page .side-cta .btn + .btn { margin-top: 8px; }
/* Static pages have no JS to stack tables into cards, so let them scroll sideways. */
.table-wrap.scroll { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
.table-wrap.scroll .table { min-width: 560px; }
.table-wrap.scroll .table td, .table-wrap.scroll .table th { overflow-wrap: normal; word-break: normal; }
.table-wrap.scroll .table td:first-child { min-width: 150px; }

.leader-portrait-img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.1); }
@media (max-width: 768px) { .leader-avatar { width: min(160px, 46vw); } }

/* ==========================================================================
   Chat assistant (js/chat.js): a launcher above the WhatsApp button and a glass
   panel, full screen on phones. Hidden in the admin panel and when printing.
   ========================================================================== */
.vxc-launch {
  position: fixed; z-index: 30; right: max(18px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom));
  width: 56px; height: 56px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgb(255 255 255 / .3), rgb(255 255 255 / 0) 55%), linear-gradient(135deg, #8a6dff, var(--brand) 55%, #5b2fd8);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 12px 28px -8px rgb(75 43 214 / .65);
  transition: transform .3s cubic-bezier(.2, .9, .3, 1.3);
}
/* WhatsApp sits bottom-left, the assistant bottom-right, so they never overlap. */
.wa-float { right: auto; left: max(16px, env(safe-area-inset-left)); }
.vxc-launch:hover { transform: translateY(-2px) scale(1.05); }
.vxc-launch .ic { width: 26px; height: 26px; }
.vxc-launch .vxc-ic-close, .vxc-launch[aria-expanded="true"] .vxc-ic-open { display: none; }
.vxc-launch[aria-expanded="true"] .vxc-ic-close { display: block; }
.vxc-launch.has-new::after { content: ""; position: absolute; top: 3px; right: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #fff; }

.vxc-panel {
  position: fixed; z-index: 31; right: max(18px, env(safe-area-inset-right)); bottom: calc(86px + env(safe-area-inset-bottom));
  width: min(400px, calc(100vw - 36px)); height: min(640px, calc(100dvh - 110px));
  display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; color: var(--ink);
  background: linear-gradient(160deg, rgb(255 255 255 / .95), rgb(246 243 255 / .9));
  border: 1px solid rgb(255 255 255 / .9);
  box-shadow: inset 0 1px 0 #fff, 0 30px 80px -20px rgb(30 18 90 / .45), 0 2px 8px rgb(15 18 34 / .06);
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  transform-origin: bottom right; animation: vxcIn .28s cubic-bezier(.2, .9, .3, 1.1);
}
.vxc-panel[hidden] { display: none; }
@keyframes vxcIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }

.vxc-head { display: flex; align-items: center; gap: 10px; padding: 14px 12px 12px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgb(255 255 255 / .75), rgb(255 255 255 / .3)); }
.vxc-head img { width: 38px; height: 38px; border-radius: 12px; flex: none; }
.vxc-head h2 { font-size: 15px; margin: 0; letter-spacing: -.01em; }
.vxc-head p { margin: 0; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.vxc-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgb(18 161 80 / .18); }
.vxc-icon { width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.vxc-icon:hover { background: rgb(109 77 255 / .1); color: var(--brand); }
.vxc-icon .ic { width: 18px; height: 18px; }

.vxc-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.vxc-msg { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 90%; }
.vxc-msg.me { align-self: flex-end; align-items: flex-end; max-width: 85%; }
.vxc-bubble { padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.vxc-msg.bot .vxc-bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; box-shadow: 0 4px 14px -8px rgb(52 32 140 / .25); }
.vxc-msg.me .vxc-bubble { color: #fff; background: linear-gradient(135deg, #7a5cff, var(--brand)); border-bottom-right-radius: 6px; }
.vxc-bubble p, .vxc-bubble ul, .vxc-bubble ol { margin: 0 0 .55em; }
.vxc-bubble :is(p, ul, ol):last-child { margin-bottom: 0; }
.vxc-bubble :is(ul, ol) { padding-left: 1.2em; }
.vxc-bubble li + li { margin-top: 3px; }
.vxc-bubble a { font-weight: 600; }
.vxc-cite { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; margin-left: 2px; border-radius: 6px; background: var(--brand-soft); font-size: 10.5px; font-weight: 700; line-height: 1; vertical-align: super; text-decoration: none !important; }
.vxc-note { color: var(--red); font-size: 13px; }
.vxc-sources, .vxc-handover { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 100%; font-size: 12px; }
.vxc-sources span, .vxc-handover span { color: var(--muted); font-weight: 600; }
.vxc-sources a { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: rgb(109 77 255 / .08); border: 1px solid rgb(109 77 255 / .18); font-weight: 600; }
.vxc-handover .chip { font-size: 12px; padding: 4px 10px; gap: 5px; margin: 0; }
.vxc-handover .ic { width: 14px; height: 14px; }
.vxc-suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.vxc-suggest .chip { margin: 0; font-size: 13px; padding: 6px 12px; text-align: left; white-space: normal; }
.vxc-typing { display: inline-flex; gap: 4px; padding: 5px 0; }
.vxc-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); opacity: .35; animation: vxcDot 1s infinite ease-in-out; }
.vxc-typing i:nth-child(2) { animation-delay: .15s; }
.vxc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes vxcDot { 50% { opacity: 1; transform: translateY(-3px); } }

.vxc-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 6px; border-top: 1px solid var(--line); }
.vxc-panel .vxc-form textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 120px; overflow-y: hidden; resize: none; margin: 0; padding: 11px 14px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; line-height: 1.45; }
.vxc-send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: linear-gradient(135deg, #7a5cff, var(--brand)); box-shadow: 0 6px 16px -6px rgb(75 43 214 / .6); }
.vxc-send .ic { width: 20px; height: 20px; }
.vxc-fine { margin: 0; padding: 0 16px 12px; font-size: 11px; line-height: 1.4; color: var(--muted); text-align: center; }
.vxc-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 640px) {
  .vxc-panel { inset: 0; width: 100%; height: 100dvh; border: 0; border-radius: 0; background: #f6f4fd; animation-name: vxcUp; }
  .vxc-head { padding-top: max(14px, env(safe-area-inset-top)); }
  .vxc-fine { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .vxc-panel .vxc-form textarea { font-size: 16px; } /* 16px stops iOS zooming in */
  html.vxc-open:not(:has(.dash.is-admin)), html.vxc-open body:not(:has(.dash.is-admin)) { overflow: hidden; }
}
@keyframes vxcUp { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) { .vxc-panel, .vxc-typing i { animation: none; } }
body:has(.dash.is-admin) :is(.vxc-launch, .vxc-panel) { display: none; }
@media print { .vxc-launch, .vxc-panel { display: none !important; } }
