:root {
  --azul: #E25C50; --azul-2: #D14B3F; --azul-3: #E25C50; --azul-claro: #FFF1F2;
  --oro: #E25C50; --oro-osc: #991B1B;
  --fondo: #F8FAFC; --tarjeta: #FFFFFF;
  --texto: #0F172A; --texto-2: #1E293B; --suave: #64748B; --borde: #E2E8F0;
  --mal: #991B1B; --mal-claro: #FEE2E2; --mal-borde: #FCA5A5;
  --fuente: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--fuente); color: var(--texto); background: var(--fondo);
  -webkit-text-size-adjust: 100%;
}
.oculto { display: none !important; }

.inicio { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) 460px; background: var(--fondo); }
.inicio-hero { position: relative; padding: clamp(20px, 4vw, 48px); display: flex; flex-direction: column; overflow: hidden;
  background: radial-gradient(900px 500px at 15% 10%, #FFF1F2 0%, transparent 60%), radial-gradient(700px 500px at 95% 100%, #F1F5F9 0%, transparent 55%); }
.inicio-marca, .brand-logo { display: inline-flex; align-items: center; gap: 13px; color: var(--texto); text-decoration: none; font-family: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-weight: 700; letter-spacing: -0.03em; font-size: clamp(24px, 2.4vw, 29px); line-height: 1; width: max-content; }
.brand-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 44px; padding: 0 6px; border-radius: 12px; background: var(--azul); color: #FFFFFF; box-shadow: 0 4px 12px rgba(226, 92, 80, .3); flex-shrink: 0; user-select: none; }
.brand-icon svg { width: 100%; height: 100%; display: block; }
.inicio-marca .marca-ek, .brand-text { display: inline-flex; align-items: baseline; gap: 0; font-weight: 700; }
.inicio-marca .marca-ek i, .brand-text i { font-style: normal; font-weight: 600; color: var(--azul); }
.slide-h { margin: clamp(18px, 4vh, 40px) 0 12px; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.06; font-weight: 800; letter-spacing: -.02em; max-width: 14em; color: var(--texto); }
.slide-h em { font-style: normal; color: var(--azul); }
.inicio-sub { margin: 0; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; color: var(--suave); max-width: 30em; }
.inicio-sub b { color: var(--texto-2); }

/* ---------- Arte (solo CSS, liviano) ---------- */
.arte { position: relative; flex: none; width: min(100%, 640px); height: auto; padding-top: 270px; 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(239, 120, 120, .18); 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(--azul); 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: #eef3fa; color: #1b2c47; }
.boleta-grilla .m { background: var(--oro); color: #3a2300; }
.boleta-grilla .libre { background: var(--azul-3); 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(239, 120, 120, .18); 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: #e3e9f3; margin: 3px 0; }
.post-fila u.corta { width: 55%; }
.post-foto { height: 110px; border-radius: 14px; background: linear-gradient(135deg, var(--azul-3), #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: #eef3fa; 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: #c94a4a; } .a2 { background: #d6513f; } .a3 { background: #2f9e6b; } .a4 { background: #8a55d8; } .a5 { background: var(--oro); color: #3a2300; }
.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(239, 120, 120, .2); }
.arte-gente .av:first-child { margin-left: 0; }
.arte-burbuja { left: 30%; bottom: 26%; background: var(--azul); color: #fff; font-weight: 700; padding: 12px 18px; border-radius: 20px 20px 20px 6px; box-shadow: 0 14px 30px rgba(239, 120, 120, .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; }
.arte-chips { position: static !important; display: flex; flex-wrap: wrap; gap: 10px; pointer-events: none; z-index: 2; margin-top: 18px; }
.arte-chip { position: static; background: #F1F5F9; border: 1px solid #E2E8F0; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; color: #475569; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); white-space: nowrap; animation: flota 7s ease-in-out infinite; }
@keyframes flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@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; } }

/* ---------- Panel de ingreso ---------- */
.inicio-panel { border-left: 1px solid var(--borde); display: flex; flex-direction: column; justify-content: center; padding: 32px clamp(20px, 4vw, 44px); gap: 18px; background: var(--fondo); }
.login-caja { display: flex; flex-direction: column; gap: 12px; }
.login-caja h2 { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: var(--texto); }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo span { font-size: 13px; color: var(--suave); font-weight: 600; }
.campo input { font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--borde); border-radius: 12px; background: #FFFFFF; color: var(--texto); outline: none; transition: border-color .15s, box-shadow .15s; }
.campo input::placeholder { color: var(--suave); }
.campo input:focus { border-color: var(--azul); box-shadow: 0 0 0 3px rgba(226, 92, 80, .18); }
.btn-principal, .btn-sec { font: inherit; font-weight: 700; font-size: 16px; border-radius: 14px; padding: 13px 18px; text-align: center; text-decoration: none; cursor: pointer; display: block; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s; }
.btn-principal { border: 1.5px solid #CBD5E1; background: #FFFFFF; color: #334155; margin-top: 4px; }
.btn-principal:hover { background: #F1F5F9; border-color: #94A3B8; color: #0F172A; }
.btn-principal:disabled { opacity: .7; cursor: wait; }
.btn-sec { border: 0; background: #E25C50; color: #FFFFFF; box-shadow: 0 4px 12px rgba(226, 92, 80, .25); }
.btn-sec:hover { background: #D14B3F; color: #FFFFFF; }
.btn-link { text-align: center; color: #64748B; font-size: 14px; text-decoration: none; padding: 6px; }
.btn-link:hover { color: #0F172A; text-decoration: underline; }
.sep { display: flex; align-items: center; gap: 10px; color: var(--suave); font-size: 13px; margin: 10px 0; }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--borde); }
.error { background: var(--mal-claro); color: var(--mal); border: 1px solid var(--mal-borde); border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inicio-pie { margin: 0; text-align: center; font-size: 12.5px; color: var(--suave); }

/* ---------- Celular y tablet ---------- */
@media (max-width: 960px) {
  .inicio { grid-template-columns: 1fr; }
  .inicio-hero { padding-bottom: 8px; }
  .inicio-panel { border-left: 0; border-top: 1px solid var(--borde); padding: 24px 20px 32px; order: 2; }
  .inicio-hero { order: 1; }
  .arte { padding-top: 250px; }
}
@media (max-width: 560px) {
  .inicio-hero { padding: 16px 20px 0; }
  .slide-h { font-size: 28px; margin: 14px 0 0; }
  .slides .inicio-sub { display: none; }
  .arte { width: auto; padding-top: 0; margin-top: 14px; }
  .arte-chips { margin-top: 0; }
  .arte > *:not(.arte-chips) { display: none; }
  .arte-chips { position: static; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
  .arte-chip { position: static; animation: none; font-size: 13px; padding: 7px 12px; }
  .arte-chip:nth-child(n+4) { display: none; }
  .slides-nav { padding: 10px 0 2px; }
  .inicio-panel { padding: 14px 20px 28px; gap: 12px; border-top: 0; }
  .login-caja h2 { font-size: 18px; }
  .slides { flex: none; }
}

/* ---------- Diapositivas ---------- */
.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; gap: 14px; padding: 10px 0 2px; }
.flecha { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--borde); background: #fff; color: var(--azul); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; }
.flecha:hover { background: var(--azul-claro); }
.puntos { display: flex; gap: 8px; }
.punto { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: #c3cfe0; cursor: pointer; transition: width .25s, background .25s; }
.punto[aria-selected="true"] { width: 28px; background: var(--azul-3); }
.puntos .punto:focus-visible, .flecha:focus-visible { outline: 2px solid var(--azul-3); outline-offset: 2px; }

/* Tienda digital */
.tienda { padding: 10px; }
.tienda-cab { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--azul); 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(--azul-3); 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(--azul); 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: #eef3fa; 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(--azul); } .pedido-nota small { font-size: 11.5px; color: var(--suave); }

/* Sistema (SaaS) */
.pasos { padding: 12px; display: grid; gap: 7px; }
.paso { display: flex; align-items: center; gap: 9px; background: #eef3fa; border-radius: 12px; padding: 9px 10px; font-weight: 700; font-size: 13.5px; color: var(--azul); }
.paso i { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #c8d6ea; color: var(--azul); 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: #fff4dc; box-shadow: inset 0 0 0 2px var(--oro); } .paso.act i { background: var(--oro); color: #3a2300; }
.barra { height: 8px; border-radius: 99px; background: #e3e9f3; overflow: hidden; } .barra u { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--azul-3), var(--oro)); border-radius: 99px; }
.btn-crear { background: var(--azul-3); 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(--azul), #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: var(--oro); color: #3a2300; 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(--azul); 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(--azul); } .qr i:nth-child(5) { background: var(--oro); }
.sello-azul { background: linear-gradient(135deg, var(--azul-3), var(--azul)); box-shadow: 0 16px 30px rgba(239, 120, 120, .3); }
.sello-oro { background: linear-gradient(135deg, #ffc15c, var(--oro-osc)); box-shadow: 0 16px 30px rgba(201, 125, 16, .35); }

/* Para todos */
.tiles { padding: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tile { background: #eef3fa; border-radius: 12px; padding: 8px 2px; text-align: center; font-weight: 800; font-size: 11.5px; color: var(--azul); display: grid; gap: 2px; }
.tile span { font-size: 22px; }
.tile:nth-child(2), .tile:nth-child(6), .tile:nth-child(7) { background: #fff4dc; } .tile:nth-child(3), .tile:nth-child(5), .tile:nth-child(9) { background: #e3f4ea; }
.colecta { padding: 12px; display: grid; gap: 8px; }
.colecta-t { font-weight: 800; color: var(--azul); font-size: 15px; } .colecta small { color: var(--suave); font-size: 12px; }

@media (max-width: 560px) {
  .tienda-cab { font-size: 12px; } .prod span { font-size: 22px; } .prod small { font-size: 9px; } .btn-wa { font-size: 11px; padding: 6px 2px; }
  .pedido-nota span { font-size: 20px; } .pedido-nota b { font-size: 13px; } .pedido-nota small { font-size: 10px; }
  .paso { font-size: 11.5px; padding: 6px 7px; gap: 6px; } .paso i { width: 20px; height: 20px; font-size: 10px; } .btn-crear { font-size: 12px; padding: 7px; }
  .flyer-cab { font-size: 16px; } .qr { width: 50px; } .qr i { height: 11px; }
  .tile { font-size: 9.5px; padding: 6px 0; } .tile span { font-size: 17px; } .colecta-t { font-size: 12.5px; }
  .slides-nav { padding-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .slides { scroll-behavior: auto; } }

/* ---------- Invitación para organizadores ---------- */
.inicio-hero { grid-column: 1; grid-row: 1; }
.inicio-panel { grid-column: 2; grid-row: 1; }
.inicio-cta { grid-column: 1; grid-row: 1; align-self: end; justify-self: start; z-index: 3; margin: 0 0 30px clamp(20px, 4vw, 48px); max-width: 300px; padding: 14px 16px; background: #FFF1F2; border: 1px solid #FECDD3; border-radius: 16px; box-shadow: 0 2px 6px rgba(15, 23, 42, .04); }
.cta-t { margin: 0 0 8px; font-weight: 700; color: #991B1B; font-size: 15px; line-height: 1.3; }
.cta-btn { font: inherit; font-weight: 700; font-size: 14px; color: #FFFFFF; background: #E25C50; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: background .15s; }
.cta-btn:hover { background: #D14B3F; }
@media (min-width: 961px) and (max-width: 1240px) { .inicio-hero { padding-bottom: 140px; } .inicio-cta { margin-bottom: 20px; } }
@media (max-width: 960px) { .inicio-hero, .inicio-panel { grid-column: 1; grid-row: auto; } .inicio-cta { grid-row: auto; grid-column: 1; order: 3; justify-self: stretch; max-width: none; margin: 0 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; } .cta-t { margin: 0; font-size: 14px; } .cta-btn { white-space: nowrap; } }

.org { width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--borde); border-radius: 24px; background: #FFFFFF; color: var(--texto); box-shadow: 0 24px 60px rgba(15, 23, 42, .18); overflow: auto; font-family: var(--fuente); }
.org::backdrop { background: rgba(15, 23, 42, .45); }
.org-cab { display: flex; justify-content: space-between; gap: 12px; padding: 24px 26px 16px; background: linear-gradient(180deg, #F8FAFC, #FFFFFF); border-bottom: 1px solid var(--borde); }
.org-eyebrow { display: block; color: #64748B; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.org-cab h2 { margin: 4px 0 6px; color: var(--texto); font-size: clamp(22px, 3vw, 28px); letter-spacing: -.01em; }
.org-cab p { margin: 0; color: var(--suave); font-size: 15px; }
.org-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--borde); 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(--borde); border-radius: 18px; background: #FFFFFF; }
.org-bloque h3 { margin: 0 0 10px; color: var(--texto); 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(--azul-claro); 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(--borde); border-radius: 16px; background: #F8FAFC; }
.org-precios .oro { background: #FFF1F2; border-color: #FECDD3; }
.org-precios b { display: block; color: var(--texto); font-size: 22px; }
.org-precios .oro b { color: #E25C50; }
.org-precios span { font-size: 12.5px; font-weight: 600; color: var(--suave); }
.org-nota { margin: 12px 0 0; text-align: center; color: var(--suave); 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: 800; font-size: 16px; border-radius: 999px; padding: 13px 22px; text-align: center; text-decoration: none; cursor: pointer; }
.org-ok { flex: 1; background: #E25C50; color: #FFFFFF; border: 0; box-shadow: 0 4px 12px rgba(226, 92, 80, .24); }
.org-ok:hover { background: #D14B3F; }
.org-sec { background: #FFFFFF; color: #334155; border: 1px solid var(--borde); }
@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; }
}


/* ---------- Rediseño del ingreso (tarjeta propia, limpia y moderna) ---------- */
.inicio-panel { background: var(--fondo); }
.login-caja { position: relative; gap: 14px; padding: 28px 24px 24px; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 24px; box-shadow: 0 4px 6px -1px rgba(15, 23, 42, .05), 0 10px 24px -4px rgba(15, 23, 42, .06); overflow: hidden; }
.login-caja::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: #E25C50; }
.login-eyebrow { color: #64748B; font-size: 11px; font-weight: 700; letter-spacing: .12em; margin-top: 2px; }
.login-caja h2 { margin: -6px 0 4px; font-size: 24px; font-weight: 800; color: #0F172A; letter-spacing: -.01em; }
.campo { position: relative; }
.campo span { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #475569; }
.campo input { padding: 14px 16px 14px 44px; border: 1px solid #E2E8F0; border-radius: 12px; background: #FFFFFF; color: #0F172A; transition: border-color .15s, box-shadow .15s; }
.campo input::placeholder { color: #64748B; }
.campo input:focus { border-color: #E25C50; background: #FFFFFF; box-shadow: 0 0 0 3px rgba(226, 92, 80, .16); }
.campo::after { content: ""; position: absolute; left: 15px; bottom: 15px; width: 18px; height: 18px; background-color: #94A3B8; -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; }
.campo:focus-within::after { background-color: #E25C50; }
.campo:has(input[name="identificador"])::after {
  -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:has(input[name="password"])::after {
  -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:has(input[name="codigo"])::after {
  -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");
}
.btn-principal { margin-top: 6px; padding: 14px 18px; border-radius: 12px; border: 1.5px solid #CBD5E1; background: #FFFFFF; color: #334155; font-weight: 700; font-size: 16px; letter-spacing: .01em; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.btn-principal:hover { background: #F1F5F9; border-color: #94A3B8; color: #0F172A; }
.btn-sec { padding: 14px 18px; border: 0; border-radius: 12px; background: #E25C50; color: #FFFFFF; font-weight: 700; font-size: 16px; box-shadow: 0 2px 6px rgba(226, 92, 80, .25), 0 4px 12px rgba(226, 92, 80, .18); }
.btn-sec:hover { background: #D14B3F; color: #FFFFFF; transform: translateY(-1px); }
.sep { margin: 10px 0; color: #64748B; }
.btn-link { color: #64748B; font-weight: 600; }
.btn-link:hover { color: #0F172A; text-decoration: underline; }
@media (max-width: 560px) {
  .inicio-panel { padding: 16px 16px 28px; }
  .login-caja { padding: 24px 18px 20px; }
  .login-caja h2 { font-size: 22px; }
}

/* ---------- Invitación para organizadores: visible de una, arriba de todo en celular ---------- */
@media (max-width: 960px) {
  .inicio-cta { order: 0; margin: 0; border: 0; border-bottom: 1px solid #FECDD3; border-radius: 0; padding: 10px 16px; background: #FFF1F2; box-shadow: 0 1px 3px rgba(15, 23, 42, .04); position: sticky; top: 0; z-index: 20; }
  .cta-t { color: #991B1B; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
  .cta-btn { background: #E25C50; color: #FFFFFF; font-weight: 700; padding: 8px 14px; font-size: 13.5px; border-radius: 999px; box-shadow: 0 1px 3px rgba(226, 92, 80, .25); }
  .cta-btn:hover { background: #D14B3F; }
  .inicio-hero { padding-top: 14px; }
}
@media (min-width: 961px) {
  /* Escritorio: la invitación va arriba de la tarjeta de ingreso (no tapa el carrusel). */
  .inicio-cta { grid-column: 2; grid-row: 1; align-self: start; justify-self: stretch; max-width: none; margin: 22px clamp(20px, 4vw, 44px) 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid #FECDD3; border-radius: 16px; background: #FFF1F2; box-shadow: 0 1px 3px rgba(15, 23, 42, .04); }
  .inicio-cta .cta-t { margin: 0; color: #991B1B; font-size: 14px; font-weight: 700; }
  .inicio-cta .cta-btn { white-space: nowrap; background: #E25C50; color: #FFFFFF; font-weight: 700; border-radius: 999px; box-shadow: 0 1px 3px rgba(226, 92, 80, .25); }
  .inicio-cta .cta-btn:hover { background: #D14B3F; }
  .inicio-hero { padding-bottom: clamp(20px, 4vw, 48px); }
}

/* ---------- Celular: todo el ingreso entra en una sola pantalla (sin scroll) ---------- */
@media (max-width: 560px) {
  .inicio-cta { padding: 7px 12px; }
  .cta-t { font-size: 12.5px; }
  .cta-btn { padding: 6px 12px; font-size: 12.5px; }
  .inicio-hero { padding: 8px 16px 0; }
  .inicio-marca svg { width: 28px; height: 28px; }
  .inicio-marca span { font-size: 15px; }
  .slide-h { font-size: 22px; margin: 6px 0 0; line-height: 1.15; }
  .arte { margin-top: 8px; }
  .arte-chips { gap: 6px; }
  .arte-chip { font-size: 11.5px; padding: 5px 10px; }
  .slides-nav { padding: 6px 0 4px; }
  .slides-nav .flecha { width: 34px; height: 34px; font-size: 18px; }
  .inicio-panel { padding: 8px 14px 10px; gap: 6px; }
  .login-caja { padding: 14px 16px 12px; gap: 7px; border-radius: 22px; }
  .login-eyebrow { display: none; }
  .login-caja h2 { margin: 2px 0 0; font-size: 20px; }
  .campo { gap: 3px; }
  .campo span { font-size: 10.5px; }
  .campo input { padding: 11px 12px 11px 42px; }
  .campo::after { bottom: 12px; width: 16px; height: 16px; }
  .btn-principal, .btn-sec { padding: 12px 16px; font-size: 16px; }
  .btn-principal { margin-top: 2px; }
  .sep { margin: 6px 0; font-size: 12px; }
  .btn-link { padding: 2px; font-size: 13.5px; }
  .inicio-pie { font-size: 11.5px; }
}
@media (max-width: 560px) and (max-height: 700px) {
  .arte-chips { display: none; }
  .slide-h { font-size: 20px; }
}
@media (max-width: 960px) { .inicio { align-content: start; } .inicio-cta { align-self: start; } }
@media (max-width: 560px) and (min-height: 740px) {
  .inicio-cta { padding: 10px 14px; }
  .inicio-hero { padding: 12px 18px 0; }
  .slide-h { font-size: 25px; margin-top: 10px; }
  .arte { margin-top: 10px; }
  .arte-chip { font-size: 12.5px; padding: 6px 11px; }
  .inicio-panel { padding: 10px 14px 14px; gap: 8px; }
  .login-caja { padding: 18px 18px 14px; gap: 9px; }
  .login-caja h2 { font-size: 22px; margin-bottom: 2px; }
  .campo input { padding: 13px 12px 13px 42px; }
  .campo::after { bottom: 14px; width: 17px; height: 17px; }
  .btn-principal, .btn-sec { padding: 14px 16px; }
  .sep { margin: 8px 0; }
  .btn-link { padding: 4px; }
}
