/* ==========================================================================
   SA Business Solutions Group — Design System
   ========================================================================== */

:root {
  --navy-950: #0a1628;
  --navy-900: #0f2038;
  --navy-800: #16304f;
  --navy-700: #1e3f66;
  --navy-600: #2a5183;
  --ink: #101828;
  --ink-soft: #475467;
  --ink-mute: #667085;
  --paper: #ffffff;
  --cloud: #f7f9fc;
  --cloud-2: #eef2f8;
  --line: #e3e8f0;

  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-50: #fffbeb;

  --teal-600: #0d9488;
  --teal-50: #f0fdfa;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 4px 16px rgba(16, 24, 40, .08);
  --shadow-lg: 0 16px 48px rgba(16, 24, 40, .14);
  --shadow-navy: 0 20px 50px rgba(10, 22, 40, .35);

  --container: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Lexend', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy-950);
}

p { color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--amber-500);
  border-radius: 2px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 44px 0; }
}

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.section-head p { font-size: 17px; }

.bg-cloud { background: var(--cloud); }
.bg-navy { background: var(--navy-950); color: #fff; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  border: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #1a1200;
  box-shadow: 0 8px 24px rgba(217, 119, 6, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(217, 119, 6, .4); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.btn-navy {
  background: var(--navy-950);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn-ghost-navy {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--navy-950);
}
.btn-ghost-navy:hover { background: var(--cloud-2); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  display: grid; place-items: center;
  color: var(--amber-400);
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.brand-text { line-height: 1.15; }
.brand-text .b1 {
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--navy-950);
  letter-spacing: -.01em;
}
.brand-text .b2 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink-mute);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .18s, color .18s;
}
.nav-links a:hover { background: var(--cloud-2); color: var(--navy-950); }
.nav-links a.active { color: var(--navy-950); background: var(--cloud-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost-navy { display: none; }
  .nav-toggle { display: flex; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 24px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--navy-950);
}
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(245,158,11,.16), transparent 60%),
    radial-gradient(500px 500px at 10% 90%, rgba(13,148,136,.12), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 92px 0 96px;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding: 56px 0 48px; gap: 36px; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--amber-500);
  display: grid; place-items: center;
  font-size: 12px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  color: #fff;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--amber-400); }
.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,.76);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats .stat b {
  font-family: 'Lexend', sans-serif;
  font-size: 26px;
  color: #fff;
  display: block;
}
.hero-stats .stat span {
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-navy);
  aspect-ratio: 4/5;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(10,22,40,.55) 100%);
}
.hero-float-card {
  position: absolute;
  left: -28px;
  bottom: 28px;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 240px;
}
@media (max-width: 980px) { .hero-float-card { left: 16px; } }
.hero-float-card .ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--teal-50); color: var(--teal-600);
  display: grid; place-items: center; flex-shrink: 0;
}
.hero-float-card b { font-size: 14px; color: var(--navy-950); display: block; }
.hero-float-card span { font-size: 12px; color: var(--ink-mute); }

/* ---------- Logo strip ---------- */
.strip {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.strip-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.strip-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.strip-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.strip-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--cloud);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-950);
}
.strip-badge .chk { color: var(--teal-600); }

/* ---------- Cards / Pillars ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 14.5px; margin-bottom: 18px; }
.card .card-link {
  font-size: 14px; font-weight: 700; color: var(--navy-950);
  display: inline-flex; align-items: center; gap: 6px;
}
.card .card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(3px); }

.ico-amber { background: var(--amber-50); color: var(--amber-600); }
.ico-teal { background: var(--teal-50); color: var(--teal-600); }
.ico-navy { background: var(--navy-950); color: var(--amber-400); }

/* ---------- Split / feature rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split.reverse .col-media { order: 2; }
@media (max-width: 900px) { .split.reverse .col-media { order: unset; } }

.col-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15px;
}
.check-list li:last-child { border-bottom: none; }
.check-list .tick {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  display: grid; place-items: center;
  margin-top: 1px;
}
.check-list b { color: var(--navy-950); }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--navy-950);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 900px) { .stats-band { grid-template-columns: repeat(2, 1fr); padding: 32px 20px; } }
.stats-band .num {
  font-family: 'Lexend', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--amber-400);
}
.stats-band .lbl { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 600; margin-top: 6px; }

/* ---------- Table ---------- */
.table-wrap-clean { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table.clean { width: 100%; border-collapse: collapse; background: #fff; }
table.clean th {
  background: var(--navy-950); color: #fff;
  text-align: left; padding: 16px 20px; font-size: 13.5px; font-weight: 700;
}
table.clean td { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); }
table.clean tr:last-child td { border-bottom: none; }
table.clean td b { color: var(--navy-950); }

/* ---------- SetCRM feature panel ---------- */
.product-panel {
  position: relative;
  background: linear-gradient(150deg, #0d1f3d 0%, #16304f 60%, #123449 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  overflow: hidden;
}
@media (max-width: 768px) { .product-panel { padding: 32px 22px; } }
.product-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(480px 320px at 90% 0%, rgba(13,148,136,.28), transparent 60%);
}
.product-panel-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.product-logo {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-600), #14b8a6);
  display: grid; place-items: center;
  font-family: 'Lexend', sans-serif; font-weight: 800; font-size: 20px;
  box-shadow: 0 8px 20px rgba(13,148,136,.4);
}
.product-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(20,184,166,.18);
  border: 1px solid rgba(20,184,166,.4);
  color: #5eead4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.product-feats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 32px 0;
}
@media (max-width: 700px) { .product-feats { grid-template-columns: 1fr; } }
.product-feat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 20px;
}
.product-feat .f-ico { font-size: 20px; margin-bottom: 10px; }
.product-feat b { display: block; font-size: 15px; margin-bottom: 6px; color: #fff; }
.product-feat p { font-size: 13.5px; color: rgba(255,255,255,.65); margin: 0; }

.product-metrics {
  position: relative;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.product-metrics .m b {
  font-family: 'Lexend', sans-serif;
  font-size: 24px;
  color: var(--amber-400);
  display: block;
}
.product-metrics .m span { font-size: 12.5px; color: rgba(255,255,255,.6); }

/* ---------- Testimonial / quote ---------- */
.quote-block {
  background: var(--cloud);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
}
.quote-block .mark { font-size: 64px; color: var(--amber-400); font-family: Georgia, serif; line-height: 0; position: relative; top: 24px; }
.quote-block p.q { font-size: 20px; color: var(--navy-950); font-weight: 500; max-width: 760px; margin-bottom: 20px; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-who .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-950); color: var(--amber-400);
  display: grid; place-items: center; font-weight: 700; font-family: 'Lexend', sans-serif;
}
.quote-who b { display: block; color: var(--navy-950); font-size: 14.5px; }
.quote-who span { font-size: 13px; color: var(--ink-mute); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--amber-500), var(--amber-600));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #1a1200; font-size: clamp(24px,2.6vw,32px); max-width: 520px; }
.cta-banner p { color: rgba(26,18,0,.75); margin-top: 8px; }
@media (max-width: 768px) { .cta-banner { padding: 32px 24px; } }

/* ---------- Form ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy-950); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--cloud);
  outline: none;
  transition: border-color .18s, background .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--amber-500);
  background: #fff;
}
.field { margin-bottom: 18px; }
.field.full { grid-column: 1/-1; }

/* ---------- Info cards (contact) ---------- */
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info-card:last-child { border-bottom: none; }
.info-card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--cloud-2); color: var(--navy-950);
  display: grid; place-items: center; flex-shrink: 0;
}
.info-card b { display: block; color: var(--navy-950); font-size: 15px; margin-bottom: 3px; }
.info-card span, .info-card a { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.7);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 18px; letter-spacing: .03em; }
.footer-grid ul li { margin-bottom: 12px; }
.footer-grid ul li a { font-size: 14px; color: rgba(255,255,255,.62); transition: color .18s; }
.footer-grid ul li a:hover { color: var(--amber-400); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: 14px; margin: 16px 0 20px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  transition: background .18s;
}
.footer-social a:hover { background: var(--amber-500); color: #1a1200; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-700));
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 90% 0%, rgba(245,158,11,.14), transparent 60%);
}
.breadcrumb {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: rgba(255,255,255,.55);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { position: relative; color: #fff; font-size: clamp(28px, 3.6vw, 42px); max-width: 720px; margin-bottom: 14px; }
.page-hero p { position: relative; color: rgba(255,255,255,.72); max-width: 600px; font-size: 16.5px; }

/* ---------- utils ---------- */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
/* .reveal is kept as a marker class but applies no hide/animate behavior —
   content is always visible for reliability across crawlers and browsers. */
.reveal { opacity: 1; transform: none; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: #fff; color: #000; padding: 10px 16px; z-index: 9999;
}
.skip-link:focus { left: 10px; top: 10px; }
