/* ===================================================================
   ShopERP v3 — Pure Mono, Square Edges, Editorial
   =================================================================== */

:root {
  --ep-ink: #0a0a0a;
  --ep-ink-2: #1a1a1a;
  --ep-mute: #5a5a66;
  --ep-mute-2: #8a8a96;
  --ep-mute-3: #b8b8c2;
  --ep-line: #e4e4e9;
  --ep-line-2: #ededf1;
  --ep-bg: #ffffff;
  --ep-bg-soft: #f7f7f8;
  --ep-bg-alt: #fafafa;
  --ep-bg-dark: #0a0a0a;

  --ep-ok: #1f9d55;
  --ep-warn: #b45309;
  --ep-err: #b91c1c;

  /* Square / minimal radius */
  --ep-r-xs: 2px;
  --ep-r-sm: 3px;
  --ep-r: 4px;
  --ep-r-md: 6px;

  --ep-sh-1: 0 1px 2px rgba(10, 10, 10, 0.04);
  --ep-sh-2: 0 4px 12px rgba(10, 10, 10, 0.06);
  --ep-sh-3: 0 16px 48px -12px rgba(10, 10, 10, 0.12);

  --ep-container: 1200px;
  --ep-container-wide: 1380px;
  --ep-container-narrow: 820px;

  --ep-font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ep-mono: "Geist Mono", "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ep-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ep-ink);
  background: var(--ep-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
p { margin: 0; }

::selection { background: var(--ep-ink); color: #fff; }

/* ===== LAYOUT ===== */
.ep-container {
  width: 100%;
  max-width: var(--ep-container);
  margin: 0 auto;
  padding: 0 32px;
}
.ep-container--wide { max-width: var(--ep-container-wide); }
.ep-container--narrow { max-width: var(--ep-container-narrow); }

.ep-section { padding: 120px 0; position: relative; }
.ep-section--alt { background: var(--ep-bg-soft); }
.ep-section--dark { background: var(--ep-bg-dark); color: #fff; }

/* ===== SECTION HEAD ===== */
.ep-shead {
  max-width: 760px;
  margin-bottom: 72px;
}
.ep-shead--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.ep-shead__num {
  font-family: var(--ep-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ep-mute-2);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.ep-shead--invert .ep-shead__num { color: rgba(255,255,255,0.5); }
.ep-shead__title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.ep-shead__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ep-mute);
  max-width: 640px;
}
.ep-shead--center .ep-shead__lead { margin-left: auto; margin-right: auto; }
.ep-shead--invert .ep-shead__lead { color: rgba(255,255,255,0.65); }

/* Brand title: Shopify logo on left + 2-line title on right */
.ep-shead__title--brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: nowrap;
  /* Slightly smaller than default title so logo can stand bigger */
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.08;
}
.ep-brand-logo {
  /* Logo height matches roughly 2 lines of text (line-height × 2 × font-size) */
  /* Original logo aspect ratio: 800x228 = ~3.5:1 */
  height: 2.1em;
  width: auto;
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
}
.ep-brand-lines {
  display: inline-flex;
  flex-direction: column;
  text-align: left;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.ep-brand-lines > span { display: block; }

@media (max-width: 640px) {
  .ep-shead__title--brand {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .ep-brand-logo { height: 1.4em; }
  .ep-brand-lines { text-align: center; }
}

/* ===== BUTTONS (SQUARE) ===== */
.ep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--ep-r);
  border: 1px solid transparent;
  transition: all 0.12s ease;
  white-space: nowrap;
  user-select: none;
  position: relative;
}
.ep-btn--lg { padding: 13px 22px; font-size: 15px; }
.ep-btn--sm { padding: 7px 12px; font-size: 13px; }
.ep-btn--block { width: 100%; }

.ep-btn--primary {
  background: var(--ep-ink);
  color: #fff;
  border-color: var(--ep-ink);
}
.ep-btn--primary:hover {
  background: var(--ep-ink-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -8px rgba(10,10,10,0.35);
}
.ep-btn--primary:active { transform: translateY(0); }

.ep-btn--ghost {
  background: transparent;
  color: var(--ep-ink);
  border-color: var(--ep-line);
}
.ep-btn--ghost:hover {
  background: var(--ep-bg-soft);
  border-color: var(--ep-mute-3);
}

.ep-btn--dark {
  background: var(--ep-ink);
  color: #fff;
  border-color: var(--ep-ink);
}

.ep-btn--invert {
  background: #fff;
  color: var(--ep-ink);
  border-color: #fff;
}
.ep-btn--invert:hover { background: var(--ep-bg-soft); }

.ep-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.ep-btn__spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: epSpin 0.7s linear infinite;
}
.ep-btn.is-loading .ep-btn__spinner { display: inline-block; }
.ep-btn.is-loading .ep-btn__label { opacity: 0.5; }

@keyframes epSpin { to { transform: rotate(360deg); } }

/* ===== NAV ===== */
.ep-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ep-line-2);
}
.ep-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--ep-container);
  margin: 0 auto;
  padding: 0 32px;
}
.ep-brand { display: inline-flex; align-items: center; }
.ep-brand__wm {
  height: 24px;
  width: auto;
  display: block;
  /* prevent blur from scaling */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.ep-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.ep-nav__links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ep-mute);
  border-radius: var(--ep-r-sm);
  transition: color 0.15s, background 0.15s;
}
.ep-nav__links a:hover { color: var(--ep-ink); background: var(--ep-bg-soft); }

.ep-nav__toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--ep-line);
  background: #fff;
  border-radius: var(--ep-r);
  position: relative;
}
.ep-nav__toggle span {
  position: absolute;
  left: 10px;
  width: 18px; height: 1.5px;
  background: var(--ep-ink);
  transition: transform 0.2s, opacity 0.15s;
}
.ep-nav__toggle span:nth-child(1) { top: 14px; }
.ep-nav__toggle span:nth-child(2) { top: 20px; }
.ep-nav__toggle span:nth-child(3) { top: 26px; }
.ep-nav__toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ep-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.ep-nav__toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.ep-nav__mobile {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--ep-line);
  background: #fff;
  gap: 4px;
}
.ep-nav__mobile a {
  padding: 12px 8px;
  font-size: 15px;
  color: var(--ep-ink);
}
.ep-nav__mobile.is-open { display: flex; }

/* ===== HERO ===== */
.ep-hero {
  position: relative;
  padding: 100px 0 56px;
  overflow: hidden;
}
.ep-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ep-line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--ep-line-2) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 1000px 600px at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 1000px 600px at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}
.ep-hero .ep-container { position: relative; }

.ep-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 5px 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ep-mute);
  background: #fff;
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-r);
  margin-bottom: 32px;
}
.ep-hero__tag-mark {
  padding: 3px 8px;
  font-family: var(--ep-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--ep-ink);
  border-radius: var(--ep-r-xs);
}

.ep-hero__title {
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 28px;
  max-width: 1000px;
}
.ep-hero__under {
  position: relative;
  display: inline-block;
}
.ep-hero__under::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: var(--ep-ink);
  z-index: -1;
  opacity: 0.08;
  border-radius: 2px;
}

.ep-hero__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ep-mute);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.ep-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.ep-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--ep-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ep-mute-2);
  text-transform: uppercase;
}

/* ===== PANEL STAGE ===== */
.ep-stage {
  padding: 0 0 96px;
  position: relative;
}
.ep-panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-r-md);
  box-shadow: var(--ep-sh-3);
  overflow: hidden;
}
.ep-panel--sm { box-shadow: var(--ep-sh-2); }

.ep-panel__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--ep-line-2);
  background: var(--ep-bg-soft);
  font-family: var(--ep-mono);
  font-size: 11.5px;
  color: var(--ep-mute);
}
.ep-panel__dot { width: 9px; height: 9px; border-radius: 50%; }
.ep-panel__path { margin-left: 8px; flex: 1; }
.ep-panel__time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ep-ok);
}

.ep-live-dot {
  width: 6px; height: 6px;
  background: var(--ep-ok);
  border-radius: 50%;
  animation: epPulse 1.8s ease-in-out infinite;
}
@keyframes epPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.ep-panel__body { padding: 28px; }

.ep-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.ep-panel__eyebrow {
  font-family: var(--ep-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ep-mute-2);
  margin-bottom: 5px;
}
.ep-panel__h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ep-panel__pills {
  display: inline-flex;
  background: var(--ep-bg-soft);
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-r);
  padding: 3px;
  gap: 0;
}
.ep-pill {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ep-mute);
  border-radius: var(--ep-r-xs);
  cursor: default;
}
.ep-pill--active {
  background: #fff;
  color: var(--ep-ink);
  box-shadow: var(--ep-sh-1);
}

.ep-panel__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-r);
}
.ep-stat {
  padding: 16px 18px;
  border-right: 1px solid var(--ep-line);
}
.ep-stat:last-child { border-right: 0; }
.ep-stat__label {
  font-size: 12px;
  color: var(--ep-mute);
  margin-bottom: 6px;
}
.ep-stat__value {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.ep-stat__value span {
  font-size: 12px;
  font-weight: 500;
  color: var(--ep-mute);
  letter-spacing: 0;
  margin-left: 2px;
}
.ep-stat__delta {
  margin-top: 8px;
  font-family: var(--ep-mono);
  font-size: 11px;
  color: var(--ep-mute-2);
}
.ep-stat__delta--up { color: var(--ep-ok); }
.ep-stat__delta--down { color: var(--ep-err); }

.ep-panel__table {
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-r);
  overflow: hidden;
}
.ep-panel__table-head, .ep-panel__row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.7fr 0.9fr 0.7fr 1.1fr;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13px;
  align-items: center;
}
.ep-panel__table-head {
  font-family: var(--ep-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ep-mute-2);
  background: var(--ep-bg-soft);
  border-bottom: 1px solid var(--ep-line);
}
.ep-panel__row { border-bottom: 1px solid var(--ep-line-2); }
.ep-panel__row:last-child { border-bottom: 0; }
.ep-panel__row:hover { background: var(--ep-bg-alt); }
.ep-panel__row strong { font-weight: 600; }

.ep-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 500;
  border-radius: var(--ep-r-xs);
  font-family: var(--ep-mono);
  letter-spacing: 0.02em;
}
.ep-tag--ok { color: var(--ep-ok); background: rgba(31,157,85,0.1); }
.ep-tag--warn { color: var(--ep-warn); background: rgba(180,83,9,0.1); }

/* ===== LOGOS ===== */
.ep-logos {
  padding: 56px 0;
  background: var(--ep-bg-soft);
  border-top: 1px solid var(--ep-line);
  border-bottom: 1px solid var(--ep-line);
}
.ep-logos__caption {
  text-align: center;
  font-family: var(--ep-mono);
  font-size: 12px;
  color: var(--ep-mute-2);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ep-logos__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: center;
  justify-items: center;
  border: 1px solid var(--ep-line);
  background: #fff;
}
.ep-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 28px 16px;
  border-right: 1px solid var(--ep-line);
  height: 100px;
}
.ep-logo-cell:last-child { border-right: 0; }
.ep-logo-cell img {
  max-height: 32px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.ep-logo-cell:hover img { opacity: 1; }

.ep-logo-wm {
  font-size: 17px;
  color: var(--ep-mute);
  text-transform: uppercase;
  transition: color 0.2s;
}
.ep-logo-cell:hover .ep-logo-wm { color: var(--ep-ink); }

/* ===== FEATURES ASYMMETRIC GRID ===== */
.ep-fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--ep-line);
}
.ep-fcard {
  padding: 32px;
  border-right: 1px solid var(--ep-line);
  border-bottom: 1px solid var(--ep-line);
  background: #fff;
  transition: background 0.15s;
}
.ep-fcard:hover { background: var(--ep-bg-soft); }

/* Featured hero card: spans 2 columns */
.ep-fcard--hero {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--ep-ink);
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.ep-fcard--hero:hover { background: var(--ep-ink-2); }
.ep-fcard--hero::after {
  content: "";
  position: absolute;
  top: 24px; right: 24px;
  width: 32px; height: 32px;
  background-image: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.15) 50%);
  background-size: 8px 8px;
}

.ep-fcard:nth-child(3n+3) { border-right: 0; }

.ep-fcard__num {
  font-family: var(--ep-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ep-mute-2);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.ep-fcard--hero .ep-fcard__num { color: rgba(255,255,255,0.4); margin-bottom: 32px; }

.ep-fcard h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.ep-fcard--hero h3 {
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.ep-fcard p {
  font-size: 14.5px;
  color: var(--ep-mute);
  line-height: 1.6;
}
.ep-fcard--hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}

.ep-fcard__list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ep-fcard__list li {
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

/* ===== PICKING (Desktop + Mobile) ===== */
.ep-pick {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Desktop packing screen */
.ep-pack {
  padding: 24px;
  background: #fff;
}
.ep-pack__hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ep-line);
}
.ep-pack__ono {
  font-family: var(--ep-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ep-ink);
  margin-bottom: 4px;
}
.ep-pack__sub { font-size: 12.5px; color: var(--ep-mute); }
.ep-pack__progress {
  text-align: right;
}
.ep-pack__bar {
  display: block;
  width: 140px;
  height: 4px;
  background: var(--ep-line);
  border-radius: var(--ep-r-xs);
  overflow: hidden;
  margin-bottom: 5px;
}
.ep-pack__bar span {
  display: block;
  height: 100%;
  background: var(--ep-ink);
}
.ep-pack__pct {
  font-family: var(--ep-mono);
  font-size: 11px;
  color: var(--ep-mute);
}

.ep-pack__line {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ep-line-2);
}
.ep-pack__line:last-of-type { border-bottom: 0; }
.ep-pack__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
}
.ep-pack__line--ok .ep-pack__check {
  background: var(--ep-ink);
  color: #fff;
}
.ep-pack__line--scan .ep-pack__check {
  background: var(--ep-bg-soft);
  color: var(--ep-mute-2);
  border: 1px dashed var(--ep-mute-3);
  animation: epPulseBox 1.5s ease-in-out infinite;
}
@keyframes epPulseBox {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.ep-pack__pname {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ep-ink);
  margin-bottom: 2px;
}
.ep-pack__pmeta {
  font-family: var(--ep-mono);
  font-size: 11px;
  color: var(--ep-mute-2);
}
.ep-pack__qty {
  font-family: var(--ep-mono);
  font-size: 13px;
  color: var(--ep-mute);
}
.ep-pack__scan-cta {
  font-family: var(--ep-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ep-ink);
  background: #fff;
  padding: 5px 10px;
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-r-xs);
}

.ep-pack__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--ep-line);
}
.ep-pack__cargo {
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 2px;
}
.ep-pack__cargo-sub {
  font-family: var(--ep-mono);
  font-size: 11px;
  color: var(--ep-mute-2);
}

/* Mobile phone mockup */
.ep-pick__mobile {
  display: flex;
  justify-content: center;
}
.ep-phone {
  width: 280px;
  height: 580px;
  background: var(--ep-ink);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--ep-sh-3);
  position: relative;
}
.ep-phone__notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 22px;
  background: var(--ep-ink);
  border-radius: 12px;
  z-index: 2;
}
.ep-phone__screen {
  height: 100%;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}
.ep-mob {
  padding: 40px 18px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ep-mob__top {
  display: flex;
  justify-content: space-between;
  font-family: var(--ep-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ep-ink);
  margin-bottom: 14px;
}
.ep-mob__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.ep-mob__sub {
  font-family: var(--ep-mono);
  font-size: 11px;
  color: var(--ep-mute);
  margin-bottom: 18px;
}

.ep-mob__step {
  position: relative;
  padding-left: 18px;
  margin-bottom: 18px;
}
.ep-mob__rail {
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 1.5px;
  background: var(--ep-line);
}
.ep-mob__s {
  position: relative;
  padding: 8px 0;
  font-size: 12px;
  color: var(--ep-mute);
}
.ep-mob__s::before {
  content: "";
  position: absolute;
  left: -18px; top: 13px;
  width: 8px; height: 8px;
  background: #fff;
  border: 1.5px solid var(--ep-mute-3);
  border-radius: 50%;
}
.ep-mob__s--done { color: var(--ep-mute-2); text-decoration: line-through; }
.ep-mob__s--done::before { background: var(--ep-ink); border-color: var(--ep-ink); }
.ep-mob__s--now {
  color: var(--ep-ink);
  font-weight: 600;
}
.ep-mob__s--now::before {
  background: #fff;
  border-color: var(--ep-ink);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.1);
}

.ep-mob__scan {
  margin-top: auto;
  padding-top: 12px;
}
.ep-mob__scan-frame {
  background: var(--ep-bg-soft);
  border: 1.5px dashed var(--ep-mute-3);
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 12px;
}
.ep-mob__scan-line {
  width: 65%;
  height: 1.5px;
  background: var(--ep-ink);
  animation: epScan 1.8s ease-in-out infinite;
}
@keyframes epScan {
  0%, 100% { transform: translateY(-30px); opacity: 0.3; }
  50% { transform: translateY(30px); opacity: 1; }
}
.ep-mob__scan-hint {
  margin-top: 14px;
  font-size: 11px;
  color: var(--ep-mute-2);
}
.ep-mob__btn {
  width: 100%;
  padding: 11px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--ep-ink);
  border-radius: var(--ep-r);
  text-align: center;
}

/* ===== MAP (FULL WIDTH) ===== */
.ep-section--map {
  background: var(--ep-bg-soft);
  border-top: 1px solid var(--ep-line);
  border-bottom: 1px solid var(--ep-line);
  padding: 120px 0;
}
.ep-mapwrap {
  background: #fff;
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-r-md);
  padding: 32px;
  position: relative;
}
.ep-mapwrap__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ep-line-2);
}
.ep-mlg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ep-ink-2);
}
.ep-mlg--flow {
  font-family: var(--ep-mono);
  font-size: 12px;
  color: var(--ep-mute);
  margin-left: auto;
}
.ep-mlg__sq {
  width: 12px; height: 12px;
  display: inline-block;
}
.ep-mlg__sq--depot { background: var(--ep-ink); }
.ep-mlg__sq--store { background: #fff; border: 1.5px solid var(--ep-ink); }
.ep-mlg__sq--cust { background: var(--ep-ink); border-radius: 50%; }

.ep-mapsvg {
  width: 100%;
  height: auto;
  max-width: 1200px;
  margin: 0 auto;
  display: block;
}
.ep-route__line {
  stroke-dasharray: 5 6;
  animation: epRouteFlow 1.5s linear infinite;
}
@keyframes epRouteFlow {
  to { stroke-dashoffset: -22; }
}
.ep-mapwrap__caption {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ep-line-2);
  font-family: var(--ep-mono);
  font-size: 11.5px;
  color: var(--ep-mute);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.ep-mapwrap__sep { color: var(--ep-mute-3); }

/* ===== SOLUTIONS ===== */
.ep-soln { border-top: 1px solid var(--ep-line); }
.ep-soln__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  padding: 48px 0;
  border-bottom: 1px solid var(--ep-line);
}
.ep-soln__num {
  font-family: var(--ep-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ep-mute-2);
}
.ep-soln__body h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.ep-soln__body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ep-mute);
  max-width: 720px;
  margin-bottom: 20px;
}
.ep-soln__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ep-soln__chips span {
  font-family: var(--ep-mono);
  font-size: 11.5px;
  padding: 4px 10px;
  color: var(--ep-ink-2);
  background: var(--ep-bg-soft);
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-r-xs);
}

/* ===== INTEGRATIONS ===== */
.ep-integ {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.ep-integ__col {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--ep-line);
}
.ep-integ__title {
  font-family: var(--ep-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ep-mute);
  margin-bottom: 18px;
}
.ep-chiplist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ep-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ep-ink-2);
  background: var(--ep-bg-soft);
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-r-xs);
  white-space: nowrap;
}
.ep-chip--dark {
  color: #fff;
  background: var(--ep-ink);
  border-color: var(--ep-ink);
}

/* ===== FLOW (Editorial numbered) ===== */
.ep-flow {
  display: flex;
  flex-direction: column;
}
.ep-flow__step {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  padding: 40px 0;
  border-top: 1px solid var(--ep-line);
  align-items: start;
}
.ep-flow__step:last-child { border-bottom: 1px solid var(--ep-line); }
.ep-flow__num {
  font-family: var(--ep-mono);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ep-line);
  line-height: 1;
}
.ep-flow__body h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.ep-flow__body p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ep-mute);
  max-width: 680px;
}

/* ===== METRICS (DARK) ===== */
.ep-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.12);
}
.ep-metric {
  padding: 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.ep-metric:last-child { border-right: 0; }
.ep-metric__num {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
  color: #fff;
}
.ep-metric__label {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}
.ep-metric__hint {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ===== CONTACT ===== */
.ep-contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.ep-contact__h {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 20px 0 16px;
}
.ep-contact__p {
  font-size: 16px;
  color: var(--ep-mute);
  line-height: 1.65;
  margin-bottom: 32px;
}
.ep-contact__ul {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.ep-contact__ul li {
  padding: 10px 0;
  font-size: 14.5px;
  border-bottom: 1px solid var(--ep-line-2);
  position: relative;
  padding-left: 24px;
}
.ep-contact__ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ep-mute-3);
}

.ep-contact__channels {
  display: grid;
  gap: 0;
  border: 1px solid var(--ep-line);
}
.ep-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ep-line);
  transition: background 0.15s;
}
.ep-channel:last-child { border-bottom: 0; }
.ep-channel:hover { background: var(--ep-bg-soft); }
.ep-channel__lbl {
  font-family: var(--ep-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ep-mute);
}
.ep-channel__val {
  font-size: 14.5px;
  font-weight: 600;
}

/* ===== FORM ===== */
.ep-form {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--ep-line);
}
.ep-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.ep-form__full { display: block; margin-bottom: 16px; }
.ep-form label > span {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ep-ink-2);
  margin-bottom: 6px;
}
.ep-form label > span em {
  color: var(--ep-ink);
  font-style: normal;
}

.ep-form input,
.ep-form select,
.ep-form textarea {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 14.5px;
  color: var(--ep-ink);
  background: #fff;
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-r);
  transition: all 0.12s;
}
.ep-form input:focus,
.ep-form select:focus,
.ep-form textarea:focus {
  outline: none;
  border-color: var(--ep-ink);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.08);
}
.ep-form textarea {
  resize: vertical;
  min-height: 90px;
  font-family: inherit;
}

.ep-form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 20px;
  font-size: 13px;
  color: var(--ep-mute);
  line-height: 1.55;
}
.ep-form__check input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--ep-ink);
}

.ep-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

.ep-form__msg {
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 13.5px;
  border-radius: var(--ep-r);
  display: none;
}
.ep-form__msg.is-ok {
  display: block;
  background: rgba(31,157,85,0.08);
  color: var(--ep-ok);
  border: 1px solid rgba(31,157,85,0.2);
}
.ep-form__msg.is-err {
  display: block;
  background: rgba(185,28,28,0.06);
  color: var(--ep-err);
  border: 1px solid rgba(185,28,28,0.2);
}

/* ===== FAQ ===== */
.ep-faq {
  border-top: 1px solid var(--ep-line);
}
.ep-faq__i {
  border-bottom: 1px solid var(--ep-line);
}
.ep-faq__i summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ep-ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.ep-faq__i summary::-webkit-details-marker { display: none; }
.ep-faq__i summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--ep-mute-2);
  transition: transform 0.2s;
}
.ep-faq__i[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ep-faq__i p {
  padding: 0 0 22px;
  font-size: 14.5px;
  color: var(--ep-mute);
  line-height: 1.7;
  max-width: 680px;
}

/* ===== FINAL CTA (FULL WIDTH DARK) ===== */
.ep-section--final {
  padding: 96px 0;
  background: var(--ep-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ep-section--final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 800px 400px at 50% 50%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 800px 400px at 50% 50%, #000, transparent 80%);
}
.ep-final {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.ep-final__h {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.ep-final__p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.ep-footer {
  padding: 64px 0 32px;
  background: #fff;
  border-top: 1px solid var(--ep-line);
}
.ep-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.ep-footer__brand .ep-footer__wm {
  height: 26px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  image-rendering: -webkit-optimize-contrast;
}
.ep-footer__brand p {
  font-size: 14px;
  color: var(--ep-mute);
  max-width: 320px;
  line-height: 1.55;
}
.ep-footer__col h4 {
  font-family: var(--ep-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ep-mute-2);
  margin-bottom: 14px;
}
.ep-footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ep-mute);
  transition: color 0.15s;
}
.ep-footer__col a:hover { color: var(--ep-ink); }

.ep-footer__bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--ep-line);
  font-size: 13px;
  color: var(--ep-mute);
}
.ep-footer__cr a {
  color: var(--ep-ink);
  font-weight: 600;
  transition: opacity 0.15s;
}
.ep-footer__cr a:hover { opacity: 0.7; }

/* ===== WHATSAPP FLOAT ===== */
.ep-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px; height: 52px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37,211,102,0.4);
  z-index: 50;
  transition: transform 0.2s;
}
.ep-wa:hover { transform: scale(1.08); }

/* ===== REVEAL ===== */
.ep-reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s, transform 0.5s; }
.ep-reveal.is-in { opacity: 1; transform: none; }
.no-js .ep-reveal { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ep-fgrid { grid-template-columns: 1fr 1fr; }
  .ep-fcard--hero { grid-column: span 2; grid-row: auto; }
  .ep-fcard:nth-child(3n+3) { border-right: 1px solid var(--ep-line); }
  .ep-fcard:nth-child(2n+2) { border-right: 0; }

  .ep-pick { grid-template-columns: 1fr; gap: 64px; }
  .ep-pick__mobile { order: -1; }

  .ep-integ { grid-template-columns: 1fr; }
  .ep-metrics { grid-template-columns: 1fr 1fr; }
  .ep-metric:nth-child(2n+2) { border-right: 0; }
  .ep-metric:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.12); }

  .ep-contact { grid-template-columns: 1fr; gap: 48px; }

  .ep-soln__item, .ep-flow__step { grid-template-columns: 1fr; gap: 16px; }

  .ep-panel__stats { grid-template-columns: 1fr 1fr; }
  .ep-stat:nth-child(odd) { border-right: 1px solid var(--ep-line); }
  .ep-stat:nth-child(2n+2) { border-right: 0; }
  .ep-stat:nth-child(-n+2) { border-bottom: 1px solid var(--ep-line); }
}

@media (max-width: 768px) {
  .ep-container { padding: 0 20px; }
  .ep-section { padding: 72px 0; }
  .ep-shead { margin-bottom: 48px; }

  .ep-nav__links, .ep-nav__cta { display: none; }
  .ep-nav__toggle { display: block; }

  .ep-hero { padding: 56px 0 32px; }
  .ep-hero__actions { flex-direction: column; align-items: stretch; }

  .ep-stage { padding-bottom: 64px; }
  .ep-panel__body { padding: 16px; }
  .ep-panel__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ep-panel__table-head, .ep-panel__row { grid-template-columns: 1.2fr 0.8fr 0.6fr; }
  .ep-panel__table-head > div:nth-child(n+4),
  .ep-panel__row > div:nth-child(n+4) { display: none; }

  .ep-logos__grid { grid-template-columns: repeat(3, 1fr); }
  .ep-logo-cell:nth-child(4), .ep-logo-cell:nth-child(5) { border-top: 1px solid var(--ep-line); }
  .ep-logo-cell:nth-child(3n+3) { border-right: 0; }
  .ep-logo-cell:nth-child(5) { grid-column: span 3; border-right: 0; }

  .ep-fgrid { grid-template-columns: 1fr; }
  .ep-fcard, .ep-fcard--hero { grid-column: span 1; }
  .ep-fcard { border-right: 0; }
  .ep-fcard--hero { padding: 32px; }
  .ep-fcard--hero h3 { font-size: 24px; }

  .ep-phone { transform: scale(0.85); }

  .ep-metrics { grid-template-columns: 1fr; }
  .ep-metric { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.12) !important; }
  .ep-metric:last-child { border-bottom: 0 !important; }

  .ep-form { padding: 24px; }
  .ep-form__row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .ep-form__row label { margin-bottom: 14px; }

  .ep-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .ep-footer__bot { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .ep-hero__title { font-size: 36px; }
  .ep-shead__title { font-size: 28px; }
  .ep-flow__num { font-size: 40px; }
  .ep-metric__num { font-size: 40px; }
  .ep-stat__value { font-size: 22px; }
}
