.municipios-section{padding:30px 0 45px;color:#525b55}.municipios-section h1{font-size:32px;line-height:1.3;color:#07552e;letter-spacing:-.6px;margin:15px 0 20px}.municipios-intro{font-size:14px;color:#778375}.municipios-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,240px));gap:28px;padding:20px 0}.municipio-tile{display:flex;flex-direction:column;align-items:center;gap:18px;text-decoration:none;padding:22px;border:1px solid #e5eae2;border-radius:8px}.municipio-tile:hover{background:#f6f9f3;border-color:#b9cfb5}.municipio-tile img{width:208px;max-width:100%;height:143px;object-fit:contain}.municipio-tile>span{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;min-width:160px;padding:8px 20px;border-radius:24px;background:#07552e;color:#fff;font-size:17px}.municipio-back{font-size:13px;color:#567b5f;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}.municipio-profile{border:1px solid #dfe5dc;border-radius:5px;padding:25px 30px}.municipio-profile h2{font-size:20px;line-height:1.35;color:#07552e;margin:23px 0 7px;letter-spacing:-.3px}.municipio-profile>h2:first-child{margin-top:0}.municipio-profile p{font-size:15px;line-height:1.7;margin:7px 0 17px;overflow-wrap:anywhere}.municipio-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;margin:14px 0 20px}.municipio-media figure{margin:0;border:1px solid #e0e6dd;border-radius:4px;padding:20px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-width:0}.municipio-media img{display:block;max-width:100%;width:auto;height:210px;object-fit:contain}.municipio-media .municipio-mayor{width:210px;height:210px;border-radius:50%;border:2px solid #07552e;object-fit:cover}.municipio-media figcaption{font-size:14px;color:#64705f;line-height:1.5}.municipio-media figcaption small{display:block;color:#22703f;font-size:12px}.municipio-flag{width:280px;max-width:100%;height:180px;background:linear-gradient(to bottom,#009045 0 33.333%,#f4e72d 33.333% 66.666%,#3a2210 66.666% 100%)}.municipio-facts{display:grid;grid-template-columns:1fr 1fr;gap:30px}.municipio-map{display:block;width:100%;height:260px;border:1px solid #dce6d8;border-radius:3px;margin-top:12px}.municipio-profile a{color:#23673c}.municipio-contact{max-width:520px;border:1px solid #e0e8db}.municipio-contact summary{display:flex;justify-content:space-between;align-items:center;min-height:50px;padding:12px 18px;margin:0;background:#07552e;color:#fff;cursor:pointer;list-style:none;font-size:16px}.municipio-contact summary::-webkit-details-marker{display:none}.municipio-contact[open] summary span{transform:rotate(45deg)}.municipio-contact p{padding:0 18px}.municipio-profile .municipio-source{font-size:11px;color:#84917e;border-top:1px solid #e5eadf;padding-top:15px;margin:25px 0 0}.municipio-tile:focus-visible,.municipio-contact summary:focus-visible{outline:3px solid #91ba52;outline-offset:3px}@media(max-width:700px){.municipios-section{padding-top:20px}.municipios-section h1{font-size:27px}.municipio-profile{padding:18px}.municipio-media,.municipio-facts{grid-template-columns:1fr;gap:16px}.municipio-media img{height:185px}.municipio-media .municipio-mayor{width:185px;height:185px}.municipio-profile p{font-size:14px}.municipio-map{height:230px}}

.municipio-media-three{grid-template-columns:repeat(3,minmax(0,1fr))}.municipio-flag-alonso{background:linear-gradient(to bottom,#00813e 0 33.333%,#fff 33.333% 66.666%,#00813e 66.666% 100%)}.municipio-tile>span{font-size:15px;min-width:0;width:100%;white-space:nowrap}@media(max-width:850px){.municipio-media-three{grid-template-columns:1fr}}

.municipio-flag-sanpedro{background:linear-gradient(to bottom,#0001fe 0 33.333%,#fff 33.333% 66.666%,#007b3e 66.666% 100%)}.municipio-panorama{display:block;width:100%;height:auto;max-height:420px;object-fit:cover;object-position:center;margin:0 0 22px;border-radius:4px}@media(max-width:700px){.municipio-panorama{max-height:260px}}

/* Tarjetas centradas y movimiento suave al interactuar. */
.municipios-grid{justify-content:center}
.municipio-tile{min-width:0;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background-color .22s ease}
.municipio-tile img{transition:transform .25s ease}
.municipio-tile>span{transition:background-color .22s ease}
.municipio-tile>span b{transition:transform .22s ease}
@media(hover:hover) and (pointer:fine){
  .municipio-tile:hover{transform:translateY(-7px);box-shadow:0 12px 24px #164a321a;border-color:#7aaf85}
  .municipio-tile:hover img{transform:scale(1.06)}
  .municipio-tile:hover>span{background:#08783e}
  .municipio-tile:hover>span b{transform:translate(2px,-2px)}
}
.municipio-tile:focus-visible{transform:translateY(-4px);box-shadow:0 8px 20px #164a321a}
@media(max-width:480px){.municipios-grid{grid-template-columns:minmax(0,280px)}}
@media(prefers-reduced-motion:reduce){.municipio-tile,.municipio-tile img,.municipio-tile>span,.municipio-tile>span b{transition:none}.municipio-tile:hover,.municipio-tile:focus-visible,.municipio-tile:hover img,.municipio-tile:hover>span b{transform:none}}
.municipio-tile>span{background:#fff;color:#07552e;border:1px solid #07552e;transition:background-color .2s ease,color .2s ease,border-color .2s ease}
@media(hover:hover) and (pointer:fine){.municipio-tile:hover>span{background:#00843d;border-color:#00843d;color:#fff}}
.municipio-tile:focus-visible>span,.municipio-tile:active>span{background:#00843d;border-color:#00843d;color:#fff}
@media(prefers-reduced-motion:reduce){.municipio-tile>span{transition:none}}
.municipio-no-image{min-height:130px;display:grid;place-items:center;color:#7b8979;background:#f6f8f3;width:100%;font-size:13px}
