/* ==========================================================
   Landing page - Software POS
   ========================================================== */
:root {
  --bg: #071226;
  --bg-2: #0b1a35;
  --surface: #0f2245;
  --surface-2: #132a55;
  --border: rgba(255, 255, 255, .08);
  --blue: #1f4e9e;
  --blue-light: #3d7bff;
  --red: #e3232c;
  --green: #15803d;       
  --green-dark: #116b33;
  --red-dark: #c01820;
  --text: #e8eefb;
  --muted: #9fb0cf;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
section { padding: 96px 0; position: relative; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { color: var(--white); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.text-red { color: var(--red); }
.text-grad {
  background: linear-gradient(90deg, #6ea0ff, #ffffff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: all .25s ease;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 25px rgba(227, 35, 44, .35); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
/* Prueba: botón verde (solo "Solicitar demo" del hero). Para volver al rojo, cambie btn-green por btn-primary en index.php */
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 25px rgba(21, 128, 61, .4); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }
/* Botón secundario azul suave (Casos de éxito) */
.btn-soft { background: rgba(61, 123, 255, .14); border-color: rgba(61, 123, 255, .45); color: #fff; }
.btn-soft:hover { background: rgba(61, 123, 255, .25); border-color: var(--blue-light); }
.btn-outline { border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s; padding: 18px 0;
}
.header.scrolled {
  background: rgba(7, 18, 38, .92); padding: 10px 0;
  box-shadow: 0 6px 30px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.25rem; color: #fff; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-links .btn { padding: 10px 22px; color: #fff; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  padding: 160px 0 100px;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(61, 123, 255, .22), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(227, 35, 44, .12), transparent 60%),
    linear-gradient(180deg, #06101f 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 50px; font-size: .85rem; color: var(--text); margin-bottom: 24px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.hero p.lead { color: var(--muted); font-size: 1.15rem; margin: 22px 0 34px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { padding: 13px 20px; font-size: .93rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: var(--muted); font-size: .9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: #22c55e; }

/* Mockup POS 
.hero-visual { position: relative; }
.mockup {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: 20px; padding: 18px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(61,123,255,.15) inset;
  animation: float 6s ease-in-out infinite;
}
.mockup-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.mockup-bar i:first-child { background: var(--red); }
.mock-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.mock-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-products div {
  height: 58px; border-radius: 10px; background: rgba(255,255,255,.05);
  border: 1px solid var(--border); display: flex; align-items: flex-end; padding: 6px;
  font-size: .62rem; color: var(--muted);
}
.mock-products div:nth-child(3n+1) { background: rgba(61,123,255,.18); }
.mock-ticket { background: #fff; color: #1b2a44; border-radius: 10px; padding: 12px; font-size: .7rem; }
.mock-ticket .row { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed #d5dcea; }
.mock-ticket .total { font-weight: 700; font-size: .85rem; border: 0; margin-top: 6px; }
.mock-ticket .pay { margin-top: 10px; background: var(--red); color: #fff; text-align: center; border-radius: 6px; padding: 7px; font-weight: 600; }


*/
.hero-visual { position: relative; }
.float-card {
  position: absolute; background: #fff; color: #1b2a44; border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-size: .8rem;
}
.float-card strong { display: block; font-size: 1rem; }
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.float-card .ic svg { width: 18px; height: 18px; }
.fc-1 { left: -30px; bottom: 30px; animation: float 5s ease-in-out infinite .5s; }
.fc-1 .ic { background: #22c55e; }
.fc-2 { right: -20px; top: -24px; animation: float 7s ease-in-out infinite 1s; }
.fc-2 .ic { background: var(--blue); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Stats ---------- */
.stats { padding: 0; margin-top: -40px; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, var(--blue) 0%, #163a7a 100%);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.stat { padding: 30px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1; }
.stat span { color: #c9d7f5; font-size: .9rem; }

/* ---------- Soluciones (tarjetas) ---------- */
.products { background: var(--bg); }
.product-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: 24px; padding: 48px; margin-bottom: 28px;
}
.product-feature.reverse .pf-text { order: 2; }
.tag {
  display: inline-block; font-size: .75rem; font-weight: 600; padding: 5px 12px; border-radius: 50px;
  background: rgba(61,123,255,.15); color: #8fb4ff; margin-bottom: 14px;
}
.tag.red { background: rgba(227,35,44,.15); color: #ff8a8f; }
.pf-text p { color: var(--muted); margin: 14px 0 20px; }
.check-list { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--blue-light); margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); font-size: .88rem;
}
.chip svg { width: 18px; height: 18px; color: var(--red); }
.pf-visual {
  border-radius: 18px; min-height: 300px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(61,123,255,.35), transparent 60%), var(--surface-2);
  border: 1px solid var(--border); display: grid; place-items: center; padding: 30px;
}
.pf-visual .big-ic { width: 120px; height: 120px; color: #fff; opacity: .95; }

/* Ecosistema */
.eco { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-light), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(61,123,255,.4); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card .ic {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff;
}
.card .ic svg { width: 28px; height: 28px; }
.card p { color: var(--muted); margin-top: 10px; font-size: .95rem; }
.card ul { list-style: none; margin-top: 16px; display: grid; gap: 6px; font-size: .9rem; color: var(--text); }
.card ul li::before { content: "› "; color: var(--red); font-weight: 700; }
.card-cta {
  background: linear-gradient(135deg, var(--red) 0%, #9e1218 100%); border: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.card-cta p { color: #ffe0e1; }
.card-cta .btn { background: #fff; color: var(--red); margin-top: 20px; align-self: flex-start; }
.card-cta .btn:hover { background: #f1f1f1; }

/* Diagrama ecosistema */
.eco-flow {
  margin-top: 60px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px;
  color: var(--muted); font-size: .9rem;
}
.eco-flow .node { padding: 10px 18px; border-radius: 50px; background: rgba(255,255,255,.05); border: 1px solid var(--border); color: #fff; }
.eco-flow .node.core { background: var(--blue); border-color: var(--blue-light); font-weight: 600; }
.eco-flow .arrow { color: var(--red); font-weight: 700; }

/* ---------- Sectores ---------- */
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector {
  text-align: center; padding: 34px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,.03); border: 1px solid var(--border); transition: .3s;
}
.sector:hover { background: rgba(61,123,255,.1); border-color: rgba(61,123,255,.4); }
.sector svg { width: 46px; height: 46px; color: var(--red); margin: 0 auto 14px; }
.sector p { color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* ---------- Por qué nosotros ---------- */
.why { background: var(--bg-2); }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.years-box {
  position: relative; border-radius: 24px; padding: 50px 40px; text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(61,123,255,.35), transparent 70%), var(--surface);
  border: 1px solid var(--border);
}
.years-box img { width: 150px; margin: 0 auto 10px; filter: drop-shadow(0 15px 30px rgba(0,0,0,.4)); }
.years-box .num { font-size: 6rem; font-weight: 800; line-height: 1; color: #fff; }
.years-box .num small { font-size: 2rem; color: var(--red); }
.years-box p { color: var(--muted); margin-top: 8px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px; }
.why-item { display: flex; gap: 14px; }
.why-item .ic {
  flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(227,35,44,.12); color: var(--red);
}
.why-item .ic svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 1rem; }
.why-item p { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 2.6rem; font-weight: 800; color: rgba(61,123,255,.35); line-height: 1; display: block; margin-bottom: 12px;
}
.step p { color: var(--muted); font-size: .92rem; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; color: #fff; font: inherit; font-weight: 600;
  padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .plus { font-size: 1.5rem; color: var(--red); transition: transform .3s; line-height: 1; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.contact-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.contact-info { background: linear-gradient(160deg, var(--blue) 0%, #102c5e 100%); padding: 48px 40px; }
.contact-info p { color: #c9d7f5; margin: 14px 0 30px; }
.info-row { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.info-row .ic { flex: 0 0 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.info-row .ic svg { width: 20px; height: 20px; color: #fff; }
.info-row small { display: block; color: #a9bde6; font-size: .78rem; }
.info-row b { color: #fff; font-weight: 600; }
.contact-wa { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.contact-wa small { display: block; color: #c9d7f5; font-size: .85rem; margin-bottom: 12px; }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 10px 25px rgba(37,211,102,.3); }
.btn-wa:hover { background: #1ebe5b; transform: translateY(-2px); }
.btn-wa svg { width: 20px; height: 20px; }
.contact-form { background: var(--surface); padding: 48px 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; font: inherit; font-size: .95rem;
  background: var(--bg); border: 1px solid var(--border); color: #fff; transition: border-color .2s;
}
.field select option { background: var(--bg); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-light); }
.field textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .92rem; }
.alert-ok { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); color: #86efac; }
.alert-err { background: rgba(227,35,44,.12); border: 1px solid rgba(227,35,44,.4); color: #fca5a5; }

/* ---------- Footer ---------- */
.footer { background: #040b18; padding: 60px 0 26px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer p, .footer li { color: var(--muted); font-size: .9rem; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 22px; text-align: center; color: var(--muted); font-size: .85rem; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 99; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* Animación de aparición */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .product-feature, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-feature.reverse .pf-text { order: 0; }
  .product-feature { padding: 32px 24px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .sectors-grid, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { max-width: 520px; margin: 20px auto 0; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 22px;
    background: var(--bg-2); padding: 90px 30px 30px; transition: right .35s; box-shadow: var(--shadow);
  }
  .nav-links.open { right: 0; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .menu-toggle { position: relative; z-index: 101; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 600px) {
  section { padding: 70px 0; }
  .hero { padding: 130px 0 80px; }
  .cards, .sectors-grid, .steps, .why-list, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 34px 22px; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
  .mock-body { grid-template-columns: 1fr; }
  .years-box .num { font-size: 4.5rem; }
  .stat b { font-size: 1.9rem; }
}
.tag svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.mock-products div svg { width: 22px; height: 22px; color: #fff; }

/* ==========================================================
   v2: LAMDPOS, Backoffice, capturas y clientes
   ========================================================== */
.mockup-bar em { margin-left: auto; font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: 1px; color: var(--muted); }
.mock-ticket .fel { text-align: center; font-weight: 700; font-size: .68rem; letter-spacing: 1px; color: var(--blue); border-bottom: 2px solid var(--blue); padding-bottom: 6px; margin-bottom: 4px; }
.pf-text h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: .5px; }
.pf-text .pf-sub { color: #c9d7f5; font-size: 1.08rem; margin: 8px 0 22px; }

/* Módulos LAMDPOS LITE */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.module {
  text-align: center; padding: 14px 6px; border-radius: 12px;
  background: rgba(227,35,44,.08); border: 1px solid rgba(227,35,44,.25);
}
.module svg { width: 24px; height: 24px; color: var(--red); margin: 0 auto 6px; display: block; }
.module b { font-size: .8rem; font-weight: 600; color: #fff; }

/* Tarjetas ecosistema (4 columnas) */
.cards-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-4 .card { padding: 26px 22px; }
.cards-4 .card .ic { width: 48px; height: 48px; margin-bottom: 14px; }
.cards-4 .card .ic svg { width: 24px; height: 24px; }
.cards-4 .card h3 { font-size: 1.08rem; }
.cards-4 .card p { font-size: .9rem; }
.plat { display: flex; gap: 6px; margin-bottom: 10px; }
.plat span { font-size: .68rem; font-weight: 600; padding: 3px 9px; border-radius: 50px; background: rgba(255,255,255,.07); color: var(--muted); }

/* Backoffice */
.backoffice {
  background:
    radial-gradient(700px 400px at 90% 30%, rgba(61,123,255,.18), transparent 60%),
    var(--bg-2);
}
.bo-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.bo-lead { color: var(--muted); font-size: 1.08rem; margin: 14px 0 28px; }
.bo-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bo-features div {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border); font-size: .92rem; font-weight: 500;
}
.bo-features svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--blue-light); }
.browser { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); background: #0a1730; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #13244a; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.browser-bar i:first-child { background: var(--red); }
.browser-bar span { margin-left: 12px; flex: 1; background: rgba(0,0,0,.25); border-radius: 6px; padding: 4px 12px; font-size: .72rem; color: var(--muted); }

/* Clientes y casos de éxito */
.clients { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); overflow: hidden; }
.cl-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: stretch; }
.cl-list { display: flex; flex-direction: column; gap: 12px; }
.cl-pick {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%;
  text-align: left; font: inherit; color: var(--text); cursor: pointer; padding: 18px 20px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); transition: background .3s, border-color .3s, transform .3s;
}
.cl-pick:hover { border-color: rgba(61,123,255,.4); }
.cl-pick b { display: block; color: #fff; font-size: .98rem; }
.cl-pick small { display: block; color: var(--muted); font-size: .8rem; }
.cl-pick .avatar { transition: background .3s; }
.cl-pick.active { background: var(--surface-2); border-color: rgba(61,123,255,.55); transform: translateX(6px); }
.cl-pick.active .avatar { background: linear-gradient(135deg, var(--red), #ff5a61); }
.cl-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--blue-light), var(--red)); }
.cl-pick.active .cl-bar { animation: clbar 7s linear forwards; }
.cl-wrap.paused .cl-pick.active .cl-bar { animation-play-state: paused; }
@keyframes clbar { from { width: 0; } to { width: 100%; } }
.avatar { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-light)); }

.cl-stage {
  position: relative; border-radius: 24px; overflow: hidden; min-height: 380px;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(227,35,44,.25), transparent 60%),
    linear-gradient(150deg, var(--blue) 0%, #102c5e 100%);
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.12);
}
.cl-slide {
  position: absolute; inset: 0; padding: 44px 48px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .5s, transform .5s, visibility .5s;
}
.cl-slide.active { position: relative; opacity: 1; visibility: visible; transform: none; }
.cl-quote svg { width: 46px; height: 46px; color: rgba(255,255,255,.25); }
.cl-slide blockquote { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.55; color: #fff; font-weight: 500; margin: 18px 0 22px; flex: 1; }
/* Logos en casos de éxito */
.avatar.has-logo { background: #dfe4ec; padding: 5px; overflow: hidden; }
.avatar.has-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.cl-pick.active .avatar.has-logo { background: #fff; box-shadow: 0 0 0 2px var(--red); }
.cl-pick.active .avatar.has-logo img, .cl-pick:hover .avatar.has-logo img { filter: none; opacity: 1; }
.cl-person { display: flex; align-items: center; gap: 14px; }
.cl-logo { flex: 0 0 60px; width: 60px; height: 60px; padding: 7px; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.cl-logo img { width: 100%; height: 100%; object-fit: contain; }
.cl-person b { display: block; color: #fff; font-size: 1.05rem; }
.cl-person span { color: #c9d7f5; font-size: .9rem; }
.cl-foot { display: flex; gap: 28px; align-items: center; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); flex-wrap: wrap; }
.cl-metric b { display: block; font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; }
.cl-metric span { color: #ffb3b6; font-size: .85rem; font-weight: 600; }
.cl-uses { flex: 1; min-width: 200px; }
.cl-uses small { display: block; color: #a9bde6; font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.cl-uses div { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-uses span { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 50px; background: rgba(255,255,255,.12); color: #fff; }

/* Franja de logos en movimiento */
.marquee {
  margin-top: 60px; overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 35s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-item {
  flex: 0 0 auto; height: 76px; padding: 0 24px 0 14px; border-radius: 14px; display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border); white-space: nowrap; transition: background .3s, border-color .3s;
}
.mq-item:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
/* Recuadro del logo: todos los logos quedan del mismo tamaño, sin deformarse */
.mq-logo {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; padding: 6px;
  display: grid; place-items: center; background: #dfe4ec; border: 1px solid rgba(255,255,255,.25);
  color: #6b7688; font-weight: 700; font-size: 1.25rem; transition: background .3s;
}
.mq-logo img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.mq-name { color: #8f9bb3; font-weight: 600; font-size: .95rem; transition: color .3s; }
/* Al pasar el mouse recupera su color */
.mq-item:hover .mq-logo { background: #fff; }
.mq-item:hover .mq-logo img { filter: none; opacity: 1; }
.mq-item:hover .mq-name { color: #fff; }

/* Nosotros */
.gt-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 16px; border-radius: 50px;
  background: rgba(255,255,255,.08); border: 1px solid var(--border); font-size: .85rem; font-weight: 600; color: #fff;
}
.gt-badge svg { width: 16px; height: 16px; color: #4aa3df; }

@media (max-width: 1000px) {
  .bo-grid { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .cl-wrap { grid-template-columns: 1fr; }
  .cl-list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .cl-pick.active { transform: none; }
  .cl-pick { flex-direction: column; text-align: center; gap: 8px; padding: 16px 10px; }
  .cl-pick > span:nth-child(2) { min-width: 0; }
  .cl-pick b { font-size: .88rem; }
  .cl-pick small { display: none; }
}
@media (max-width: 600px) {
  .cards-4, .bo-features { grid-template-columns: 1fr; }
  .cl-list { gap: 8px; }
  .cl-pick { padding: 12px 6px; }
  .cl-pick .avatar { flex-basis: 38px; width: 38px; height: 38px; }
  .cl-pick b { font-size: .76rem; }
  .cl-slide { padding: 30px 24px; }
  .cl-metric b { font-size: 2.1rem; }
  .modules { grid-template-columns: repeat(2, 1fr); }
}
.cf-turnstile { margin-bottom: 16px; min-height: 65px; }

/* ==========================================================
   v3: Maquetas inspiradas en LAMDPOS, LAMDPOS LITE y Backoffice
   Todas las medidas están en "em": cambiando el font-size del
   contenedor se escala la maqueta completa.
   ========================================================== */
.scr-retail, .scr-lite { font-size: clamp(8px, .9vw, 10.8px); width: 40em; max-width: 100%; font-family: Arial, Helvetica, sans-serif; }
.mk { width: 100%; font-size: 9px; line-height: 1.3; font-family: Arial, Helvetica, sans-serif; }
.mk-float { animation: float 6s ease-in-out infinite; }
.mk * { box-sizing: border-box; }
.mk span, .mk small, .mk b, .mk em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ---------- LAMDPOS (PC) ---------- */
.monitor { background: #0d0f14; padding: .9em; border-radius: 1.1em; box-shadow: 0 25px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08) inset; }
.monitor-stand { width: 18%; height: 3em; margin: 0 auto; background: linear-gradient(180deg, #1b2236, #2b3552); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
.monitor-base { width: 34%; height: .9em; margin: 0 auto; border-radius: .5em .5em .2em .2em; background: #2b3552; box-shadow: 0 10px 25px rgba(0,0,0,.4); }
.lp { background: #000; border-radius: .3em; overflow: hidden; }
.lp-top { display: grid; grid-template-columns: 1.25fr .8fr 2fr; background: #f1f1f1; border-bottom: 1px solid #c9c9c9; height: 4.4em; }
.lp-cell { padding: .45em .6em; border-right: 1px solid #d3d3d3; min-width: 0; }
.lp-cell small { display: block; font-size: .78em; color: #777; }
.lp-cell b { display: block; margin-top: .45em; color: #8a8a8a; letter-spacing: .25em; font-size: .95em; }
.lp-input { display: block; height: 1.7em; margin-top: .3em; background: #fff; border: 1px solid #2f6db3; }
.lp-brand { display: flex; align-items: center; gap: .5em; padding: 0 .7em; min-width: 0; color: #fff; background: linear-gradient(180deg, #2a74c9 0%, #0d4392 100%); }
.lp-brand img { width: 2.6em; flex: 0 0 auto; }
.lp-brand > span { display: flex; flex-direction: column; min-width: 0; }
.lp-brand > span b { font-size: 1.55em; font-weight: 400; line-height: 1; letter-spacing: .02em; }
.lp-brand > span small { font-size: .62em; }
.lp-brand em { margin-left: auto; font-style: normal; font-weight: 700; font-size: .85em; }
.lp-body { background: #000; padding: 0 3.5%; }
.lp-paper { background: #fff; color: #111; padding: 1.4em 2em 1.6em; font-family: 'Courier New', Courier, monospace; font-weight: 700; font-size: 1.12em; line-height: 1.38; min-height: 19em; }
.lp-paper .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-paper .l .k { display: inline-block; width: 6.5em; vertical-align: top; overflow: visible; }
.lp-paper .l span { vertical-align: top; }
.lp-paper .gap { height: .9em; }
.lp-paper .r { display: flex; justify-content: space-between; gap: 1em; }
.lp-paper .ind { padding-left: 1.6em; }
.lp-paper .sel { background: #86bdec; outline: 1px solid #3a86cf; margin: 0 -.7em; padding: 0 .7em; }
.lp-foot { display: grid; grid-template-columns: 1fr 1fr 1.25fr 1.25fr 1.6fr; background: #f3f3f3; border-top: 1px solid #c9c9c9; }
.lp-foot > div { text-align: center; padding: .35em .3em .4em; border-right: 1px solid #d3d3d3; min-width: 0; }
.lp-foot small { display: block; font-size: .78em; color: #555; }
.lp-foot b { display: block; font-family: 'Times New Roman', Times, serif; font-weight: 400; font-size: 2em; color: #222; line-height: 1.15; }
.lp-foot .desc b { color: #1f78d1; }
.lp-foot .tot { background: linear-gradient(180deg, #6884aa 0%, #3c5d89 100%); border: 0; }
.lp-foot .tot small { color: #fff; font-weight: 700; }
.lp-foot .tot b { color: #fff; }

/* ---------- LAMDPOS LITE (Android) ---------- */
.scr-lite { border: .9em solid #161a22; border-radius: 1.6em; overflow: hidden; background: #f6f6f8; box-shadow: var(--shadow); }
.lt-status { display: flex; justify-content: space-between; align-items: center; padding: .3em 1.4em; background: #3e6fae; color: #fff; font-size: .6em; }
.lt-status i { width: 3em; height: .5em; border-radius: 1em; background: rgba(255,255,255,.6); }
.lt-body { display: grid; grid-template-columns: 1fr 12.5em; height: 22em; }
.lt-menu { display: flex; flex-direction: column; gap: .7em; padding: .9em; min-width: 0; }
.lt-head { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.lt-head b { font-size: .85em; letter-spacing: .35em; color: #111; }
.lt-search { flex: 0 1 11em; height: 1.8em; display: flex; align-items: center; padding-left: .4em; background: #fff; border: 1px solid #333; border-radius: .3em; color: #333; }
.lt-search svg { width: 1em; height: 1em; }
.lt-cats { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 2.9em; gap: .3em; align-content: start; padding: .4em; background: #fff; border: 1px solid #333; border-radius: .3em; }
.lt-cats span { display: grid; place-items: center; text-align: center; padding: 0 .2em; background: #4273b3; border: 1px solid #23426b; border-radius: .25em; color: #0c1a2e; font-weight: 800; font-size: .58em; }
.lt-prev { width: 45%; height: 3.2em; display: flex; align-items: center; justify-content: center; background: #dbe3f0; color: #25324a; font-size: .62em; border-radius: .2em; }
.lt-order { display: flex; flex-direction: column; min-width: 0; background: #fff; border-left: 1px solid #333; }
.lt-title { text-align: center; padding: 1em 0; border-bottom: 1px solid #333; color: #111; font-weight: 700; font-size: .8em; letter-spacing: .35em; }
.lt-toggle { display: flex; justify-content: center; padding: .9em .5em; background: #e8edf5; font-size: .5em; }
.lt-toggle span { padding: .7em .9em; background: #fff; border: 1px solid #23426b; color: #23426b; white-space: nowrap; }
.lt-toggle span.on { background: #4273b3; color: #fff; }
.lt-rows { flex: 1; display: flex; flex-direction: column; gap: .3em; padding: .35em; }
.lt-rows div { display: flex; justify-content: space-between; gap: .5em; padding: .6em .45em; border: 1px solid #444; border-radius: .25em; color: #333; font-size: .52em; white-space: nowrap; }
.lt-rows span:first-child { overflow: hidden; text-overflow: ellipsis; }
.lt-total { display: flex; align-items: center; gap: .4em; margin: .4em; color: #111; font-size: .62em; }
.lt-total b { flex: 1; text-align: right; padding: .1em .5em; border: 1px solid #333; border-radius: .3em; font-size: 1.7em; font-weight: 400; }
.lt-actions { display: grid; grid-template-columns: 1fr 3em; gap: .3em; height: 3em; padding: 0 .4em .4em; }
.lt-fin { display: grid; place-items: center; background: #132a4e; color: #fff; font-size: .85em; border-radius: .2em; }
.lt-del { display: grid; place-items: center; background: #e8262b; color: #fff; border-radius: .2em; }
.lt-del svg { width: 1.2em; height: 1.2em; }

/* ---------- LAMDPOS Backoffice (web) ---------- */
.scr-bo { display: grid; grid-template-columns: 10.5em 1fr; height: 31em; font-size: clamp(7px, .86vw, 11px); font-family: Arial, Helvetica, sans-serif; background: #e5e5e5; color: #444; }
.bk-side { display: flex; flex-direction: column; background: #2c313c; color: #cfd3da; overflow: hidden; }
.bk-logo { display: flex; align-items: center; gap: .4em; height: 3.6em; padding: .6em; background: #fff; }
.bk-logo img { width: 2.2em; }
.bk-logo b { display: block; font-size: .95em; line-height: 1; color: #1d3f7a; }
.bk-logo small { display: block; font-size: .5em; letter-spacing: .1em; color: #1d3f7a; }
.bk-nav { display: flex; align-items: center; gap: .8em; padding: 1.15em 1.2em; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .55em; white-space: nowrap; }
.bk-nav::before { content: ""; flex: 0 0 1.2em; height: .9em; background: repeating-linear-gradient(#cfd3da 0 .15em, transparent .15em .37em); }
.bk-nav.on { background: #21252d; color: #fff; }
.bk-main { display: flex; flex-direction: column; gap: .6em; padding: .7em .9em; min-width: 0; overflow: hidden; }
.bk-top { display: flex; justify-content: space-between; align-items: center; gap: .5em; }
.bk-crumbs { display: flex; }
.bk-crumbs span { padding: .75em 1.7em .75em 1.4em; margin-right: -.4em; background: #1e4790; color: #fff; font-size: .5em; font-weight: 700; clip-path: polygon(0 0, calc(100% - .9em) 0, 100% 50%, calc(100% - .9em) 100%, 0 100%, .9em 50%); }
.bk-crumbs span:first-child { clip-path: polygon(0 0, calc(100% - .9em) 0, 100% 50%, calc(100% - .9em) 100%, 0 100%); }
.bk-user { display: flex; gap: .4em; }
.bk-user span { padding: .75em 1em; background: #1e4790; color: #fff; font-size: .5em; font-weight: 700; border-radius: .3em; white-space: nowrap; }
.bk-hello { color: #1e4790; font-size: .85em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-hello small { font-size: .65em; }
.bk-card, .bk-kpi { background: #fff; border-radius: .2em; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.bk-row1 { display: grid; grid-template-columns: 1.15fr 1fr; gap: .6em; }
.bk-gauge-card { display: flex; align-items: center; gap: .8em; padding: .8em; }
.bk-gauge { position: relative; flex: 0 0 6em; width: 6em; height: 3.2em; overflow: hidden; }
.bk-gauge i { position: absolute; top: 0; left: 0; width: 6em; height: 6em; border-radius: 50%; background: conic-gradient(from 270deg, #f04b4b 0deg 70deg, #f2d22e 70deg 150deg, #49b649 150deg 180deg, transparent 180deg); }
.bk-gauge i::after { content: ""; position: absolute; inset: 1em; border-radius: 50%; background: #fff; }
.bk-gauge b { position: absolute; left: 50%; top: 3em; width: 2.6em; height: .26em; margin-top: -.13em; background: #222; border-radius: .2em; transform-origin: 0 50%; transform: rotate(-110deg); }
.bk-gauge b::after { content: ""; position: absolute; left: -.3em; top: 50%; width: .6em; height: .6em; margin-top: -.3em; border-radius: 50%; background: #222; }
.bk-table { flex: 1; font-size: .5em; min-width: 0; }
.bk-table div { display: flex; justify-content: space-between; gap: .5em; padding: .55em .4em; border-bottom: 1px solid #eee; white-space: nowrap; }
.bk-table div:nth-child(even) { background: #f3f5f8; }
.bk-table .red { color: #c0392b; font-weight: 700; }
.bk-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.bk-kpi { display: flex; align-items: center; gap: .5em; padding: .55em .6em; min-width: 0; }
.bk-kpi > div { min-width: 0; }
.bk-ic { flex: 0 0 2.2em; width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.bk-ic svg { width: 1.1em; height: 1.1em; }
.bk-ic.green { background: #8cc63f; } .bk-ic.blue { background: #2fa7ef; }
.bk-ic.yellow { background: #f7b500; } .bk-ic.purple { background: #a43fc4; }
.bk-kpi b { display: block; font-size: .75em; font-weight: 600; color: #555; white-space: nowrap; }
.bk-kpi small { display: block; font-size: .42em; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-row2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6em; }
.bk-chart { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: .6em .8em; }
.bk-chart small { margin-bottom: .5em; text-align: center; font-size: .5em; font-weight: 700; color: #555; }
.bk-chart svg { flex: 1; width: 100%; min-height: 0; background: repeating-linear-gradient(90deg, #eee 0 1px, transparent 1px 8.33%), repeating-linear-gradient(#eee 0 1px, transparent 1px 25%); }
.bk-chart polyline { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.bk-chart .l1 { stroke: #2fa7ef; } .bk-chart .l2 { stroke: #f06b6b; }

@media (max-width: 1000px) {
  .scr-retail, .scr-lite { font-size: 11px; }
  .scr-bo { font-size: 10.5px; }
}
@media (max-width: 600px) {
  .pf-visual { padding: 16px 10px; min-height: 0; }
  .scr-retail, .scr-lite { font-size: calc((100vw - 112px) / 40); }
  .scr-bo { font-size: calc((100vw - 60px) / 52); }
}
