.matricula-popup{border:0;border-radius:16px;padding:0;width:min(540px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:#fff;color:#850c24;box-shadow:0 20px 80px #0005}
.matricula-popup::backdrop{background:rgba(25,8,12,.72)}
.matricula-popup img{display:block;width:100%;height:auto;max-height:calc(100dvh - 150px);object-fit:contain}
.matricula-popup-actions{display:flex;flex-wrap:wrap;gap:10px;padding:14px;position:sticky;bottom:0;background:#fff}
.matricula-popup-actions a,.matricula-popup-actions button{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border-radius:8px;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}
.matricula-popup-actions a{flex:1;background:#850c24;color:#fff;border:1px solid #850c24}
.matricula-popup-actions button{background:#fff;color:#850c24;border:1px solid #850c24}
.matricula-popup-actions :focus-visible{outline:3px solid #e6ac00;outline-offset:3px}
html.matricula-popup-open{overflow:hidden}
.matricula-popup-close{position:absolute;top:10px;right:10px;z-index:2;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #850c24;border-radius:50%;background:#fff;color:#850c24;font:32px/1 Arial,sans-serif;cursor:pointer;box-shadow:0 2px 10px #0003}
.matricula-popup-close:hover{background:#850c24;color:#fff}
.matricula-popup-close:focus-visible{outline:3px solid #e6ac00;outline-offset:3px}
