:root { --green:#16836e; --ink:#18302d; --paper:#f7fbfa; --line:#dbe8e4; --muted:#58706a; }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { min-width:0; margin:0; overflow-x:hidden; color:var(--ink); background:var(--paper); font:16px/1.65 Arial, sans-serif; }
a,button,input,select,textarea { font:inherit; }
a { color:var(--green); }
.site-header { display:flex; align-items:center; justify-content:space-between; gap:2rem; padding:1.2rem max(5vw,2rem); background:#fff; border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; color:var(--ink); font-weight:800; font-size:1.25rem; letter-spacing:.06em; text-decoration:none; }
.brand img { display:block; width:clamp(9rem,15vw,13rem); height:3.35rem; object-fit:contain; object-position:left center; }
.brand span { color:var(--green); }
nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.45rem 1rem; min-width:0; }
nav a { color:var(--ink); font-size:.9rem; line-height:1.35; text-decoration:none; }
nav a:hover { color:var(--green); }
.page-hero { padding:4.5rem max(5vw,2rem); color:#fff; background:linear-gradient(120deg,#0c6657,#229779); }
.page-hero p,.eyebrow { margin:0 0:.4rem; color:#b9ede0; font-size:.8rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.page-hero h1 { max-width:70rem; margin:0; font-size:clamp(2.2rem,5vw,4.5rem); line-height:1.08; }
.content { max-width:70rem; min-width:0; margin:0 auto; padding:clamp(2rem,5vw,3.5rem) max(5vw,2rem); }
.content h1,.content h2,.content h3 { color:var(--ink); line-height:1.2; }
.content :where(img,svg,video,canvas) { max-width:100%; height:auto; }
.content img { border-radius:.25rem; }
.content iframe,.content embed,.content object { display:block; width:100%; max-width:100%; min-height:clamp(15rem,55vw,32rem); border:0; }
.content table { display:block; width:max-content; min-width:100%; max-width:100%; overflow-x:auto; border-spacing:0; }
.content th,.content td { overflow-wrap:anywhere; vertical-align:top; }
.content pre { max-width:100%; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; }
.content .slider-pro { position:relative; margin:0 auto 2rem; overflow:hidden; border-radius:.5rem; background:#e6efed; box-shadow:0 .6rem 1.75rem rgba(24,48,45,.16); }
.content .slider-pro .sp-slides { display:block; overflow:hidden; }
.content .slider-pro .sp-slide { display:none; overflow:hidden; background:#e6efed; }
.content .slider-pro .sp-slide:first-child { display:block; }
.content .slider-pro .sp-slide img { display:block; width:100%; height:clamp(16rem,42vw,34rem); object-fit:cover; border-radius:0; }
.content .static-carousel .sp-slides { display:block !important; overflow:hidden !important; }
.content .static-carousel .carousel-track { display:flex; width:100%; transition:transform .9s cubic-bezier(.22,.61,.36,1); will-change:transform; }
.content .static-carousel .sp-slide { position:relative !important; top:auto !important; right:auto !important; bottom:auto !important; left:auto !important; display:block !important; flex:0 0 100%; width:100% !important; max-width:100%; height:auto !important; min-width:100%; }
.content .static-carousel .sp-slide img { width:100% !important; max-width:100%; height:clamp(16rem,42vw,34rem) !important; object-fit:cover; }
.carousel-control { position:absolute; z-index:2; top:50%; width:2.75rem; height:2.75rem; border:0; border-radius:50%; color:#fff; background:rgba(15,42,36,.72); font:2rem/1 Arial,sans-serif; cursor:pointer; transform:translateY(-50%); transition:background .2s,transform .2s; }
.carousel-control:hover,.carousel-control:focus-visible { background:var(--green); outline:3px solid #fff; outline-offset:2px; }
.carousel-control:active { transform:translateY(-50%) scale(.94); }
.carousel-previous { left:1rem; }
.carousel-next { right:1rem; }
.convenios-intro { max-width:48rem; margin:0 auto 2rem; text-align:center; }
.convenios-intro > p:first-child { margin:0; color:var(--green); font-size:.78rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.convenios-intro h2 { margin:.3rem 0 .65rem; font-size:clamp(1.7rem,3vw,2.4rem); }
.convenios-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.1rem; }
.convenio-card { display:grid; place-items:center; min-height:10rem; margin:0; padding:1rem; border:1px solid var(--line); border-radius:.5rem; background:#fff; box-shadow:0 .25rem .75rem rgba(24,48,45,.06); }
.convenio-card img { display:block; width:100%; max-width:10rem; height:5rem; object-fit:contain; border-radius:0; }
.convenio-card figcaption { margin-top:.65rem; color:var(--muted); font-size:.82rem; font-weight:700; text-align:center; }
.news { max-width:76rem; min-width:0; margin:0 auto; padding:clamp(2rem,5vw,3.5rem) max(5vw,2rem) clamp(3rem,7vw,5rem); }
.news-heading { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin-bottom:1.4rem; border-bottom:2px solid var(--ink); }
.news-heading h2 { margin:0 0:.65rem; font-size:clamp(1.7rem,3vw,2.35rem); }
.news-heading > a { margin-bottom:.8rem; color:var(--green); font-weight:700; text-decoration:none; white-space:nowrap; }
.news-featured { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(16rem,.9fr); gap:1.25rem; }
.news-side { display:grid; gap:1.25rem; }
.news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; margin-top:1.25rem; }
.news-card { overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:.5rem; box-shadow:0 .35rem 1rem rgba(24,48,45,.08); }
.news-image { display:block; overflow:hidden; background:#dceae6; }
.news-image img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:0; transition:transform .35s ease; }
.news-card:hover .news-image img { transform:scale(1.045); }
.news-copy { padding:1rem 1.1rem 1.2rem; }
.news-date { margin:0 0:.35rem; color:var(--green); font-size:.74rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }
.news-card h2 { margin:0; font-size:1.12rem; line-height:1.28; }
.news-card h2 a { color:var(--ink); text-decoration:none; }
.news-card h2 a:hover { color:var(--green); }
.news-copy > p:last-child { margin:.55rem 0 0; color:var(--muted); font-size:.9rem; line-height:1.5; }
.news-lead h2 { font-size:clamp(1.45rem,2.5vw,2.15rem); }
.news-lead .news-copy { padding:1.25rem 1.4rem 1.5rem; }
.news-compact { display:grid; grid-template-columns:8rem 1fr; }
.news-compact .news-image img { height:100%; aspect-ratio:auto; }
.news-compact .news-copy { padding:.8rem .95rem; }
.news-compact .news-copy > p:last-child { display:none; }
.news-compact h2 { font-size:1rem; }
.news-archive { grid-template-columns:repeat(3,minmax(0,1fr)); }
.news-archive .news-image img { height:10rem; aspect-ratio:auto; }
.button { display:inline-block; margin-top:1.75rem; padding:.75rem 1rem; color:#fff; background:var(--green); border-radius:.25rem; text-decoration:none; }
footer { display:flex; justify-content:space-between; gap:2rem; padding:clamp(2rem,5vw,2.5rem) max(5vw,2rem); color:#d9eee8; background:#153b34; }
footer a { color:#d9eee8; }
.site-footer { align-items:center; }
.footer-details { flex:1 1 22rem; }
.footer-brand { display:inline-flex; align-items:center; max-width:17rem; margin-bottom:.4rem; padding:.35rem .65rem; border-radius:.35rem; background:#fff; }
.footer-brand img { display:block; width:100%; height:3.6rem; object-fit:contain; }
.footer-details strong { font-size:1.15rem; }
.footer-details p { margin:.45rem 0; }
.route-links { display:flex; flex-wrap:wrap; gap:.65rem; margin-top:1rem; }
.route-links a { padding:.45rem .75rem; border:1px solid #a9d8cb; border-radius:.3rem; font-weight:700; text-decoration:none; }
.route-links a:hover { color:#153b34; background:#d9eee8; }
.footer-map { flex:1 1 28rem; width:100%; min-height:13rem; border:0; border-radius:.45rem; background:#e6efed; }
@media (max-width:720px) { .site-header,footer { align-items:flex-start; flex-direction:column; } .site-header { gap:1rem; padding-block:1rem; } nav { justify-content:flex-start; width:100%; } .page-hero { padding-block:clamp(2.5rem,12vw,4rem); } .footer-map { min-height:15rem; } .convenios-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; } .convenio-card { min-height:8.5rem; } .news-heading { align-items:flex-start; flex-direction:column; padding-bottom:.65rem; } .news-heading > a { margin:0; } .news-featured,.news-grid,.news-archive { grid-template-columns:1fr; } .news-compact { grid-template-columns:7rem minmax(0,1fr); } .carousel-control { width:2.35rem; height:2.35rem; } .carousel-previous { left:.55rem; } .carousel-next { right:.55rem; } }
@media (max-width:390px) { .site-header,.page-hero,.content,.news,footer { padding-inline:1rem; } nav { gap:.45rem .75rem; } nav a { font-size:.84rem; } .brand img { width:9.5rem; height:2.85rem; } .page-hero h1 { font-size:clamp(2rem,11vw,2.6rem); } .convenios-grid { grid-template-columns:1fr; } .convenio-card { min-height:7.5rem; } .news-compact { grid-template-columns:1fr; } .news-compact .news-image img { height:auto; aspect-ratio:16/9; } .footer-map { min-height:13rem; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition-duration:.01ms!important; animation-duration:.01ms!important; animation-iteration-count:1!important; } }
