/* ==========================================================
   ZAQVILUS — Corporate Light Theme
   Reference: Stripe / Linear / Vercel / HubSpot
   Clean. Professional. Agency-grade.
   ========================================================== */

:root {
  /* ---------- Backgrounds (light, neutral, professional) ---------- */
  --bg:           #ffffff;
  --bg-alt:       #f8fafc;   /* slate-50 — section alt */
  --bg-soft:      #f1f5f9;   /* slate-100 */
  --surface:      #ffffff;
  --surface-2:    #fafbfc;
  --surface-hover:#f8fafc;

  /* Dark sections (footer, hero accent strip) */
  --bg-dark:      #0a0f1c;   /* deep navy near-black */
  --bg-dark-2:    #111827;
  --bg-dark-3:    #1e293b;

  /* ---------- Borders ---------- */
  --border:       #e2e8f0;   /* slate-200 */
  --border-soft:  #eef1f5;
  --border-strong:#cbd5e1;   /* slate-300 */
  --border-dark:  rgba(255, 255, 255, 0.1);

  /* ---------- Text (slate scale) ---------- */
  --text:         #0f172a;   /* slate-900 — primary */
  --text-2:       #475569;   /* slate-600 — body */
  --text-3:       #64748b;   /* slate-500 — meta */
  --text-muted:   #94a3b8;   /* slate-400 */
  --text-on-dark: #f1f5f9;
  --text-on-dark-2:#94a3b8;

  /* ---------- Accent (clean corporate blue) ---------- */
  --accent:       #2563eb;   /* blue-600 */
  --accent-2:     #3b82f6;   /* blue-500 */
  --accent-3:     #1d4ed8;   /* blue-700 */
  --accent-soft:  rgba(37, 99, 235, 0.08);
  --accent-line:  rgba(37, 99, 235, 0.18);

  --success: #16a34a;
  --warning: #d97706;
  --danger:  #dc2626;

  /* ---------- Typography ---------- */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', var(--font-sans);
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;

  /* ---------- Layout ---------- */
  --container: 1380px;
  --container-px: clamp(16px, 2.4vw, 28px);
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* ---------- Shadows (subtle, real) ---------- */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow:    0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1), 0 8px 16px rgba(15, 23, 42, 0.05);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Headings — clean, restrained */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.18rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-2); }

::selection { background: var(--accent-soft); color: var(--accent-3); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  padding-left: var(--container-px);
  padding-right: var(--container-px);
  margin: 0 auto;
}
@media (min-width: 1400px) { :root { --container: 1440px; } }
@media (min-width: 1600px) { :root { --container: 1520px; } }
@media (min-width: 1920px) { :root { --container: 1640px; } }

/* ---------- Page loader ---------- */
.page-loader {
  position: fixed; inset: 0;
  background: var(--bg);
  display: grid; place-items: center;
  z-index: 9999;
  transition: opacity .4s ease, visibility .4s;
}
.page-loader.hide { opacity: 0; visibility: hidden; }
.page-loader__logo { width: 56px; height: 56px; display: grid; place-items: center; position: relative; }
.logo-mark, .brand__mark {
  width: 36px; height: 36px;
  background: var(--text);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  border-radius: 8px;
  letter-spacing: -0.02em;
}
.page-loader__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulse 1.5s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Topbar (compact info strip) ---------- */
.topbar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-3);
}
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 36px;
  gap: 16px;
}
.topbar__left { display: flex; gap: 22px; align-items: center; }
.topbar__left a {
  color: var(--text-3);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s;
}
.topbar__left a:hover { color: var(--text); }
.topbar__left svg { opacity: 0.55; }
.topbar__right { display: flex; gap: 8px; align-items: center; }
.topbar__pill {
  display: inline-flex; align-items: center;
  padding: 3px 9px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--text-3);
}
@media (max-width: 880px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: border-color .2s, background .2s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -0.015em;
}
.brand__sub {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 3px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 6px;
  position: relative;
  transition: color .15s, background .15s;
}
.nav > a:hover { color: var(--text); background: var(--bg-alt); }
.nav > a.active { color: var(--accent); }
.nav > a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: -22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav__cta { display: flex; gap: 8px; margin-left: 16px; }
.nav__close { display: none; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px;
  background: var(--text);
  border-radius: 1px;
}

@media (max-width: 1024px) {
  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(360px, 100%);
    background: var(--bg);
    border-left: 1px solid var(--border);
    flex-direction: column; align-items: stretch;
    padding: 80px 24px 32px;
    transform: translateX(105%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    gap: 4px;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.08);
  }
  .nav.is-open { transform: translateX(0); }
  .nav > a { padding: 12px 16px; font-size: 15px; border-radius: 8px; }
  .nav > a.active { background: var(--accent-soft); color: var(--accent); }
  .nav > a.active::after { display: none; }
  .nav__cta {
    flex-direction: column; gap: 10px;
    margin: 16px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  .nav__close {
    display: grid; place-items: center;
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 22px;
    color: var(--text-2);
  }
  .nav-toggle { display: flex; }
  body.nav-open { overflow: hidden; }
  body.nav-open::before {
    content: '';
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 99;
    backdrop-filter: blur(2px);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .12s, background .15s, border-color .15s, color .15s, box-shadow .2s;
  white-space: nowrap;
  border: 1px solid transparent;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(37, 99, 235, 0.18);
}
.btn-primary:hover {
  background: var(--accent-3);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 8px 18px rgba(37, 99, 235, 0.28);
}
.btn-ghost {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-dark {
  background: var(--text);
  color: #fff;
}
.btn-dark:hover { background: var(--bg-dark-2); color: #fff; transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.btn-gold:hover { transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 13px 26px; font-size: 15px; }

/* ---------- Surfaces ---------- */
.glass {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; position: relative; }
.section--sm { padding: 56px 0; }
.section--lg { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
@media (min-width: 1280px) {
  .section { padding: 96px 0; }
  .section--lg { padding: 120px 0; }
}
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section--lg { padding: 70px 0; }
  .section--sm { padding: 40px 0; }
}

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 100px;
  color: var(--accent-3);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.section-title { max-width: 640px; margin: 0 0 12px; color: var(--text); }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-subtitle {
  color: var(--text-2);
  font-size: 16px;
  max-width: 600px;
  line-height: 1.6;
}
.section-subtitle.center { margin: 0 auto; text-align: center; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }

.gradient-text { color: var(--accent); }
.gold-text { color: var(--warning); }

/* ---------- Hero ---------- */
.hero {
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
@media (min-width: 1024px) {
  .hero { padding: 90px 0 110px; }
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
}
.hero__badge {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .4; } }

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__lead {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--text-2);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.6;
}
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__trust {
  display: flex; gap: 32px;
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero__trust strong {
  color: var(--text);
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

/* Hero photo */
.hero__visual {
  position: relative;
  aspect-ratio: 5 / 6;
  max-height: 580px;
}
@media (max-width: 960px) {
  .hero__visual { aspect-ratio: 4 / 3; max-height: none; max-width: 560px; margin: 0 auto; width: 100%; }
}
.hero__photo {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.4) 100%);
  pointer-events: none;
}

.hero__card {
  position: absolute;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  display: flex; gap: 12px; align-items: center;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}
.hero__card .ico {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--accent);
}
.hero__card strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--text); }
.hero__card span { color: var(--text-3); font-size: 11.5px; }
.hero__card--1 { top: 24px; left: -16px; animation-delay: 0s; }
.hero__card--2 { bottom: 100px; right: -20px; animation-delay: -2s; }
.hero__card--3 { bottom: 24px; left: 30px; animation-delay: -4s; }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }

@media (max-width: 720px) {
  .hero__card { padding: 10px 14px; font-size: 12px; }
  .hero__card .ico { width: 30px; height: 30px; border-radius: 7px; }
  .hero__card strong { font-size: 12px; }
  .hero__card span { font-size: 10.5px; }
  .hero__card--1 { top: 12px; left: 6px; }
  .hero__card--2 { bottom: 70px; right: 6px; }
  .hero__card--3 { bottom: 12px; left: 30px; }
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stats__item {
  background: var(--bg);
  padding: 32px 20px;
  text-align: center;
}
.stats__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.025em;
}
.stats__label {
  color: var(--text-3);
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats__item { padding: 24px 16px; } }

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 720px) and (max-width: 1023px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .cards-grid { grid-template-columns: 1fr; gap: 16px; }
}

.card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s, box-shadow .25s;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-media__cat {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
  z-index: 2;
  box-shadow: var(--shadow-xs);
}
.card-media__icon {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--accent);
  z-index: 2;
  box-shadow: var(--shadow-xs);
}
.card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  margin: 24px 24px 0;
  color: var(--accent);
}
.card > h3 {
  padding: 20px 24px 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card > p {
  padding: 0 24px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  flex-grow: 1;
}
.card > .tag { margin: 0 24px 8px; }
.card__price {
  margin: 18px 24px 0;
  padding: 16px 0 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.card__price strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  display: block;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.card__price span {
  color: var(--text-3);
  font-size: 12px;
  display: block;
  margin-top: 2px;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent);
  padding: 0 24px 22px;
}
.card__link::after { content: '→'; transition: transform .2s; }
.card:hover .card__link::after { transform: translateX(3px); }

/* ---------- Feature list ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.feature {
  display: flex;
  gap: 14px;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.feature:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.feature__ico {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--accent-soft);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--accent);
}
.feature h4 { font-size: 15px; margin-bottom: 4px; font-weight: 600; }
.feature p { font-size: 13.5px; line-height: 1.55; }

/* ---------- Process timeline ---------- */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}
.timeline__item {
  position: relative;
  padding: 0 0 36px 56px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--accent-line);
}
.timeline__step {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.timeline__item h4 { margin: 6px 0 6px; font-size: 16px; }
.timeline__item p { font-size: 14px; }

/* ---------- Pricing cards ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; gap: 16px; } }

.price-card {
  position: relative;
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .2s, transform .2s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}
.price-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.price-card.popular {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 40%);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.15);
}
.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.price-card h3 { font-size: 18px; font-weight: 600; }
.price-card__tagline { color: var(--text-3); font-size: 13.5px; margin: 4px 0 22px; }
.price-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text);
}
.price-card__price small {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
  margin-left: 6px;
}
.price-card__cycle { font-size: 12.5px; color: var(--text-3); margin: 6px 0 22px; }
.price-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.price-card ul li { display: flex; gap: 10px; font-size: 13.5px; color: var(--text-2); align-items: flex-start; line-height: 1.5; }
.price-card ul li::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 2px;
  background: var(--accent-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232563eb' stroke-width='2.5'%3E%3Cpolyline points='3 8 6.5 11.5 13 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.testimonial__rating {
  color: var(--warning);
  margin-bottom: 14px;
  letter-spacing: 3px;
  font-size: 14px;
}
.testimonial__quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 22px;
  font-weight: 400;
}
.testimonial__author {
  display: flex; gap: 12px; align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent-soft);
  flex-shrink: 0;
}
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__author strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.testimonial__author span { font-size: 12.5px; color: var(--text-3); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: var(--shadow-xs);
}
.faq__item[open] { border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  transition: transform .25s;
  width: 20px; text-align: center;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item .answer {
  padding: 0 22px 22px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; color: var(--text-2); font-weight: 500; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14.5px;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: var(--shadow-xs);
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='1,1 6,7 11,1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* ---------- Auth pages ---------- */
.auth { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 50px 24px; background: var(--bg-alt); }
.auth__card {
  width: 100%;
  max-width: 420px;
  padding: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.auth__card h1 { font-size: 24px; margin-bottom: 6px; }
.auth__card .sub { color: var(--text-3); font-size: 14px; margin-bottom: 24px; }
.auth__bottom { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--text-3); }
.auth__bottom a { color: var(--accent); font-weight: 500; }

.auth--split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px);
  padding: 0;
  background: var(--bg);
}
.auth--split .auth__form-side { display: grid; place-items: center; padding: 50px 24px; background: var(--bg); }
.auth--split .auth__image-side {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}
.auth--split .auth__image-side img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85;
}
.auth--split .auth__image-side::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 28, 0.3) 0%, rgba(10, 15, 28, 0.7) 100%);
}
.auth--split .auth__image-quote {
  position: absolute; left: 32px; right: 32px; bottom: 32px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  z-index: 2;
}
.auth--split .auth__image-quote p {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 10px;
}
.auth--split .auth__image-quote span { color: rgba(255, 255, 255, 0.7); font-size: 12.5px; }
.auth--split .auth__card { box-shadow: none; background: transparent; border: none; padding: 0; max-width: 400px; }
@media (max-width: 1024px) {
  .auth--split { grid-template-columns: 1fr; }
  .auth--split .auth__image-side { display: none; }
  .auth--split .auth__form-side { padding: 50px 24px; background: var(--bg-alt); }
  .auth--split .auth__card {
    background: var(--bg);
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }
}

/* ---------- Flash ---------- */
.flash {
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid;
}
.flash-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.flash-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.flash-info    { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-3); }

/* ---------- Page header ---------- */
.page-header {
  padding: 64px 0 44px;
  text-align: center;
  position: relative;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-header h1 { margin-bottom: 12px; }
.breadcrumb {
  display: flex; gap: 6px;
  justify-content: center;
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 14px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }
@media (max-width: 720px) {
  .page-header { padding: 48px 0 32px; }
  .page-header h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
}

/* ---------- Portfolio ---------- */
.filter-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.filter-bar button {
  padding: 7px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: all .15s;
}
.filter-bar button:hover { color: var(--text); border-color: var(--border-strong); }
.filter-bar button.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
}
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.portfolio-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .25s;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
}
.portfolio-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.portfolio-card__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}
.portfolio-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.portfolio-card:hover .portfolio-card__cover img { transform: scale(1.04); }
.portfolio-card > .portfolio-card__cat {
  display: inline-block;
  margin: 22px 22px 0;
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: fit-content;
}
.portfolio-card > h3 { padding: 10px 22px 6px; font-size: 17px; font-weight: 600; }
.portfolio-card > p { padding: 0 22px; font-size: 14px; color: var(--text-2); flex-grow: 1; line-height: 1.55; }
.portfolio-card__tech {
  padding: 14px 22px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.portfolio-card > div:last-child { padding: 14px 22px 22px; display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
}
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .25s;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.blog-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  overflow: hidden;
}
.blog-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-card__media img { transform: scale(1.04); }
.blog-card__body {
  padding: 22px 24px 24px;
  display: flex; flex-direction: column;
  flex-grow: 1;
}
.blog-card__meta {
  display: flex; gap: 10px;
  font-size: 11.5px;
  color: var(--text-3);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.blog-card__meta span:first-child { color: var(--accent); }
.blog-card h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.35; font-weight: 600; }
.blog-card p { font-size: 14px; flex-grow: 1; line-height: 1.55; color: var(--text-2); }
.blog-card .card__link { padding: 14px 0 0; }

/* ---------- Pager ---------- */
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.pager a {
  padding: 7px 12px; min-width: 36px; text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}
.pager a:hover { border-color: var(--border-strong); color: var(--text); }
.pager a.active { background: var(--text); color: #fff; border-color: var(--text); }

/* ---------- CTA banner ---------- */
.cta-banner {
  padding: 48px 40px;
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  display: flex; gap: 24px;
  align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 70%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; max-width: 520px; }
.cta-banner h2 .gradient-text, .cta-banner h2 .gold-text { color: #93c5fd; }
.cta-banner p { color: rgba(255, 255, 255, 0.75); }
.cta-banner__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-banner .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.cta-banner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

@media (max-width: 720px) {
  .cta-banner { padding: 32px 24px; flex-direction: column; align-items: stretch; text-align: center; }
  .cta-banner__btns { justify-content: center; }
}

/* ---------- Footer (deep navy) ---------- */
.footer {
  padding-top: 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  margin-top: 80px;
}
.footer__cta {
  margin-top: -60px;
  padding: 36px 40px;
  display: flex; gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}
.footer__cta h3 { font-size: 22px; margin-bottom: 6px; color: var(--text); }
.footer__cta p { color: var(--text-2); font-size: 14.5px; }
.footer__cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.footer__grid {
  padding: 60px 0 36px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 48px;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.footer__col ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  transition: color .15s;
}
.footer__col ul a:hover { color: #fff; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__sub { color: rgba(255, 255, 255, 0.5); }
.brand--footer .brand__mark { background: #fff; color: var(--bg-dark); }
.brand--footer { margin-bottom: 16px; }
.footer__about {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.footer__legal {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  display: flex; flex-direction: column;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__legal strong {
  color: rgba(255, 255, 255, 0.75);
  margin-right: 4px;
  font-weight: 600;
}
.footer__legal a { color: rgba(255, 255, 255, 0.65); }
.footer__legal a:hover { color: #fff; }

.newsletter-form {
  display: flex; gap: 6px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 4px 4px 4px 12px;
}
.newsletter-form input {
  flex-grow: 1;
  background: none; border: none;
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter-form button {
  width: 38px; height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: 16px;
  transition: transform .2s, background .2s;
}
.newsletter-form button:hover { background: var(--accent-3); }

.footer__social { display: flex; gap: 8px; margin-top: 18px; }
.footer__social a {
  width: 34px; height: 34px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all .2s;
}
.footer__social a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.footer__legal-bar {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}
.footer__legal-bar div { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal-bar a { color: rgba(255, 255, 255, 0.6); }
.footer__legal-bar a:hover { color: #fff; }

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; padding: 48px 0 32px; }
  .footer__col--brand { grid-column: 1 / -1; }
  .footer__col--newsletter { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__cta { padding: 28px 24px; }
  .footer__legal-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- WhatsApp float ---------- */
.float-whatsapp {
  position: fixed; bottom: 22px; right: 22px;
  z-index: 80;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
  transition: transform .2s;
}
.float-whatsapp:hover { transform: scale(1.06); color: #fff; }
@media (max-width: 720px) {
  .float-whatsapp { width: 48px; height: 48px; bottom: 16px; right: 16px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Service detail ---------- */
.service-detail__hero { padding: 56px 0 24px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.service-detail__hero h1 { margin-bottom: 14px; }
.service-detail__meta {
  display: flex; gap: 22px;
  flex-wrap: wrap;
  margin: 22px 0 28px;
  font-size: 13px;
  color: var(--text-3);
}
.service-detail__meta strong {
  color: var(--text);
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: -0.015em;
}
.service-hero-media {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.service-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Post hero ---------- */
.post-hero {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- About figure ---------- */
.about-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 380px;
  box-shadow: var(--shadow-md);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about-figure::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.65) 100%);
  pointer-events: none;
}
.about-figure__badge {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  z-index: 2;
  max-width: 320px;
  box-shadow: var(--shadow);
}
.about-figure__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.about-figure__badge span { font-size: 13px; color: var(--text-2); }

/* ---------- Team ---------- */
.team-card {
  text-align: center;
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .2s, transform .2s, box-shadow .25s;
  box-shadow: var(--shadow-xs);
}
.team-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.team-card__photo {
  width: 96px; height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent-soft);
  border: 2px solid var(--border);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: 4px; font-size: 16px; }
.team-card .role {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
}
.team-card .bio { font-size: 13.5px; line-height: 1.55; color: var(--text-2); }

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  font-size: 11.5px;
  padding: 3px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-2);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- Logo grid (clients) ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  align-items: center;
  padding: 24px 0;
}
.logo-grid .logo {
  height: 28px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.06em;
  font-size: 14px;
  border-left: 1px solid var(--border);
  padding: 0 14px;
  transition: color .2s;
}
.logo-grid .logo:hover { color: var(--text); }
.logo-grid .logo:first-child { border-left: none; }
@media (max-width: 720px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 0; }
  .logo-grid .logo { font-size: 12px; padding: 0 6px; border-left: none; }
}

/* ---------- Divider ---------- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

/* ---------- Dashboard ---------- */
.dash {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 32px 0 70px;
}
@media (max-width: 880px) { .dash { grid-template-columns: 1fr; } }
.dash__side {
  position: sticky; top: 84px;
  align-self: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex; flex-direction: column;
  gap: 2px;
  height: fit-content;
  box-shadow: var(--shadow-xs);
}
.dash__side a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-2);
  display: flex; gap: 10px;
  align-items: center;
  transition: all .15s;
  font-weight: 500;
}
.dash__side a:hover { background: var(--bg-alt); color: var(--text); }
.dash__side a.active { background: var(--accent-soft); color: var(--accent); }
.dash__main { display: flex; flex-direction: column; gap: 22px; }
.dash__greet h1 { font-size: 24px; margin-bottom: 4px; }
.dash__greet p { color: var(--text-3); font-size: 14.5px; }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 720px) { .dash-stats { grid-template-columns: repeat(2, 1fr); } }
.dash-stat {
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}
.dash-stat strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  display: block;
  letter-spacing: -0.02em;
  color: var(--text);
}
.dash-stat span { color: var(--text-3); font-size: 12.5px; font-weight: 500; }

.dash-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13.5px;
  box-shadow: var(--shadow-xs);
}
.dash-table th, .dash-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.dash-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  background: var(--bg-alt);
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: var(--bg-alt); }
@media (max-width: 720px) {
  table.dash-table { display: block; overflow-x: auto; white-space: nowrap; }
}

.badge {
  display: inline-block;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-open      { background: #dbeafe; color: #1e40af; }
.badge-progress, .badge-in_progress  { background: #fef3c7; color: #92400e; }
.badge-resolved, .badge-paid, .badge-approved { background: #dcfce7; color: #166534; }
.badge-closed    { background: #f1f5f9; color: #475569; }
.badge-pending, .badge-reviewing, .badge-sent { background: var(--accent-soft); color: var(--accent-3); }
.badge-rejected, .badge-overdue, .badge-cancelled { background: #fee2e2; color: #991b1b; }
.badge-new       { background: #cffafe; color: #155e75; }

/* ---------- Admin ---------- */
.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--bg-alt);
}
@media (max-width: 960px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-side {
  background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 22px 16px;
  height: 100vh;
  position: sticky; top: 0;
  overflow-y: auto;
}
.admin-side .brand { padding: 0 6px 18px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.admin-nav { display: flex; flex-direction: column; gap: 1px; }
.admin-nav a {
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--text-2);
  display: flex; gap: 10px; align-items: center;
  font-weight: 500;
  transition: all .15s;
}
.admin-nav a:hover { background: var(--bg-alt); color: var(--text); }
.admin-nav a.active { background: var(--accent-soft); color: var(--accent); }
.admin-nav h5 {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 14px 12px 4px;
  font-weight: 600;
}
.admin-main { padding: 28px 32px 56px; }
@media (max-width: 960px) {
  .admin-side { position: static; height: auto; padding-bottom: 12px; }
  .admin-main { padding: 22px; }
}
.admin-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-bar h1 { font-size: 22px; }
.admin-body { background: var(--bg-alt); }

/* ---------- Misc ---------- */
.kbd {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 2px 7px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-2);
}

/* ---------- Touch + a11y ---------- */
button, a { -webkit-tap-highlight-color: rgba(37, 99, 235, 0.15); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
@media (max-width: 720px) {
  .btn { min-height: 42px; }
  .btn-sm { min-height: 0; }
  body { font-size: 15.5px; }
}

/* ---------- Image fallback bg ---------- */
img[data-fallback] { background: var(--bg-alt); }


/* ==========================================================
   Section Themes — alternating backgrounds for visual rhythm
   ========================================================== */

/* Variant 1 — soft cream/peach (warm, premium feel) */
.section--cream {
  background: #faf7f2;
  border-top: 1px solid #efe9de;
  border-bottom: 1px solid #efe9de;
}

/* Variant 2 — soft mint (fresh, calm) */
.section--mint {
  background: #f1f7f4;
  border-top: 1px solid #dde9e3;
  border-bottom: 1px solid #dde9e3;
}

/* Variant 3 — soft blue tint (corporate, trust) */
.section--blue {
  background: #f3f7fc;
  border-top: 1px solid #dde7f3;
  border-bottom: 1px solid #dde7f3;
}

/* Variant 4 — neutral slate */
.section--slate {
  background: #f5f6f8;
  border-top: 1px solid #e6e8ed;
  border-bottom: 1px solid #e6e8ed;
}

/* Variant 5 — soft lavender (premium, designerly) */
.section--lavender {
  background: #f6f4fb;
  border-top: 1px solid #e7e2f1;
  border-bottom: 1px solid #e7e2f1;
}

/* Variant 6 — dark navy section (high contrast, used sparingly) */
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255, 255, 255, 0.7); }
.section--dark .section-eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #93c5fd;
}
.section--dark .section-eyebrow::before { background: #93c5fd; }
.section--dark .feature {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
.section--dark .feature:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}
.section--dark .feature h4 { color: #fff; }
.section--dark .feature p { color: rgba(255, 255, 255, 0.65); }
.section--dark .feature__ico {
  background: rgba(96, 165, 250, 0.15);
  color: #93c5fd;
}
.section--dark .stats {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}
.section--dark .stats__item { background: var(--bg-dark); }
.section--dark .stats__num { color: #fff; }
.section--dark .stats__label { color: rgba(255, 255, 255, 0.55); }
.section--dark .timeline::before { background: rgba(255, 255, 255, 0.12); }
.section--dark .timeline__item::before { box-shadow: 0 0 0 4px var(--bg-dark), 0 0 0 5px rgba(255, 255, 255, 0.15); }
.section--dark .timeline__item h4 { color: #fff; }
.section--dark .timeline__step { color: #93c5fd; }

/* Section eyebrow colour variants per theme */
.section--cream .section-eyebrow {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.2);
  color: #b45309;
}
.section--cream .section-eyebrow::before { background: #b45309; }

.section--mint .section-eyebrow {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.2);
  color: #15803d;
}
.section--mint .section-eyebrow::before { background: #15803d; }

.section--lavender .section-eyebrow {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.2);
  color: #6d28d9;
}
.section--lavender .section-eyebrow::before { background: #6d28d9; }

/* ---------- Tighter padding adjustments ---------- */
@media (min-width: 1400px) {
  :root { --container-px: 32px; }
}
@media (min-width: 1600px) {
  :root { --container-px: 40px; }
}

/* Hero gets slightly more breathing room */
.hero { padding: 60px 0 80px; }
@media (min-width: 1024px) { .hero { padding: 80px 0 100px; } }

/* ---------- Reduce default section padding so rhythm reads cleaner ---------- */
.section { padding: 72px 0; }
.section--lg { padding: 96px 0; }
.section--sm { padding: 48px 0; }
@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .section--lg { padding: 64px 0; }
  .section--sm { padding: 32px 0; }
}

/* ---------- Section subtle pattern overlay for cream theme ---------- */
.section--cream::before,
.section--mint::before,
.section--blue::before,
.section--lavender::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.6;
}
.section--cream, .section--mint, .section--blue, .section--lavender, .section--slate, .section--dark {
  position: relative;
  overflow: hidden;
}
.section--cream > .container,
.section--mint > .container,
.section--blue > .container,
.section--lavender > .container,
.section--slate > .container,
.section--dark > .container { position: relative; z-index: 1; }

/* ---------- Make footer CTA work over any section bg ---------- */
.footer { margin-top: 0; }
.footer__cta { margin-top: -60px; }


/* ==========================================================
   Mobile Responsiveness — Final Polish Layer
   ========================================================== */

/* ---------- Layout helpers (replaces inline grids) ---------- */

/* Generic 2-column splits used across pages */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.split-contact {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.invoice-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

/* About page: image right, text left */
.about-split { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 880px) {
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .about-figure { min-height: 280px; height: 280px; max-height: 320px; }
}

/* Service detail body: 2/3 content + 1/3 sticky aside */
.service-detail__body {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 50px;
}
.service-detail__aside {
  position: sticky;
  top: 100px;
  align-self: start;
}
@media (max-width: 960px) {
  .service-detail__body { grid-template-columns: 1fr; gap: 28px; }
  .service-detail__aside { position: static; }
  .service-detail__aside .glass { padding: 24px !important; }
}

/* Contact split */
@media (max-width: 880px) {
  .split-contact { grid-template-columns: 1fr; gap: 22px; }
  .split-contact .glass { padding: 28px 22px !important; }
  .split-contact aside .glass { padding: 24px !important; }
}

/* Invoice / lead grids */
@media (max-width: 640px) {
  .invoice-meta, .lead-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Admin two-column splits */
.admin-split-2-1 {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) {
  .admin-split-2-1 { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- MOBILE NAV — completely rebuilt ---------- */

@media (max-width: 1024px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 100vw);
    height: 100vh;
    height: 100dvh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 70px 18px 24px;
    transform: translateX(105%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 2px;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.12);
    z-index: 110;
  }
  .nav.is-open { transform: translateX(0); }

  /* Each nav link gets its own row, spaced cleanly */
  .nav > a {
    display: block;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-radius: 10px;
    border: 1px solid transparent;
    margin-bottom: 0;
    line-height: 1.3;
  }
  .nav > a:hover { background: var(--bg-alt); }
  .nav > a.active {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent-line);
  }
  .nav > a.active::after { display: none; }

  .nav__cta {
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--border);
  }
  .nav__cta .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14.5px;
  }
  .nav__close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 22px;
    color: var(--text-2);
    cursor: pointer;
    z-index: 2;
  }
  .nav-toggle { display: flex; }

  body.nav-open { overflow: hidden; }
  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 105;
    backdrop-filter: blur(2px);
  }
}

/* ---------- HEADER on mobile ---------- */
@media (max-width: 720px) {
  .header__inner { height: 60px; gap: 14px; }
  .brand__sub { display: none; }
  .brand__mark { width: 34px; height: 34px; font-size: 16px; }
  .brand__name { font-size: 15px; }
  .nav-toggle { width: 38px; height: 38px; }
}

/* ---------- HERO on mobile ---------- */
@media (max-width: 960px) {
  .hero { padding: 40px 0 56px; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.4rem); margin-bottom: 14px; }
  .hero__lead { font-size: 15.5px; margin-bottom: 22px; }
  .hero__cta { gap: 8px; margin-bottom: 26px; }
  .hero__trust { gap: 22px; padding-top: 18px; font-size: 12px; }
  .hero__trust strong { font-size: 18px; }
  .hero__visual { aspect-ratio: 4/3; max-width: 100%; }
}
@media (max-width: 540px) {
  .hero__cta .btn { flex: 1 1 calc(50% - 4px); padding: 11px 14px; font-size: 13px; min-height: 42px; }
  .hero__cta .btn-lg { font-size: 13.5px; }
  .hero__card { padding: 9px 12px; gap: 8px; border-radius: 8px; }
  .hero__card .ico { width: 28px; height: 28px; border-radius: 6px; }
  .hero__card svg { width: 14px; height: 14px; }
  .hero__card strong { font-size: 11.5px; }
  .hero__card span { font-size: 10px; }
  .hero__card--1 { top: 8px; left: 4px; }
  .hero__card--2 { bottom: 56px; right: 4px; }
  .hero__card--3 { bottom: 8px; left: 28px; }
}

/* ---------- TYPE scaling on mobile ---------- */
@media (max-width: 720px) {
  body { font-size: 15px; line-height: 1.55; }
  h1 { font-size: clamp(1.7rem, 6vw, 2.1rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  h3 { font-size: 1.05rem; }
  .section-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .section-subtitle { font-size: 14.5px; }
  .section-head { margin-bottom: 32px; }
  .section-eyebrow { font-size: 10.5px; padding: 4px 10px; margin-bottom: 12px; }
}

/* ---------- PAGE HEADER (breadcrumbs, page titles) ---------- */
@media (max-width: 720px) {
  .page-header { padding: 36px 0 28px; }
  .page-header h1 { font-size: clamp(1.6rem, 6vw, 2rem); margin-bottom: 8px; }
  .page-header p { font-size: 14px; }
  .breadcrumb { font-size: 11.5px; flex-wrap: wrap; row-gap: 4px; }
}

/* ---------- SERVICE DETAIL hero on mobile ---------- */
@media (max-width: 720px) {
  .service-detail__hero { padding: 36px 0 16px; }
  .service-detail__hero .breadcrumb { justify-content: flex-start; flex-wrap: wrap; }
  .service-detail__hero h1 { font-size: clamp(1.7rem, 6vw, 2.1rem); }
  .service-detail__hero p { font-size: 15px !important; }
  .service-detail__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0 22px;
    padding: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  .service-detail__meta strong { font-size: 14.5px; }
  .service-detail__meta > div { font-size: 11.5px; line-height: 1.3; }
  .service-hero-media { aspect-ratio: 16/10; margin-top: 18px; }
}
@media (max-width: 480px) {
  .service-detail__meta { grid-template-columns: 1fr; gap: 10px; padding: 12px 14px; }
  .service-detail__meta > div { display: flex; justify-content: space-between; align-items: center; }
  .service-detail__meta strong { display: inline; font-size: 14px; }
}

/* ---------- SERVICE detail body ---------- */
@media (max-width: 960px) {
  .service-detail__body h2 { font-size: 1.35rem; }
}

/* ---------- ABOUT page typography ---------- */
@media (max-width: 720px) {
  .about-split p { font-size: 14.5px; }
  .about-figure__badge { padding: 12px 14px; max-width: none; left: 14px; right: 14px; bottom: 14px; }
  .about-figure__badge strong { font-size: 18px; }
  .about-figure__badge span { font-size: 12px; }
}

/* ---------- CONTACT page ---------- */
@media (max-width: 720px) {
  .split-contact .glass { padding: 24px 20px !important; }
  .split-contact h2 { font-size: 1.35rem; }
  .split-contact iframe { height: 220px !important; }
}

/* ---------- CARDS on mobile ---------- */
@media (max-width: 720px) {
  .card-media, .blog-card__media, .portfolio-card__cover { aspect-ratio: 16/10; }
  .card > h3, .blog-card h3 { font-size: 16px; padding: 18px 20px 4px; }
  .card > p, .blog-card p { padding: 0 20px; font-size: 13.5px; }
  .card > .card__price { margin: 14px 20px 0; padding-bottom: 16px; }
  .card > .card__link { padding: 0 20px 18px; }
  .blog-card__body { padding: 20px; }
  .portfolio-card > .portfolio-card__cat { margin: 18px 20px 0; }
  .portfolio-card > h3, .portfolio-card > p,
  .portfolio-card > .portfolio-card__tech { padding-left: 20px; padding-right: 20px; }
  .portfolio-card > div:last-child { padding: 12px 20px 18px; }
}

/* ---------- PRICING cards on mobile ---------- */
@media (max-width: 720px) {
  .price-card { padding: 28px 22px; }
  .price-card__price { font-size: 32px; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-3px); }
}

/* ---------- TIMELINE on mobile ---------- */
@media (max-width: 720px) {
  .timeline::before { left: 14px; }
  .timeline__item { padding-left: 44px; padding-bottom: 28px; }
  .timeline__item::before { left: 9px; width: 10px; height: 10px; }
  .timeline__item h4 { font-size: 15px; }
  .timeline__item p { font-size: 13.5px; }
  .timeline__step { font-size: 11px; }
}

/* ---------- TESTIMONIALS on mobile ---------- */
@media (max-width: 720px) {
  .testimonial { padding: 22px 20px; }
  .testimonial__quote { font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; }
  .testimonial__author strong { font-size: 13.5px; }
  .testimonial__author span { font-size: 12px; }
}

/* ---------- FAQ on mobile ---------- */
@media (max-width: 720px) {
  .faq__item summary { padding: 14px 18px; font-size: 14px; gap: 12px; }
  .faq__item summary::after { font-size: 20px; }
  .faq__item .answer { padding: 0 18px 18px; font-size: 13.5px; }
}

/* ---------- STATS strip on mobile ---------- */
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item { padding: 22px 14px; }
  .stats__num { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .stats__label { font-size: 12px; }
}

/* ---------- LOGO grid on mobile ---------- */
@media (max-width: 720px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 14px;
    padding: 12px 0;
  }
  .logo-grid .logo {
    font-size: 11.5px;
    height: 26px;
    padding: 0 4px;
    border-left: none;
    letter-spacing: 0.04em;
  }
}

/* ---------- FILTER bar on mobile ---------- */
@media (max-width: 720px) {
  .filter-bar {
    margin: 0 calc(var(--container-px) * -1) 24px;
    padding: 0 var(--container-px) 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar a, .filter-bar > * { flex-shrink: 0; }
  .filter-bar button { white-space: nowrap; padding: 6px 12px; font-size: 12.5px; }
}

/* ---------- FOOTER on mobile ---------- */
@media (max-width: 720px) {
  .footer { margin-top: 0; }
  .footer__cta {
    margin-top: -50px;
    padding: 26px 22px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 18px;
  }
  .footer__cta h3 { font-size: 19px; }
  .footer__cta p { font-size: 14px; }
  .footer__cta-btns { justify-content: center; }
  .footer__cta-btns .btn { flex: 1 1 calc(50% - 5px); }
}
@media (max-width: 540px) {
  .footer__grid { gap: 26px; padding: 40px 0 28px; }
  .footer__col h4 { font-size: 11px; margin-bottom: 12px; }
  .footer__col ul a { font-size: 13.5px; }
  .footer__about { font-size: 13.5px; }
  .footer__legal-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- BUTTONS — touch-friendly ---------- */
@media (max-width: 720px) {
  .btn { min-height: 44px; padding: 11px 18px; font-size: 13.5px; }
  .btn-sm { min-height: 0; padding: 7px 14px; font-size: 12.5px; }
  .btn-lg { padding: 13px 22px; font-size: 14.5px; }
  .btn-block { padding: 13px 18px; }
}

/* ---------- FORMS ---------- */
@media (max-width: 540px) {
  .form-control { padding: 12px 14px; font-size: 15px; /* prevents iOS zoom */ }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .form-grid { gap: 14px; }
  .auth__card { padding: 28px 22px; }
  .auth__card h1 { font-size: 22px; }
}

/* ---------- DASHBOARD on mobile ---------- */
@media (max-width: 880px) {
  .dash { grid-template-columns: 1fr; padding: 22px 0 56px; gap: 18px; }
  .dash__side {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 4px;
    padding: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .dash__side::-webkit-scrollbar { display: none; }
  .dash__side a { white-space: nowrap; padding: 8px 14px; font-size: 13px; }
  .dash__greet h1 { font-size: 22px; }
  .dash-stats { gap: 12px; }
  .dash-stat { padding: 16px 18px; }
  .dash-stat strong { font-size: 20px; }
}
@media (max-width: 540px) {
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- TABLES — horizontal scroll ---------- */
@media (max-width: 720px) {
  .dash-table { font-size: 12.5px; }
  .dash-table th, .dash-table td { padding: 10px 12px; }
  table.dash-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

/* ---------- ADMIN on mobile ---------- */
@media (max-width: 960px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side {
    position: static;
    height: auto;
    padding: 14px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .admin-nav h5 {
    width: 100%;
    padding: 10px 6px 4px;
  }
  .admin-nav a {
    padding: 7px 12px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  .admin-main { padding: 22px 18px 56px; }
  .admin-bar h1 { font-size: 19px; }
}

/* ---------- WHATSAPP float on mobile ---------- */
@media (max-width: 720px) {
  .float-whatsapp {
    width: 50px; height: 50px;
    bottom: 16px; right: 16px;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  }
}

/* ---------- CTA banner section on mobile ---------- */
@media (max-width: 720px) {
  .cta-banner {
    padding: 28px 22px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 18px;
  }
  .cta-banner h2 { font-size: 1.4rem; line-height: 1.3; }
  .cta-banner__btns { justify-content: center; }
  .cta-banner__btns .btn { flex: 1 1 calc(50% - 5px); }
}

/* ---------- AUTH split — already handled, polish for tiny screens ---------- */
@media (max-width: 540px) {
  .auth { padding: 32px 16px; }
  .auth--split .auth__form-side { padding: 32px 16px; }
}

/* ---------- Container side padding tweak for very small screens ---------- */
@media (max-width: 480px) {
  :root { --container-px: 16px; }
}

/* ---------- Section padding tighter on mobile ---------- */
@media (max-width: 720px) {
  .section { padding: 44px 0; }
  .section--lg { padding: 56px 0; }
  .section--sm { padding: 28px 0; }
}

/* ---------- PREVENT horizontal scroll universally ---------- */
html, body { overflow-x: hidden; }
.container, .main { max-width: 100%; }

/* ---------- Tap target — Apple guideline ---------- */
a, button, input[type="submit"], input[type="button"] {
  -webkit-tap-highlight-color: rgba(37, 99, 235, 0.15);
}


/* ==========================================================
   Mobile Nav — bulletproof styles (highest specificity)
   ========================================================== */

@media (max-width: 1024px) {
  /* Solid white drawer with strong text contrast */
  .nav.nav, /* doubled selector to win specificity */
  nav.nav {
    background: #ffffff !important;
    color: #0f172a;
  }

  /* Each link — bold dark text, large tap target, clean spacing */
  .nav > a {
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 16px 18px !important;
    border-radius: 10px !important;
    background: transparent;
    border: 1px solid transparent;
    margin: 0 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em;
    transition: background .15s, color .15s;
  }
  .nav > a:hover,
  .nav > a:focus {
    background: #f1f5f9 !important;
    color: #0f172a !important;
  }
  .nav > a.active {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #bfdbfe !important;
  }

  /* CTA buttons block at the bottom */
  .nav__cta {
    flex-direction: column !important;
    gap: 10px !important;
    margin: 18px 0 0 !important;
    padding-top: 18px !important;
    border-top: 1px solid #e2e8f0 !important;
  }
  .nav__cta .btn {
    width: 100% !important;
    padding: 13px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    min-height: 46px !important;
  }
  .nav__cta .btn-ghost {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
  }
  .nav__cta .btn-primary {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
  }

  /* Close button — clean, top-right */
  .nav__close {
    display: grid !important;
    place-items: center !important;
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 22px !important;
    color: #475569 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    z-index: 5 !important;
  }
  .nav__close:hover { background: #e2e8f0 !important; }

  /* Drawer scroll behaviour */
  .nav.is-open {
    transform: translateX(0) !important;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.12) !important;
  }
}

/* ==========================================================
   Mobile-first content visibility (your phone screenshot fix)
   ========================================================== */

/* Make sure body text is readable on mobile no matter what */
@media (max-width: 720px) {
  body { color: #0f172a; background: #ffffff; }
  p { color: #475569; }
  .text-2, .text-3 { color: #475569; }
}


/* ==========================================================
   PRICING — Premium Redesign (v4.1)
   Reference: Stripe / Linear / Webflow pricing
   ========================================================== */

/* Override the basic price-card with a richer, more trustworthy design */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; gap: 20px; } }

.price-card {
  position: relative;
  padding: 36px 32px 32px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  transition: transform .25s cubic-bezier(.4,0,.2,1), border-color .2s, box-shadow .25s;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

/* Subtle decorative gradient at top of every card */
.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
  opacity: 0.6;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: #94a3b8;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1), 0 4px 8px rgba(15, 23, 42, 0.04);
}

/* Featured / popular tier — premium dark treatment */
.price-card.popular {
  background: linear-gradient(180deg, #0a0f1c 0%, #111827 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.4),
    0 24px 60px rgba(15, 23, 42, 0.4),
    0 12px 30px rgba(37, 99, 235, 0.18);
  transform: translateY(-8px);
}
.price-card.popular::before {
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #3b82f6, #2563eb);
  opacity: 1;
}
.price-card.popular:hover {
  transform: translateY(-12px);
  border-color: rgba(59, 130, 246, 0.3);
}
.price-card.popular h3 { color: #ffffff; }
.price-card.popular .price-card__tagline { color: #94a3b8; }
.price-card.popular .price-card__price { color: #ffffff; }
.price-card.popular .price-card__price small { color: #94a3b8; }
.price-card.popular .price-card__cycle { color: #94a3b8; }
.price-card.popular ul li { color: #cbd5e1; }
.price-card.popular ul li::before {
  background: rgba(59, 130, 246, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2393c5fd' stroke-width='2.5'%3E%3Cpolyline points='3 8 6.5 11.5 13 5'/%3E%3C/svg%3E");
}
.price-card.popular .price-card__divider { border-color: rgba(255, 255, 255, 0.08); }
.price-card.popular .price-card__included-label { color: #94a3b8; }
.price-card.popular .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}
.price-card.popular .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.price-card.popular .btn-primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 6px 16px rgba(37, 99, 235, 0.4);
}

/* Header — name + tagline */
.price-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.price-card__tagline {
  color: #64748b;
  font-size: 13.5px;
  margin: 0 0 28px;
  line-height: 1.5;
  min-height: 36px;
}

/* Most Popular ribbon — properly positioned, premium */
.price-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 11px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  border-radius: 100px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}
.price-card__badge::before {
  content: '★';
  font-size: 10px;
}

/* Price block — bigger, with currency emphasis */
.price-card__price-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}
.price-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  color: #0f172a;
  letter-spacing: -0.03em;
}
.price-card__price small {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin-left: 6px;
}
.price-card__cycle {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-card__cycle::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}

/* Divider between price & features */
.price-card__divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 0 0 22px;
}

/* "What's included" label */
.price-card__included-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 14px;
  display: block;
}

/* Features list */
.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
  flex-grow: 1;
}
.price-card ul li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: #334155;
  align-items: flex-start;
  line-height: 1.5;
}
.price-card ul li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 1px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232563eb' stroke-width='2.5'%3E%3Cpolyline points='3 8 6.5 11.5 13 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* CTA button */
.price-card .btn {
  width: 100%;
  padding: 13px 22px;
  font-size: 14.5px;
  font-weight: 600;
  min-height: 46px;
  letter-spacing: -0.005em;
}

/* "Includes" microcopy below CTA */
.price-card__footnote {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.price-card__footnote::before {
  content: '✓';
  font-size: 11px;
  color: #16a34a;
  font-weight: 700;
}
.price-card.popular .price-card__footnote { color: #94a3b8; }
.price-card.popular .price-card__footnote::before { color: #34d399; }

/* ==========================================================
   Trust strip — appears above pricing cards
   ========================================================== */
.pricing-trust {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 16px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  max-width: max-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.pricing-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
}
.pricing-trust__item svg {
  flex-shrink: 0;
  color: #16a34a;
}
@media (max-width: 720px) {
  .pricing-trust {
    border-radius: 14px;
    padding: 14px 18px;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    margin-bottom: 28px;
  }
  .pricing-trust__item { font-size: 13px; }
}

/* ==========================================================
   Pricing CTA bar — appears below cards (custom quote)
   ========================================================== */
.pricing-cta {
  margin-top: 44px;
  padding: 28px 36px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.pricing-cta__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}
.pricing-cta__text p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}
.pricing-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .pricing-cta { padding: 22px 22px; flex-direction: column; align-items: stretch; text-align: center; }
  .pricing-cta__btns { justify-content: center; }
  .pricing-cta__btns .btn { flex: 1 1 calc(50% - 5px); }
}

/* ==========================================================
   Mobile pricing tweaks
   ========================================================== */
@media (max-width: 720px) {
  .price-card { padding: 28px 24px 26px; }
  .price-card__price { font-size: 36px; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-4px); }
  .price-card__badge { top: 14px; right: 14px; font-size: 9.5px; padding: 4px 10px; }
  .price-card__tagline { min-height: 0; margin-bottom: 22px; }
  .price-card__cycle { margin-bottom: 22px; }
  .price-card ul { margin-bottom: 22px; }
}
