/* POSVENDELO — Dark Premium */

:root {
  /* Densidad — multiplicador de spacing */
  --d: 1;

  /* Tipografía */
  --font-display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --display-tracking: -0.02em;

  /* Color — dark premium, ligeramente cálido azulado */
  --bg: #060912;
  --bg-1: #0a1020;
  --bg-2: #0f172b;
  --surface: #111a30;
  --surface-2: #16213d;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.26);
  --text: #f1f5fc;
  --text-2: #b8c4dc;
  --text-3: #7e8aa6;
  --text-4: #56607a;

  --accent: #2563eb;
  --accent-2: #3b82f6;
  --accent-3: #60a5fa;
  --accent-soft: rgba(59, 130, 246, 0.12);
  --good: #2dd4a4;
  --good-soft: rgba(45, 212, 164, 0.12);
  --warm: #f5a524;

  /* Cards */
  --card-bg: #0d1426;
  --card-bg-2: #111a2f;
  --card-border: rgba(148, 163, 184, 0.16);
  --card-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 22px 50px -32px rgba(0,0,0,0.9);
  --card-radius: 14px;

  /* Container */
  --container: 1240px;
}

body[data-density="compact"] { --d: 0.65; }
body[data-density="spacious"] { --d: 1.35; }

/* Card style modes (set on <body>) */
body[data-cards="flat"] {
  --card-bg: transparent;
  --card-bg-2: transparent;
  --card-border: transparent;
  --card-shadow: none;
}
body[data-cards="border"] {
  --card-bg: transparent;
  --card-bg-2: transparent;
  --card-border: rgba(148, 163, 184, 0.22);
  --card-shadow: none;
}
body[data-cards="shadow"] {
  --card-bg: #0d1426;
  --card-bg-2: #111a2f;
  --card-border: rgba(148, 163, 184, 0.16);
  --card-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 32px 70px -36px rgba(0,0,0,0.95), 0 14px 28px -18px rgba(37, 99, 235, 0.18);
}

/* Typography modes */
body[data-type="friendly"] {
  --font-display: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --display-tracking: -0.012em;
}
body[data-type="tech"] {
  --font-display: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --display-tracking: -0.025em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Global background ambient */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% -10%, rgba(59,130,246,0.18), transparent 60%),
    radial-gradient(700px 500px at 8% 22%, rgba(37,99,235,0.08), transparent 60%);
  z-index: 0;
}

/* ==================== TYPE ==================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: var(--display-tracking);
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 0.98; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.85rem); line-height: 1.04; }
h3 { font-size: 1.18rem; line-height: 1.18; }
p { margin: 0; line-height: 1.55; color: var(--text-2); }

.mono { font-family: var(--font-mono); font-feature-settings: "ss01"; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-3);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ==================== LAYOUT ==================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: calc(5rem * var(--d)) 0;
  position: relative;
  z-index: 1;
}
.section.tight { padding: calc(3rem * var(--d)) 0; }

/* ==================== NAV ==================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px) saturate(160%);
  background: rgba(6, 9, 18, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand-logo {
  display: block;
  width: 156px;
  height: auto;
}
.brand-mark {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 20px -8px rgba(59,130,246,0.6);
}
.brand-word { font-family: var(--font-display); font-size: 1.04rem; letter-spacing: -0.01em; }
.brand-word small { color: var(--text-3); font-weight: 600; }

.site-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(10, 16, 32, 0.96);
  box-shadow: 0 22px 60px -28px rgba(0, 0, 0, 0.95);
  padding: 0.9rem;
  backdrop-filter: blur(16px);
}
.site-consent[hidden] { display: none; }
.site-consent strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--text);
}
.site-consent p {
  max-width: 620px;
  font-size: 0.86rem;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.nav-links {
  display: flex; gap: 1.6rem;
  flex: 1; justify-content: center;
}
.nav-links a {
  font-size: 0.91rem; font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; gap: 0.55rem; align-items: center; }
.nav-actions .btn-text { color: var(--text-2); padding: 0.55rem 0.78rem; font-size: 0.9rem; font-weight: 600; }
.nav-actions .btn-text:hover { color: var(--text); }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.78rem 1.2rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 -1px 0 rgba(0,0,0,0.22) inset,
    0 14px 28px -14px rgba(37,99,235,0.55);
  border-color: rgba(96,165,250,0.4);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-secondary {
  background: rgba(22, 33, 61, 0.72);
  color: var(--text);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(33, 49, 84, 0.85); border-color: rgba(96,165,250,0.4); }
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--line);
}
.btn-ghost:hover { color: var(--text); border-color: var(--line-strong); }
.btn-lg { padding: 1rem 1.5rem; font-size: 1rem; }
.btn-arrow::after {
  content: "→";
  font-family: var(--font-mono);
  margin-left: 0.25rem;
  transition: transform 0.18s;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ==================== HERO ==================== */
.hero { padding: calc(3.5rem * var(--d)) 0 calc(1.5rem * var(--d)); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
body[data-hero="2col"] .hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 3rem;
}
body[data-hero="2col"] .hero-copy { text-align: left; max-width: none; }
body[data-hero="2col"] .hero-copy h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
body[data-hero="2col"] .hero-cta { justify-content: flex-start; }
body[data-hero="2col"] .hero-proof { justify-content: flex-start; }

.hero-copy {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.hero-copy h1 { margin-top: 1.25rem; text-wrap: balance; }
.hero-copy h1 .accent {
  background: linear-gradient(180deg, #60a5fa, #2563eb 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 700;
}
.hero-copy p.lede {
  margin: 1.3rem auto 0;
  max-width: 640px;
  font-size: 1.08rem;
  color: var(--text-2);
  text-wrap: pretty;
}
body[data-hero="2col"] .hero-copy p.lede { margin-left: 0; margin-right: 0; }
.hero-cta {
  display: flex; justify-content: center;
  gap: 0.7rem; margin-top: 1.7rem;
  flex-wrap: wrap;
}
.hero-proof {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
  color: var(--text-3);
  font-size: 0.85rem;
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-proof span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(45,212,164,0.18);
}

/* Hero showcase — terminal-styled frame */
.hero-showcase {
  margin: 2.5rem auto 0;
  max-width: 1100px;
  position: relative;
}
body[data-hero="2col"] .hero-showcase { margin: 0; max-width: none; }
body[data-hero="fullbleed"] .hero-showcase { max-width: none; }

.terminal {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, #0e1729 0%, #060b18 100%);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 60px 120px -50px rgba(37,99,235,0.45),
    0 30px 60px -30px rgba(0,0,0,0.75);
}
.terminal-bar {
  display: flex; align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 20, 38, 0.6);
}
.terminal-dots { display: flex; gap: 0.36rem; }
.terminal-dots i {
  display: block; width: 11px; height: 11px;
  border-radius: 50%; background: #2a3753;
}
.terminal-dots i:nth-child(1) { background: #ef4444; }
.terminal-dots i:nth-child(2) { background: #f59e0b; }
.terminal-dots i:nth-child(3) { background: #10b981; }
.terminal-title {
  font-family: var(--font-mono);
  color: var(--text-3);
  font-size: 0.78rem;
  margin-left: 0.4rem;
}
.terminal-title .live { color: var(--good); }
.terminal-tabs {
  margin-left: auto;
  display: flex; gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
}
.terminal-tabs span {
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
}
.terminal-tabs span.active { background: rgba(96,165,250,0.18); color: var(--accent-3); }
.terminal-body { padding: 0; background: #060912; }
.terminal-body img {
  display: block;
  width: 100%;
  height: auto;
}

/* Floating tags around hero terminal */
.hero-tag {
  position: absolute;
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.7rem 0.92rem;
  background: rgba(13, 20, 38, 0.86);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 18px 36px -22px rgba(0,0,0,0.8);
}
.hero-tag .mini {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-tag .num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-tag.t1 { left: -1.5rem; top: 24%; }
.hero-tag.t2 { right: -1.5rem; top: 58%; }
.hero-tag.t3 { left: 8%; bottom: -1.2rem; }

@media (max-width: 980px) {
  .hero-tag { display: none; }
}

/* ==================== LOGOS / TRUST STRIP ==================== */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  background: rgba(10, 16, 32, 0.5);
}
.trust-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.trust-logos {
  display: flex; gap: 2.2rem; flex-wrap: wrap;
  align-items: center;
}
.trust-logos span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-3);
  letter-spacing: -0.01em;
  opacity: 0.78;
}

/* ==================== SECTION HEADING ==================== */
.section-heading {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}
.section-heading h2 { max-width: 760px; text-wrap: balance; }
.section-heading p { max-width: 640px; font-size: 1rem; }
.section-heading.center { justify-items: center; text-align: center; }

/* ==================== FEATURE STRIP ==================== */
.feature-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 3.2rem;
  align-items: center;
}
.feature-strip.reverse { direction: rtl; }
.feature-strip.reverse > * { direction: ltr; }

.feature-copy h2 { margin-bottom: 1rem; }
.feature-copy p { font-size: 1.04rem; max-width: 460px; }
.feature-list {
  list-style: none; padding: 0; margin: 1.4rem 0 0;
  display: grid; gap: 0.7rem;
}
.feature-list li {
  display: flex; gap: 0.65rem; align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-2);
}
.feature-list li::before {
  content: "";
  flex: 0 0 auto;
  margin-top: 0.4rem;
  width: 14px; height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  position: relative;
}

/* ==================== MOCKS ==================== */
.mock {
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  background: var(--card-bg);
  padding: 1.2rem;
  box-shadow: var(--card-shadow);
}

/* Phone mock — app del dueño */
.phone-mock {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 9 / 19;
  border-radius: 34px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #0e1729, #060b18);
  padding: 12px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.07) inset,
    0 50px 100px -40px rgba(37,99,235,0.4),
    0 24px 50px -24px rgba(0,0,0,0.85);
  position: relative;
}
.phone-mock::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #060912;
  border-radius: 12px;
  z-index: 2;
}
.phone-real {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 24px;
  background: linear-gradient(180deg, #0a1224 0%, #0a0f1c 100%);
  overflow: hidden;
  padding: 38px 16px 16px;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.phone-header {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3);
}
.phone-greet {
  display: grid; gap: 0.25rem; margin-top: 0.2rem;
}
.phone-greet .hi { color: var(--text-3); font-size: 0.72rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; }
.phone-greet .name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text); }
.phone-card {
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.3), rgba(96,165,250,0.06));
  border: 1px solid rgba(96,165,250,0.32);
}
.phone-card .lbl { font-family: var(--font-mono); font-size: 0.62rem; color: var(--accent-3); text-transform: uppercase; letter-spacing: 0.12em; }
.phone-card .val { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; margin-top: 0.18rem; color: var(--text); }
.phone-card .delta { font-family: var(--font-mono); font-size: 0.66rem; color: var(--good); margin-top: 0.1rem; }
.phone-card .delta::before { content: "▲ "; }
.phone-bars { display: flex; align-items: flex-end; gap: 4px; height: 38px; margin-top: 0.55rem; }
.phone-bars i { flex: 1; background: linear-gradient(180deg, var(--accent-3), var(--accent)); border-radius: 2px; opacity: 0.85; }
.phone-stat {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem;
}
.phone-stat > div {
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0.5rem 0.62rem;
  background: rgba(17, 26, 47, 0.6);
}
.phone-stat .l { font-family: var(--font-mono); font-size: 0.6rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
.phone-stat .v { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--text); margin-top: 0.16rem; letter-spacing: -0.01em; }
.phone-list { display: grid; gap: 0.35rem; }
.phone-row {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0.42rem 0;
  font-size: 0.78rem;
}
.phone-row:last-child { border-bottom: none; }
.phone-row .who { color: var(--text-2); font-weight: 500; }
.phone-row .amt { font-family: var(--font-mono); color: var(--text); font-weight: 600; }

/* Receipt mock */
.receipt {
  width: 100%; max-width: 320px;
  margin: 0 auto;
  background: #f4ebd6;
  color: #1a1410;
  font-family: "Courier New", monospace;
  padding: 1.4rem 1.2rem;
  border-radius: 4px 4px 0 0;
  position: relative;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.85), 0 12px 24px -10px rgba(0,0,0,0.6);
  font-size: 0.8rem;
  line-height: 1.5;
}
.receipt::after {
  content: "";
  position: absolute;
  bottom: -10px; left: 0; right: 0;
  height: 14px;
  background: linear-gradient(135deg, transparent 50%, #f4ebd6 50%) 0 50%/12px 12px repeat-x,
              linear-gradient(45deg, transparent 50%, #f4ebd6 50%) 6px 50%/12px 12px repeat-x;
}
.receipt h4 { font-family: inherit; color: inherit; text-align: center; margin-bottom: 0.4rem; }
.receipt .line { border-top: 1px dashed #6b5c44; margin: 0.5rem 0; }
.receipt .row { display: flex; justify-content: space-between; }
.receipt .total { font-size: 1.2rem; font-weight: 700; margin-top: 0.4rem; }

/* Inventory mock — POS style (matches real screenshot) */
.inv-mock.pos-style {
  padding: 0;
  background: #050912;
  border-color: rgba(96,165,250,0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
}
.pos-tabs {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(96,165,250,0.12);
  background: rgba(8, 14, 28, 0.9);
  font-size: 0.84rem;
  color: var(--text-3);
  font-weight: 500;
  overflow-x: auto;
  scrollbar-width: none;
}
.pos-tabs::-webkit-scrollbar { display: none; }
.pos-tabs span { white-space: nowrap; }
.pos-tabs .pos-brand {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
  flex-shrink: 0;
}
.pos-tabs .active {
  color: var(--accent-3);
  font-weight: 700;
  border-bottom: 2px solid var(--accent-3);
  padding-bottom: 0.32rem;
  margin-bottom: -0.4rem;
}
.pos-tabs .pos-caja {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 0.42rem;
  color: var(--good);
  font-size: 0.8rem;
  font-weight: 600;
}
.pos-tabs .pos-caja i {
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 6px var(--good);
}

.pos-toolbar {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(8, 14, 28, 0.5);
  border-bottom: 1px solid rgba(96,165,250,0.08);
}
.pos-search {
  flex: 1;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(96,165,250,0.22);
  border-radius: 8px;
  background: rgba(13, 20, 38, 0.85);
}
.pos-search .ic { color: var(--text-3); font-size: 0.95rem; }
.pos-search .ph { color: var(--text-4); font-size: 0.86rem; }
.pos-chips { display: flex; gap: 0.4rem; flex-shrink: 0; }
.pos-chips .chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: rgba(22, 33, 61, 0.6);
  border: 1px solid rgba(96,165,250,0.15);
  color: var(--text-3);
}
.pos-chips .chip.menudeo {
  background: linear-gradient(180deg, #f59e0b, #d97706);
  color: #1a1410;
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 12px -2px rgba(245, 158, 11, 0.4);
}

.pos-rows {
  display: flex; flex-direction: column;
  padding: 0.2rem 0;
}
.pos-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto auto auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(96,165,250,0.08);
  font-size: 0.86rem;
}
.pos-row:last-child { border-bottom: none; }
.pos-row .nm { color: var(--text); font-weight: 600; }
.pos-row .meta {
  display: flex; gap: 0.55rem; align-items: center;
}
.pos-row .ref {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-4);
  letter-spacing: 0.05em;
  background: rgba(22, 33, 61, 0.55);
  padding: 0.16rem 0.42rem;
  border-radius: 4px;
}
.pos-row .pu {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
}
.pos-row .stk {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.22rem 0.55rem;
  border-radius: 5px;
  min-width: 2rem;
  text-align: center;
}
.pos-row .stk.ok { background: rgba(45,212,164,0.14); color: var(--good); }
.pos-row .stk.low { background: rgba(245,165,36,0.18); color: var(--warm); }
.pos-row .stk.crit {
  background: rgba(239,68,68,0.18);
  color: #f87171;
  box-shadow: 0 0 0 1px rgba(239,68,68,0.4);
}
.pos-row .lt {
  font-family: var(--font-mono);
  color: var(--accent-3);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: right;
  min-width: 4.2rem;
}

.pos-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 1rem;
  background: rgba(8, 14, 28, 0.9);
  border-top: 1px solid rgba(96,165,250,0.12);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pos-foot .ft-l { color: var(--text-3); }

/* Inventory mock (legacy) */
.inv-mock {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.2rem;
  box-shadow: var(--card-shadow);
  display: grid; gap: 0.7rem;
}
.inv-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.inv-head .t { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.inv-head .s { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3); }
.inv-table { display: grid; gap: 0.4rem; }
.inv-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.8rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  background: rgba(22, 33, 61, 0.4);
  font-size: 0.86rem;
  align-items: center;
}
.inv-row .sku { font-family: var(--font-mono); color: var(--text-3); font-size: 0.74rem; }
.inv-row .name { color: var(--text); font-weight: 500; }
.inv-row .qty { font-family: var(--font-mono); color: var(--text); font-weight: 600; }
.inv-row .qty.low { color: var(--warm); }
.inv-row .qty.crit { color: #ef4444; }
.inv-row .price { font-family: var(--font-mono); color: var(--text-2); }

/* ==================== DOWNLOAD CARDS ==================== */
.download-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.download-card {
  position: relative;
  display: grid;
  gap: 0.32rem;
  padding: 1.2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: all 0.2s;
  overflow: hidden;
}
.download-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--card-radius);
  background: linear-gradient(135deg, var(--os-glow, rgba(96,165,250,0.32)), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.download-card:hover::after { opacity: 1; }
.download-card > * { position: relative; z-index: 1; }
.download-card:hover {
  border-color: var(--os-border, rgba(96,165,250,0.5));
  transform: translateY(-2px);
}
.download-card .ico {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--os-bg, rgba(96,165,250,0.22)), var(--os-bg-2, rgba(37,99,235,0.06)));
  border: 1px solid var(--os-border, rgba(96,165,250,0.22));
  color: var(--os-color, var(--accent-3));
  margin-bottom: 0.5rem;
  box-shadow: 0 6px 16px -8px var(--os-shadow, rgba(37,99,235,0.45));
}

/* OS-specific tints */
.download-card.os-win {
  --os-color: #4cc2ff;
  --os-bg: rgba(0, 120, 212, 0.28);
  --os-bg-2: rgba(0, 120, 212, 0.06);
  --os-border: rgba(76, 194, 255, 0.35);
  --os-shadow: rgba(0, 120, 212, 0.5);
  --os-glow: rgba(76, 194, 255, 0.32);
}
.download-card.os-linux {
  --os-color: #f5a524;
  --os-bg: rgba(233, 84, 32, 0.24);
  --os-bg-2: rgba(245, 165, 36, 0.05);
  --os-border: rgba(245, 165, 36, 0.4);
  --os-shadow: rgba(233, 84, 32, 0.45);
  --os-glow: rgba(245, 165, 36, 0.32);
}
.download-card.os-android {
  --os-color: #3ddc84;
  --os-bg: rgba(61, 220, 132, 0.22);
  --os-bg-2: rgba(61, 220, 132, 0.04);
  --os-border: rgba(61, 220, 132, 0.4);
  --os-shadow: rgba(61, 220, 132, 0.4);
  --os-glow: rgba(61, 220, 132, 0.32);
}
.download-card.os-web {
  --os-color: #c084fc;
  --os-bg: rgba(168, 85, 247, 0.22);
  --os-bg-2: rgba(168, 85, 247, 0.04);
  --os-border: rgba(192, 132, 252, 0.4);
  --os-shadow: rgba(168, 85, 247, 0.42);
  --os-glow: rgba(192, 132, 252, 0.32);
}
.download-card strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--text);
  letter-spacing: -0.012em;
}
.download-card > span { color: var(--text-3); font-size: 0.84rem; }
.download-card .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}
.download-card .size {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.download-card .arrow {
  color: var(--text-4);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  transition: all 0.18s;
}
.download-card:hover .arrow { color: var(--accent-3); transform: translate(2px, -2px); }

/* ==================== MODULES ==================== */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.module-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.3rem 1.2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.module-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--card-radius);
  background: linear-gradient(135deg, rgba(96,165,250,0.4), transparent 50%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  z-index: 0;
}
.module-card:hover::before { opacity: 1; }
.module-card:hover {
  transform: translateY(-2px);
  background: var(--card-bg-2);
}
.module-card > * { position: relative; z-index: 1; }
.module-card .ico {
  width: 38px; height: 38px;
  margin-bottom: 0.6rem;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-3);
}
.module-card strong { font-family: var(--font-display); font-size: 1.08rem; }
.module-card p { font-size: 0.88rem; color: var(--text-3); }

/* Addon module — WhatsApp etc. */
.module-card.module-addon {
  background: linear-gradient(180deg, rgba(45,212,164,0.1), var(--card-bg) 60%);
  border-color: rgba(45,212,164,0.32);
}
.module-card.module-addon::before {
  background: linear-gradient(135deg, rgba(45,212,164,0.4), transparent 50%);
}
.module-card .addon-tag {
  position: absolute;
  top: 0.85rem; right: 0.85rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(45,212,164,0.16);
  color: var(--good);
  border: 1px solid rgba(45,212,164,0.4);
}
.module-card .ico.ico-wa {
  background: rgba(45,212,164,0.16);
  color: var(--good);
}

/* ==================== GIROS — FEATURED ==================== */
.giros-featured {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.giro-feat {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.2s ease;
  --g-accent: #60a5fa;
}
.giro-feat:hover {
  transform: translateY(-3px);
  border-color: var(--g-accent);
}
.giro-feat .g-scene {
  display: block;
  width: calc(100% - 1.4rem);
  height: 112px;
  margin: 0.7rem 0.7rem 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 60%, color-mix(in oklab, var(--g-accent) 18%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, rgba(13,20,38,0.4), rgba(13,20,38,0.7));
}
.giro-feat .g-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,9,18,0.04) 0%, rgba(6,9,18,0.5) 100%),
    radial-gradient(circle at 24% 18%, color-mix(in oklab, var(--g-accent) 22%, transparent), transparent 42%);
  pointer-events: none;
}
.giro-feat .g-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.95) contrast(1.03);
  transition: transform 0.28s ease;
}
.giro-feat:hover .g-photo { transform: scale(1.04); }
.giro-feat .g-icon {
  width: 44px; height: 44px;
  color: var(--g-accent);
  opacity: 0.92;
}
.giro-feat .g-body {
  padding: 1.1rem 1.15rem 1.2rem;
  display: grid;
  gap: 0.4rem;
  flex: 1;
}
.giro-feat strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.giro-feat p {
  font-size: 0.84rem;
  color: var(--text-3);
  line-height: 1.4;
}
.giro-feat .g-arrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--g-accent);
  margin-top: 0.35rem;
  transition: transform 0.18s;
}
.giro-feat:hover .g-arrow { transform: translateX(3px); }

/* Per-giro accent */
.giro-feat.g-abarrotes { --g-accent: #fbbf24; }
.giro-feat.g-ferreteria { --g-accent: #fb923c; }
.giro-feat.g-papeleria { --g-accent: #60a5fa; }
.giro-feat.g-restaurante { --g-accent: #f87171; }

/* Compact rail */
.giros-rail {
  margin-top: 1.2rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(13, 20, 38, 0.35);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.giros-rail-lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}
.giros-rail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex: 1;
}
.giro-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem 0.45rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(22,33,61,0.5);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.15s;
}
.giro-pill i {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(96,165,250,0.14);
  color: var(--accent-3);
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 700;
  font-size: 0.62rem;
}
.giro-pill:hover {
  color: var(--text);
  border-color: rgba(96,165,250,0.45);
  background: rgba(33,49,84,0.65);
}
.giro-pill-cta {
  background: linear-gradient(135deg, rgba(37,99,235,0.22), rgba(96,165,250,0.08));
  border-color: rgba(96,165,250,0.45);
  color: var(--text);
  padding-left: 0.9rem;
  font-weight: 600;
  gap: 0.45rem;
}
.giro-pill-cta strong {
  font-weight: 700;
  color: var(--accent-3);
}
.giro-pill-cta:hover {
  border-color: var(--accent-3);
  background: linear-gradient(135deg, rgba(37,99,235,0.35), rgba(96,165,250,0.14));
}

.giro-pill-more {
  border-style: dashed;
  color: var(--text-3);
}

@media (max-width: 980px) {
  .giros-featured { grid-template-columns: repeat(2, 1fr); }
  .giro-feat .g-scene { height: 118px; }
}
@media (max-width: 560px) {
  .giros-featured { grid-template-columns: 1fr; }
  .giro-feat .g-scene { height: 104px; }
}

/* ==================== GIROS (legacy) ==================== */
.giros-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}
.giro-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  transition: all 0.18s;
}
.giro-card:hover {
  border-color: rgba(96,165,250,0.5);
  background: var(--card-bg-2);
}
.giro-card .emoji {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(96,165,250,0.1);
  font-family: var(--font-mono);
  color: var(--accent-3);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.giro-card strong { font-family: var(--font-display); font-size: 0.98rem; color: var(--text); }
.giro-card span { font-size: 0.8rem; color: var(--text-3); }

/* ==================== BENEFITS WITH IMAGE ==================== */
.benefit-imgs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.benefit-img {
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.benefit-img-visual {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #0e1729 0%, #060b18 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.benefit-img-phone {
  display: grid;
  place-items: end center;
  padding-top: 14px;
  background:
    radial-gradient(circle at 50% 20%, rgba(96,165,250,0.28), transparent 45%),
    linear-gradient(135deg, #0e1729 0%, #060b18 100%);
}
.benefit-img-phone img {
  width: min(44%, 145px);
  height: auto;
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow:
    0 20px 50px -24px rgba(59,130,246,0.7),
    0 30px 60px -30px rgba(0,0,0,0.9);
}
.benefit-img-body {
  padding: 1.15rem;
  display: grid; gap: 0.4rem;
}
.benefit-img-body strong { font-family: var(--font-display); font-size: 1.18rem; }
.benefit-img-body p { color: var(--text-3); font-size: 0.92rem; }

/* Visual: stylized POS keypad */
.vis-keypad {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 5px;
  padding: 14px;
}
.vis-keypad i {
  border-radius: 6px;
  background: linear-gradient(180deg, #1a2747, #0e1729);
  border: 1px solid rgba(96,165,250,0.18);
}
.vis-keypad i.hot {
  background: linear-gradient(180deg, #22c55e, #15803d);
  border-color: rgba(34, 197, 94, 0.6);
}

/* Visual: mini POS ticket — refleja la UI real */
.vis-pos {
  position: absolute; inset: 0;
  padding: 12px;
  display: flex; flex-direction: column;
  gap: 8px;
  font-family: var(--font-body);
}
.vis-pos-search {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(96,165,250,0.18);
  border-radius: 6px;
  background: rgba(13, 20, 38, 0.85);
  font-size: 0.74rem;
}
.vis-pos-search .ic { color: var(--text-3); font-size: 0.9rem; }
.vis-pos-search .ph { color: var(--text-4); flex: 1; }
.vis-pos-search .badge {
  background: linear-gradient(180deg, #f59e0b, #d97706);
  color: #1a1410;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.08em;
}
.vis-pos-rows {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 2px;
  min-height: 0;
}
.vis-pos-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 8px;
  align-items: center;
  padding: 7px 9px;
  border-radius: 4px;
  background: rgba(15, 23, 43, 0.7);
  border: 1px solid rgba(96,165,250,0.1);
  font-size: 0.72rem;
}
.vis-pos-row .nm { color: var(--text); font-weight: 600; }
.vis-pos-row .ref {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-4);
  letter-spacing: 0.04em;
}
.vis-pos-row .qty {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text);
  background: rgba(96,165,250,0.14);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-size: 0.66rem;
  min-width: 1.4rem;
  text-align: center;
}
.vis-pos-row .lt {
  font-family: var(--font-mono);
  color: var(--accent-3);
  font-weight: 700;
  font-size: 0.74rem;
}
.vis-pos-bottom {
  display: flex; flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(96,165,250,0.18);
  padding-top: 8px;
}
.vis-pos-total {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px;
}
.vis-pos-total .lb {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.vis-pos-total .amt {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.vis-pos-cobrar {
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 0.55rem;
  border-radius: 5px;
  box-shadow: 0 0 18px -2px rgba(59,130,246,0.55),
              0 1px 0 rgba(255,255,255,0.18) inset;
}

/* Visual: mini Productos / Inventario — refleja la UI real */
.vis-inv {
  position: absolute; inset: 0;
  padding: 10px 12px 12px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.vis-inv-tabs {
  display: flex; gap: 14px;
  border-bottom: 1px solid rgba(96,165,250,0.18);
  padding-bottom: 6px;
  font-family: var(--font-body);
}
.vis-inv-tabs span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-3);
  padding-bottom: 4px;
  position: relative;
}
.vis-inv-tabs span.active {
  color: var(--accent-3);
}
.vis-inv-tabs span.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 2px;
  background: var(--accent-3);
  border-radius: 2px;
}
.vis-inv-rows {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 2px;
  min-height: 0;
}
.vis-inv-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 8px;
  align-items: center;
  padding: 7px 9px;
  border-radius: 4px;
  background: rgba(15, 23, 43, 0.7);
  border: 1px solid rgba(96,165,250,0.1);
  font-size: 0.72rem;
}
.vis-inv-row .nm { color: var(--text); font-weight: 600; }
.vis-inv-row .sku {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-4);
  letter-spacing: 0.04em;
}
.vis-inv-row .stk {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.66rem;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  min-width: 1.6rem;
  text-align: center;
}
.vis-inv-row .stk.ok {
  background: rgba(45,212,164,0.16);
  color: var(--good);
}
.vis-inv-row .stk.low {
  background: rgba(245,165,36,0.18);
  color: var(--warm);
}
.vis-inv-row .stk.crit {
  background: rgba(239,68,68,0.18);
  color: #f87171;
}
.vis-inv-row .pr {
  font-family: var(--font-mono);
  color: var(--text-2);
  font-weight: 600;
  font-size: 0.72rem;
}
.vis-inv-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px;
  border-radius: 4px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  font-size: 0.7rem;
}
.vis-inv-foot .ft-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #f87171;
  box-shadow: 0 0 6px #f87171;
}
.vis-inv-foot .ft-lb { color: var(--text-2); flex: 1; font-weight: 500; }
.vis-inv-foot .ft-act {
  font-family: var(--font-mono);
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: #fff;
  font-weight: 700;
  font-size: 0.62rem;
  padding: 0.22rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Visual: stylized chart (kept for legacy) */
.vis-chart {
  position: absolute; inset: 0;
  padding: 22px 18px;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.vis-chart .topline { display: flex; justify-content: space-between; font-family: var(--font-mono); color: var(--text-3); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
.vis-chart .topline .num { color: var(--text); font-size: 1.45rem; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.vis-chart svg { flex: 1; }

/* Visual: receipt strip */
.vis-receipt {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.vis-receipt .strip {
  width: 56%; height: 75%;
  background: #f4ebd6;
  border-radius: 4px 4px 0 0;
  padding: 14px;
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  color: #1a1410;
  line-height: 1.45;
  box-shadow: 0 20px 38px -16px rgba(0,0,0,0.7);
  transform: rotate(-3deg);
}
.vis-receipt .strip .l { border-top: 1px dashed #6b5c44; margin: 4px 0; }

/* ==================== TESTIMONIALS CAROUSEL ==================== */
.testi-section { padding-bottom: calc(3rem * var(--d)); }
.testi-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
  z-index: 1;
  mask: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.testi-row {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.7rem 0;
}
.testi-row .testi {
  flex: 0 0 360px;
  margin: 0;
}
.testi-row-a {
  animation: testiSlideA 90s linear infinite;
}
.testi-row-b {
  animation: testiSlideB 110s linear infinite;
  margin-top: 0.4rem;
}
.testi-marquee:hover .testi-row { animation-play-state: paused; }

@keyframes testiSlideA {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-360px * 10 - 1rem * 10)); }
}
@keyframes testiSlideB {
  from { transform: translateX(calc(-360px * 10 - 1rem * 10)); }
  to   { transform: translateX(0); }
}

/* Make testi cards inside marquee fit content height */
.testi-row .testi {
  display: flex; flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

/* Avatar uses --av1/--av2 set inline for diversity */
.testi-avatar {
  background: linear-gradient(135deg, var(--av1, #2563eb), var(--av2, #f5a524));
}

/* ==================== TESTIMONIALS (legacy grid) ==================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.testi {
  display: grid; gap: 1rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}
.testi blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  text-wrap: pretty;
  letter-spacing: -0.01em;
}
.testi blockquote::before {
  content: "“";
  display: block;
  font-size: 2.6rem;
  line-height: 0.2;
  color: var(--accent-3);
  margin-bottom: 1rem;
}
.testi-foot { display: flex; align-items: center; gap: 0.7rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.testi-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #f5a524);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
}
.testi-foot .who { display: grid; }
.testi-foot .who strong { font-size: 0.9rem; }
.testi-foot .who span { font-size: 0.78rem; color: var(--text-3); font-family: var(--font-mono); }

/* ==================== PRICING ==================== */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}
.price-card {
  display: grid; gap: 1rem;
  padding: 1.8rem 1.6rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  position: relative;
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(37,99,235,0.18) 0%, var(--card-bg) 60%);
  border-color: rgba(96,165,250,0.45);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 36px 80px -36px rgba(37,99,235,0.45),
    0 12px 30px -16px rgba(0,0,0,0.6);
}
.price-card.featured::after {
  content: "Más elegido";
  position: absolute; top: -12px; left: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  border: 1px solid rgba(96,165,250,0.6);
}
.price-card h3 { font-size: 1.06rem; font-family: var(--font-display); color: var(--text); }
.price-card .price-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.price-card .price-num .cur { font-family: var(--font-mono); font-size: 1rem; color: var(--text-3); font-weight: 600; }
.price-card .price-num .per { font-family: var(--font-mono); font-size: 0.86rem; color: var(--text-3); font-weight: 500; }
.price-card .desc { color: var(--text-3); font-size: 0.92rem; }
.price-card ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0.55rem;
}
.price-card ul li {
  font-size: 0.91rem;
  color: var(--text-2);
  display: flex; gap: 0.55rem; align-items: flex-start;
}
.price-card ul li::before {
  content: "✓";
  color: var(--good);
  font-weight: 700;
  margin-top: -1px;
}
.price-card ul li.muted { color: var(--text-4); }
.price-card ul li.muted::before { content: "—"; color: var(--text-4); }
.price-card .save {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 0.74rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--good-soft); color: var(--good);
  border: 1px solid rgba(45,212,164,0.35);
  font-weight: 700;
  width: fit-content;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ==================== FAQ ==================== */
.faq {
  display: grid;
  gap: 0.6rem;
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--card-bg);
  padding: 1.05rem 1.2rem;
  box-shadow: var(--card-shadow);
  transition: all 0.18s;
}
.faq details[open] {
  border-color: rgba(96,165,250,0.4);
  background: var(--card-bg-2);
}
.faq summary {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--text);
  gap: 1.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--accent-3);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: 0.85rem;
  color: var(--text-2);
  font-size: 0.94rem;
}

/* ==================== CTA FINAL ==================== */
.cta-final {
  position: relative;
  padding: 4rem 3rem;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    linear-gradient(180deg, #0e1729 0%, #060b18 100%);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  max-width: 520px;
  margin-top: 0.6rem;
  text-wrap: balance;
}
.cta-copy p {
  margin-top: 1.2rem;
  max-width: 490px;
  color: var(--text-2);
  font-size: 1.04rem;
}
.cta-checks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
}
.cta-checks li {
  font-size: 0.92rem;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.cta-checks li::before {
  content: "✓";
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--good-soft);
  color: var(--good);
  font-weight: 800;
  font-size: 0.74rem;
  border: 1px solid rgba(45,212,164,0.4);
}
.cta-final .hero-cta {
  justify-content: flex-start;
  margin-top: 2rem;
}
.cta-signature {
  display: flex; align-items: center; gap: 0.7rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--text-3);
  max-width: 460px;
}
.cta-sig-mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* Background atmospherics */
.cta-final .grid-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(96,165,250,0.08) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(96,165,250,0.08) 1px, transparent 1px) 0 0 / 44px 44px;
  mask: radial-gradient(closest-side at 50% 50%, #000, transparent 85%);
  -webkit-mask: radial-gradient(closest-side at 50% 50%, #000, transparent 85%);
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}
.cta-glow-1 {
  width: 520px; height: 520px;
  right: -120px; top: -120px;
  background: radial-gradient(circle, rgba(59,130,246,0.45), transparent 70%);
}
.cta-glow-2 {
  width: 420px; height: 420px;
  left: -80px; bottom: -120px;
  background: radial-gradient(circle, rgba(168,85,247,0.22), transparent 70%);
}
.cta-watermark {
  position: absolute;
  right: -2.5rem; bottom: -8rem;
  font-family: var(--font-display);
  font-size: 22rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(96,165,250,0.04);
  pointer-events: none;
  z-index: 1;
}

/* Visual side: floating composition */
.cta-visual {
  position: relative;
  height: 420px;
}
.cta-receipt {
  position: absolute;
  top: 10%;
  left: 0;
  width: 220px;
  background: #f4ebd6;
  color: #1a1410;
  font-family: "Courier New", monospace;
  font-size: 0.74rem;
  line-height: 1.45;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 28px 50px -22px rgba(0,0,0,0.7), 0 12px 24px -10px rgba(0,0,0,0.5);
  transform: rotate(-6deg);
  display: flex; flex-direction: column;
  gap: 0.2rem;
  z-index: 2;
}
.cta-receipt::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 12px;
  background: linear-gradient(135deg, transparent 50%, #f4ebd6 50%) 0 50%/10px 10px repeat-x,
              linear-gradient(45deg, transparent 50%, #f4ebd6 50%) 5px 50%/10px 10px repeat-x;
}
.cta-receipt strong { font-family: inherit; color: inherit; text-align: center; font-size: 0.84rem; font-weight: 700; }
.cta-receipt > span { font-size: 0.7rem; }
.cta-receipt .row { display: flex; justify-content: space-between; }
.cta-receipt .row.total { font-weight: 700; font-size: 0.86rem; margin-top: 0.2rem; }
.cta-receipt i {
  display: block;
  height: 1px;
  background: repeating-linear-gradient(90deg, #6b5c44 0 4px, transparent 4px 8px);
  margin: 0.3rem 0;
}

/* Phone preview */
.cta-phone {
  position: absolute;
  right: 0; bottom: 6%;
  width: 220px;
  aspect-ratio: 9 / 17;
  border-radius: 28px;
  background: linear-gradient(180deg, #0e1729, #060b18);
  border: 1px solid var(--line-strong);
  padding: 10px;
  box-shadow: 0 36px 70px -28px rgba(37,99,235,0.5), 0 18px 36px -18px rgba(0,0,0,0.8);
  transform: rotate(4deg);
  z-index: 3;
}
.cta-phone::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 18px;
  background: #060912;
  border-radius: 10px;
  z-index: 1;
}
.cta-phone-screen {
  width: 100%; height: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, #0a1224, #0a0f1c);
  padding: 38px 14px 14px;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.cta-phone-lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.cta-phone-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.cta-phone-delta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--good);
}
.cta-phone-bars {
  display: flex; align-items: flex-end; gap: 3px;
  height: 70px; margin-top: 0.5rem;
}
.cta-phone-bars i {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-3), var(--accent));
  border-radius: 2px;
}

/* Floating COBRAR button */
.cta-cobrar {
  position: absolute;
  bottom: 5%;
  left: 16%;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: #fff;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  box-shadow: 0 0 30px -2px rgba(59,130,246,0.7), 0 1px 0 rgba(255,255,255,0.18) inset, 0 18px 28px -14px rgba(0,0,0,0.6);
  border: 1px solid rgba(96,165,250,0.6);
  transform: rotate(-3deg);
  z-index: 4;
}

@media (max-width: 980px) {
  .cta-final { padding: 3rem 2rem; }
  .cta-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-visual { height: 320px; max-width: 460px; margin: 0 auto; }
  .cta-watermark { font-size: 14rem; }
}
@media (max-width: 560px) {
  .cta-final { padding: 2.2rem 1.4rem; }
  .cta-receipt { width: 170px; }
  .cta-phone { width: 170px; }
  .cta-cobrar { font-size: 0.78rem; padding: 0.6rem 1.1rem; left: 8%; }
  .cta-watermark { font-size: 10rem; right: -1rem; bottom: -4rem; }
}

/* ==================== FOOTER ==================== */
.footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  background: rgba(6, 9, 18, 0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: grid; gap: 1rem; max-width: 320px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-3); }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 0.95rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a { font-size: 0.92rem; color: var(--text-2); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-4);
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-bottom .legal { display: flex; gap: 1.2rem; }

/* ==================== HOW IT WORKS ==================== */
.howto {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 20, 38, 0.5);
  backdrop-filter: blur(6px);
  overflow: hidden;
  position: relative;
}
.howto-step {
  padding: 1.4rem 1.5rem 1.5rem;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 0.45rem;
  align-content: start;
  position: relative;
}
.howto-step:last-child { border-right: none; }
.howto-n {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-3);
  margin-bottom: 0.2rem;
}
.howto-step strong {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--text);
}
.howto-step p {
  font-size: 0.88rem;
  color: var(--text-3);
  line-height: 1.45;
}
.howto-cta {
  background: linear-gradient(180deg, rgba(37,99,235,0.18) 0%, rgba(37,99,235,0.04) 100%);
}
.howto-cta::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(96,165,250,0.5), transparent);
}
.howto-cta .btn {
  margin-top: 0.7rem;
  width: fit-content;
}
@media (max-width: 980px) {
  .howto { grid-template-columns: repeat(2, 1fr); }
  .howto-step:nth-child(2) { border-right: none; }
  .howto-step:nth-child(1), .howto-step:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .howto { grid-template-columns: 1fr; }
  .howto-step { border-right: none; border-bottom: 1px solid var(--line); }
  .howto-step:last-child { border-bottom: none; }
}

/* ==================== STATS BAR ==================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 20, 38, 0.5);
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.stat {
  padding: 1.5rem 1.6rem;
  border-right: 1px solid var(--line);
  display: grid; gap: 0.3rem;
}
.stat:last-child { border-right: none; }
.stat .v {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.stat .v .sub { font-size: 0.6em; color: var(--text-3); margin-left: 0.2em; font-weight: 600; }
.stat .l {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==================== SCROLL ANIMATIONS ==================== */
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--rd, 0s);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1180px) {
  .container { padding: 0 1.25rem; }
  body[data-hero="2col"] .hero-grid { gap: 1.75rem; }
  .brand-logo { width: 144px; }
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card { padding: 1.45rem 1.25rem; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .feature-strip,
  .hero-grid { grid-template-columns: 1fr !important; }
  .feature-strip.reverse { direction: ltr; }
  .modules-grid,
  .download-rail,
  .pricing,
  .testimonials,
  .benefit-imgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .giros-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
}
@media (max-width: 720px) {
  .brand-logo { width: 132px; }
  .site-consent {
    display: grid;
    left: 50%;
    right: auto;
    bottom: 0.7rem;
    width: min(calc(100vw - 1.5rem), 320px);
    transform: translateX(-50%);
    gap: 0.55rem;
    border-radius: 10px;
    padding: 0.68rem;
  }
  .site-consent strong {
    margin-bottom: 0.12rem;
    font-size: 0.86rem;
  }
  .site-consent p {
    max-width: none;
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .cookie-actions .btn {
    flex: 1 1 0;
    min-height: 2.25rem;
    padding: 0.54rem 0.58rem;
    border-radius: 8px;
    font-size: 0.78rem;
  }
  .hero { padding: calc(2.4rem * var(--d)) 0 calc(1rem * var(--d)); }
  .hero-grid { gap: 1.25rem; }
  body[data-hero="2col"] .hero-copy h1 { font-size: clamp(2rem, 9vw, 2.65rem); }
  .hero-copy p.lede { margin-top: 0.95rem; font-size: 0.96rem; }
  .hero-cta { flex-direction: column; gap: 0.55rem; }
  .hero-cta .btn { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: 1fr; gap: 0.6rem; margin-top: 1rem; }
  .terminal { border-radius: 12px; }
  .terminal-bar { padding: 0.55rem 0.65rem; gap: 0.45rem; }
  .terminal-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.68rem;
  }
  .terminal-tabs { display: none; }
  .section-heading { gap: 0.55rem; margin-bottom: 1.35rem; }
  .section-heading.center { justify-items: start; text-align: left; }
  .download-card,
  .module-card,
  .price-card,
  .testi { padding: 1rem; }
  .giros-rail { overflow-x: auto; flex-wrap: nowrap; align-items: flex-start; scrollbar-width: none; }
  .giros-rail::-webkit-scrollbar { display: none; }
  .giros-rail-list { flex-wrap: nowrap; min-width: max-content; }
  .giro-pill { white-space: nowrap; }
  .testi-marquee {
    overflow-x: auto;
    mask: none;
    -webkit-mask: none;
    padding-bottom: 0.75rem;
    scroll-snap-type: x proximity;
  }
  .testi-row { animation: none; }
  .testi-row .testi {
    flex: 0 0 min(82vw, 320px);
    min-height: auto;
    scroll-snap-align: start;
  }
  .cta-final { padding: 2rem 1rem; }
  .cta-visual { height: 260px; }
  .cta-receipt { width: 145px; left: 0; }
  .cta-phone { width: 145px; right: 0; bottom: 10%; }
  .cta-cobrar {
    left: 50%;
    bottom: 4%;
    transform: translateX(-50%) rotate(-2deg);
  }
}
@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .section { padding: calc(3rem * var(--d)) 0; }
  .modules-grid,
  .download-rail,
  .pricing,
  .testimonials,
  .benefit-imgs { grid-template-columns: 1fr; }
  .giros-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-text { display: none; }
}
@media (max-width: 420px) {
  .container { padding: 0 0.85rem; }
  .brand-logo { width: 122px; }
  .terminal-dots { display: none; }
}
