/* El marco municipal se carga desde ../styles.css, igual que en la portada. */
.certificate-page{background:#edf5fc;font-size:16px}
.certificate-page .cv-shell{width:var(--home-align-width);margin-inline:auto}
.certificate-page .cv-skip{position:absolute;left:16px;top:-100px;z-index:100;background:white;padding:12px;color:#062757}
.certificate-page .cv-skip:focus{top:8px}
.certificate-page .cv-hero{background:linear-gradient(90deg,rgba(4,32,76,.82),rgba(7,47,94,.48)),url('../assets/original-site/07-CabeceraIndex.jpg') center 48%/cover;color:white;padding:49px 0 51px}
.certificate-page .cv-hero h1{font-size:clamp(1.8rem,3vw,2.65rem);line-height:1.18;letter-spacing:-.025em;margin:0 0 12px;color:white;max-width:1000px}
.certificate-page .cv-hero p{font-size:1.125rem;line-height:1.5;color:white;margin:0}
.certificate-page .cv-breadcrumb{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:23px 0 26px;font-size:.9375rem;line-height:1.5}
.certificate-page .cv-breadcrumb a,.certificate-page .cv-return a{color:#075fc8;text-decoration:underline;text-underline-offset:3px}
.certificate-page .cv-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:24px;align-items:start}
.certificate-page .cv-form-card,.certificate-page .cv-info-card{background:white;border:1px solid #cddbea;border-radius:10px}
.certificate-page .cv-form-card{border-top:5px solid #075fd0;padding:26px 28px 25px;box-shadow:0 5px 20px #143c6e06}
.certificate-page .cv-form-card h2{font-size:1.8rem;line-height:1.2;margin:0 0 8px;color:#062757}
.certificate-page .cv-form-intro{margin:0 0 22px;color:#4d5b70;line-height:1.6;font-size:1rem}
.certificate-page #certificate-form label{font-weight:700;font-size:1rem;display:block;margin-bottom:9px;color:#102e55}
.certificate-page #certificate-form input:not([type=hidden]){width:100%;height:50px;padding:11px 14px;border:1px solid #98adc4;border-radius:6px;background:white;font:inherit;font-size:1rem;color:#12335b}
.certificate-page #certificate-form input:disabled{background:#f3f5f8;color:#61708a}
.certificate-page #dni{text-transform:uppercase}
.certificate-page #certificate-form .field-help{color:#56657b;font-size:.875rem;line-height:1.5;margin:7px 0 22px}
.certificate-page #certificate-form .cv-submit{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;min-height:52px;border:0;border-radius:6px;padding:13px 16px;background:linear-gradient(135deg,#0876ea,#0055c4);color:white;font:inherit;font-size:1.0625rem;font-weight:700;cursor:pointer}
.certificate-page #certificate-form .cv-submit:hover:not(:disabled){background:#004fae}
.certificate-page #certificate-form .cv-submit:disabled{background:#dbe4f0;color:#51647e;cursor:not-allowed}
.certificate-page #certificate-form .cv-submit svg{width:25px;height:25px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.certificate-page #certificate-form .privacy{font-size:.875rem;line-height:1.6;color:#56657b;margin:16px 0 0}
.certificate-page #certificate-form .privacy a{color:#075fc8;text-decoration:underline;text-underline-offset:3px}
.certificate-page .cv-sidebar{display:grid;gap:20px;min-width:0}
.certificate-page .cv-info-card,.certificate-page .cv-help-card{padding:24px}
.certificate-page .cv-sidebar h2{font-size:1.5rem;line-height:1.25;margin:0 0 20px;color:#062757}
.certificate-page .cv-info-card ul{list-style:none;padding:0;margin:0;display:grid;gap:22px}
.certificate-page .cv-info-card li{display:flex;gap:15px;align-items:center;color:#17304f;font-size:1rem;line-height:1.5}
.certificate-page .cv-info-card svg{width:29px;height:32px;flex-shrink:0;fill:none;stroke:#062757;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.certificate-page .cv-help-card{border:1px solid #d2e5fa;border-radius:10px;background:#dceefe}
.certificate-page .cv-help-card h2{margin-bottom:9px}
.certificate-page .cv-help-card p{font-size:1rem;line-height:1.5;color:#17304f;margin:0 0 15px}
.certificate-page .cv-help-card a{display:flex;gap:10px;align-items:center;font-size:1rem;line-height:1.5;font-weight:700;color:#075fc8;margin-top:10px;overflow-wrap:anywhere;min-width:0}
.certificate-page .cv-help-card a span{min-width:0}
.certificate-page .cv-help-card svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.certificate-page .cv-return{font-size:1rem;line-height:1.5;padding:20px 0 32px;margin:0}
.certificate-page .notice,.certificate-page .error{padding:15px 17px;margin-bottom:22px;border-radius:7px;font-size:1rem;line-height:1.5}
.certificate-page .notice{background:#fff7e7;border:1px solid #ecd5a3;color:#75510c}
.certificate-page .notice p{margin:6px 0 0}
.certificate-page .error{background:#fff0f0;border:1px solid #d18f8f;color:#8d2222}
.certificate-page .home-nav a[aria-current]{color:#075fd0;text-decoration:underline;text-underline-offset:9px;text-decoration-thickness:3px}
.certificate-page .topbar .language-link[aria-current]{font-weight:900;text-decoration:underline;text-underline-offset:4px}
.certificate-page .footer-inner{width:var(--home-align-width)}
.certificate-page .footer-inner p,.certificate-page .footer-inner a{font-size:.875rem}
.certificate-page a:focus-visible,.certificate-page button:focus-visible,.certificate-page input:focus-visible{outline:3px solid #e79d19;outline-offset:4px}
@media(max-width:1100px){
 .certificate-page .mainbar{position:relative;grid-template-columns:1fr auto;gap:12px;min-height:95px;padding-block:12px}
 .certificate-page .mainbar .mobile-menu{display:block;grid-column:2;grid-row:1;width:auto;padding:9px 13px;border:1px solid #b8cbe0;background:white;color:#062757;border-radius:6px;font:inherit;font-size:.9375rem;font-weight:700}
 .certificate-page .mainbar .home-nav{display:none;grid-column:1/-1;grid-row:2;width:100%;margin:0;padding:10px 0 2px;position:static;background:white;border:0;box-shadow:none}
 .certificate-page .mainbar .home-nav.is-open{display:grid;gap:0}
 .certificate-page .mainbar .home-nav a{padding:12px 0;font-size:1rem;border-top:1px solid #e5edf5}
 .certificate-page .mainbar .pay-cta,.certificate-page .mainbar .search-icon{display:none}
 .certificate-page .cv-layout{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px}
 .certificate-page .cv-info-card,.certificate-page .cv-help-card{padding:20px}
 .certificate-page .cv-sidebar h2{font-size:1.3rem}
}
@media(max-width:760px){
 .certificate-page .cv-shell,.certificate-page .mainbar,.certificate-page .topbar-inner,.certificate-page .footer-inner{width:calc(100% - 32px)}
 .certificate-page .cv-hero{padding:32px 0 35px}
 .certificate-page .cv-hero h1{font-size:1.9rem}
 .certificate-page .cv-hero p{font-size:1rem}
 .certificate-page .cv-breadcrumb{font-size:.875rem;padding:19px 0 22px;gap:8px}
 .certificate-page .cv-layout{grid-template-columns:1fr}
 .certificate-page .cv-form-card{padding:23px 20px}
 .certificate-page .cv-form-card h2{font-size:1.6rem}
 .certificate-page .cv-info-card,.certificate-page .cv-help-card{padding:23px 20px}
 .certificate-page .cv-sidebar h2{font-size:1.4rem}
 .certificate-page .mainbar .brand{min-width:0;max-width:100%;gap:10px}
 .certificate-page .mainbar .brand img{width:42px;height:56px}
 .certificate-page .mainbar .brand strong{font-size:1.05rem}
 .certificate-page .mainbar .brand small{font-size:.8125rem}
 .certificate-page .topbar-inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:0;min-height:42px}
 .certificate-page .topbar-contact{min-height:42px}
 .certificate-page .topbar-contact:nth-child(2),.certificate-page .topbar-contact:nth-child(3){display:none}
 .certificate-page .topbar-social{display:flex;margin-left:auto;gap:9px}
 .certificate-page .topbar-social>a:not(.language-link){display:none}
 .certificate-page .topbar-social .language-link{display:inline-flex;font-size:.875rem;padding:8px 5px}
 .certificate-page .footer-inner{grid-template-columns:1fr;gap:26px}
 .certificate-page .footer-inner section{border-right:0;border-bottom:1px solid #ffffff20;padding-bottom:22px}
 .certificate-page .footer-inner section:last-child{border:0;padding-bottom:0}
}

.certificate-page .topbar .language-link::after{display:none}
@media(max-width:760px){.certificate-page .topbar-social{width:auto;flex:0 0 auto;min-height:42px;margin-left:auto}}
