/* ============================================================
   NODO Informática — Landing institucional
   Estilo "Claro minimal" (tipo Stripe / Linear)
   Paleta neutra · color del logo (naranja) SOLO como acento
   ============================================================ */
:root {
  /* Neutros (base de la página) */
  --bg:        #ffffff;
  --bg2:       #f7f8fa;   /* secciones alternas / superficies */
  --card:      #ffffff;
  --line:      #e8eaee;   /* bordes */
  --txt:       #0f1115;   /* títulos / texto fuerte */
  --body:      #41454f;   /* cuerpo */
  --muted:     #5b6170;   /* secundario */
  --dim:       #8a8f9c;   /* terciario / footer */

  /* Acento = color del logo (uso restringido) */
  --accent:      #ee7c00;
  --accent-hi:   #f0b000;
  --accent-deep: #c85000;
  --accent-soft: #fff3e7;
  --accent-line: #ffe1c4;

  --green:     #1f9d4d;
  --wa:        #25D366;

  --f: 'Inter', system-ui, -apple-system, sans-serif;
  --max: 1080px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(15,17,21,.06), 0 1px 2px rgba(15,17,21,.04);
  --shadow:    0 16px 40px rgba(15,17,21,.08);
  --shadow-lg: 0 24px 60px rgba(15,17,21,.10);
  --t: .2s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--f); background: var(--bg); color: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--txt); line-height: 1.12; letter-spacing: -.02em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }

/* ============================== Botones ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 16px; padding: 13px 26px;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: background var(--t), box-shadow var(--t), transform var(--t), border-color var(--t);
  min-height: 48px; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); box-shadow: 0 8px 24px rgba(238,124,0,.28); }
.btn--ghost { background: #fff; color: var(--txt); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn--lg { padding: 16px 32px; min-height: 56px; font-size: 17px; }

/* ============================== Header ============================== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 74px; }
.nav__logo { height: 44px; width: auto; }
.nav__links { display: none; gap: 28px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
.nav__links a { color: var(--muted); transition: color var(--t); }
.nav__links a:hover { color: var(--txt); }
.nav__cta { margin-left: auto; font-size: 14.5px; font-weight: 600; background: var(--txt); color: #fff; padding: 9px 18px; border-radius: 8px; transition: background var(--t); }
.nav__cta:hover { background: #000; }
.nav__burger { margin-left: auto; background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--txt); border-radius: 2px; transition: var(--t); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: flex; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
.nav__mobile a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--txt); }
.nav__mobile a:last-child { border-bottom: none; }
@media (min-width: 860px) {
  .nav__links { display: flex; }
  .nav__cta { margin-left: 0; }
  .nav__burger { display: none; }
  .nav__mobile { display: none !important; }
}

/* ============================== Hero (foto de fondo) ============================== */
.hero { position: relative; padding: 120px 0 116px; text-align: center; overflow: hidden; background: var(--txt); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: url("../assets/fotos/codigo.jpg"); background-size: cover; background-position: center; }
/* Overlay oscuro + tinte de marca para que el texto se lea perfecto */
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,.78) 0%, rgba(10,12,16,.72) 45%, rgba(10,12,16,.86) 100%); }
.hero .wrap { position: relative; z-index: 1; }
.hero__in { display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #ffd9a8; background: rgba(238,124,0,.18); border: 1px solid rgba(240,176,0,.4); padding: 6px 14px; border-radius: 999px; margin-bottom: 26px; font-weight: 600; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(38px, 6.2vw, 66px); font-weight: 800; margin-bottom: 20px; color: #fff; }
.hero h1 .accent { color: var(--accent-hi, #f0b000); }
.hero__sub { font-size: 19px; color: rgba(255,255,255,.82); max-width: 52ch; margin: 0 auto 34px; }
.btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* El botón "ghost" del hero adaptado a fondo oscuro */
.hero .btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; }

/* Mockup ventana */
.shot { width: 100%; max-width: 880px; margin: 56px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; }
.shot__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.shot__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d6d9df; display: block; }
.shot__url { margin-left: 12px; font-size: 12px; color: var(--dim); font-weight: 500; }
.shot__body { display: grid; grid-template-columns: 1fr; }
.shot__side { display: none; }
.shot__main { padding: 24px; }
.shot__row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.shot__row b { color: var(--txt); font-weight: 600; }
.shot__tot { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 14px; }
.shot__tot b { color: var(--accent-deep); font-size: 22px; font-weight: 700; }
.shot__ok { background: #eafaef; color: var(--green); font-size: 13px; font-weight: 600; padding: 9px 12px; border-radius: var(--radius-sm); text-align: center; }
@media (min-width: 640px) {
  .shot__body { grid-template-columns: 210px 1fr; }
  .shot__side { display: flex; flex-direction: column; gap: 9px; background: var(--bg2); border-right: 1px solid var(--line); padding: 20px 16px; }
  .shot__side span { height: 9px; border-radius: 5px; background: #e3e6eb; }
  .shot__logoline { height: 11px !important; width: 62%; background: var(--accent) !important; border-radius: 5px; }
}

/* ============================== Banda de confianza ============================== */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.trust__in { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; padding: 26px 0; }
@media (min-width: 720px) { .trust__in { grid-template-columns: repeat(4,1fr); } }
.trust__item { display: flex; flex-direction: column; }
.trust__item strong { font-size: 17px; color: var(--txt); font-weight: 700; }
.trust__item span { font-size: 13px; color: var(--muted); }

/* ============================== Secciones ============================== */
.sec { padding: 84px 0; }
.sec--alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.head p { color: var(--muted); font-size: 17px; margin-top: 14px; }

/* ============================== Grids ============================== */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }

/* Card (qué hacemos) */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform var(--t), box-shadow var(--t); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__ic { width: 50px; height: 50px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ============================== Nosotros ============================== */
#nosotros { position: relative; overflow: hidden; }
#nosotros::before { content: ""; position: absolute; top: -10%; right: -8%; width: 480px; height: 480px; background-image: url("../assets/bg-nodos.svg"); background-size: cover; opacity: .35; pointer-events: none; -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 70%); mask-image: radial-gradient(circle, #000 0%, transparent 70%); }
#nosotros .wrap { position: relative; z-index: 1; }
.nosotros { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 920px) { .nosotros { grid-template-columns: 1.15fr .85fr; } }
.nosotros__content h2 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 18px; }
.nosotros__content p { color: var(--muted); margin-bottom: 14px; }
.checklist { list-style: none; margin: 22px 0 0; display: flex; flex-direction: column; gap: 11px; }
.checklist li { position: relative; padding-left: 30px; font-weight: 500; color: var(--txt); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }

.nosotros__side { display: flex; flex-direction: column; gap: 18px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 26px; box-shadow: var(--shadow-sm); }
.stat { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: none; }
.stat strong { font-size: 22px; font-weight: 800; color: var(--accent-deep); }
.stat span { color: var(--muted); font-size: 14px; text-align: right; }
.group-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius); }
.group-card__logo { height: 30px; width: auto; flex-shrink: 0; }
.group-card p { color: var(--txt); font-size: 13.5px; margin: 0; }

/* ============================== Productos ============================== */
.product { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-line); }
.product__badge { position: absolute; top: 18px; right: 18px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.product__badge--dark { background: var(--txt); }
.product__ic { width: 54px; height: 54px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.product h3 { font-size: 21px; margin-bottom: 10px; }
.product > p { color: var(--muted); font-size: 15px; flex-grow: 1; }
.product__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 18px; }
.product__tags li { font-size: 12px; font-weight: 600; color: var(--accent-deep); background: var(--accent-soft); padding: 4px 11px; border-radius: 999px; }
.product__cta { font-weight: 700; color: var(--accent); display: inline-flex; gap: 4px; transition: color var(--t); }
.product__cta:hover { color: var(--accent-deep); }

/* ============================== Rubros ============================== */
.rubros { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
@media (min-width: 680px) { .rubros { grid-template-columns: repeat(4,1fr); } }
.rubro { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px 16px; text-align: center; font-weight: 600; font-size: 15px; color: var(--txt); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.rubro:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--accent-line); }
.rubro__ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); }
.rubros__note { text-align: center; color: var(--muted); margin-top: 28px; }
.rubros__note a { color: var(--accent); font-weight: 700; }

/* ============================== CTA ============================== */
.cta { padding: 84px 0; text-align: center; background: var(--bg2); border-top: 1px solid var(--line); }
.cta__in { max-width: 600px; margin: 0 auto; }
.cta h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
.cta p { color: var(--muted); font-size: 18px; margin: 14px 0 30px; }
.cta__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 30px; color: var(--muted); font-weight: 500; font-size: 15px; }
.cta__contacts a, .cta__contacts span { display: inline-flex; align-items: center; gap: 8px; }
.cta__contacts svg { color: var(--accent); flex-shrink: 0; }
.cta__contacts a:hover { color: var(--accent-deep); }
.shot__ok svg { vertical-align: -2px; margin-right: 4px; }
.shot__ok { display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ============================== Footer ============================== */
.footer { background: var(--txt); color: #b6bac4; padding: 56px 0 24px; }
.footer__in { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 760px) { .footer__in { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer__logo { height: 44px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer__brand p { color: #8b909c; font-size: 14px; max-width: 30ch; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer__col a { display: block; color: #8b909c; font-size: 14px; padding: 5px 0; transition: color var(--t); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #2a2d35; color: #71757f; font-size: 13px; }
@media (min-width: 600px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }

/* ============================== WhatsApp flotante ============================== */
.wa-float { position: fixed; bottom: 20px; right: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,.4); transition: transform var(--t); }
.wa-float:hover { transform: scale(1.08); }

/* ============================== Animación de entrada ============================== */
@media (prefers-reduced-motion: no-preference) {
  .card, .product, .rubro { opacity: 0; transform: translateY(16px); animation: rise .55s ease forwards; }
  .grid-3 > :nth-child(2) { animation-delay: .08s; }
  .grid-3 > :nth-child(3) { animation-delay: .16s; }
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ============================================================
   TIENDA DE APLICACIONES
   ============================================================ */
.apps { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .apps { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px) { .apps { grid-template-columns: repeat(3,1fr); } }

.app { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.app:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-line); }

.app__shot { aspect-ratio: 16/10; background: var(--bg2); overflow: hidden; border-bottom: 1px solid var(--line); }
.app__shot img { width: 100%; height: 100%; object-fit: cover; }
.app__shot--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--dim); }
.app__shot--empty span { font-size: 13px; font-weight: 500; }

.app__badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; z-index: 2; }

.app__body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.app__head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.app__logo { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; }
.app__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.app__logo--ph { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.app__titles h3 { font-size: 18px; }
.app__cat { font-size: 13px; color: var(--muted); font-weight: 500; }
.app__titles a { color: inherit; }
.app__titles a:hover h3 { color: var(--accent-deep); }
.app__desc { color: var(--muted); font-size: 14.5px; flex-grow: 1; }
.app__pricerow { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 16px; }
.app__price { font-size: 20px; font-weight: 800; color: var(--txt); letter-spacing: -.01em; }
.app__price-label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.app__actions { display: flex; gap: 10px; margin-top: auto; }
.app__more { flex: 1; background: #fff; color: var(--txt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-family: var(--f); font-size: 14.5px; font-weight: 600; cursor: pointer; text-align: center; transition: border-color var(--t), color var(--t), background var(--t); }
.app__more:hover { border-color: var(--accent); color: var(--accent-deep); }
.app__more--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.app__more--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

/* ============================================================
   MODAL "Ver más"
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15,17,21,.55); backdrop-filter: blur(2px); animation: fade .2s ease; }
.modal__box { position: relative; z-index: 2; background: #fff; border-radius: var(--radius); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; padding: 28px; box-shadow: var(--shadow-lg); animation: pop .22s ease; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: none; border-radius: 50%; background: var(--bg2); color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--t); }
.modal__close:hover { background: #e9ebef; color: var(--txt); }
.modal__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-right: 40px; }
.modal__logo { width: 56px; height: 56px; border-radius: 13px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; }
.modal__logo img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.modal__logo--ph { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.modal__head h3 { font-size: 21px; }
.modal__cat { font-size: 14px; color: var(--muted); font-weight: 500; }
.modal__gallery { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.modal__gallery img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.modal__gallery--empty { }
.modal__shot-ph { aspect-ratio: 16/9; background: var(--bg2); border: 1px dashed var(--line); border-radius: var(--radius-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--dim); }
.modal__shot-ph span { font-size: 14px; font-weight: 500; }
.modal__desc { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.modal__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.modal__tags li { font-size: 12px; font-weight: 600; color: var(--accent-deep); background: var(--accent-soft); padding: 4px 11px; border-radius: 999px; }
.btn--block { width: 100%; }

/* ---- Barra de compra (paso 1) ---- */
.modal__buybar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.modal__price { display: flex; flex-direction: column; }
.modal__price-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.modal__price strong { font-size: 24px; font-weight: 800; color: var(--txt); letter-spacing: -.01em; }
.modal__buybar .btn { flex-shrink: 0; }
.modal__wa-link { display: block; width: 100%; background: none; border: none; color: var(--muted); font-family: var(--f); font-size: 14px; font-weight: 500; cursor: pointer; padding: 6px; text-align: center; }
.modal__wa-link:hover { color: var(--accent-deep); text-decoration: underline; }

/* ---- Paso 2: instrucciones de pago ---- */
.modal__back { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; color: var(--muted); font-family: var(--f); font-size: 14px; font-weight: 600; cursor: pointer; padding: 4px 0; margin-bottom: 14px; }
.modal__back:hover { color: var(--txt); }
.pay__head { margin-bottom: 20px; }
.pay__step { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.pay__head h3 { font-size: 22px; }
.pay__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 14px 16px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius-sm); }
.pay__total span { font-size: 14px; color: var(--accent-deep); font-weight: 600; }
.pay__total strong { font-size: 24px; font-weight: 800; color: var(--accent-deep); }
.pay__steps { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0 0 20px; }
.pay__steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--body); line-height: 1.5; }
.pay__num { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pay__steps b { color: var(--txt); }
.pay__bank { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 18px; }
.pay__bank-title { display: flex; align-items: center; gap: 8px; background: var(--bg2); padding: 12px 16px; font-weight: 700; font-size: 14px; color: var(--txt); border-bottom: 1px solid var(--line); }
.pay__bank-title svg { color: var(--accent); }
.pay__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.pay__row:last-child { border-bottom: none; }
.pay__row span { color: var(--muted); }
.pay__row b { color: var(--txt); font-weight: 600; text-align: right; }
.pay__copy { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; padding: 3px 8px; border-radius: 6px; transition: background var(--t); position: relative; }
.pay__copy:hover { background: var(--accent-soft); }
.pay__copy svg { color: var(--muted); }
.pay__copy.copied { background: #eafaef; color: var(--green); }
.pay__copy.copied::after { content: "¡Copiado!"; position: absolute; right: 0; top: -22px; font-size: 11px; font-weight: 600; color: var(--green); }
.pay__note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.5; }
.btn svg { flex-shrink: 0; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* ============================================================
   FICHA DE PRODUCTO (PDP) — estilo Mercado Libre
   ============================================================ */
.pdp { padding: 28px 0 70px; background: var(--bg2); min-height: 60vh; }
.pdp__loading, .pdp__notfound { padding: 80px 0; text-align: center; color: var(--muted); }
.pdp__notfound h1 { font-size: 28px; margin-bottom: 10px; }
.pdp__notfound .btn { margin-top: 18px; }

.pdp__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.pdp__crumbs a:hover { color: var(--accent-deep); }
.pdp__crumbs b { color: var(--txt); font-weight: 600; }

/* Layout principal: galería | info | caja compra */
.pdp__top { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .pdp__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .pdp__top { grid-template-columns: 1.1fr 1.2fr 0.9fr; } }

/* Card blanca contenedora compartida */
.pdp__gallery, .pdp__info, .pdp__buybox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

/* Galería */
.pdp__gallery { padding: 18px; }
.pdp__main { aspect-ratio: 16/10; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg2); display: flex; align-items: center; justify-content: center; }
.pdp__main img { width: 100%; height: 100%; object-fit: contain; }
.pdp__main--empty { flex-direction: column; gap: 10px; color: var(--dim); }
.pdp__main--empty span { font-size: 14px; font-weight: 500; }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp__thumb { width: 64px; height: 50px; border-radius: 8px; overflow: hidden; border: 2px solid var(--line); background: var(--bg2); cursor: pointer; padding: 0; transition: border-color var(--t); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb:hover { border-color: var(--accent-line); }
.pdp__thumb.active { border-color: var(--accent); }

/* Info central */
.pdp__info { padding: 26px; }
.pdp__titlebar { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pdp__logo { width: 52px; height: 52px; border-radius: 12px; object-fit: contain; border: 1px solid var(--line); background: #fff; padding: 6px; flex-shrink: 0; }
.pdp__cat { font-size: 13px; color: var(--muted); font-weight: 500; }
.pdp__title { font-size: clamp(24px, 3vw, 30px); font-weight: 800; }
.pdp__badge { display: inline-block; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; margin-bottom: 14px; }
.pdp__lead { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin-bottom: 16px; }
.pdp__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp__tag { font-size: 12px; font-weight: 600; color: var(--accent-deep); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; }

/* Caja de compra */
.pdp__buybox { padding: 24px; align-self: start; }
@media (min-width: 1040px) { .pdp__buybox { position: sticky; top: 86px; } }
.pdp__price-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.pdp__price { font-size: 34px; font-weight: 800; color: var(--txt); letter-spacing: -.02em; margin: 2px 0 6px; }
.pdp__price-note { font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 18px; }
.pdp__buybox .btn { margin-bottom: 10px; }
.pdp__assur { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.pdp__assur li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--body); line-height: 1.4; }
.pdp__assur svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }

/* Detalle inferior: características + descripción */
.pdp__detail { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
@media (min-width: 900px) { .pdp__detail { grid-template-columns: 1fr 320px; } }
.pdp__detail-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pdp__block + .pdp__block { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.pdp__block h2 { font-size: 20px; margin-bottom: 16px; }
.pdp__block p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.pdp__features { list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .pdp__features { grid-template-columns: 1fr 1fr; } }
.pdp__features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--body); line-height: 1.45; }
.pdp__features svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.pdp__detail-side { align-self: start; }
.pdp__help { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
@media (min-width: 900px) { .pdp__help { position: sticky; top: 86px; } }
.pdp__help h3 { font-size: 18px; margin-bottom: 8px; }
.pdp__help p { color: var(--muted); font-size: 14px; margin-bottom: 16px; line-height: 1.5; }

/* Otros productos */
.pdp__more { margin-top: 46px; }
.pdp__more > h2 { font-size: 22px; margin-bottom: 20px; }
.pdp__more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 760px) { .pdp__more-grid { grid-template-columns: repeat(4, 1fr); } }
.pdp__more-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform var(--t), box-shadow var(--t); }
.pdp__more-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pdp__more-img { aspect-ratio: 16/10; background: var(--bg2); overflow: hidden; border-bottom: 1px solid var(--line); }
.pdp__more-img img { width: 100%; height: 100%; object-fit: cover; }
.pdp__more-ph { width: 100%; height: 100%; background: var(--bg2); }
.pdp__more-body { padding: 14px 16px; }
.pdp__more-body h3 { font-size: 15px; margin-bottom: 4px; }
.pdp__more-price { font-size: 15px; font-weight: 700; color: var(--accent-deep); }

/* ============================================================
   LIGHTBOX / ZOOM de capturas (ficha de producto)
   ============================================================ */
/* La imagen principal es un botón clickeable con lupa */
.pdp__main { width: 100%; border: none; cursor: zoom-in; position: relative; padding: 0; }
.pdp__main:not(.pdp__main--empty) { background: var(--bg2); }
.pdp__zoom-hint {
  position: absolute; bottom: 10px; right: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(15,17,21,.72); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 6px 11px; border-radius: 999px; pointer-events: none;
  opacity: 0; transition: opacity var(--t);
}
.pdp__main:hover .pdp__zoom-hint { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,10,14,.94);
  display: flex; align-items: center; justify-content: center;
  animation: fade .2s ease;
}
.lightbox[hidden] { display: none; }
.lightbox__stage {
  flex: 1; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 16px 70px; overflow: hidden;
}
.lightbox__img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: 8px; cursor: zoom-in; transition: transform .15s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__img.zoomed { transform: scale(2.2); cursor: zoom-out; }

.lightbox__close {
  position: absolute; top: 16px; right: 18px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background var(--t);
}
.lightbox__close:hover { background: rgba(255,255,255,.24); }

.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background var(--t);
}
.lightbox__nav:hover { background: rgba(255,255,255,.24); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

.lightbox__bar {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff;
}
.lightbox__counter { font-size: 15px; font-weight: 700; }
.lightbox__tip { font-size: 12px; color: rgba(255,255,255,.6); }

@media (max-width: 560px) {
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }
  .lightbox__stage { padding: 56px 8px 66px; }
  .lightbox__img.zoomed { transform: scale(2.6); }
}

/* ============================================================
   LANDING DE PRODUCTO (página de venta larga)
   ============================================================ */
.pdp__moreinfo { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; padding: 11px; font-size: 14px; font-weight: 600; color: var(--accent-deep); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius-sm); transition: background var(--t); }
.pdp__moreinfo:hover { background: #ffe9d2; }

/* Hero */
.lp-hero { background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 75%); padding: 30px 0 64px; overflow: hidden; }
.lp-hero__in { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .lp-hero__in { grid-template-columns: 1.05fr .95fr; } }
.lp-back { display: inline-block; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.lp-back:hover { color: var(--accent-deep); }
.lp-hero__badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-deep); background: #fff; border: 1px solid var(--accent-line); padding: 5px 13px; border-radius: 999px; margin-bottom: 16px; }
.lp-hero__copy h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.lp-hero__copy p { font-size: 18px; color: var(--muted); line-height: 1.6; margin-bottom: 28px; max-width: 52ch; }
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-hero__media { display: flex; align-items: center; justify-content: center; }
.lp-hero__media img { max-width: 100%; max-height: 420px; object-fit: contain; filter: drop-shadow(0 24px 50px rgba(15,17,21,.18)); border-radius: 12px; }

/* Dolores */
.lp-pain { padding: 64px 0; background: var(--txt); }
.lp-pain h2 { color: #fff; font-size: clamp(24px,3.4vw,34px); text-align: center; margin-bottom: 36px; }
.lp-pain__list { list-style: none; max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .lp-pain__list { grid-template-columns: 1fr 1fr; } }
.lp-pain__list li { display: flex; align-items: flex-start; gap: 12px; color: #d7dae0; font-size: 15.5px; line-height: 1.5; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 16px 18px; }
.lp-pain__list svg { color: #ff8a8a; flex-shrink: 0; margin-top: 1px; }

/* Beneficios */
.lp-benefits { padding: 76px 0; }
.lp-benefits__grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .lp-benefits__grid { grid-template-columns: 1fr 1fr; } }
.lp-benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.lp-benefit__num { width: 40px; height: 40px; border-radius: 11px; background: var(--accent); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.lp-benefit h3 { font-size: 19px; margin-bottom: 8px; }
.lp-benefit p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Capturas */
.lp-shots { padding: 76px 0; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-shots__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 700px) { .lp-shots__grid { grid-template-columns: 1fr 1fr; } }
.lp-shot { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform var(--t), box-shadow var(--t); }
.lp-shot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lp-shot img { width: 100%; display: block; }

/* Características */
.lp-feats { padding: 76px 0; }
.lp-feats__list { list-style: none; max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .lp-feats__list { grid-template-columns: 1fr 1fr; } }
.lp-feats__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--body); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px 18px; }
.lp-feats__list svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* Precio */
.lp-price { padding: 76px 0; background: var(--bg2); border-top: 1px solid var(--line); }
.lp-price__card { max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 30px; text-align: center; }
.lp-price__label { font-size: 14px; color: var(--muted); font-weight: 600; }
.lp-price__amount { font-size: 42px; font-weight: 800; color: var(--txt); letter-spacing: -.02em; margin: 4px 0 6px; }
.lp-price__note { font-size: 14px; color: var(--green); font-weight: 600; margin-bottom: 22px; }
.lp-price__card .btn { width: 100%; margin-bottom: 10px; }
.lp-price__assur { list-style: none; margin-top: 18px; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.lp-price__assur li { position: relative; padding-left: 28px; font-size: 14px; color: var(--body); }
.lp-price__assur li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }

/* FAQ (reusa .faq de abajo si existe; si no, definir) */
.lp-faq { padding: 76px 0; }
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--txt); }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin-top: 12px; font-size: 15px; line-height: 1.6; }
.wrap.narrow { max-width: 760px; }

/* ============================================================
   SOFTWARE A MEDIDA
   ============================================================ */
.medida__in { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 920px) { .medida__in { grid-template-columns: 1.1fr .9fr; } }
.medida__copy h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; margin-bottom: 16px; }
.medida__copy > p { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin-bottom: 26px; }
.medida__steps { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.medida__steps li { display: flex; align-items: flex-start; gap: 14px; }
.medida__num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.medida__steps strong { display: block; color: var(--txt); font-size: 15.5px; }
.medida__steps span { color: var(--muted); font-size: 14.5px; }

.medida__art { display: flex; align-items: center; justify-content: center; }
.medida__card { position: relative; width: 100%; max-width: 400px; aspect-ratio: 4/3; background: var(--grad-orange); border-radius: var(--radius); box-shadow: var(--shadow-hi); display: flex; align-items: center; justify-content: center; padding: 26px; overflow: hidden; }
.medida__card--code::before { content: ""; position: absolute; inset: 0; background-image: url("../assets/bg-code.svg"); background-size: cover; background-position: center; opacity: .9; pointer-events: none; }
.medida__card--code .medida__tags { position: relative; z-index: 1; }
.medida__tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.medida__tags span { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px; }
.medida__chip { position: absolute; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 9px 14px; font-size: 13px; font-weight: 700; color: var(--txt); display: flex; align-items: center; gap: 7px; }
.medida__chip svg { color: var(--accent); }
.medida__chip--1 { top: -14px; right: 18px; }
.medida__chip--2 { bottom: -14px; left: 18px; }

/* ============================================================
   CLIENTES — carrusel de logos
   ============================================================ */
.clientes { padding: 48px 0 56px; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.clientes__title { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 28px; }
.clientes__viewport { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.clientes__track { display: flex; align-items: center; gap: 30px; width: max-content; will-change: transform; }
.cliente-logo {
  flex-shrink: 0; height: 108px; width: 210px; padding: 20px 26px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  opacity: .92; transition: opacity var(--t), box-shadow var(--t), transform var(--t);
}
.cliente-logo:hover { opacity: 1; box-shadow: var(--shadow); transform: translateY(-3px); }
.cliente-logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; display: block; }

/* ============================================================
   FOTOS REALES (equipo / código)
   ============================================================ */
/* Hero: foto de código con mini-POS flotando */
.hero__visual { position: relative; width: 100%; max-width: 760px; margin: 50px auto 0; }
.hero__photo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); aspect-ratio: 16/9; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot--float { position: absolute; bottom: -26px; right: -10px; width: 250px; max-width: 64%; box-shadow: var(--shadow-lg); }
@media (max-width: 520px) { .shot--float { right: 50%; transform: translateX(50%); width: 80%; } }

/* Nosotros: foto del equipo arriba de los stats */
.nosotros__foto { margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 3/2; }
.nosotros__foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.nosotros__foto:hover img { transform: scale(1.04); }

/* Software a medida: foto del equipo con chips */
.medida__photo { margin: 0; width: 100%; max-width: 440px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-hi); aspect-ratio: 4/3; }
.medida__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.medida__art { position: relative; }

/* ============================================================
   TEASER de la tienda en la home
   ============================================================ */
.tienda-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; }
.tienda-cta__count { color: var(--muted); font-size: 14px; }

/* ============================================================
   CATÁLOGO (tienda.html) — estilo Mercado Libre
   ============================================================ */
.cat-hero { background: var(--bg2); border-bottom: 1px solid var(--line); padding: 22px 0 30px; }
.cat-hero h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 8px; }
.cat-hero > .wrap > p { color: var(--muted); font-size: 16px; max-width: 60ch; margin-bottom: 24px; }

.cat-tools { display: flex; flex-direction: column; gap: 16px; }
.cat-search { position: relative; max-width: 420px; }
.cat-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.cat-search input { width: 100%; height: 48px; padding: 0 16px 0 42px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-family: var(--f); font-size: 15px; color: var(--txt); transition: border-color var(--t), box-shadow var(--t); }
.cat-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.cat-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.cat-chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-family: var(--f); font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all var(--t); white-space: nowrap; }
.cat-chip:hover { border-color: var(--accent-line); color: var(--accent-deep); }
.cat-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.cat-main { padding: 32px 0 70px; min-height: 50vh; }
.cat-count { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.cat-empty { text-align: center; padding: 50px 0; color: var(--muted); }
.cat-empty p { margin-bottom: 16px; font-size: 16px; }

/* placeholder de captura cuando una app no tiene shots (reuso en catálogo/home) */
.app__shot-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--dim); }
.app__shot-ph span { font-size: 13px; font-weight: 500; }

/* ---- Badge de vendidos en la tarjeta ---- */
.app__sold { display: inline-flex; align-items: center; gap: 5px; margin: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--green); }
.app__sold svg { color: var(--green); }

/* Logos con fondo oscuro propio (ej. SINTEC) → tarjeta oscura para que no quede recuadro negro */
.cliente-logo:has(img[alt="Sintec"]) { background: #111418; border-color: #111418; }

/* ============================================================
   CATÁLOGO — banda CTA (reemplaza el teaser de productos en la home)
   ============================================================ */
.catband { position: relative; padding: 84px 0; text-align: center; overflow: hidden; background: var(--txt); }
.catband__bg { position: absolute; inset: 0; z-index: 0; background-image: url("../assets/bg-nodos.svg"); background-size: cover; background-position: center; opacity: .25; }
.catband__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,17,21,.55), rgba(15,17,21,.8)); }
.catband__in { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.eyebrow--light { color: var(--accent-hi); }
.catband h2 { color: #fff; font-size: clamp(26px, 3.8vw, 40px); font-weight: 800; margin-bottom: 14px; }
.catband p { color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.6; margin-bottom: 28px; }
.catband .btn--white { background: #fff; color: var(--accent-deep); }
.catband .btn--white:hover { background: var(--accent-soft); }
.catband__count { display: block; margin-top: 16px; color: rgba(255,255,255,.6); font-size: 14px; }
