/* Directorio territorial: componentes aislados y sin recursos externos. */
.territorial-hero{background:linear-gradient(115deg,#0c263d,#173f50);color:#fff;padding:65px 0 60px}
.territorial-hero .breadcrumb{color:#d0e5ec;margin-bottom:30px}.territorial-hero .breadcrumb a{color:inherit}
.territorial-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:55px;align-items:center}
.territorial-hero h1{font-size:clamp(2.7rem,5.3vw,5.3rem);line-height:1.07;max-width:930px}
.territorial-hero p{color:#dceaf1;max-width:730px}.territorial-hero .eyebrow{color:#b7e4c0}
.territorial-stat{border:1px solid #72999e;border-radius:14px;padding:26px;background:#ffffff08}
.territorial-stat strong{display:block;font-size:6.5rem;line-height:1;font-weight:500;letter-spacing:-.08em;color:#c3e8ba}
.territorial-stat p{font-size:15px;margin:15px 0 0}.territorial-hero .actions{margin-top:24px}
.territorial-content{padding:55px 0 65px}.territorial-content h2{font-size:clamp(2rem,3.2vw,3.2rem);line-height:1.14}
.territorial-content h3{font-size:1.45rem;line-height:1.25;letter-spacing:-.025em}
.territorial-jump{display:flex;flex-wrap:wrap;gap:12px 22px;margin-bottom:42px;padding-bottom:22px;border-bottom:1px solid #cbdadf}
.territorial-jump a,.territorial-content p a,.territorial-content li a:not(.territorial-choice){text-decoration:underline;text-underline-offset:4px}
.territorial-intro{max-width:850px}.territorial-filter{display:flex;align-items:end;gap:14px;max-width:760px;margin:28px 0 10px}
.territorial-filter label{display:block;font-weight:600;margin-bottom:7px}.territorial-filter div{flex:1}
.territorial-filter input{width:100%;font:inherit;color:#102b40;background:#fff;border:1px solid #73939f;border-radius:6px;padding:13px 16px;min-height:52px}
.territorial-filter button{background:#eff5f3;color:#153a40;border:1px solid #b6d0c5;border-radius:6px;padding:13px 19px;min-height:52px;cursor:pointer}
.territorial-filter input:focus-visible{outline:3px solid #45942f;outline-offset:3px}
.territorial-count{font-size:14px;margin:10px 0 18px;color:#405e6b}
.territorial-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 16px}
.territorial-list li{min-width:0;margin:0}.territorial-choice{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f0f5f6;padding:12px 14px;border:1px solid #d5e2e5;border-radius:6px;font-size:15px;line-height:1.4;min-height:48px}
.territorial-choice::after{content:'↗';color:#35725b}.territorial-choice:hover{background:#e2f0e6;border-color:#8bb39c}
.territorial-choice[aria-current="true"]{background:#dceee0;border-color:#37684b;font-weight:650}
.territorial-choice small{display:block;margin-top:4px;font-size:12px;line-height:1.4;color:#466b77;font-weight:400}
.territorial-list [hidden],.territorial-content [hidden],.territorial-filter[hidden]{display:none!important}
.territorial-empty{padding:18px;background:#fff5e6;border:1px solid #e1d0af;border-radius:6px}
.territorial-source{font-size:13px;margin:18px 0 0;max-width:900px}
.territorial-scenarios{margin-top:70px}.territorial-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.territorial-card{border:1px solid #d2e0e1;border-top:4px solid #59977d;padding:28px;border-radius:9px;background:#fbfdfc}
.territorial-card p{font-size:16px}.territorial-card ul{padding-left:21px;font-size:16px;color:#415e6a}.territorial-card li{margin-bottom:8px}
.territorial-card .text-link{font-size:15px;line-height:1.5}.territorial-card h3{margin-bottom:15px}
.territorial-checklist{background:#edf4f7;border-radius:12px;padding:32px;margin-top:50px}
.territorial-checklist ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding-left:24px;color:#405e6b}
.territorial-checklist li{padding-left:4px}.territorial-checklist strong{display:block;color:#173b4b;margin-bottom:8px}
.territorial-consult{margin-top:50px;padding:36px;border:1px solid #afcdc0;border-radius:12px;background:#eaf3ec}
.territorial-consult h2{font-size:clamp(1.9rem,3vw,2.8rem)}.territorial-consult p{max-width:800px}.territorial-consult .button{max-width:100%;white-space:normal;text-align:center}
.territorial-consult .fine{margin-top:22px;margin-bottom:0}.territorial-faq{margin-top:50px}.territorial-faq details{padding:22px 0;border-bottom:1px solid #cbdadf}.territorial-faq summary{font-size:19px;font-weight:600;cursor:pointer}.territorial-faq details p{margin-top:15px;max-width:900px}
.territorial-promo{margin:38px auto;padding:28px 32px;border:1px solid #bfd7ca;border-left:5px solid #477f66;border-radius:8px;background:#eef6f0}
.territorial-promo h2{font-size:clamp(1.5rem,2.5vw,2.2rem);line-height:1.2;margin-bottom:12px}.territorial-promo p{font-size:16px;max-width:850px;margin-bottom:10px}.territorial-promo .text-link{margin-top:4px}
@media(min-width:1001px) and (max-width:1200px){header nav#nav{gap:14px;font-size:13px}header{gap:18px;padding-inline:3%}}
@media(max-width:900px){.territorial-hero-grid{grid-template-columns:1fr}.territorial-stat{display:none}.territorial-list{grid-template-columns:repeat(3,minmax(0,1fr))}.territorial-checklist ol{grid-template-columns:1fr;gap:20px}}
@media(max-width:600px){.territorial-hero{padding:40px 0}.territorial-content{padding:34px 0 45px}.territorial-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.territorial-choice{font-size:14px;padding:11px;min-height:60px}.territorial-filter{gap:8px}.territorial-filter button{padding-inline:12px}.territorial-cards{grid-template-columns:1fr}.territorial-card,.territorial-checklist,.territorial-consult{padding:23px}.territorial-promo{padding:24px}.territorial-jump{gap:12px 18px;font-size:15px}.territorial-scenarios{margin-top:45px}}
@media print{.territorial-filter,.territorial-jump{display:none}.territorial-list{grid-template-columns:repeat(3,1fr)}.territorial-list li[hidden]{display:block!important}.territorial-hero{background:white;color:#102b40}.territorial-hero p{color:#405e6b}.territorial-stat{display:none}}
