:root{--orange:#ea8b15;--dark:#454545;--text:#484848;--light:#f6f6f6;--border:#e4e4e4;--max:1170px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Montserrat',sans-serif;color:var(--text);background:#fff;font-size:16px;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.shell{width:min(calc(100% - 40px),var(--max));margin-inline:auto}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:15px;top:15px;z-index:1000;background:#fff;padding:10px 14px;border:2px solid var(--orange)}
.site-header{background:#fff;position:sticky;top:0;z-index:50}.header-inner{min-height:154px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:16px 0}.brand img{max-height:78px;width:auto}.main-nav{display:flex;justify-content:center;align-items:center;gap:2px;flex-wrap:wrap}.nav-item{position:relative}.nav-link{border:0;background:transparent;font:500 13px/1.2 'Montserrat',sans-serif;text-transform:uppercase;color:#3a373c;padding:11px 10px;cursor:pointer}.nav-link:hover,.nav-link:focus-visible{color:var(--orange)}.dropdown-menu{position:absolute;top:100%;left:50%;transform:translateX(-50%);min-width:205px;background:#cacaca;display:none;padding:7px 0;box-shadow:0 8px 22px #0002}.dropdown.open .dropdown-menu{display:block}.dropdown-menu a{display:block;padding:9px 14px;text-align:center;font-size:13px;color:#fff}.dropdown-menu a:hover{background:var(--orange)}.menu-toggle{display:none;border:0;background:none;padding:10px}.menu-toggle span{display:block;width:27px;height:2px;background:#222;margin:5px}
.hero{background:#cacaca;overflow:hidden}.slider{height:min(500px,34vw);min-height:245px;position:relative}.slide{position:absolute;inset:0;opacity:0;transition:opacity .55s ease}.slide.active{opacity:1}.slide img{width:100%;height:100%;object-fit:cover}.slider-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:4;border:0;width:46px;height:54px;background:#0005;color:#fff;font-size:34px;cursor:pointer}.slider-btn:hover{background:var(--orange)}.slider-btn.prev{left:18px}.slider-btn.next{right:18px}.slider-dots{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:4;display:flex;gap:8px}.dot{width:11px;height:11px;padding:0;border:2px solid #fff;border-radius:50%;background:transparent;cursor:pointer}.dot.active{background:#fff}
.section{padding:58px 0}.section-heading{text-align:center;margin-bottom:34px}.section-heading a,.section-heading span{font-size:32px;line-height:1.1;color:#222;font-weight:400}.section-heading a:hover{color:var(--orange)}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px 26px}.news-card{min-width:0}.news-image{height:205px;display:block;overflow:hidden;background:#eee}.news-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.news-card:hover .news-image img{transform:scale(1.025)}.news-body h2{font-size:17px;line-height:1.35;margin:15px 0 8px;color:#292929;font-weight:500}.news-body h2 a:hover{color:var(--orange)}.news-body p{font-size:14px;margin:6px 0 10px}.news-meta{font-size:12px!important;color:#8a8a8a}.read-more{font-size:13px;font-weight:600;color:var(--orange)}.empty-state{text-align:center;background:#f7f7f7;padding:25px}
.centers-section{background:#fafafa}.centers-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.center-card{background:#fff;border:1px solid var(--border);text-align:center;padding-bottom:25px;transition:.25s}.center-card:hover{transform:translateY(-4px);box-shadow:0 10px 25px #00000012}.center-card img{width:100%;height:220px;object-fit:cover}.center-card h2,.center-card h3{font-size:18px;font-weight:500;color:#333;margin:22px 15px 12px}.center-card p{font-size:14px;min-height:88px;padding:0 18px;margin:0 0 18px}.button{display:inline-block;color:#fff;background:#cacaca;border:2px solid var(--orange);padding:9px 22px;font-size:13px}.button:hover{background:var(--orange)}
.site-footer{background:var(--dark);color:#fff}.footer-grid{display:grid;grid-template-columns:1.05fr 1fr 1.2fr 1.2fr;gap:45px;padding:52px 0 45px}.footer-column h2{font-size:20px;font-weight:500;margin:0 0 16px}.footer-column .footer-subtitle{margin-top:28px}.footer-column a{display:block;font-size:13px;margin:8px 0;color:#fff}.footer-column a:hover{color:var(--orange)}.footer-column p{font-size:13px;margin:7px 0;color:#fff}.map{width:100%;height:250px;border:0}.partner-strip{border-top:1px solid #fff;background:var(--dark)}.partner-logos{min-height:118px;display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;padding:20px 0}.partner-logos img{height:58px;width:auto;max-width:185px;object-fit:contain;background:#fff;padding:4px}.social-strip{border-top:1px solid #666}.social-links{display:flex;justify-content:center;gap:10px;padding:18px 0}.social-links a{width:35px;height:35px;border:1.5px solid #fff;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:600}.social-links a:hover{color:var(--orange);border-color:var(--orange)}.copyright{text-align:center;border-top:1px solid #666;padding:16px 20px;font-size:12px}.scroll-top{position:fixed;right:30px;bottom:92px;width:42px;height:42px;border:0;background:var(--orange);color:#fff;font-size:22px;cursor:pointer;opacity:0;pointer-events:none;transition:.25s}.scroll-top.show{opacity:1;pointer-events:auto}.scroll-top:hover{background:#fff;color:#000;box-shadow:0 3px 14px #0002}
@media(max-width:950px){.centers-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.news-grid{grid-template-columns:repeat(2,1fr)}.slider{height:390px}.main-nav{gap:0}.nav-link{padding-inline:7px;font-size:12px}}
@media(max-width:700px){.shell{width:min(calc(100% - 28px),var(--max))}.header-inner{min-height:112px;align-items:stretch;flex-direction:row;justify-content:space-between}.brand{display:flex;align-items:center}.brand img{max-height:65px}.menu-toggle{display:block;align-self:center}.main-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid #eee;padding:8px 14px;align-items:stretch;box-shadow:0 10px 20px #0001}.main-nav.open{display:flex;flex-direction:column}.nav-item{width:100%}.nav-link{width:100%;text-align:left;padding:12px}.dropdown-menu{position:static;transform:none;box-shadow:none;margin:0 10px 5px}.dropdown-menu a{text-align:left}.slider{height:260px;min-height:0}.slider-btn{width:36px;height:44px}.slider-btn.prev{left:8px}.slider-btn.next{right:8px}.section{padding:42px 0}.section-heading a,.section-heading span{font-size:27px}.news-grid,.centers-grid,.footer-grid{grid-template-columns:1fr}.news-image{height:225px}.center-card p{min-height:0}.footer-grid{gap:30px}.partner-logos{gap:12px}.partner-logos img{height:46px;max-width:145px}}

/* Noticias: tarjetas uniformes con elevación al pasar el cursor */
.section-heading span{font-size:32px;line-height:1.1;color:#222;font-weight:400}
.news-grid{align-items:stretch}
.news-card{background:#fff;border:1px solid var(--border);overflow:hidden;padding-bottom:20px;transition:transform .25s ease,box-shadow .25s ease;min-height:100%}
.news-card:hover{transform:translateY(-4px);box-shadow:0 10px 25px #00000012}
.news-image{height:220px}
.news-image img{transition:transform .3s ease}
.news-card:hover .news-image img{transform:scale(1.025)}
.news-body{padding:0 18px}
.news-body h2{min-height:46px}
.footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1100px}.footer-location .map{margin-top:10px;border-radius:2px;height:210px}.footer-location p{max-width:280px}
@media(max-width:700px){.footer-grid{grid-template-columns:1fr}.footer-location .map{height:220px}}
/* Separación institucional: el pie no queda pegado al contenido */
.site-footer{margin-top:56px}

/* El marco mantiene la navegación visible y sustituye solo el contenido central. */
.content-frame-shell{padding:28px 0 12px}
.content-frame-shell[hidden]{display:none}
#content-frame{display:block;width:100%;min-height:520px;border:0;background:#f5f5f3;overflow:hidden}
body.frame-open #home-content{display:none}
body.frame-open .site-footer{margin-top:24px}
@media(max-width:700px){.content-frame-shell{width:100%;padding-top:12px}#content-frame{min-height:440px}}


/* Navegación institucional con iconos discretos */
.nav-link.dropdown-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.nav-icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.news-body>p:not(.news-meta){text-align:justify}
.site-footer{margin-top:110px}
@media(max-width:700px){.site-footer{margin-top:72px}.nav-link.dropdown-toggle{justify-content:flex-start}}


/* Ajustes finales de navegación institucional */
.main-nav{align-items:stretch;gap:4px}
.nav-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 12px;font-size:14px;white-space:nowrap}
.nav-icon{width:18px;height:18px;min-width:18px;display:block}
.nav-item.dropdown{display:flex;align-items:stretch}
.nav-item.dropdown>.nav-link{height:100%}
@media(max-width:950px){.nav-link{font-size:13px;padding-inline:9px;gap:7px}.nav-icon{width:17px;height:17px;min-width:17px}}
@media(max-width:700px){.nav-link{font-size:14px;min-height:44px;padding:12px}.nav-link.dropdown-toggle{justify-content:flex-start}.nav-icon{width:18px;height:18px;min-width:18px}}

/* Portada de noticias: titular principal y cuadrícula editorial. */
.news-home{padding-top:64px}.news-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;text-align:left;border-bottom:3px solid #222;padding-bottom:14px;margin-bottom:26px}.news-heading>div{display:flex;flex-direction:column;gap:3px}.news-heading small,.news-category{color:#b45e00;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.news-heading span{font:700 36px/1.05 Georgia,serif;color:#181818}.news-heading>a{font-size:13px;font-weight:700;color:#b45e00}
.news-featured{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.5fr);min-height:370px;border-bottom:1px solid #bbb;padding-bottom:24px;margin-bottom:16px;background:#fff}.news-featured-copy{display:flex;flex-direction:column;align-items:flex-start;padding:14px 30px 14px 0}.news-featured-copy h2{margin:8px 0 18px;font:700 clamp(30px,3.2vw,48px)/1.03 Georgia,serif;color:#111}.news-featured-copy>p{margin:0 0 18px;font:16px/1.65 Georgia,serif;color:#4d4d4d}.news-featured-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin-top:auto;font-size:12px}.news-featured-meta time{color:#777}.news-featured-meta a{color:#b45e00;font-weight:700}.news-featured-visual,.news-secondary-image{display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(135deg,#ef8b08,#8f4a00);color:#fff;font:700 24px Georgia,serif}.news-featured-visual img{width:100%;height:100%;min-height:370px;object-fit:cover;transition:transform .35s}.news-featured:hover .news-featured-visual img{transform:scale(1.02)}
.news-secondary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid #d3d3d3}.news-secondary-card{min-width:0;padding:16px 15px 6px;border-right:1px solid #d3d3d3}.news-secondary-card:first-child{padding-left:0}.news-secondary-card:last-child{border-right:0;padding-right:0}.news-secondary-image{height:190px;margin-bottom:12px}.news-secondary-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.news-secondary-card:hover img{transform:scale(1.025)}.news-secondary-body h3{margin:5px 0 8px;font:700 24px/1.08 Georgia,serif;color:#111}.news-secondary-body p{margin:0 0 10px;font:14px/1.5 Georgia,serif;color:#555}.news-secondary-body time{font-size:11px;color:#888}
@media(max-width:900px){.news-featured{grid-template-columns:1fr}.news-featured-copy{padding:8px 0 24px}.news-featured-visual{order:-1;margin-bottom:20px}.news-featured-visual img{min-height:300px}.news-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-secondary-card:nth-child(2n){border-right:0}.news-secondary-card:nth-child(n+3){border-top:1px solid #ddd}}
@media(max-width:620px){.news-heading{align-items:flex-start;flex-direction:column}.news-heading span{font-size:32px}.news-featured-copy h2{font-size:32px}.news-featured-visual img{min-height:230px}.news-secondary-grid{grid-template-columns:1fr}.news-secondary-card,.news-secondary-card:first-child,.news-secondary-card:last-child{padding:16px 0;border-right:0;border-top:1px solid #ddd}.news-secondary-image{height:225px}.news-secondary-body h3{font-size:25px}}

/* Noticia destacada de Inicio: tamaño compacto. */
.news-featured {
    width: 70%;
    min-height: 0;
    margin: 0 auto 20px;
    padding: 6px 0 18px;
    grid-template-columns: minmax(0, 35%) minmax(0, 65%);
    align-items: stretch;
}
.news-featured-visual { width: 100%; height: 220px; min-height: 0; }
.news-featured-visual img {
    width: 100%; height: 100%; min-height: 0; max-height: 220px;
    object-fit: cover;
}
.news-featured-copy { min-width: 0; padding: 8px 15px 8px 0; }
.news-featured-copy h2 { font-size: 25px; line-height: 1.2; margin: 5px 0 10px; }
.news-featured-copy > p { font-size: 13px; line-height: 1.5; margin-bottom: 10px; }
.news-featured-meta { font-size: 11px; }
@media (max-width: 900px) {
    .news-featured { width: 85%; grid-template-columns: 1fr; }
    .news-featured-visual { height: 200px; order: -1; margin-bottom: 18px; }
    .news-featured-visual img { min-height: 0; max-height: 200px; }
    .news-featured-copy { padding: 12px 0; }
}
@media (max-width: 620px) {
    .news-featured { width: 100%; }
    .news-featured-visual { height: 170px; }
    .news-featured-visual img { min-height: 0; max-height: 170px; }
    .news-featured-copy h2 { font-size: 22px; }
}
