.anuncio-banner{position:fixed;z-index:10050;inset:0 0 auto;display:flex;justify-content:center;padding:12px 20px;background:linear-gradient(100deg,#10213f 0%,#172f5a 52%,#155e75 100%);box-shadow:0 10px 28px rgba(15,23,42,.25);color:#fff;transform:translateY(-110%);transition:transform .35s cubic-bezier(.2,.8,.2,1)}.anuncio-banner.activo{transform:translateY(0)}.anuncio-banner-contenido{width:min(1120px,100%);display:flex;align-items:center;gap:13px;min-width:0}.anuncio-banner-icono{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:rgba(255,255,255,.12);color:#b9e5ff}.anuncio-banner-texto{display:flex;align-items:baseline;gap:.6rem;min-width:0;flex:1}.anuncio-banner-etiqueta{display:inline-flex;flex:0 0 auto;border-radius:999px;padding:.27rem .58rem;background:#ef4444;color:#fff;font-size:.63rem;font-weight:800;letter-spacing:.1em;line-height:1;text-transform:uppercase}.anuncio-banner-texto p{margin:0;min-width:0;overflow-wrap:anywhere;font-size:.86rem;line-height:1.45}.anuncio-banner-texto strong{font-weight:800}.anuncio-banner-accion,.anuncio-banner-cerrar{font:inherit;color:#fff;cursor:pointer}.anuncio-banner-accion{border:1px solid rgba(255,255,255,.4);border-radius:10px;background:rgba(255,255,255,.13);padding:.55rem .75rem;white-space:nowrap;font-weight:750;text-decoration:none;font-size:.78rem}.anuncio-banner-accion:hover{background:rgba(255,255,255,.24)}.anuncio-banner-cerrar{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.1)}.anuncio-banner-cerrar:hover{background:rgba(255,255,255,.22)}
.anuncio-popup-dialog{border:0;padding:0;background:transparent;width:min(460px,calc(100vw - 32px));max-width:none;color:var(--color-texto-principal)}.anuncio-popup-dialog::backdrop{background:rgba(15,23,42,.72);backdrop-filter:blur(6px)}.anuncio-popup{position:relative;overflow:hidden;background:var(--color-superficie,#fff);border:1px solid rgba(255,255,255,.75);border-radius:24px;box-shadow:0 28px 75px rgba(15,23,42,.34);text-align:left;animation:anuncio-entrada .32s cubic-bezier(.2,.8,.2,1)}.anuncio-popup-cerrar{position:absolute;right:14px;top:14px;z-index:2;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.95);box-shadow:0 4px 12px rgba(15,23,42,.12);color:#334155;cursor:pointer}.anuncio-popup-cerrar:hover{transform:scale(1.08);background:#fff}.anuncio-popup-visual{height:124px;padding:1.35rem 1.5rem;background:linear-gradient(135deg,var(--color-primario,#2563eb),#0f766e);color:#fff}.anuncio-popup-visual.con-imagen{position:relative;height:194px;padding:0;background:#e8eef8}.anuncio-popup-imagen{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.anuncio-popup-visual.con-imagen::after{content:"";position:absolute;z-index:1;inset:auto 0 0;height:84px;background:linear-gradient(to bottom,rgba(255,255,255,0),rgba(255,255,255,.52) 58%,#fff 100%);pointer-events:none}.anuncio-popup-etiqueta{position:relative;z-index:1;display:inline-flex;align-items:center;gap:.4rem;padding:.38rem .62rem;border-radius:999px;background:rgba(255,255,255,.16);font-size:.64rem;font-weight:800;letter-spacing:.12em;line-height:1;text-transform:uppercase}.anuncio-popup-cuerpo{padding:1.35rem 1.5rem 1.45rem}.anuncio-popup-cuerpo .anuncio-popup-etiqueta{margin-bottom:.85rem;background:rgba(37,99,235,.1);color:var(--color-primario,#2563eb)}.anuncio-popup h2{font-size:1.34rem;line-height:1.23;margin:0 2.2rem .58rem 0;color:var(--color-texto-principal)}.anuncio-popup p{margin:0;color:var(--color-texto-secundario);white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem;line-height:1.58}.anuncio-popup footer{display:flex;gap:.65rem;align-items:center;justify-content:flex-end;margin-top:1.25rem}.anuncio-popup footer .btn{min-height:42px;padding:.62rem .9rem;font-size:.82rem}.anuncio-popup-cta{margin-right:auto;text-decoration:none}.anuncio-popup-listo.btn{background:#fff;color:#1e3a8a;border:1px solid #bfdbfe}.anuncio-popup-listo.btn:hover,.anuncio-popup-listo.btn:focus-visible{background:#eff6ff;color:#1d4ed8;border-color:#93c5fd}
.aviso-clase-flotante{position:fixed;z-index:10040;right:24px;bottom:24px;display:flex;gap:.8rem;width:min(360px,calc(100vw - 32px));padding:1rem 2.55rem 1rem 1rem;border:1px solid #b7ead6;border-left:5px solid var(--color-exito,#10b981);border-radius:18px;background:#fff;box-shadow:0 18px 42px rgba(15,23,42,.18);transform:translateX(calc(100% + 32px));opacity:0;transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .25s}.aviso-clase-flotante.activo{transform:translateX(0);opacity:1}.aviso-clase-icono{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;background:#dcfce7;color:#059669}.aviso-clase-contenido{min-width:0}.aviso-clase-contenido h3{margin:0 0 .2rem;font-size:.94rem;color:var(--color-texto-principal)}.aviso-clase-contenido p{margin:0;color:var(--color-texto-secundario);font-size:.82rem;line-height:1.45;overflow-wrap:anywhere}.aviso-clase-accion{margin-top:.62rem;padding:0;border:0;background:transparent;color:var(--color-primario,#2563eb);font:700 .78rem/1.2 inherit;cursor:pointer}.aviso-clase-accion:hover{text-decoration:underline}.aviso-clase-cerrar{position:absolute;top:.55rem;right:.55rem;display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:#94a3b8;cursor:pointer}.aviso-clase-cerrar:hover{background:#f1f5f9;color:#475569}@keyframes anuncio-entrada{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:640px){.anuncio-banner{padding:9px 12px}.anuncio-banner-contenido{align-items:flex-start;gap:9px}.anuncio-banner-icono{width:32px;height:32px;flex-basis:32px;border-radius:10px}.anuncio-banner-texto{display:block;padding-top:.05rem}.anuncio-banner-etiqueta{margin-bottom:.32rem}.anuncio-banner-texto p{font-size:.78rem;padding-right:.15rem}.anuncio-banner-accion{display:none}.anuncio-banner-cerrar{width:31px;height:31px;flex-basis:31px}.anuncio-popup{border-radius:21px}.anuncio-popup-visual{height:105px}.anuncio-popup-visual.con-imagen{height:170px}.anuncio-popup-cuerpo{padding:1.2rem}.anuncio-popup h2{font-size:1.22rem}.anuncio-popup footer{flex-direction:column-reverse;align-items:stretch}.anuncio-popup footer .btn{width:100%;justify-content:center}.anuncio-popup-cta{margin-right:0}.aviso-clase-flotante{right:16px;bottom:calc(76px + env(safe-area-inset-bottom));width:calc(100vw - 32px)}}@media(prefers-reduced-motion:reduce){.anuncio-banner,.aviso-clase-flotante{transition:none}.anuncio-popup{animation:none}}
