/* ============================================================
   NORTEX — landing.css
   Warm editorial. Off-grid. Anti-template.
   ============================================================ */

:root {
  --bg:        #fbfaf6;
  --bg-2:      #f3f0e8;
  --bg-3:      #e9e4d6;
  --ink:       #15130f;
  --ink-2:     #3a352c;
  --ink-3:     #6b6557;
  --ink-4:     #8f8979;
  --hair:      #d8d0bd;
  --hair-2:    #e8e2cf;

  --shell:     #0f0f0e;
  --on-shell:  #f1eddf;
  --on-shell-2:#9e9886;

  --accent:    #1e6b54;
  --accent-2:  #2a8e6f;
  --warm:      #b8521a;
  --cobalt:    #1d3a8a;

  --whatsapp:  #25D366;
  --whatsapp-2:#128C7E;

  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  14px;
  --r-xl:  20px;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: radial-gradient(circle at 1px 1px, rgba(21,19,15,0.025) 1px, transparent 0);
  background-size: 4px 4px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; }

/* ── TYPE ── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow.dim { color: var(--ink-4); }
.eyebrow.warm { color: var(--warm); }
.eyebrow.on-shell { color: var(--on-shell-2); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-family: var(--serif);
}

.h-hero    { font-size: clamp(44px, 6.5vw, 88px); }
.h-section { font-size: clamp(36px, 4.8vw, 68px); }
.h-small   { font-size: clamp(26px, 2.8vw, 40px); }

.subhead {
  font-family: var(--sans);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

.body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

.small {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* ── CONTAINER ── */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: clamp(72px, 10vw, 144px) 0; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,250,246,0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hair-2);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand .dot { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 180ms var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-whats {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--whatsapp-2) !important;
}
.nav-whats svg { width: 14px; height: 14px; }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--bg);
  background: var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: background 180ms var(--ease);
}
.nav-cta:hover { background: #000; color: var(--bg); }

@media (max-width: 800px) {
  .nav-links > a:not(.nav-cta):not(.nav-whats) { display: none; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.008em;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #000; opacity: 1; }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  font-weight: 600;
}
.btn-whatsapp svg { width: 18px; height: 18px; }
.btn-whatsapp:hover { background: #1db954; opacity: 1; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--on-shell);
  text-decoration: none;
  border-bottom: 1px solid rgba(241,237,223,0.3);
  padding-bottom: 2px;
}
.btn-link:hover { color: var(--on-shell); border-color: var(--on-shell); }
.btn-link .arrow { transition: transform 200ms var(--ease); display: inline-block; }
.btn-link:hover .arrow { transform: translateX(4px); }

/* ── HERO ── */
.hero {
  padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 9vw, 112px);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-text { position: relative; }
.hero-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-meta-line {
  width: 56px;
  height: 1px;
  background: var(--ink-4);
}
.hero h1 { margin: 0; max-width: 14ch; }
.hero .subhead { margin-top: 24px; max-width: 38ch; }
.hero-ctas {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-foot {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-4);
  letter-spacing: 0.1em;
}

.hero-product { position: relative; }
.hero-product-card {
  background: #fff;
  border: 1px solid var(--hair-2);
  border-radius: var(--r-xl);
  padding: 6px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 24px 48px -16px rgba(21,19,15,0.18),
    0 4px 12px -4px rgba(21,19,15,0.08);
  transform: rotate(-1.2deg);
  transition: transform 600ms var(--ease);
}
.hero-product-card:hover { transform: rotate(0deg); }
.hero-annotation {
  position: absolute;
  bottom: -28px;
  right: -8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--warm);
  background: var(--bg);
  padding: 5px 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  transform: rotate(3deg);
  white-space: nowrap;
}
.hero-annotation::before { content: "↑"; margin-right: 6px; display: inline-block; }

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-product-card { transform: rotate(0deg); margin-top: 24px; }
  .hero-annotation { position: static; transform: none; display: inline-block; margin-top: 12px; }
}

/* ── DASHBOARD MOCK ── */
.dash {
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 340px;
}
.dash-sidebar {
  background: #0f172a;
  padding: 10px 8px;
  position: relative;
  overflow: hidden;
}
.dash-sidebar::after {
  content: "";
  position: absolute;
  inset: -40px -30px auto auto;
  width: 120px; height: 120px;
  background: #10b981;
  filter: blur(55px);
  opacity: 0.18;
}
.dash-brand-mini {
  width: 22px; height: 22px;
  background: #10b981;
  color: #0f172a;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px;
  box-shadow: 0 0 10px rgba(16,185,129,0.45);
  margin-bottom: 12px;
}
.dash-nav-mini { display: flex; flex-direction: column; gap: 3px; }
.dash-icon-btn {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #475569;
}
.dash-icon-btn.active { background: #3b82f6; color: #fff; }
.dash-icon-btn svg { width: 13px; height: 13px; }

.dash-main { padding: 16px; }
.dash-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dash-title { font-size: 16px; font-weight: 700; color: #0f172a; letter-spacing: -0.02em; font-family: var(--sans); }
.dash-date { font-family: var(--mono); font-size: 8px; font-weight: 600; color: #94a3b8; letter-spacing: 0.08em; text-transform: uppercase; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 8px; }
.kpi { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 9px; }
.kpi.dark { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; border-color: #1e293b; }
.kpi-label { font-size: 8px; color: #64748b; font-weight: 500; }
.kpi.dark .kpi-label { color: #94a3b8; }
.kpi-val { font-family: var(--mono); font-size: 15px; font-weight: 800; color: #0f172a; margin-top: 3px; letter-spacing: -0.02em; }
.kpi.dark .kpi-val { color: #fff; }
.kpi-val.blue { color: #2563eb; }
.kpi-meta { font-size: 8px; color: #10b981; margin-top: 2px; font-weight: 500; }
.kpi-bar { margin-top: 5px; height: 3px; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
.kpi-bar > div { height: 100%; background: #3b82f6; }

.chart-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px; }
.chart-head { display: flex; align-items: center; justify-content: space-between; }
.chart-title { font-size: 10px; font-weight: 700; color: #0f172a; }
.chart-legend { font-family: var(--mono); font-size: 8px; color: #64748b; letter-spacing: 0.1em; text-transform: uppercase; }
.chart-svg { height: 92px; margin-top: 6px; }
.chart-svg svg { width: 100%; height: 100%; }

/* ── TRUST STRIP ── */
.trust {
  background: var(--shell);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}
.trust-item { flex: 1; min-width: 160px; }
.trust-num {
  font-family: var(--mono);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  color: var(--on-shell);
  letter-spacing: -0.02em;
}
.trust-num .star { color: #f59e0b; }
.trust-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--on-shell-2);
  line-height: 1.4;
  margin-top: 4px;
}

/* ── HOW IT WORKS ── */
.how { background: var(--bg-2); }
.how-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.how-head .eyebrow { margin-bottom: 16px; }
.how-head h2 { margin-top: 10px; }
.how-head .subhead { margin-top: 20px; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.how-step { position: relative; }
.how-step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  color: var(--hair);
  line-height: 1;
  margin-bottom: 16px;
}
.how-step h3 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.how-step .body { font-size: 15px; }
.how-time {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
@media (max-width: 760px) {
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── PULL QUOTE ── */
.quote {
  background: var(--bg-3);
  border-top: 1px solid var(--hair-2);
  border-bottom: 1px solid var(--hair-2);
  padding: clamp(64px, 9vw, 120px) 0;
}
.quote-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 140px;
  line-height: 1;
  color: var(--accent);
  position: absolute;
  top: -36px;
  left: 16px;
  pointer-events: none;
  opacity: 0.15;
}
.quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.015em;
  max-width: 22ch;
  position: relative;
}
.quote-attr { margin-top: 28px; display: flex; gap: 18px; align-items: center; }
.quote-attr image-slot { display: block; width: 52px; height: 52px; flex-shrink: 0; }
.quote-attr-text { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.quote-attr-text strong { font-weight: 600; color: var(--ink); display: block; }

/* ── VERTICALES ── */
.verticales-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}
.verticales-head h2 { max-width: 14ch; }
.verticales-head .subhead { max-width: 36ch; }
@media (max-width: 820px) {
  .verticales-head { grid-template-columns: 1fr; gap: 20px; }
}

.v-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.v-card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
}
.v-card image-slot { display: block; width: 100%; }
.v-text { padding: 20px 20px 18px; }
.v-num {
  font-family: var(--mono);
  font-size: 10px; font-weight: 600;
  color: var(--ink-4); letter-spacing: 0.12em;
}
.v-name {
  font-family: var(--serif);
  font-size: 26px; letter-spacing: -0.02em;
  line-height: 1.05; color: var(--ink);
  margin-top: 6px;
}
.v-cap {
  font-size: 14px; line-height: 1.5;
  color: var(--ink-3); margin-top: 8px;
  max-width: 36ch;
}

.v-big   { grid-column: span 7; }
.v-big   image-slot { height: 420px; }
.v-tall  { grid-column: span 5; }
.v-tall  image-slot { height: 420px; }
.v-med-a { grid-column: span 4; }
.v-med-b { grid-column: span 4; }
.v-med-c { grid-column: span 4; }
.v-med-a image-slot, .v-med-b image-slot, .v-med-c image-slot { height: 280px; }

@media (max-width: 840px) {
  .v-big, .v-tall, .v-med-a, .v-med-b, .v-med-c { grid-column: span 12; }
  .v-big image-slot, .v-tall image-slot { height: 300px; }
}

/* ── SHOWCASE / TABS ── */
.showcase { background: var(--shell); color: var(--on-shell); }
.showcase-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.showcase-head .eyebrow.on-shell { margin-bottom: 14px; }
.showcase-head h2 { color: var(--on-shell); margin-top: 10px; }
.showcase-head h2 em { font-style: italic; }
.showcase-head .subhead { color: var(--on-shell-2); margin-top: 18px; }

.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 28px;
}
.tab-btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--on-shell-2);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 999px;
  transition: all 200ms var(--ease);
}
.tab-btn.active {
  background: rgba(255,255,255,0.12);
  color: var(--on-shell);
  font-weight: 600;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tp-frame {
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

/* POS Screen */
.pos-screen {
  display: grid;
  grid-template-columns: 1fr 300px;
  min-height: 480px;
  font-family: var(--sans);
}
.pos-left {
  background: #f8fafc;
  padding: 18px;
  border-right: 1px solid #e2e8f0;
}
.pos-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-md);
  padding: 8px 12px;
  margin-bottom: 12px;
}
.pos-search input {
  flex: 1; border: none; outline: none;
  font-size: 12px; color: #1e293b; background: transparent;
}
.pos-cats {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px;
}
.pos-cat {
  font-size: 11px; font-weight: 500;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 4px 10px;
  cursor: pointer;
}
.pos-cat.active {
  background: #0f172a; color: #fff;
}
.pos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pos-prod {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-md);
  padding: 10px;
  cursor: pointer;
  transition: border-color 150ms;
}
.pos-prod:hover { border-color: #3b82f6; }
.pos-prod-img {
  width: 100%; height: 56px;
  border-radius: var(--r-sm);
  margin-bottom: 7px;
}
.pos-prod-img.cem { background: linear-gradient(135deg,#cbd5e1,#94a3b8); }
.pos-prod-img.fie { background: linear-gradient(135deg,#fcd34d,#f59e0b); }
.pos-prod-img.lad { background: linear-gradient(135deg,#fca5a5,#ef4444); }
.pos-prod-img.pin { background: linear-gradient(135deg,#fed7aa,#fb923c); }
.pos-prod-img.tub { background: linear-gradient(135deg,#c7d2fe,#818cf8); }
.pos-prod-img.her { background: linear-gradient(135deg,#d6d3d1,#78716c); }
.pos-prod-img.qui { background: linear-gradient(135deg,#bbf7d0,#34d399); }
.pos-prod-img.var { background: linear-gradient(135deg,#ddd6fe,#a78bfa); }
.pos-prod-name { font-size: 11px; font-weight: 600; color: #1e293b; line-height: 1.3; }
.pos-prod-price { font-family: var(--mono); font-size: 11px; color: #3b82f6; margin-top: 3px; }
.pos-prod-stock { font-family: var(--mono); font-size: 9px; color: #64748b; letter-spacing: 0.05em; margin-top: 2px; }
.pos-prod-stock.low { color: #d97706; }

.pos-right { background: #fff; display: flex; flex-direction: column; }
.pos-cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid #f1f5f9;
}
.pos-cart-head h4 { font-size: 14px; font-weight: 700; color: #0f172a; }
.tk { font-family: var(--mono); font-size: 10px; color: #94a3b8; letter-spacing: 0.1em; }
.pos-cart-items { flex: 1; padding: 8px 16px; overflow: auto; }
.pos-cart-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #f8fafc;
}
.pos-qty {
  width: 22px; height: 22px;
  background: #f1f5f9;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #1e293b;
}
.pos-row-name { font-size: 12px; font-weight: 600; color: #1e293b; }
.pos-row-sku { font-family: var(--mono); font-size: 9px; color: #94a3b8; }
.pos-row-price { font-family: var(--mono); font-size: 12px; font-weight: 700; color: #1e293b; }
.pos-totals { padding: 10px 16px; border-top: 1px solid #f1f5f9; background: #fafafa; }
.pos-total-row { display: flex; justify-content: space-between; font-size: 12px; color: #475569; padding: 2px 0; }
.pos-total-row.total { font-size: 15px; font-weight: 700; color: #0f172a; padding-top: 6px; border-top: 1px solid #e2e8f0; margin-top: 4px; }
.pos-pay {
  margin: 10px 16px 14px;
  background: #10b981;
  color: #fff;
  text-align: center;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em;
  padding: 12px;
  border-radius: var(--r-md);
  cursor: pointer;
}

@media (max-width: 740px) {
  .pos-screen { grid-template-columns: 1fr; }
  .pos-grid { grid-template-columns: repeat(2, 1fr); }
  .pos-right { display: none; }
}

/* Inventory Screen */
.inv-screen { padding: 18px; background: #f8fafc; min-height: 420px; }
.inv-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 14px;
}
.inv-head h4 { font-size: 15px; font-weight: 700; color: #0f172a; }
.meta { font-family: var(--mono); font-size: 10px; color: #94a3b8; letter-spacing: 0.08em; }
.inv-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.inv-stat {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: var(--r-md); padding: 10px;
}
.inv-stat.warn { border-color: #fbbf24; }
.inv-stat.danger { border-color: #f87171; }
.inv-stat-label { font-size: 10px; color: #64748b; font-weight: 500; }
.inv-stat-val { font-family: var(--mono); font-size: 20px; font-weight: 800; color: #0f172a; margin-top: 2px; }
.inv-stat.warn .inv-stat-val { color: #d97706; }
.inv-stat.danger .inv-stat-val { color: #dc2626; }

.inv-table { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--r-md); overflow: hidden; }
.inv-table-head {
  display: grid;
  grid-template-columns: 1.8fr 0.8fr 1fr 0.7fr 0.7fr;
  padding: 8px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 10px; font-weight: 600; color: #64748b; letter-spacing: 0.05em; text-transform: uppercase;
}
.inv-table-row {
  display: grid;
  grid-template-columns: 1.8fr 0.8fr 1fr 0.7fr 0.7fr;
  padding: 9px 12px;
  border-bottom: 1px solid #f8fafc;
  align-items: center;
}
.inv-prod { display: flex; align-items: center; gap: 9px; }
.inv-prod-img { width: 28px; height: 28px; border-radius: 4px; flex-shrink: 0; }
.inv-prod-name { font-size: 12px; font-weight: 600; color: #1e293b; }
.inv-prod-sku { font-size: 10px; color: #94a3b8; margin-top: 1px; }
.inv-stock-bar { height: 4px; border-radius: 999px; background: #e2e8f0; overflow: hidden; width: 60px; }
.inv-stock-bar > div { height: 100%; background: #10b981; }
.inv-stock-bar.warn > div { background: #f59e0b; }
.inv-stock-bar.danger > div { background: #ef4444; }
.inv-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.05em; padding: 2px 7px; border-radius: 999px; }
.inv-badge.ok { background: #dcfce7; color: #15803d; }
.inv-badge.low { background: #fef3c7; color: #92400e; }
.inv-badge.out { background: #fee2e2; color: #991b1b; }
.c-cost { font-family: var(--mono); font-size: 12px; color: #475569; }
.h-cost, .h-status { display: block; }
@media (max-width: 640px) {
  .inv-stat-row { grid-template-columns: repeat(2, 1fr); }
  .inv-table-head .h-cost, .inv-table-head .h-status,
  .inv-table-row .c-cost, .inv-table-row .c-status { display: none; }
  .inv-table-head, .inv-table-row { grid-template-columns: 1.8fr 0.8fr 1fr; }
}

/* Payroll Screen */
.pay-screen { padding: 16px; background: #f8fafc; min-height: 420px; }
.pay-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 14px;
}
.pay-head h4 { font-size: 14px; font-weight: 700; color: #0f172a; }
.pay-summary {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 14px;
}
.pay-summary > div {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: var(--r-md); padding: 10px;
}
.pay-summary-l { font-size: 10px; color: #64748b; font-weight: 500; }
.pay-summary-v { font-family: var(--mono); font-size: 14px; font-weight: 700; color: #0f172a; margin-top: 2px; }
.pay-summary-v small { font-size: 9px; color: #94a3b8; }

.pay-rows { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--r-md); overflow: hidden; }
.pay-row {
  display: grid;
  grid-template-columns: 28px 1.4fr 0.9fr 0.9fr 0.9fr 1fr 36px;
  padding: 8px 12px;
  border-bottom: 1px solid #f8fafc;
  align-items: center;
  gap: 6px;
}
.pay-row.head {
  background: #f8fafc; border-bottom: 1px solid #e2e8f0;
  font-size: 10px; font-weight: 600; color: #64748b; letter-spacing: 0.04em; text-transform: uppercase;
}
.pay-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff; font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pay-name { font-size: 12px; font-weight: 600; color: #0f172a; }
.pay-role { font-family: var(--mono); font-size: 9px; color: #94a3b8; letter-spacing: 0.06em; }
.pay-amt { font-family: var(--mono); font-size: 11px; color: #475569; }
.pay-amt.total { font-weight: 700; color: #0f172a; }
.c-comm.green { color: #059669; }
.c-inss.red { color: #dc2626; }
.pay-check {
  width: 18px; height: 18px;
  background: #10b981;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: #fff; font-weight: 700;
}
.h-comm, .h-inss, .h-check { display: block; }
@media (max-width: 640px) {
  .pay-row { grid-template-columns: 28px 1.4fr 1fr 36px; }
  .pay-row .c-comm, .pay-row .c-inss, .pay-row .pay-role,
  .pay-row.head .h-comm, .pay-row.head .h-inss { display: none; }
  .pay-summary { grid-template-columns: 1fr; }
}

/* ── COMPARISON TABLE ── */
.compare { background: var(--bg-2); }
.compare-head { max-width: 640px; margin-bottom: 48px; }
.compare-head .eyebrow { margin-bottom: 14px; }
.compare-head h2 { margin-top: 10px; }
.compare-head .subhead { margin-top: 18px; }

.compare-table { overflow-x: auto; }
.compare-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--hair-2);
  gap: 0;
}
.compare-row.head {
  background: var(--bg-3);
  border-radius: var(--r-md) var(--r-md) 0 0;
  overflow: hidden;
}
.compare-row > div { padding: 14px 16px; }
.compare-row.head > div {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.compare-row.head .col-nortex {
  background: var(--accent);
  color: #fff;
  border-radius: 0;
}
.compare-feat {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.compare-feat span {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-3);
}
.compare-cell {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--ink-2);
}
.compare-row .col-nortex {
  background: rgba(30,107,84,0.05);
}
.compare-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 11px;
  margin-right: 6px;
  flex-shrink: 0;
}
.compare-mark.yes { background: #dcfce7; color: #15803d; }
.compare-mark.partial { background: #fef3c7; color: #92400e; }
.compare-mark.no { background: #fee2e2; color: #991b1b; }
.compare-yes { color: var(--accent); font-weight: 600; display: flex; align-items: center; }
.compare-partial { color: #92400e; display: flex; align-items: center; }
.compare-no { color: #9ca3af; display: flex; align-items: center; }

@media (max-width: 760px) {
  .compare-row { grid-template-columns: 1.6fr 1fr; }
  .compare-row > .col-monica, .compare-row > .col-excel, .compare-row > .col-pirata { display: none; }
}

/* ── FOUNDERS BANNER ── */
.founders-banner {
  background: var(--shell);
  color: var(--on-shell);
  padding: clamp(64px, 9vw, 120px) 0;
}
.founders-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.founders-text .eyebrow { color: var(--on-shell-2); margin-bottom: 16px; }
.founders-text h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--on-shell);
  margin-top: 10px;
}
.founders-text h2 em { font-style: italic; }
.founders-text .subhead { color: var(--on-shell-2); margin-top: 18px; max-width: 38ch; }
.founders-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  background: var(--whatsapp);
  color: #fff;
  font-size: 15px; font-weight: 600;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 180ms;
}
.founders-cta:hover { background: #1db954; }
.founders-counter {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-shell-2);
}
.founders-counter strong { color: var(--warm); }

.founders-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: 32px;
}
.founders-stat {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 100px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--on-shell);
  margin-bottom: 8px;
}
.founders-stat em { font-style: italic; }
.founders-label {
  font-size: 14px; color: var(--on-shell-2);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 20px; margin-bottom: 20px;
}
.founders-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.founders-list li {
  font-size: 14px; color: var(--on-shell-2);
  padding-left: 18px; position: relative; line-height: 1.45;
}
.founders-list li::before {
  content: "·";
  position: absolute; left: 0;
  color: var(--accent-2); font-weight: 700;
}

@media (max-width: 820px) {
  .founders-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ── TESTIMONIALS ── */
.testimonials-head { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.testimonials-head h2 { margin-top: 10px; }
.testimonials-head .subhead { margin-top: 18px; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card {
  background: var(--bg-2);
  border: 1px solid var(--hair-2);
  border-radius: var(--r-lg);
  padding: 28px;
}
.t-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.t-attr {
  display: flex; gap: 14px; align-items: center;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--hair-2);
}
.t-attr image-slot { display: block; width: 40px; height: 40px; flex-shrink: 0; }
.t-attr-text { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.t-attr-text strong { font-weight: 600; color: var(--ink); display: block; }
@media (max-width: 760px) {
  .t-grid { grid-template-columns: 1fr; }
}

/* ── COMPLIANCE ── */
.compliance { background: var(--bg-2); }
.comp-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.comp-text .eyebrow.warm { margin-bottom: 16px; }
.comp-text h2 { margin-top: 10px; }
.comp-text .subhead { margin-top: 18px; max-width: 36ch; }
.comp-list {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--hair-2);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.comp-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 20px 24px;
  border-bottom: 1px solid var(--hair-2);
  background: var(--bg);
}
.comp-row:last-child { border-bottom: none; }
.comp-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--accent);
  line-height: 1.1;
}
.comp-row strong { font-size: 14px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 4px; }
.comp-row .body { font-size: 13px; }
.comp-tag {
  font-family: var(--mono);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cobalt);
  background: rgba(29,58,138,0.08);
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  align-self: start;
  margin-top: 2px;
}
@media (max-width: 840px) {
  .comp-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ── PRICING ── */
.pricing-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}
.pricing-text .eyebrow { margin-bottom: 14px; }
.pricing-text h2 { margin-top: 10px; }
.pricing-text .subhead { margin-top: 18px; }
.pricing-text .small { color: var(--ink-3); }
.pricing-text .small a { color: var(--accent); font-weight: 500; }

.price-card {
  background: var(--shell);
  color: var(--on-shell);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
}
.price-card .eyebrow { color: var(--on-shell-2); position: relative; }
.price-trial {
  display: inline-block;
  margin-top: 12px;
  background: rgba(16,185,129,0.15);
  color: #34d399;
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(52,211,153,0.25);
}
.price-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 24px;
}
.amt {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  color: var(--on-shell);
  letter-spacing: -0.03em;
}
.per { font-size: 16px; color: var(--on-shell-2); font-weight: 400; }
.price-bullets {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.price-bullets li {
  font-size: 14px; color: var(--on-shell-2);
  padding-left: 20px; position: relative; line-height: 1.45;
}
.price-bullets li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--accent-2); font-weight: 700;
}
.price-cta {
  display: block;
  text-align: center;
  background: var(--on-shell);
  color: var(--shell);
  font-size: 15px; font-weight: 700;
  padding: 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 180ms;
}
.price-cta:hover { background: #fff; }
.price-note {
  margin-top: 14px;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-shell-2);
}

@media (max-width: 880px) {
  .pricing-inner { grid-template-columns: 1fr; }
  .price-card { max-width: 440px; }
}

/* ── FAQ ── */
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.faq-head .eyebrow { margin-bottom: 14px; }
.faq-head h2 { margin-top: 10px; }
.faq-head .subhead { margin-top: 18px; }
.faq-head .small { margin-top: 28px; }

.faq-list {
  display: flex; flex-direction: column;
  border: 1px solid var(--hair-2);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--hair-2); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  background: var(--bg);
  transition: background 150ms;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  font-size: 20px;
  font-weight: 300;
  color: var(--ink-3);
  flex-shrink: 0;
  transition: transform 200ms var(--ease);
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-item[open] .faq-q { background: var(--bg-2); }
.faq-a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  padding: 0 22px 18px;
  background: var(--bg-2);
}

@media (max-width: 840px) {
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ── FOUNDER NOTE ── */
.founder { background: var(--bg-2); }
.founder-inner {
  max-width: 1060px; margin: 0 auto; padding: 0 32px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}
.founder-inner > image-slot {
  display: block;
  width: 240px;
  height: 300px;
  flex-shrink: 0;
  border: 1px solid var(--hair-2);
}
.founder-letter .eyebrow { margin-bottom: 20px; }
.founder-letter h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.founder-letter h3 em { font-style: italic; }
.founder-letter p { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin-top: 20px; }
.founder-sig {
  margin-top: 32px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.founder-name {
  margin-top: 8px;
  font-size: 13px; color: var(--ink-3); line-height: 1.4;
}
.founder-name strong { font-weight: 700; color: var(--ink); display: block; }

@media (max-width: 760px) {
  .founder-inner { grid-template-columns: 1fr; }
  .founder-inner > image-slot { width: 100%; height: 260px; }
}

/* ── FINAL CTA ── */
.final {
  background: var(--shell);
  color: var(--on-shell);
  padding: clamp(72px, 9vw, 120px) 0;
}
.final-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.final-inner .eyebrow.on-shell { margin-bottom: 10px; }
.final-inner h2 { color: var(--on-shell); margin-top: 10px; max-width: 16ch; }
.final-inner h2 em { font-style: italic; }
.final-side .body { color: var(--on-shell-2); }
.final-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .final-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ── FOOTER ── */
.footer {
  background: var(--shell);
  color: var(--on-shell-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}
.footer-grid {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-block {}
.footer-brand-block .brand { font-size: 24px; color: var(--on-shell); margin-bottom: 14px; display: block; }
.footer-tag { font-size: 13px; color: var(--on-shell-2); line-height: 1.55; max-width: 28ch; }
.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.footer-contact a {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--on-shell-2);
  text-decoration: none;
  transition: color 150ms;
}
.footer-contact a:hover { color: var(--on-shell); }
.footer-contact svg { width: 14px; height: 14px; flex-shrink: 0; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-shell-2);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 13px; color: rgba(241,237,223,0.5);
  text-decoration: none;
  transition: color 150ms;
}
.footer-col ul a:hover { color: var(--on-shell); }

.footer-legal {
  max-width: 1240px; margin: 0 auto; padding: 24px 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-legal span {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(241,237,223,0.3);
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: span 2; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand-block { grid-column: span 1; }
}

/* ── WHATSAPP FLOATING BUTTON ── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #fff;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.wa-float:hover { transform: scale(1.04); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-float svg { width: 20px; height: 20px; flex-shrink: 0; }
.wa-label { white-space: nowrap; }
.wa-pulse {
  position: absolute;
  top: 0; right: 0;
  width: 10px; height: 10px;
  background: #ff4444;
  border-radius: 50%;
  border: 2px solid #fff;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

@media (max-width: 640px) {
  .wa-label { display: none; }
  .wa-float { padding: 14px; }
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
