/* Hero: código impreso + destino editable */
.qrx-top {
  background:
    radial-gradient(55% 70% at 88% 35%, rgb(106 176 76 / 14%) 0, transparent 70%),
    radial-gradient(45% 55% at 60% 100%, rgb(37 99 235 / 9%) 0, transparent 70%),
    linear-gradient(180deg, #f6fbf4 0%, #fff 100%);
}
.qrx-hero { position: relative; width: 100%; max-width: 540px; min-height: 470px; }
.qrx-flyer {
  position: absolute;
  left: 20px;
  top: 10px;
  display: grid;
  justify-items: center;
  width: 250px;
  padding: 0 0 18px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 0 #e9ecf3, 0 34px 60px rgb(16 24 64 / 18%);
  text-align: center;
  transform: rotate(-4deg);
}
.qrx-flyer__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: #6ab04c;
  color: #fff;
  font-size: 14px;
}
.qrx-flyer__top img { border-radius: 50%; background: #fff; }
.qrx-flyer__t { margin: 16px 18px 12px; color: #1f2b6b; font-size: 19px; font-weight: 900; line-height: 1.15; }
.qrx-flyer__qr { width: 168px; height: 168px; padding: 8px; border: 2px solid #1f2b6b; border-radius: 10px; }
.qrx-flyer__d { margin: 12px 18px 2px; color: #2b3160; font-size: 13px; font-weight: 700; }
.qrx-flyer small { color: #8a90a6; font-size: 11px; }
.qrx-dest { position: absolute; right: 0; bottom: 24px; z-index: 2; width: 300px; }
.qrx-dest__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #eef0f5; }
.qrx-dest__head b { display: block; font-size: 13px; }
.qrx-dest__head small { color: #8a90a6; font-size: 10.5px; }
.qrx-dest__body { display: grid; gap: 7px; padding: 12px 14px 14px; }
.qrx-dest__body > small { color: #6b7190; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.qrx-url {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid #e3e6f0;
  border-radius: 8px;
  font-size: 11.5px;
  white-space: nowrap;
}
.qrx-url--old { background: #f7f8fb; color: #a3a8bd; text-decoration: line-through; }
.qrx-url--new { border-color: #2563eb; box-shadow: 0 0 0 3px #dbe6ff; color: #070d38; font-weight: 700; }
.qrx-url--new i { width: 1.5px; height: 14px; margin-left: 2px; background: #2563eb; animation: qrx-blink 1s steps(1) infinite; }
@keyframes qrx-blink { 50% { opacity: 0; } }
.qrx-dest__arrow {
  justify-self: center;
  width: 2px;
  height: 12px;
  background: #b9c4dc;
  position: relative;
}
.qrx-dest__arrow::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: -2px;
  width: 6px;
  height: 6px;
  border: solid #b9c4dc;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.qrx-dest__acts { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.qrx-dest__acts small { color: #15803d; font-size: 10.5px; font-weight: 700; }
.qrx-hero__scans { right: 10px; top: 30px; }
.qrx-hero__scans .mi { width: 30px; height: 30px; border-radius: 9px; }

/* Dos QR distintos */
.qrx-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: center; }
.qrx-vs__c { display: grid; align-content: start; gap: 14px; height: 100%; padding: 28px; border: 1px solid #eceef5; border-radius: 24px; background: #fff; }
.qrx-vs__c > .ux-pill { justify-self: start; padding: 4px 11px; font-size: 12px; }
.qrx-vs__c--dyn { border-color: #ffd0e3; background: linear-gradient(180deg, #fff6fa 0%, #fff 60%); }
.qrx-vs__c h3 { margin: 6px 0 0; font-size: 21px; font-weight: 800; }
.qrx-vs__c p { margin: 0; color: #5b6280; font-size: 15.5px; line-height: 1.55; }
.qrx-vs__flow { display: grid; grid-template-columns: 96px 28px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 140px; padding: 16px; border-radius: 16px; background: #f6f7fb; }
.qrx-vs__qr { width: 96px; height: 96px; padding: 6px; border-radius: 10px; background: #fff; }
.qrx-vs__to { position: relative; height: 2px; background: #c9cddc; }
.qrx-vs__to::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border: solid #c9cddc; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.qrx-vs__res { display: grid; justify-items: start; gap: 8px; padding: 12px; border-radius: 12px; background: #fff; font-size: 11px; }
.qrx-vs__res > span:nth-child(2) b { display: block; font-size: 12.5px; }
.qrx-vs__res small { color: #6b7190; }
.qrx-vs__hist { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.qrx-vs__hist li { display: grid; gap: 1px; padding: 6px 10px; border-radius: 9px; background: #fff; font-size: 11px; color: #a3a8bd; }
.qrx-vs__hist li small { font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.qrx-vs__hist li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qrx-vs__hist li:first-child span { text-decoration: line-through; }
.qrx-vs__hist li.is-on { box-shadow: 0 0 0 2px #FB2B7D; color: #070d38; font-weight: 700; }
.qrx-vs__hist li.is-on small { color: #d61f6a; }
.qrx-vs__or {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

/* Dónde se usa */
.qrx-uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.qrx-use { display: grid; align-content: start; gap: 8px; padding: 14px 14px 22px; border: 1px solid #eceef5; border-radius: 22px; background: #fff; }
.qrx-use h3 { margin: 10px 8px 0; font-size: 18px; font-weight: 800; }
.qrx-use p { margin: 0 8px; color: #5b6280; font-size: 14.5px; line-height: 1.5; }
.qrx-use__go { justify-self: start; margin: 6px 8px 0; padding: 4px 10px; border-radius: 999px; background: #e9f8ef; color: #15803d; font-size: 12px; font-weight: 800; }
.qrx-use__art { position: relative; display: grid; place-items: center; height: 160px; overflow: hidden; border-radius: 14px; }
.qrx-use__art--van { background: linear-gradient(180deg, #dff0ff 0 72%, #cfd6e4 72%); }
.qrx-use__art--stand { background: linear-gradient(180deg, #f1edff 0 78%, #ddd6f3 78%); }
.qrx-use__art--poster { background: #ece6dc; }
.qrx-use__art--table { background: linear-gradient(180deg, #fdeef3 0 64%, #c99a74 64% 70%, #b0825e 70%); }
.qrx-use__art img { display: block; padding: 3px; border-radius: 4px; background: #fff; }

.qrx-van { position: relative; display: flex; align-items: flex-end; margin-top: 18px; }
.qrx-van__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 132px;
  height: 66px;
  padding: 0 10px 6px 12px;
  border-radius: 10px 4px 4px 10px;
  background: #fff;
  box-shadow: inset 0 -12px 0 #6ab04c;
}
.qrx-van__body b { color: #1f2b6b; font-size: 15px; font-weight: 900; }
.qrx-van__cab { width: 42px; height: 48px; border-radius: 4px 18px 6px 4px; background: #fff linear-gradient(180deg, transparent 8px, #9fd0ff 8px 24px, transparent 24px) 6px 0 / 28px 100% no-repeat; box-shadow: inset 0 -12px 0 #6ab04c; }
.qrx-van > i { position: absolute; bottom: -10px; width: 22px; height: 22px; border: 5px solid #2b3160; border-radius: 50%; background: #c9cddc; }
.qrx-van > i:nth-of-type(1) { left: 22px; }
.qrx-van > i:nth-of-type(2) { right: 12px; }

.qrx-stand { display: grid; justify-items: center; margin-top: 10px; }
.qrx-stand__wall { display: grid; justify-items: center; gap: 6px; width: 132px; padding: 10px 8px; border-radius: 8px 8px 0 0; background: #6D4AFF; color: #fff; font-size: 10px; }
.qrx-stand__desk { width: 160px; height: 34px; border-radius: 6px; background: #fff; box-shadow: inset 0 -6px 0 #e3defa; }

.qrx-poster {
  display: grid;
  justify-items: start;
  gap: 6px;
  width: 104px;
  padding: 12px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 20px rgb(16 24 64 / 14%);
  transform: rotate(3deg);
}
.qrx-poster b { padding: 2px 8px; border-radius: 4px; background: #FB2B7D; color: #fff; font-size: 11px; }
.qrx-poster > span { width: 100%; height: 6px; border-radius: 3px; background: #e3e6ef; }
.qrx-poster > span:nth-of-type(2) { width: 64%; }
.qrx-poster img { justify-self: end; }

.qrx-tent { margin-bottom: 22px; }
.qrx-tent__face {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 92px;
  padding: 12px 8px 10px;
  border-radius: 10px 10px 2px 2px;
  background: #2563eb;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 10px 0 0 #1d2450;
}

/* Lista de códigos */
.qrx-app { max-width: 580px; }
.qrx-app__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 16px 0; border-bottom: 1px solid #eef0f5; }
.qrx-app__top > img { border-radius: 6px; }
.qrx-app__crumb { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; font-size: 11.5px; font-weight: 800; }
.qrx-app__crumb .mi { width: 18px; height: 18px; border-radius: 5px; background-size: 12px 12px; }
.qrx-app__top > img { margin-bottom: 8px; }
.qrx-app__tabs { margin: 0 0 0 auto; border-bottom: 0; }
.qrx-app__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.qrx-app__head .ux-h,
.qrx-app__head .ux-sub { display: block; }
.qrx-tbl { display: grid; padding: 4px 12px; }
.qrx-tbl__h,
.qrx-tbl__r { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr) 54px 62px; gap: 10px; align-items: center; }
.qrx-tbl__h { padding: 8px 0; border-bottom: 1px solid #eef0f5; color: #8a90a6; font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.qrx-tbl__r { padding: 10px 0; border-bottom: 1px solid #f3f4f8; }
.qrx-tbl__r:last-child { border-bottom: 0; }
.qrx-tbl__n { display: flex; align-items: center; gap: 8px; min-width: 0; }
.qrx-tbl__n img { flex: none; padding: 2px; border: 1px solid #eceef5; border-radius: 5px; background: #fff; }
.qrx-tbl__n b { display: block; overflow: hidden; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.qrx-tbl__n small { color: #8a90a6; font-size: 9.5px; }
.qrx-tbl__u { overflow: hidden; color: #1d5bd8; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.qrx-tbl__s { font-size: 13px; text-align: right; }
.qrx-tbl__h > span:nth-child(3) { text-align: right; }
.qrx-tbl__r .ux-pill { justify-self: start; }
.qrx-tbl__r.is-off .qrx-tbl__n,
.qrx-tbl__r.is-off .qrx-tbl__u,
.qrx-tbl__r.is-off .qrx-tbl__s { opacity: .45; }

/* Analítica */
.qrx-an { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.qrx-an__copy > p:not(.px-k) { margin: 14px 0 0; color: #4b5372; font-size: 17px; line-height: 1.6; }
.qrx-dims { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.qrx-dims li { display: flex; align-items: center; gap: 14px; }
.qrx-dims b { display: block; font-size: 16px; }
.qrx-dims small { display: block; color: #5b6280; font-size: 14px; }
.qrx-dim { position: relative; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #e6e8f1; }
.qrx-dim::before { content: ""; position: absolute; inset: 0; background: center / 20px no-repeat; }
.qrx-dim--day::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round'><path d='M6 20V12M12 20V5M18 20v-9'/></svg>"); }
.qrx-dim--dev::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D4AFF' stroke-width='2' stroke-linejoin='round'><rect x='3' y='5' width='13' height='10' rx='1.5'/><path d='M1 18h16'/><rect x='17' y='8' width='5' height='11' rx='1.2'/></svg>"); }
.qrx-dim--br::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2'><circle cx='12' cy='12' r='9'/><path d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/></svg>"); }
.qrx-dim--cmp::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FB2B7D' stroke-width='2' stroke-linejoin='round'><path d='M4 4h8l8 8-8 8-8-8z'/><circle cx='8.5' cy='8.5' r='1.5'/></svg>"); }
.qrx-an__note { margin: 24px 0 0; color: #5b6280; font-size: 15px; }
.qrx-an__note a { color: #2563eb; font-weight: 700; text-decoration: none; }
.qrx-dash { min-width: 0; }
.qrx-dash__in { display: grid; gap: 12px; padding: 16px; background: #f7f8fb; }
.qrx-dash__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.qrx-dash__head .ux-h { margin-right: auto; }
.qrx-dash__sel { gap: 6px; font-weight: 700; }
.qrx-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qrx-kpis > span { padding: 12px; border: 1px solid #eceef5; border-radius: 12px; background: #fff; }
.qrx-kpis small { display: block; color: #6b7190; font-size: 10.5px; }
.qrx-kpis b { display: block; margin-top: 3px; font-size: 20px; font-weight: 900; line-height: 1.1; }
.qrx-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; height: 130px; padding-top: 8px; }
.qrx-bars > span { display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; }
.qrx-bars i {
  position: relative;
  align-self: end;
  height: max(4px, calc(var(--v) * 100%));
  border-radius: 6px 6px 3px 3px;
  background: #e3e8f4;
}
.qrx-bars .is-on i { background: linear-gradient(180deg, #2563eb 0%, #6D4AFF 100%); }
.qrx-bars i b { position: absolute; left: 50%; top: 6px; color: #fff; font-size: 11px; font-style: normal; transform: translateX(-50%); }
.qrx-bars small { color: #8a90a6; font-size: 10px; text-align: center; }
.qrx-bars .is-on small { color: #070d38; font-weight: 800; }
.qrx-break { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qrx-break .ux-panel + .ux-panel { margin-top: 0; }
.qrx-meter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; align-items: center; margin-top: 7px; font-size: 10.5px; }
.qrx-meter > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qrx-meter b { font-size: 11px; }
.qrx-meter i { grid-column: 1 / -1; grid-row: 2; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #2563eb var(--w), #eceef5 var(--w)); }

/* Topes por plan */
.qrx-caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.qrx-cap { display: grid; align-content: start; gap: 2px; padding: 24px; border: 1px solid #eceef5; border-radius: 22px; background: #fff; }
.qrx-cap__plan { justify-self: start; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: #e8f1ff; color: #1d5bd8; font-size: 12px; font-weight: 800; }
.qrx-cap--pro .qrx-cap__plan { background: #ffe8f2; color: #d61f6a; }
.qrx-cap--biz .qrx-cap__plan { background: #efe9ff; color: #5a22e9; }
.qrx-cap--ent { border-color: #2563eb; background: #2563eb; color: #fff; }
.qrx-cap--ent .qrx-cap__plan { background: rgb(255 255 255 / 14%); color: #fff; }
.qrx-cap > b { font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -1px; }
.qrx-cap--ent > b { font-size: 32px; line-height: 1.37; letter-spacing: -.5px; }
.qrx-cap > small { color: #5b6280; font-size: 14px; }
.qrx-cap--ent > small { color: rgb(255 255 255 / 70%); }
.qrx-dots { display: flex; flex-wrap: wrap; gap: 5px; height: 52px; margin-top: 16px; align-content: flex-start; }
.qrx-dots i { width: 14px; height: 14px; border-radius: 4px; background: #2563eb; }
.qrx-dots--5 i { background: #FB2B7D; }
.qrx-dots--100 {
  background: radial-gradient(circle, #6D4AFF 2.2px, transparent 2.6px) 0 0 / 10.4px 10.4px;
  max-width: 104px;
}
.qrx-dots--ent {
  background: radial-gradient(circle, rgb(255 255 255 / 55%) 2.2px, transparent 2.6px) 0 0 / 10.4px 10.4px;
  -webkit-mask: linear-gradient(90deg, #000 40%, transparent);
  mask: linear-gradient(90deg, #000 40%, transparent);
}
.qrx-down {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 18px;
  padding: 24px 28px;
  border-radius: 22px;
  background: #f6f7fb;
}
.qrx-down__copy { flex: 1 1 360px; }
.qrx-down h3 { margin: 0; font-size: 20px; font-weight: 800; }
.qrx-down p { margin: 6px 0 0; color: #5b6280; font-size: 15.5px; line-height: 1.55; }
.qrx-down__row { display: flex; flex-wrap: wrap; gap: 8px; }
.qrx-down__row span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; background: #fff; font-size: 13px; font-weight: 700; box-shadow: inset 0 0 0 1px #e6e8f1; }
.qrx-down__row span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.qrx-down__row .is-off { color: #a3a8bd; }
.qrx-down__row .is-off::before { background: #c9cddc; }

@media (max-width: 1080px) {
  .qrx-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qrx-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qrx-an { gap: 36px; }
  .qrx-break { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .qrx-hero { margin-inline: auto; }
  .qrx-vs { grid-template-columns: minmax(0, 1fr); }
  .qrx-vs__or { justify-self: center; }
  .qrx-an { grid-template-columns: minmax(0, 1fr); }
  .qrx-break { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .qrx-hero { min-height: 590px; }
  .qrx-flyer { left: 50%; top: 52px; width: 230px; margin-left: -115px; }
  .qrx-flyer__qr { width: 148px; height: 148px; }
  .qrx-dest { left: 0; right: 0; bottom: 0; width: auto; }
  .qrx-hero__scans { right: 0; top: 0; transform: scale(.9); transform-origin: right top; }
  .qrx-vs__c { padding: 20px; }
  .qrx-vs__flow { grid-template-columns: 72px 18px minmax(0, 1fr); padding: 12px; gap: 8px; }
  .qrx-vs__qr { width: 72px; height: 72px; }
  .qrx-uses,
  .qrx-caps,
  .qrx-break { grid-template-columns: minmax(0, 1fr); }
  .qrx-tbl__h,
  .qrx-tbl__r { grid-template-columns: minmax(0, 1fr) 34px 58px; }
  .qrx-tbl__h > span:nth-child(2),
  .qrx-tbl__u { display: none; }
  .qrx-kpis b { font-size: 16px; }
  .qrx-down { padding: 20px; }
}
