:root {
  --bg-main: #FAF8F6;
  --primary: #5F4BBC;
  --primary-hover: #4C3AA0;
  --primary-soft: #EEEAFB;
  --text-main: #111827;
  --text-muted: #6B7280;
  --border-subtle: #E5E7EB;

  /* Alias internos de compatibilidad con las tarjetas decorativas del carrusel */
  --azul: var(--primary);
  --azul-2: var(--primary-hover);
  --azul-3: var(--primary);
  --azul-claro: var(--primary-soft);
  --oro: var(--primary);
  --oro-osc: #4C3AA0;
  --fondo: var(--bg-main);
  --tarjeta: #FFFFFF;
  --texto: var(--text-main);
  --texto-2: #374151;
  --suave: var(--text-muted);
  --borde: var(--border-subtle);
  --mal: #991B1B;
  --mal-claro: #FEE2E2;
  --mal-borde: #FCA5A5;
  --fuente: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--fuente);
  color: var(--text-main);
  background-color: var(--bg-main);
  background-image: radial-gradient(650px 500px at 100% 0%, rgba(229, 99, 77, 0.08) 0%, transparent 70%);
  background-repeat: no-repeat;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
.oculto { display: none !important; }

/* ---------- Layout Principal ---------- */
.inicio {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  background-color: var(--bg-main);
  background-image: radial-gradient(750px 550px at 100% 0%, rgba(229, 99, 77, 0.08) 0%, transparent 70%);
  background-repeat: no-repeat;
}
.inicio-hero {
  position: relative;
  padding: clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: radial-gradient(800px 480px at 12% 8%, rgba(229, 99, 77, 0.06) 0%, transparent 62%);
}

/* ---------- 3. Header y Brand (Isotipo + Logotipo) ---------- */
.inicio-marca, .brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--fuente);
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1;
  width: max-content;
}
.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: auto;
  padding: 0;
  background: transparent;
  color: var(--primary);
  flex-shrink: 0;
  user-select: none;
}
.brand-icon svg { height: 100%; width: auto; display: block; }
.inicio-marca .marca-ek, .brand-text {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  font-size: 22px;
}
.inicio-marca .marca-ek i, .brand-text i {
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}

.inicio-badge-que-es {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--primary, #6B53D1) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary, #6B53D1) 25%, transparent);
  color: var(--text-main, #1c2430);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  width: max-content;
  transition: background 0.18s ease, transform 0.15s ease;
}
.inicio-badge-que-es:hover {
  background: color-mix(in srgb, var(--primary, #6B53D1) 18%, transparent);
  transform: translateY(-1px);
}

/* ---------- 4. Sección Hero y Carrusel ---------- */
.slide-h {
  margin: clamp(16px, 3.5vh, 36px) 0 12px;
  font-size: clamp(26px, 3.8vw, 48px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 14.5em;
  color: var(--text-main);
}
.slide-h em { font-style: normal; color: var(--primary); }
.inicio-sub { margin: 0; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.5; color: var(--text-muted); max-width: 31em; }
.inicio-sub b { color: var(--texto-2); font-weight: 600; }

/* ---------- Arte (solo CSS, liviano) ---------- */
.arte { position: relative; flex: none; width: min(100%, 640px); height: auto; padding-top: 265px; margin-top: 16px; }
.arte > * { position: absolute; }
.arte-boleta { left: 0; top: 6px; width: min(290px, 48%); background: #fff; border-radius: 22px; padding: 12px; box-shadow: 0 18px 40px rgba(107, 83, 209, .14); transform: rotate(-4deg); animation: flota 7s ease-in-out infinite; }
.boleta-cab { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-bottom: 6px; }
.boleta-cab i { font-style: normal; text-align: center; font-weight: 800; color: #fff; background: var(--primary); border-radius: 9px; padding: 7px 0; font-size: 16px; }
.boleta-grilla { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.boleta-grilla span { text-align: center; font-weight: 700; font-size: 15px; padding: 9px 0; border-radius: 9px; background: #F3F4F6; color: #1F2937; }
.boleta-grilla .m { background: var(--primary); color: #FFFFFF; }
.boleta-grilla .libre { background: var(--primary-hover); color: #fff; }

.arte-post { left: 52%; top: 0; width: min(230px, 40%); background: #fff; border-radius: 20px; padding: 12px; box-shadow: 0 18px 40px rgba(107, 83, 209, .14); transform: rotate(3deg); animation: flota 8s ease-in-out -2s infinite; }
.post-fila { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.post-fila > div { flex: 1; }
.post-fila u { display: block; height: 8px; border-radius: 6px; background: #E5E7EB; margin: 3px 0; }
.post-fila u.corta { width: 55%; }
.post-foto { height: 110px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), #6f4bd8 60%, #e0558f); display: grid; place-items: center; }
.post-foto span { color: #fff; font-weight: 800; font-size: 24px; letter-spacing: .04em; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.post-reac { display: flex; gap: 6px; margin-top: 10px; }
.post-reac span { background: #F3F4F6; border-radius: 999px; padding: 3px 9px; font-size: 14px; }

.av { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 15px; border: 3px solid #fff; flex: none; }
.a1 { background: #4C3AA0; } .a2 { background: #5A44BE; } .a3 { background: #2f9e6b; } .a4 { background: #8a55d8; } .a5 { background: var(--primary); color: #fff; }
.arte-gente { left: 12%; bottom: 8%; display: flex; }
.arte-gente .av { width: 54px; height: 54px; font-size: 20px; margin-left: -12px; box-shadow: 0 8px 18px rgba(107, 83, 209, .2); }
.arte-gente .av:first-child { margin-left: 0; }
.arte-burbuja { left: 30%; bottom: 26%; background: var(--primary); color: #fff; font-weight: 700; padding: 12px 18px; border-radius: 20px 20px 20px 6px; box-shadow: 0 14px 30px rgba(107, 83, 209, .25); font-size: 15px; animation: flota 6s ease-in-out -1s infinite; }
.arte-corazon { right: 14%; bottom: 14%; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ff5a6e, #e0245e); color: #fff; font-size: 38px; box-shadow: 0 16px 30px rgba(224, 36, 94, .35); animation: late 2.4s ease-in-out infinite; }

/* Píldoras de características (Chips) con iconos SVG Lucide */
.arte-chips {
  position: static !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
  z-index: 2;
  margin-top: 16px;
}
.arte-chip {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(107, 83, 209, 0.18);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  white-space: nowrap;
  animation: flota 7s ease-in-out infinite;
}
.arte-chip svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}
@keyframes flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes late { 0%, 100% { scale: 1; } 50% { scale: 1.08; } }
@media (min-width: 561px) { .arte-burbuja, .arte-gente, .arte-corazon { display: none; } }
@media (prefers-reduced-motion: reduce) { .arte-boleta, .arte-post, .arte-burbuja, .arte-corazon, .arte-chip { animation: none; } }

/* ---------- Controles del Carrusel (solo indicadores sutiles) ---------- */
.slides {
  flex: 1;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  margin: 0 calc(-1 * clamp(20px, 4vw, 48px));
  outline: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  padding: 0 clamp(20px, 4vw, 48px);
}
.slides-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0 4px;
}
.puntos { display: flex; align-items: center; gap: 0; }
.punto {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: width .3s cubic-bezier(0.22, 1, 0.36, 1);
}
.punto::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 999px;
  background: #D1D5DB;
  transition: background-color .3s ease, inset .3s cubic-bezier(0.22, 1, 0.36, 1);
}
.punto[aria-selected="true"] {
  width: 34px;
}
.punto[aria-selected="true"]::before {
  inset: 9px 5px;
  background: var(--primary);
}
.puntos .punto:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- 5. Tarjeta de Login (Card Principal) ---------- */
.inicio-panel {
  border-left: 1px solid rgba(229, 231, 235, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px clamp(20px, 4vw, 44px);
  gap: 16px;
  background: transparent;
}
.login-caja {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 24px 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 40px -15px rgba(17, 24, 39, 0.07), 0 0 1px 1px rgba(17, 24, 39, 0.03);
}
.login-cab { display: flex; flex-direction: column; gap: 4px; margin-bottom: 2px; }
.login-caja h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.login-sub {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

/* Labels e Inputs */
.campo { display: flex; flex-direction: column; }
.campo-cab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.campo-cab label,
label.campo-cab {
  margin: 0;
  cursor: pointer;
}
.campo-cab span {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-transform: none;
  letter-spacing: -0.005em;
}
.link-olvide {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color .15s;
}
.link-olvide:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}
.campo-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.campo-wrap input {
  width: 100%;
  height: 48px;
  font: inherit;
  font-size: 15px;
  padding: 0 16px 0 42px;
  border-radius: 12px;
  background: #F9FAFB;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  outline: none;
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.campo-wrap input[name="password"],
.campo-wrap input#inpPassword {
  padding-right: 44px;
}
.campo-wrap input::placeholder {
  color: #9CA3AF;
  font-weight: 400;
}
.campo-wrap input:focus {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(107, 83, 209, 0.12);
}

/* Iconos izquierdos en inputs */
.campo-wrap::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-color: #9CA3AF;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
  transition: background-color .15s;
  z-index: 1;
}
.campo-wrap:focus-within::before {
  background-color: var(--primary);
}
.campo-wrap:has(input[name="identificador"])::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}
.campo-wrap:has(input[name="password"])::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}
.campo-wrap:has(input[name="codigo"])::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

/* Botón mostrar/ocultar contraseña */
.btn-ojo {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9CA3AF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color .15s, background-color .15s;
}
.btn-ojo:hover {
  color: #4B5563;
  background: rgba(0, 0, 0, 0.04);
}
.btn-ojo:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

/* ---------- 6. Jerarquía Correcta de Botones (CTA) ---------- */
.btn-principal, .btn-sec {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  height: 48px;
  border-radius: 12px;
  padding: 0 18px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

/* Acción Primaria del Formulario: "Entrar →" */
.btn-principal {
  border: 0;
  background: linear-gradient(180deg, #C0392B 0%, #5F4BBC 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(107, 83, 209, 0.25);
  margin-top: 2px;
}
.btn-principal:hover {
  background: linear-gradient(180deg, #5F4BBC 0%, #4C3AA0 100%);
  box-shadow: 0 6px 16px rgba(107, 83, 209, 0.32);
}
.btn-principal:active {
  transform: scale(0.99);
}
.btn-principal:disabled {
  opacity: .7;
  cursor: wait;
}

/* Separador "¿Nuevo en Eikove?" */
.sep {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
  margin: 4px 0;
}
.sep::before, .sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

/* Acción Secundaria Destacada: "Crear mi cuenta gratis" */
.btn-sec {
  background: var(--primary-soft);
  border: 1px solid rgba(107, 83, 209, 0.3);
  color: #5F4BBC;
}
.btn-sec svg {
  color: var(--primary);
  flex-shrink: 0;
}
.btn-sec:hover {
  background: #FADFD9;
  border-color: rgba(107, 83, 209, 0.45);
  color: #4C3AA0;
}
.btn-sec:active {
  transform: scale(0.99);
}

/* Enlace "Ver Tienda" (sin cuenta) */
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: center;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color .15s, background-color .15s;
}
.btn-link svg {
  flex-shrink: 0;
  opacity: 0.85;
}
.btn-link:hover {
  color: var(--text-main);
  background: rgba(17, 24, 39, 0.04);
}

.error {
  background: var(--mal-claro);
  color: var(--mal);
  border: 1px solid var(--mal-borde);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}
/* Trampa honeypot: invisible pero presente en el DOM (nunca display:none). */
.hp, .eikove-hp-jar { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; z-index: -1; }
.inicio-pie { margin: 0; text-align: center; font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ---------- Tarjetas del carrusel: Tienda digital y Sistema (SaaS) ---------- */
.tienda { padding: 10px; }
.tienda-cab { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--primary); font-size: 14px; margin-bottom: 8px; }
.tienda-cab .av { width: 30px; height: 30px; font-size: 13px; border-width: 2px; }
.tienda-cab i { font-style: normal; color: #fff; background: var(--primary); border-radius: 50%; font-size: 10px; padding: 1px 4px; vertical-align: 1px; }
.tienda-grilla { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.prod { border-radius: 12px; padding: 8px 6px 6px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.prod span { font-size: 30px; line-height: 1.1; }
.prod small { font-size: 11px; font-weight: 800; background: #fff; border-radius: 99px; padding: 2px 6px; color: var(--primary); align-self: center; }
.p1 { background: #e0ecff; } .p2 { background: #ffe9d1; } .p3 { background: #e7defa; } .p4 { background: #dcf4e6; }
.btn-wa { margin-top: 8px; background: #1fa855; color: #fff; text-align: center; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 8px 6px; }
.btn-wa.chico { margin-top: 0; font-size: 12px; padding: 6px; }
.pedido-nota { background: #F3F4F6; border-radius: 14px; padding: 10px; margin-bottom: 8px; display: grid; gap: 2px; justify-items: start; }
.pedido-nota span { font-size: 26px; } .pedido-nota b { font-size: 15px; color: var(--primary); } .pedido-nota small { font-size: 11.5px; color: var(--text-muted); }

.pasos { padding: 12px; display: grid; gap: 7px; }
.paso { display: flex; align-items: center; gap: 9px; background: #F3F4F6; border-radius: 12px; padding: 9px 10px; font-weight: 700; font-size: 13.5px; color: var(--text-main); }
.paso i { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #E5E7EB; color: var(--text-main); font-size: 12px; flex: none; }
.paso span { flex: 1; } .paso em { font-style: normal; color: #1b7f4b; }
.paso.ok i { background: #1fa855; color: #fff; }
.paso.act { background: var(--primary-soft); box-shadow: inset 0 0 0 1.5px var(--primary); } .paso.act i { background: var(--primary); color: #fff; }
.barra { height: 8px; border-radius: 99px; background: #E5E7EB; overflow: hidden; } .barra u { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--primary), #F59E0B); border-radius: 99px; }
.btn-crear { background: var(--primary); color: #fff; text-align: center; font-weight: 800; font-size: 13.5px; border-radius: 999px; padding: 9px; }
.flyer { padding: 10px; background: linear-gradient(160deg, var(--primary), #2b3f9a 60%, #6f4bd8); color: #fff; text-align: center; display: grid; gap: 8px; justify-items: center; }
.flyer-cab { font-weight: 900; font-size: 22px; line-height: 1.05; letter-spacing: .03em; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.flyer-fecha { font-size: 12px; font-weight: 700; background: #FFFFFF; color: var(--primary-hover); border-radius: 99px; padding: 3px 10px; }
.qr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: #fff; padding: 7px; border-radius: 10px; width: 62px; }
.qr i { height: 14px; background: var(--text-main); border-radius: 3px; } .qr i:nth-child(2), .qr i:nth-child(4), .qr i:nth-child(8) { background: #fff; box-shadow: inset 0 0 0 2px var(--text-main); } .qr i:nth-child(5) { background: var(--primary); }
.sello-azul { background: linear-gradient(135deg, var(--primary), var(--primary-hover)); box-shadow: 0 16px 30px rgba(107, 83, 209, .3); }
.sello-oro { background: linear-gradient(135deg, #ffc15c, #4C3AA0); box-shadow: 0 16px 30px rgba(201, 125, 16, .35); }

/* ---------- 2. Top Banner (Promoción de Bingo/Sorteos) ---------- */
.inicio-hero { grid-column: 1; grid-row: 1; }
.inicio-panel { grid-column: 2; grid-row: 1; }
.inicio-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  background: #FFF5F3;
  border-bottom: 1px solid rgba(107, 83, 209, 0.15);
}
.cta-t {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #4C3AA0;
  line-height: 1.3;
}
.cta-btn {
  font: inherit;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--primary);
  color: #FFFFFF;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color .15s;
}
.cta-btn:hover { background: var(--primary-hover); }

@media (min-width: 961px) {
  .inicio-cta {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: stretch;
    margin: 22px clamp(20px, 4vw, 44px) 0;
    border: 1px solid rgba(107, 83, 209, 0.15);
    border-radius: 14px;
  }
}

/* ---------- Modal "Sistematizá tu bingo" ---------- */
.org { width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--border-subtle); border-radius: 24px; background: #FFFFFF; color: var(--text-main); box-shadow: 0 24px 60px rgba(17, 24, 39, .18); overflow: auto; font-family: var(--fuente); }
.org::backdrop { background: rgba(17, 24, 39, .45); }
.org-cab { display: flex; justify-content: space-between; gap: 12px; padding: 24px 26px 16px; background: linear-gradient(180deg, #FAF8F6, #FFFFFF); border-bottom: 1px solid var(--border-subtle); }
.org-eyebrow { display: block; color: var(--text-muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.org-cab h2 { margin: 4px 0 6px; color: var(--text-main); font-size: clamp(22px, 3vw, 28px); letter-spacing: -.01em; }
.org-cab p { margin: 0; color: var(--text-muted); font-size: 15px; }
.org-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-subtle); background: #FFFFFF; color: var(--texto-2); cursor: pointer; font-size: 15px; }
.org-cuerpo { padding: 16px 26px 24px; }
.org-bloques { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.org-bloque { padding: 16px; border: 1px solid var(--border-subtle); border-radius: 18px; background: #FFFFFF; }
.org-bloque h3 { margin: 0 0 10px; color: var(--text-main); font-size: 16px; display: flex; align-items: center; gap: 8px; }
.org-bloque h3 span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--primary-soft); font-size: 16px; }
.org-bloque ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.org-bloque li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.35; color: var(--texto-2); }
.org-bloque li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #1f9d60; font-weight: 800; }
.org-precios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; text-align: center; }
.org-precios > div { padding: 12px 6px; border: 1px solid var(--border-subtle); border-radius: 16px; background: #F9FAFB; }
.org-precios .oro { background: var(--primary-soft); border-color: rgba(107, 83, 209, 0.25); }
.org-precios b { display: block; color: var(--text-main); font-size: 22px; }
.org-precios .oro b { color: var(--primary); }
.org-precios span { font-size: 12.5px; font-weight: 600; color: var(--text-muted); }
.org-nota { margin: 12px 0 0; text-align: center; color: var(--text-muted); font-size: 12.5px; }
.org-acc { display: flex; gap: 10px; margin-top: 16px; justify-content: flex-end; }
.org-ok, .org-sec { font: inherit; font-weight: 700; font-size: 15px; border-radius: 12px; padding: 13px 22px; text-align: center; text-decoration: none; cursor: pointer; }
.org-ok { flex: 1; background: linear-gradient(180deg, #E5634D 0%, #D94E38 100%); color: #FFFFFF; border: 0; box-shadow: 0 4px 12px rgba(107, 83, 209, .24); }
.org-ok:hover { background: var(--primary-hover); }
.org-sec { background: #FFFFFF; color: #374151; border: 1px solid var(--border-subtle); }
@media (max-width: 700px) {
  .org-bloques { grid-template-columns: 1fr; }
  .org-cab { padding: 18px 18px 12px; } .org-cuerpo { padding: 12px 18px 20px; }
  .org-acc { flex-direction: column-reverse; } .org-sec { padding: 11px; }
}

/* ---------- Mobile-First y Tablet ---------- */
@media (max-width: 960px) {
  html, body {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .inicio {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 100dvh;
    height: auto;
  }
  .inicio-cta {
    grid-column: 1;
    grid-row: auto;
    order: 0;
    margin: 0;
    border-radius: 0;
    position: sticky;
    top: 0;
    z-index: 20;
    align-self: start;
  }
  .inicio-hero {
    grid-column: 1;
    grid-row: auto;
    order: 1;
    padding: 16px 20px 6px;
  }
  .inicio-panel {
    grid-column: 1;
    grid-row: auto;
    order: 2;
    border-left: 0;
    padding: 12px 16px 24px;
    gap: 12px;
  }
  .arte { padding-top: 250px; }
}

@media (max-width: 560px) {
  /* Todo el ingreso entra en una pantalla de celular sin deslizar. */
  .inicio-hero { padding: 8px 16px 0; }
  .inicio-badge-que-es { margin-top: 4px; padding: 4px 10px; font-size: 12px; }
  .brand-icon { height: 24px; }
  .inicio-marca, .brand-logo, .inicio-marca .marca-ek, .brand-text { font-size: 20px; }
  .slide-h {
    font-size: 21px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 6px 0 0;
  }
  .slides .inicio-sub { display: none; }
  .arte { width: auto; padding-top: 0; margin-top: 4px; }
  .arte > *:not(.arte-chips) { display: none; }
  .arte-chips {
    margin-top: 4px;
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
  }
  .arte-chip {
    position: static;
    animation: none;
    padding: 4px 10px;
    font-size: 11.5px;
  }
  .arte-chip:nth-child(n+3) { display: none; }
  .slides-nav { padding: 6px 0 0; }
  .slides { flex: none; }
  .inicio-panel { padding: 4px 14px 8px; gap: 6px; }
  .login-caja { padding: 14px 16px; gap: 8px; border-radius: 18px; }
  .login-cab { margin-bottom: 0; }
  .login-caja h2 { font-size: 1.1rem; }
  .login-sub { display: none; }
  .campo { gap: 3px; }
  .campo-cab { font-size: 12.5px; }
  .campo-wrap input { height: 42px; font-size: 14.5px; }
  .btn-principal, .btn-sec { height: 44px; font-size: 14.5px; }
  .sep { margin: 0; font-size: 12px; }
  .btn-link { font-size: 12.5px; }
  .inicio-pie { display: none; }
  .inicio-cta { padding: 6px 14px; }
}

@media (max-width: 560px) and (max-height: 760px) {
  .slides-nav { display: none; }
  .slide-h { font-size: 19px; }
  .login-caja { padding: 12px 14px; gap: 7px; }
  .campo-wrap input { height: 40px; }
  .btn-principal, .btn-sec { height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .slides { scroll-behavior: auto; } }

/* =====================================================================
   CELULAR SIN BARRA DE DESPLAZAMIENTO
   Pedido del proveedor: en el celular no se muestra la barra vertical en
   ningún lugar (perfil, paneles, secciones, menús, modales, tablas).
   Se sigue deslizando con el dedo, la rueda y el teclado: solo se oculta
   el indicador, nunca el desplazamiento.
   ===================================================================== */
@media (max-width: 860px) {
  html,
  body,
  body * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  body *::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }
}

/* ===== TEMA DE LA PLATAFORMA (paleta predeterminada o la de la persona) ===== */
body[data-tema-activo] {
  --bg-main: var(--perfil-bg);
  --primary: var(--perfil-accent);
  --primary-hover: var(--perfil-accent);
  --primary-soft: var(--perfil-acento-tenue, var(--perfil-superficie));
  --text-main: var(--perfil-texto);
  --text-muted: var(--perfil-texto-suave, var(--perfil-texto));
  --border-subtle: var(--perfil-borde);
  --tarjeta: var(--perfil-card-bg, var(--perfil-superficie));
  --texto: var(--perfil-texto);
  --texto-2: var(--perfil-texto);
  background-color: var(--perfil-bg);
  background-image: none;
  color: var(--perfil-texto);
}
body[data-tema-activo] .login-caja,
body[data-tema-activo] .campo-wrap input { background: var(--perfil-card-bg, var(--perfil-superficie)); color: var(--perfil-texto); border-color: var(--perfil-borde); }
body[data-tema-activo] .campo-wrap input::placeholder { color: var(--perfil-texto-suave, var(--perfil-texto)); opacity: .8; }
body[data-tema-activo] .btn-principal,
body[data-tema-activo] .btn-crear { color: var(--perfil-acento-texto, #fff); background: var(--perfil-accent); }
body[data-tema-activo] a, body[data-tema-activo] .link { color: var(--perfil-accent-texto, var(--perfil-accent)); }
body[data-tema-activo] .inicio-cta { background: var(--perfil-acento-tenue, var(--perfil-superficie)); border-bottom-color: var(--perfil-borde); }
body[data-tema-activo] .cta-t { color: var(--perfil-texto); }
body[data-tema-activo] .cta-btn { background: var(--perfil-accent); color: var(--perfil-acento-texto, #fff); }
/* Modal «Sistematizá tu bingo» y tarjetas decorativas con el tema */
body[data-tema-activo] .org { background: var(--perfil-card-bg, var(--perfil-superficie)); color: var(--perfil-texto); border-color: var(--perfil-borde); }
body[data-tema-activo] .org-cab { background: var(--perfil-superficie, var(--perfil-card-bg)); border-bottom-color: var(--perfil-borde); }
body[data-tema-activo] .org-bloque, body[data-tema-activo] .org-x, body[data-tema-activo] .org-sec { background: var(--perfil-superficie, var(--perfil-card-bg)); color: var(--perfil-texto); border-color: var(--perfil-borde); }
body[data-tema-activo] .org-precios > div { background: var(--perfil-superficie, var(--perfil-card-bg)); border-color: var(--perfil-borde); }
body[data-tema-activo] .org-precios .oro { background: var(--perfil-acento-tenue, var(--perfil-superficie)); }
body[data-tema-activo] .org-ok { background: var(--perfil-accent); color: var(--perfil-acento-texto, #fff); box-shadow: none; }
body[data-tema-activo] .org-ok:hover { filter: brightness(1.08); }
body[data-tema-activo] .org-ok, body[data-tema-activo] .btn-crear, body[data-tema-activo] .cta-btn { text-decoration: none; }
/* Las ilustraciones del carrusel son tarjetas claras fijas: conservan su propio texto oscuro */
.arte-boleta, .arte-post, .qr, .flyer-fecha, .prod small { --text-main: #111827; --text-muted: #6B7280; --texto-2: #374151; --border-subtle: #E5E7EB; color: #111827; }
.inicio-pie a { color: var(--primary); font-weight: 700; text-decoration: underline; }
/* Texto para buscadores y lectores de pantalla (en celular el pie está oculto para que todo entre en una pantalla) */
.sr-solo { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =====================================================================
   BIENVENIDA EN CELULAR · versión limpia y moderna (≤ 640 px)
   Un solo mensaje (titular), un solo formulario, una acción principal.
   Sin franja de organizadores arriba, sin chips ni puntos de carrusel.
   ===================================================================== */
@media (max-width: 640px) {
  body .inicio {
    display: flex; flex-direction: column; min-height: 100dvh;
    background-image: radial-gradient(520px 340px at 50% -8%, color-mix(in srgb, var(--primary) 16%, transparent) 0%, transparent 72%);
  }
  body .inicio-hero { padding: 20px 24px 0; gap: 0; }
  body .inicio-marca, body .brand-logo { justify-content: center; }
  body .inicio-marca .brand-icon, body .brand-icon { height: 30px; }
  body .inicio-marca .marca-ek, body .brand-text { font-size: 24px; }
  /* «¿Qué es Eikove.App?» pasa a ser un enlace discreto */
  body .inicio-badge-que-es { margin: 8px auto 0; padding: 0; background: none; border: 0; box-shadow: none; font-size: 12.5px; color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
  body .inicio-badge-que-es .icono-que-es { display: none; }
  /* Titular fijo (sin carrusel) */
  body .slides { overflow: visible; display: block; }
  body .slide { display: none !important; }
  body .slide:first-child { display: block !important; min-width: 0; flex: none; }
  body .slide-h { font-size: 30px; line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; text-align: center; margin: 14px 0 0; }
  body .slide-h em { font-style: normal; color: var(--primary); }
  body .arte, body .slides-nav { display: none !important; }
  /* Tarjeta de ingreso */
  body .inicio-panel { padding: 16px 20px 4px; gap: 8px; }
  body .login-caja { padding: 18px 18px 14px; gap: 11px; border-radius: 26px; border: 1px solid var(--border-subtle); box-shadow: 0 18px 40px -18px rgba(15, 23, 42, .22); }
  body .login-cab h2 { font-size: 17px; font-weight: 800; margin: 0; text-align: left; }
  body .login-sub { display: none; }
  body .campo { gap: 5px; }
  body .campo-cab { font-size: 12.5px; font-weight: 700; }
  body .campo-wrap input { height: 48px; border-radius: 14px; font-size: 15.5px; }
  body .btn-principal { height: 50px; border-radius: 14px; font-size: 16px; font-weight: 800; box-shadow: 0 10px 22px -10px var(--primary); }
  body .sep { margin: 2px 0; font-size: 12px; color: var(--text-muted); }
  body .btn-sec { height: 46px; border-radius: 14px; font-size: 15px; font-weight: 700; }
  body .btn-link { font-size: 13.5px; justify-content: center; }
  body .inicio-pie { display: none; }
  /* Organizadores: al pie, como un enlace más */
  body .inicio-cta, body[data-tema-activo] .inicio-cta { order: 9; margin-top: auto; position: static !important; background: none !important; border: 0 !important; padding: 8px 20px calc(12px + env(safe-area-inset-bottom)); justify-content: center; gap: 8px; }
  body .cta-t, body[data-tema-activo] .cta-t { font-size: 12.5px; color: var(--text-muted); font-weight: 500; }
  body .cta-btn, body[data-tema-activo] .cta-btn { background: none !important; color: var(--primary) !important; padding: 4px 2px; font-weight: 800; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
}

/* =====================================================================
   CELULAR EN HORIZONTAL (poca altura, mucha anchura)
   La ilustración y el titular no entran: queda el ingreso centrado y compacto.
   ===================================================================== */
@media (orientation: landscape) and (max-height: 560px) {
  html:has(.inicio), body:has(.inicio) { height: 100%; overflow: hidden; }
  body .inicio {
    display: flex; flex-direction: column; height: 100dvh; min-height: 0; overflow-y: auto;
    grid-template-columns: minmax(0, 1fr);
    padding: 4px 10px 6px;
  }
  body .inicio-hero { display: none; }
  body .inicio-panel {
    flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center;
    padding: 0; gap: 0; overflow: visible;
  }
  body .login-caja {
    width: min(600px, 100%); padding: 12px 18px 10px; gap: 7px;
    border-radius: 18px; border: 1px solid var(--border-subtle);
    box-shadow: 0 14px 34px -18px rgba(15, 23, 42, .25);
  }
  body .login-cab h2 { font-size: 17px; margin: 0; text-align: left; }
  body .login-sub { display: none; }
  body .campo { gap: 4px; }
  body .campo-cab { font-size: 12px; }
  body .campo-wrap input { height: 40px; border-radius: 12px; font-size: 14.5px; }
  body .btn-principal { height: 42px; border-radius: 12px; font-size: 15px; }
  body .btn-sec { height: 38px; border-radius: 12px; font-size: 13.5px; }
  body .btn-link { font-size: 12.5px; padding: 3px 8px; }
  body .sep { margin: 1px 0; font-size: 11.5px; }
  body .inicio-pie, body .sr-solo { display: none; }
  body .inicio-cta { display: none; }
  body .arte, body .slides, body .slides-nav, body .inicio-badge-que-es { display: none !important; }
  /* Los campos trampa del formulario no ocupan lugar. */
  body .hp, body .eikove-hp-jar { position: absolute; left: -9999px; top: 0; height: 0; overflow: hidden; }
}

/* =====================================================================
   SIN DESPLAZAR: la bienvenida ocupa exactamente la pantalla (PC y celular)
   Lo decorativo se reduce o se oculta según el alto disponible.
   ===================================================================== */
html:has(.inicio), body:has(.inicio) { height: 100%; overflow: hidden; }
/* Normalmente todo entra y no hay nada que desplazar; si el teclado del celular o un mensaje de error quitan altura, el formulario se puede desplazar adentro (nunca queda tapado). */
.inicio { height: 100dvh; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 961px) {
  .inicio { grid-template-rows: minmax(0, 1fr); }
  .inicio-hero { min-height: 0; padding-block: clamp(14px, 3.2vh, 44px); }
  .inicio-panel { min-height: 0; overflow: hidden; }
  .slides { min-height: 0; }
  .slide-h { font-size: clamp(1.9rem, 5.4vh, 3rem); }
}
/* Escritorio con poca altura: la ilustración se achica y, si no entra, se oculta */
@media (min-width: 961px) and (max-height: 859px) { .arte { zoom: .84; } }
@media (min-width: 961px) and (max-height: 759px) { .arte { zoom: .68; } .inicio-sub { font-size: .95rem; margin-top: 8px; } }
@media (min-width: 961px) and (max-height: 659px) { .arte { display: none; } .slides-nav { padding-top: 4px; } }
@media (min-width: 961px) and (max-height: 579px) { .inicio-sub { display: none; } .login-sub { display: none; } }
/* Tablet */
@media (min-width: 641px) and (max-width: 960px) { .inicio-hero { padding-bottom: 0; } }
/* Celular con poca altura */
@media (max-width: 640px) and (max-height: 719px) {
  body .inicio-hero { padding-top: 12px; }
  body .slide-h { font-size: 25px; margin-top: 8px; }
  body .inicio-badge-que-es { margin-top: 4px; }
  body .inicio-panel { padding-top: 10px; }
  body .login-caja { padding: 14px 16px 12px; gap: 8px; }
  body .campo-wrap input { height: 44px; }
  body .btn-principal { height: 46px; }
  body .btn-sec { height: 42px; }
  body .sep { margin: 0; }
}
@media (max-width: 640px) and (max-height: 619px) {
  body .slide-h { font-size: 22px; }
  body .inicio-badge-que-es { display: none; }
  body .login-cab h2 { display: none; }
  body .campo-cab { font-size: 12px; }
}
/* Tablet: la ilustración se achica para que no quede cortada */
@media (min-width: 641px) and (max-width: 960px) { .arte { zoom: .7; margin-top: 4px; } }
@media (min-width: 641px) and (max-width: 960px) and (max-height: 1179px) { .arte { display: none; } }

/* ===== INGRESO MINIMALISTA (2026-11-07): sin recuadro, campos planos con línea, una acción principal y enlaces simples ===== */
body .login-caja {
  background: transparent !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important;
  padding: 0 !important; gap: 20px !important; border-radius: 0 !important; width: 100%; max-width: 380px;
}
body .login-cab { margin: 0 0 4px !important; }
body .login-caja h2 { display: block !important; font-size: 1.7rem !important; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0 !important; text-align: left; }
body .login-caja .login-sub { display: block !important; margin: 6px 0 0; font-size: .95rem; opacity: .7; }
/* campos: sin caja ni íconos, solo una línea; la etiqueta de arriba se oculta (queda el placeholder y para lectores de pantalla) */
body .login-caja .campo { gap: 0; }
body .login-caja .campo-cab > label, body .login-caja label.campo-cab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body .login-caja .campo-cab { display: flex; justify-content: flex-end; min-height: 0; margin: 0 0 2px; }
body .login-caja .campo-wrap::before { display: none !important; }
body .login-caja .campo-wrap input {
  height: 52px; padding: 0 44px 0 2px !important; background: transparent !important; border: 0 !important; border-bottom: 1.5px solid color-mix(in srgb, currentColor 22%, transparent) !important;
  border-radius: 0 !important; box-shadow: none !important; font-size: 1.05rem; transition: border-color .2s;
}
body .login-caja .campo-wrap input:focus { border-bottom-color: var(--perfil-accent, var(--marca, #6B53D1)) !important; outline: none; }
body .login-caja .campo-wrap input::placeholder { opacity: .55; }
body .login-caja .btn-ojo { right: 0; }
body .login-caja .link-olvide { font-size: .85rem; }
/* acción principal: píldora llena */
body .login-caja .btn-principal { height: 54px; border-radius: 999px !important; font-size: 1.05rem; box-shadow: none !important; margin-top: 4px; }
/* secundarias: enlaces limpios, centrados y a la misma altura */
body .login-caja .sep { display: none !important; }
body .login-caja .btn-sec { height: auto; min-height: 44px; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; font-weight: 700; justify-content: center; }
body .login-caja .btn-sec svg { display: none; }
body .login-caja .btn-link { min-height: 40px; justify-content: center; opacity: .85; }
body .login-caja .btn-sec, body .login-caja .btn-link { display: flex; align-items: center; gap: 8px; }
@media (max-width: 640px) { body .login-caja { gap: 14px !important; } body .login-caja h2 { font-size: 1.45rem !important; } body .login-caja .campo-wrap input { height: 48px; } body .login-caja .btn-principal { height: 50px; } body .login-caja .login-sub { display: none !important; } }

/* Barras de desplazamiento finas con el color del texto (no la barra genérica) */
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, currentColor 34%, transparent) transparent; }

/* Áreas táctiles de al menos 44 px (Lighthouse: «Las áreas táctiles no tienen un tamaño o un espaciado suficientes») */
.inicio-badge-que-es, .link-olvide, .sr-solo a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.sr-solo a { padding: 0 6px; }
@media (max-width: 640px) { body .inicio-badge-que-es { margin: 0 auto; } body .login-caja .link-olvide { padding: 0 8px; } }

/* Tablet en vertical: el panel conserva su proporción de celular y se escala (zoom) para ocupar el ancho, sin estirarse ni deformarse. */
@media (min-width: 520px) and (max-width: 960px) and (orientation: portrait) {
  .inicio > * { zoom: 1.3; }
}
@media (min-width: 600px) and (max-width: 960px) and (orientation: portrait) { .inicio > * { zoom: 1.5; } }
@media (min-width: 700px) and (max-width: 960px) and (orientation: portrait) { .inicio > * { zoom: 1.7; } }
@media (min-width: 820px) and (max-width: 960px) and (orientation: portrait) { .inicio > * { zoom: 1.9; } }
/* si la pantalla es baja, se limita para que todo siga entrando */
@media (min-width: 520px) and (max-width: 960px) and (orientation: portrait) and (max-height: 900px) { .inicio > * { zoom: 1.3; } }
@media (min-width: 520px) and (max-width: 960px) and (orientation: portrait) and (max-height: 740px) { .inicio > * { zoom: 1.1; } }

/* «Crear mi cuenta gratis» es un botón bien visible, no un enlace suelto. */
body .login-caja .btn-sec { min-height: 50px !important; height: auto !important; padding: 0 16px !important; border: 2px solid var(--marca, #6B53D1) !important; border-radius: 999px !important; color: var(--azul, #5F4BBC) !important; font-size: 16px !important; font-weight: 800 !important; }
body .login-caja .btn-sec svg { display: block !important; }
body.contrata .slide-h, body.contrata .inicio-sub, body.contrata .arte, body.contrata .slides-nav, body.contrata .login-sub, body.contrata .sep { display: none !important; }
body.contrata .login-caja a.btn-sec { background: var(--marca, #6B53D1) !important; color: #fff !important; }
body.contrata .ya-tengo { margin: 18px 0 4px; text-align: center; font-weight: 700; }
@media (min-width: 961px) { html body.contrata .inicio.inicio { display: flex !important; flex-direction: column !important; align-items: center !important; overflow-y: auto !important; } html body.contrata .inicio-hero.inicio-hero { flex: 0 0 auto !important; width: 100% !important; height: auto !important; min-height: 0 !important; } html body.contrata .inicio-panel.inicio-panel { flex: 0 0 auto !important; width: min(460px, 100%) !important; height: auto !important; min-height: 0 !important; border: 0 !important; background: transparent !important; } }

/* Confirmación de ingreso: aprobación en otro dispositivo junto al campo del código. */
.conf-caja{display:grid;gap:6px;margin:2px 0 10px;padding:12px;border:1px solid var(--borde,#d8dce6);border-radius:14px;text-align:center}
.conf-tit{margin:0;font-weight:700;font-size:.95rem}
.conf-ayuda{margin:0;font-size:.85rem;opacity:.8}
.conf-num{font:800 2.4rem/1.1 system-ui,sans-serif;letter-spacing:.08em;color:var(--marca,#6b53d1)}
.conf-estado{font-size:.85rem;font-weight:600}
.conf-reenviar{justify-self:center;min-height:44px;padding:0 12px;border:0;background:transparent;color:inherit;text-decoration:underline;font:inherit;font-size:.85rem;cursor:pointer}

/* Ingreso con QR (solo computadora) */
.panel-qr { text-align: center; }
.panel-qr.oculto { display: none; }
.qr-marco { position: relative; margin: 6px auto; width: 212px; height: 212px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.qr-marco canvas { width: 200px; height: 200px; display: block; }
.qr-vencido { position: absolute; inset: 0; margin: 0; border-radius: 14px; background: rgba(255,255,255,.94); display: grid; place-content: center; gap: 6px; font-weight: 600; }
.qr-vencido.oculto { display: none; }
.qr-codigo { margin: 8px 0 2px; font-size: 1.05rem; } .qr-codigo b { font-size: 1.5rem; letter-spacing: .25em; }
.qr-pasos { text-align: left; margin: 6px auto 10px; padding-left: 20px; max-width: 320px; font-size: .86rem; line-height: 1.35; }
@media (max-height: 760px) { .qr-marco { width: 172px; height: 172px; } .qr-marco canvas { width: 160px; height: 160px; } .qr-pasos { display: none; } }
body .login-caja.panel-qr h2 { text-align: center !important; width: 100%; margin-left: 0; margin-right: 0; }
.qr-nombre { display: grid; gap: 4px; text-align: left; margin: 8px auto 0; max-width: 320px; font-size: .82rem; font-weight: 600; }
.qr-nombre input { font: inherit; font-weight: 500; padding: 9px 12px; border: 1.5px solid #d8d2f1; border-radius: 12px; width: 100%; }
@media (max-height: 760px) { .qr-nombre span { display: none; } }

/* Botón «Entrar con el QR»: mismo estilo que «Crear mi cuenta gratis» (píldora con contorno), más liviano. */
body .login-caja .btn-qr { width: 100%; min-height: 50px; padding: 0 16px; border: 2px solid var(--marca, #6B53D1); border-radius: 999px; background: transparent; color: var(--azul, #5F4BBC); font-size: 16px; font-weight: 800; opacity: 1; cursor: pointer; transition: background-color .15s, transform .1s; }
body .login-caja .btn-qr svg { width: 18px; height: 18px; opacity: 1; }
body .login-caja .btn-qr:hover { background: color-mix(in srgb, var(--marca, #6B53D1) 10%, transparent); color: var(--azul, #5F4BBC); }
body .login-caja .btn-qr:active { transform: scale(.99); }
body .login-caja .btn-qr:focus-visible { outline: 2px solid var(--azul, #5F4BBC); outline-offset: 2px; }
body .login-caja .btn-qr:not([hidden]) { display: flex; }
body .login-caja .btn-qr[hidden] { display: none; }
