/* FactoryOps — Main Stylesheet
   Mobile-first. Breakpoints: 480 / 768 / 1024 / 1280
   ─────────────────────────────────────────────── */

/* ── Variables ───────────────────────────────── */
:root {
  --blue:        #1D4ED8;
  --blue-light:  #3B82F6;
  --blue-50:     #EFF6FF;
  --blue-100:    #DBEAFE;
  --navy:        #0F172A;
  --slate:       #1E293B;
  --body:        #334155;
  --muted:       #64748B;
  --border:      #E2E8F0;
  --bg:          #F8FAFC;
  --white:       #FFFFFF;
  --green:       #059669;
  --amber:       #D97706;
  --red:         #DC2626;
  --purple:      #7C3AED;
  --teal:        #0D9488;

  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 1px 2px rgba(0,0,0,.06);
  --shadow:      0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 32px rgba(0,0,0,.12);

  --nav-h:       64px;
  --container:   1240px;
  --gap:         clamp(1.5rem, 4vw, 3rem);
}

/* ── Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; }
input, textarea, select { font: inherit; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

/* ── Typography ──────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--navy); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; color: var(--navy); }
h4 { font-size: 1rem; font-weight: 600; color: var(--navy); }
p  { color: var(--body); }

/* ── Layout ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px)  { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

section { padding: var(--gap) 0; }

.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: inline; } }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .1s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: #1641b2; border-color: #1641b2; }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue-50); }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: transparent;
  padding-left: 0;
}
.btn-ghost:hover { text-decoration: underline; transform: none; }

.btn-lg { padding: .85rem 1.75rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ── Section header ──────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p   { font-size: 1.0625rem; color: var(--muted); }

.section-tag {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 99px;
  margin-bottom: .75rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAV ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--nav-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .nav-container { padding: 0 2rem; } }

/* Logo */
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.site-logo {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
.site-logo-footer {
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Nav links */
.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  gap: .25rem;
  box-shadow: var(--shadow);
}
.nav-links.open { display: flex; }

.nav-item { padding: .25rem 0; }
.nav-item a {
  display: block;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  color: var(--slate);
  font-weight: 500;
  font-size: .9375rem;
  transition: background .15s, color .15s;
}
.nav-item a:hover { background: var(--bg); color: var(--blue); text-decoration: none; }
.nav-cta { margin-top: .5rem; }
.nav-cta .btn { width: 100%; }

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    gap: .25rem;
    margin-left: auto;
  }
  .nav-item { padding: 0; }
  .nav-cta { margin-top: 0; margin-left: .5rem; }
  .nav-cta .btn { width: auto; }
}

/* Dropdown */
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .75rem;
  background: none;
  border: none;
  color: var(--slate);
  font-weight: 500;
  font-size: .9375rem;
  border-radius: var(--radius-sm);
  width: 100%;
  transition: background .15s, color .15s;
}
.nav-dropdown-toggle:hover { background: var(--bg); color: var(--blue); }

.nav-dropdown-menu {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  margin-top: .25rem;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .75rem;
  border-radius: var(--radius-sm);
  color: var(--slate);
  transition: background .15s;
}
.nav-dropdown-menu a:hover { background: var(--bg); text-decoration: none; }
.nav-dropdown-menu small { display: block; color: var(--muted); font-size: .8125rem; font-weight: 400; }
.dd-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .has-dropdown { position: relative; }
  .nav-dropdown-toggle { width: auto; }
  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
  }
}

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0F172A 0%, #1E3A5F 60%, #1E40AF 100%);
  color: var(--white);
  padding: clamp(3rem, 8vw, 6rem) 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(59,130,246,.25) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
  .hero-text { flex: 1 1 55%; }
  .hero-visual { flex: 1 1 45%; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: .8125rem;
  font-weight: 500;
  padding: .4rem .9rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
  50% { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}

.hero h1 { color: var(--white); margin-bottom: 1rem; }

.hero-sub {
  color: rgba(255,255,255,.8);
  font-size: clamp(.95rem, 2vw, 1.125rem);
  max-width: 540px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}
.hero-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.hero-actions .btn-outline:hover { background: rgba(255,255,255,.1); }

.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat strong { display: block; font-size: 1.375rem; font-weight: 800; color: var(--white); }
.stat span   { font-size: .8125rem; color: rgba(255,255,255,.65); }
.stat-div    { width: 1px; height: 32px; background: rgba(255,255,255,.2); }

/* Dashboard preview */
.dashboard-preview {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}

.dp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  background: var(--slate);
  color: rgba(255,255,255,.9);
  font-size: .8125rem;
  font-weight: 600;
}
.dp-live {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: #4ADE80;
  font-size: .75rem;
}

.dp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.dp-card {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.dp-card:nth-child(even) { border-right: none; }
.dp-card:nth-last-child(-n+2) { border-bottom: none; }

.dp-card-icon { font-size: 1.25rem; margin-bottom: .15rem; }
.dp-card-name { font-size: .8125rem; font-weight: 600; color: var(--slate); }
.dp-card-stat { font-size: .75rem; color: var(--muted); }

.green-dot::before { content: '●'; color: var(--green); margin-right: .3rem; font-size: .6rem; }
.amber-dot::before { content: '●'; color: var(--amber); margin-right: .3rem; font-size: .6rem; }
.red-dot::before   { content: '●'; color: var(--red);   margin-right: .3rem; font-size: .6rem; }

.dp-blue   { border-left: 3px solid #3B82F6; }
.dp-green  { border-left: 3px solid var(--green); }
.dp-amber  { border-left: 3px solid var(--amber); }
.dp-red    { border-left: 3px solid var(--red); }
.dp-purple { border-left: 3px solid var(--purple); }
.dp-teal   { border-left: 3px solid var(--teal); }

.dp-footer {
  display: flex;
  justify-content: space-between;
  padding: .5rem 1rem;
  font-size: .75rem;
  color: var(--muted);
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* ── INDUSTRIES BAR ──────────────────────────── */
.industries-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.ind-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  text-align: center;
  margin-bottom: .75rem;
}
.ind-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem .75rem;
}
.ind-list span {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--body);
  background: var(--white);
  border: 1px solid var(--border);
  padding: .3rem .75rem;
  border-radius: 99px;
}

/* ── WHY SECTION ─────────────────────────────── */
.why-section { background: var(--white); }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px)  { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }

.problem-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: var(--bg);
  transition: box-shadow .2s, transform .2s;
}
.problem-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.problem-icon {
  width: 44px;
  height: 44px;
  background: var(--c, #F1F5F9);
  color: var(--t, var(--body));
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.problem-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.problem-card p  { font-size: .9rem; color: var(--muted); }

.problem-stat {
  margin-top: .75rem;
  font-size: .8125rem;
  color: var(--muted);
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.problem-stat strong { color: var(--navy); }

/* Why bridge */
.why-bridge {
  background: linear-gradient(135deg, var(--blue-50) 0%, #EDE9FE 100%);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.why-bridge p { margin-bottom: .75rem; color: var(--body); }
.why-bridge p:last-of-type { margin-bottom: 1.5rem; }

/* ── PRODUCTS ─────────────────────────────────── */
.products-section { background: var(--bg); }

/* Tool tabs */
.tool-tabs {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
}
.tool-tabs::-webkit-scrollbar { display: none; }

.tool-tab {
  flex-shrink: 0;
  padding: .55rem 1rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 99px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--body);
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.tool-tab:hover { border-color: var(--blue); color: var(--blue); }
.tool-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* Tool panels */
.tool-panel { display: none; }
.tool-panel.active { display: block; }

.tool-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
@media (min-width: 900px) {
  .tool-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }
  .tool-text   { flex: 1 1 0; }
  .tool-mockup { flex: 0 0 360px; }
}

.tool-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .3rem .8rem;
  border-radius: 99px;
  margin-bottom: .75rem;
}

.tool-text h3 { font-size: 1.625rem; margin-bottom: .4rem; }
.tool-tagline  { font-size: 1.0625rem; color: var(--muted); margin-bottom: 1rem; font-style: italic; }
.tool-text > p { margin-bottom: 1.25rem; }

.feature-list { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9375rem;
  color: var(--body);
}
.feature-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}

.tool-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ── MOCKUPS ──────────────────────────────────── */
.mockup {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-size: .8125rem;
}

.mk-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .9rem;
  font-weight: 600;
  font-size: .8rem;
}
.mk-dots { display: flex; gap: .35rem; }
.mk-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); }

.mk-body { padding: .75rem; display: flex; flex-direction: column; gap: .5rem; }

.mk-progress { background: rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: .6rem; }
.mk-prog-row { display: flex; justify-content: space-between; font-size: .75rem; margin-bottom: .35rem; }
.mk-prog-bar { height: 6px; background: rgba(255,255,255,.2); border-radius: 3px; overflow: hidden; }
.mk-prog-bar div { height: 100%; border-radius: 3px; }

.mk-card, .mk-card-dim {
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: .6rem .75rem;
}
.mk-card-dim { opacity: .5; }
.mk-card-title { font-weight: 600; font-size: .8rem; margin-bottom: .4rem; }
.mk-scan { background: rgba(0,0,0,.2); border-radius: 4px; padding: .35rem .6rem; color: rgba(255,255,255,.6); margin-bottom: .35rem; }
.mk-success { color: #4ADE80; font-size: .8rem; }
.mk-btns { display: flex; gap: .5rem; margin-top: .4rem; }
.mk-ok  { flex: 1; background: rgba(16,185,129,.3); color: #4ADE80; text-align: center; padding: .3rem; border-radius: 4px; }
.mk-nok { flex: 1; background: rgba(220,38,38,.3); color: #F87171; text-align: center; padding: .3rem; border-radius: 4px; }

.mk-finding {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.1);
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
}

.mk-actions-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: .75rem;
  color: rgba(255,255,255,.7);
  padding: .25rem 0 0;
}
.mk-count {
  background: var(--red);
  color: var(--white);
  font-size: .7rem;
  padding: .1rem .45rem;
  border-radius: 99px;
}

.mk-action {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  padding: .45rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
}
.mk-owner {
  background: rgba(255,255,255,.2);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .7rem;
  flex-shrink: 0;
}
.mk-late    { margin-left: auto; color: #F87171; font-size: .75rem; }
.mk-ontrack { margin-left: auto; color: #4ADE80; font-size: .75rem; }

/* document hub mockup */
.mk-doc {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.1);
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
}
.mk-doc.faded { opacity: .5; }
.mk-doc-icon { font-size: 1.1rem; flex-shrink: 0; }
.mk-doc div  { flex: 1; }
.mk-doc strong { display: block; font-size: .8rem; }
.mk-doc small  { color: rgba(255,255,255,.6); font-size: .72rem; }

/* quality concerns 8D */
.mk-concern-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: .8rem;
  color: rgba(255,255,255,.9);
  padding: .25rem 0 .5rem;
}
.mk-8d {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.1);
  padding: .4rem .7rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
}
.mk-8d.complete { background: rgba(16,185,129,.15); }
.mk-8d.active   { background: rgba(37,99,235,.2); }
.mk-8d.pending  { opacity: .5; }
.mk-d {
  background: rgba(255,255,255,.2);
  padding: .15rem .45rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: .72rem;
  flex-shrink: 0;
}
.mk-8d span:nth-child(2) { flex: 1; }
.mk-tick { color: #4ADE80; font-size: .9rem; margin-left: auto; }

/* stock take mockup */
.mk-stock-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  padding: .4rem .7rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
}
.mk-stock-row span:nth-child(2) { margin-left: auto; margin-right: .5rem; }

/* training matrix */
.mk-matrix-hd, .mk-matrix-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: .4rem;
  padding: .4rem .75rem;
  font-size: .75rem;
  align-items: center;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
}
.mk-matrix-hd { font-weight: 700; color: rgba(255,255,255,.7); }
.mk-matrix-row { background: rgba(255,255,255,.1); }

/* badges */
.mk-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .15rem .5rem;
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 700;
  white-space: nowrap;
}
.mk-badge.red    { background: rgba(220,38,38,.25); color: #FCA5A5; }
.mk-badge.amber  { background: rgba(217,119,6,.25); color: #FDE68A; }
.mk-badge.green  { background: rgba(5,150,105,.25); color: #6EE7B7; }
.mk-badge.grey   { background: rgba(100,116,139,.25); color: rgba(255,255,255,.6); }
.mk-badge.blue   { background: rgba(37,99,235,.3); color: #93C5FD; }

/* mockup colour themes */
.mock-blue   { background: linear-gradient(160deg, #1E40AF, #2563EB); color: rgba(255,255,255,.9); }
.mock-green  { background: linear-gradient(160deg, #064E3B, #059669); color: rgba(255,255,255,.9); }
.mock-amber  { background: linear-gradient(160deg, #78350F, #D97706); color: rgba(255,255,255,.9); }
.mock-red    { background: linear-gradient(160deg, #7F1D1D, #DC2626); color: rgba(255,255,255,.9); }
.mock-purple { background: linear-gradient(160deg, #3B0764, #7C3AED); color: rgba(255,255,255,.9); }
.mock-teal   { background: linear-gradient(160deg, #134E4A, #0D9488); color: rgba(255,255,255,.9); }

/* ── RESULTS ──────────────────────────────────── */
.results-section { background: var(--white); }

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px)  { .results-grid { grid-template-columns: repeat(2, 1fr); } }

.result-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow .2s, transform .2s;
}
.result-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.result-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.result-tag {
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 99px;
}
.result-industry {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
}

.result-card blockquote {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  font-style: italic;
  line-height: 1.4;
  border-left: 3px solid var(--blue);
  padding-left: 1rem;
}

.result-card p { font-size: .9375rem; color: var(--muted); flex: 1; }

.result-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.metric strong { display: block; font-size: 1.25rem; font-weight: 800; color: var(--blue); }
.metric span   { font-size: .75rem; color: var(--muted); }

.result-card cite {
  font-size: .875rem;
  color: var(--muted);
  font-style: normal;
  margin-top: auto;
}

/* ── CONSULTANCY ─────────────────────────────── */
.consultancy-section { background: var(--bg); }

.consult-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .consult-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }
  .consult-steps   { flex: 1 1 0; }
  .consult-callout { flex: 0 0 360px; }
}

.consult-steps { display: flex; flex-direction: column; gap: 1.25rem; }

.consult-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: .8125rem;
  font-weight: 700;
}
.consult-step h4 { margin-bottom: .35rem; }
.consult-step p  { font-size: .9375rem; color: var(--muted); }

.consult-callout {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
}
.callout-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.consult-callout h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.consult-callout > p { font-size: .9375rem; color: var(--muted); margin-bottom: 1.25rem; }

.callout-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.callout-list li { font-size: .9375rem; color: var(--body); }

.callout-note {
  font-size: .8125rem;
  color: var(--muted);
  margin-top: .75rem;
}

/* ── PACKAGES ─────────────────────────────────── */
.packages-section { background: var(--white); }

.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px)  { .packages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .packages-grid { grid-template-columns: repeat(4, 1fr); } }

.pkg-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow .2s, transform .2s;
}
.pkg-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.pkg-popular {
  border-color: var(--blue);
  border-width: 2px;
  background: var(--blue-50);
}
.pkg-dark {
  background: var(--slate);
  border-color: var(--slate);
  color: var(--white);
}
.pkg-dark h2, .pkg-dark h3, .pkg-dark h4 { color: var(--white); }
.pkg-dark p { color: rgba(255,255,255,.7); }
.pkg-dark .pkg-features li { color: rgba(255,255,255,.85); }
.pkg-dark .pkg-features li.no { color: rgba(255,255,255,.35); }

.pkg-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .9rem;
  border-radius: 99px;
  white-space: nowrap;
}

.pkg-name  { display: block; font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.pkg-label { display: block; font-size: .875rem; font-weight: 600; color: var(--muted); }
.pkg-desc  { font-size: .875rem; color: var(--muted); margin-top: .35rem; }
.pkg-dark .pkg-name { color: var(--white); }

.pkg-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--body);
}
.pkg-features li.yes::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pkg-features li.no  { color: var(--muted); }
.pkg-features li.no::before  { content: '–'; color: var(--border); font-weight: 700; flex-shrink: 0; }

.pkg-trial {
  text-align: center;
  font-size: .8125rem;
  color: var(--blue);
  font-weight: 500;
  margin-top: .25rem;
}

.packages-note {
  text-align: center;
  font-size: .9375rem;
  color: var(--muted);
}

/* ── FAQ ─────────────────────────────────────── */
.faq-section { background: var(--bg); }

.faq-list { display: flex; flex-direction: column; gap: .75rem; max-width: 780px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .15s;
}
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--navy);
  gap: 1rem;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 1rem 1.25rem 1.25rem;
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── CONTACT ─────────────────────────────────── */
.contact-section { background: var(--white); }

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 900px) {
  .contact-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
  .contact-info { flex: 1 1 0; }
  .contact-form { flex: 0 0 480px; }
}

.contact-info .section-tag { margin-bottom: .75rem; }
.contact-info h2 { margin-bottom: .75rem; }
.contact-info > p { color: var(--muted); margin-bottom: 1.75rem; }

.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-50);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: .8125rem; color: var(--muted); font-weight: 600; margin-bottom: .15rem; }
.contact-item a, .contact-item span { font-size: .9375rem; color: var(--navy); font-weight: 500; }
.contact-item a:hover { color: var(--blue); }

.contact-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.contact-trust span {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--green);
  background: #ECFDF5;
  border: 1px solid #D1FAE5;
  padding: .3rem .75rem;
  border-radius: 99px;
}

/* Form */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--slate);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-size: .9375rem;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,78,216,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-privacy {
  font-size: .8125rem;
  color: var(--muted);
  text-align: center;
}

.form-success {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.form-success[hidden] { display: none !important; }
.form-success span { font-size: 1.25rem; }
.form-success strong { display: block; color: var(--green); font-size: .9375rem; margin-bottom: .2rem; }
.form-success p { font-size: .875rem; color: var(--muted); margin: 0; }

/* ── FOOTER ──────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 1.5rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }
  .footer-brand { flex: 1 1 auto; }
}

.footer-brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  max-width: 280px;
  margin-top: .75rem;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-col h4 { color: var(--white); font-size: .875rem; margin-bottom: .75rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a {
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
}
.footer-bottom p { font-size: .8125rem; color: rgba(255,255,255,.4); }

/* ── Scroll reveal ───────────────────────────── */
.revealed { opacity: 1 !important; transform: translateY(0) !important; }
