/* Capa final de legibilidad: no reducir el texto para hacerlo caber.
   Reorganizar columnas y permitir saltos, manteniendo la identidad de marca. */
html{font-size:100%;-webkit-text-size-adjust:100%}
body{font-size:18px;line-height:1.65}
.wrap{width:min(1440px,calc(100% - 80px))}
.header-inner,.header-inner nav,.collaboration-inner,.footer{min-width:0;flex-wrap:wrap}
.header-inner{gap:20px;padding-block:18px}
.header-inner>a{min-width:0;flex-shrink:0}
.header-inner nav{font-size:17px;gap:20px 32px;line-height:1.5}
.header-inner nav a{display:inline-flex;align-items:center;gap:9px;min-height:44px}
.brand{max-width:100%;height:auto}
h1,.hero h1{font-size:clamp(42px,5.4vw,78px);line-height:1.1;max-width:960px;overflow-wrap:break-word}
.hero h1 .hero-title-line{display:block}
.hero h1 .hero-title-line em{display:inline}
h2,.results-heading h2,.collaboration h2{font-size:clamp(32px,3.3vw,48px);line-height:1.2}
.hero .hero-inner{padding-block:70px 115px}
.hero .eyebrow{font-size:15px;line-height:1.7;letter-spacing:1.3px;max-width:720px}
.hero .intro{font-size:21px;line-height:1.75;max-width:740px}
.hero .hero-link{font-size:18px;min-height:44px;line-height:1.5}
.hero-caption{font-size:16px;line-height:1.6;max-width:240px}
.hero-signature-title{font-size:26px}
.hero-signature-text{font-size:16px}
.search-panel{padding:36px;min-width:0}
.search-main>label{font-size:26px;line-height:1.4}
input[type=search]{font-size:19px;line-height:1.5;height:62px;padding-right:16px;min-width:0;width:100%}
.input-wrap{min-width:0}
.input-wrap>span{top:12px}
.search-panel .filters{grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:20px;padding:22px;align-items:end}
.search-panel .filters>div{min-width:0;grid-column:auto}
.search-panel .filters label{font-size:17px;line-height:1.5;margin-bottom:9px}
.search-panel .filters select{font-size:17px;min-height:52px;width:100%}
.multi-filter summary{font-size:17px;line-height:1.5;min-height:52px;padding:12px 14px}
.multi-panel{box-sizing:border-box;width:100%;min-width:0;max-width:100%;left:0;right:auto;padding:12px}
.multi-hint{font-size:15px;line-height:1.6}
.search-panel .filters .multi-option{font-size:17px;line-height:1.5;min-height:46px;padding:11px 8px;overflow-wrap:anywhere}
.multi-option input{width:20px;height:20px;margin-top:3px}
.multi-options{max-height:min(360px,48dvh)}
.multi-clear{font-size:16px;min-height:44px;line-height:1.5;padding:12px 8px}
.reset{font-size:17px;min-height:52px;height:auto;line-height:1.5;padding:12px 16px;white-space:normal}
.data-note{font-size:16px;line-height:1.7;overflow-wrap:anywhere}
.active-filters-title{font-size:22px;line-height:1.4}
.active-group-title{font-size:16px;line-height:1.5;min-width:90px;white-space:normal}
.active-filter-group{align-items:flex-start}
.active-filter-tags{gap:12px;flex:1}
.filter-chip-shell{max-width:100%;padding-left:4px}
.filter-chip{font-size:16px;line-height:1.5;min-height:46px;padding:9px 10px;gap:10px}
.filter-chip-shell .filter-chip{padding-left:6px}
.filter-chip-count{font-size:15px;min-width:28px;height:28px}
.filter-chip-view{width:44px;height:44px}
.filter-chip-remove{width:26px;height:26px;font-size:19px}
.filter-chip-divider{font-size:17px;margin-inline:2px 5px}
.view-results{font-size:21px;min-height:54px;padding:14px 24px}
.results-heading .eyebrow,.collaboration .eyebrow{font-size:15px;line-height:1.6}
.directory-tools>p{font-size:18px;line-height:1.7}
.result-group-name{font-size:30px;line-height:1.45;min-width:0}
.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.grid>*{min-width:0;max-width:100%}
.logo-box{height:190px;padding:26px}
.logo-placeholder{font-size:16px;line-height:1.5;text-align:center;overflow-wrap:anywhere}
.card .member-heading{min-height:106px;padding:22px 18px}
.card .member-heading h3{font-size:23px;line-height:1.35;overflow-wrap:anywhere}
.logo-hover-label{font-size:17px;line-height:1.4}
.card.is-expanded{width:100%;max-width:100%}
.is-expanded .member-disclosure[open]{grid-template-columns:290px minmax(0,1fr)}
.is-expanded .member-summary{min-width:0;padding:32px 24px}
.is-expanded .member-heading{min-width:0;min-height:0;padding:26px 0 0;gap:14px}
.is-expanded .member-heading h3{font-size:32px;line-height:1.25;margin-bottom:10px}
.is-expanded .logo-box{height:220px;padding:24px}
.is-expanded .member-content{min-width:0;padding:60px 36px 36px;overflow-wrap:anywhere}
.is-expanded .member-content .card-description{font-size:20px;line-height:1.8;white-space:pre-line}
.is-expanded .member-content>.detail-label{font-size:18px;line-height:1.5}
.is-expanded .read-more{font-size:18px;line-height:1.6;min-height:44px;align-items:center}
.is-expanded .member-content .is-pending{font-size:18px;line-height:1.7}
.is-expanded .member-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.is-expanded .fact-block{min-width:0;padding:22px}
.is-expanded .fact-block dt{font-size:20px;line-height:1.4;overflow-wrap:anywhere}
.is-expanded .fact-block dd{font-size:18px;line-height:1.65;overflow-wrap:anywhere}
.is-expanded .provisional-label,.is-expanded .fact-source{font-size:16px;line-height:1.6}
.is-expanded .fact-source{min-height:44px;align-items:center}
.is-expanded .identity-link{font-size:17px;line-height:1.5;min-height:48px;width:100%;max-width:none;padding:12px 15px;white-space:normal;overflow-wrap:anywhere}
.is-expanded .identity-profile{font-size:16px;min-height:44px;padding:10px 3px}
.is-expanded .case-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.is-expanded .case-thumbnail{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.is-expanded .case-title{font-size:20px;line-height:1.45;padding:18px 16px 58px;overflow-wrap:anywhere}
.is-expanded .case-arrow{width:38px;height:38px;font-size:19px}
.is-expanded .no-cases{font-size:18px;line-height:1.7}
.is-expanded .close-details{width:46px;height:46px;font-size:30px;top:12px;right:12px}
.source-note{font-size:16px;line-height:1.7}
.source-note p{min-width:0;overflow-wrap:anywhere}
.collaboration p:last-child{font-size:19px;line-height:1.7}
.collaboration a{font-size:22px;min-height:52px;max-width:100%;overflow-wrap:anywhere}
.footer{font-size:16px;line-height:1.6;padding-block:22px}
.footer a{display:inline-flex;align-items:center;min-height:44px}
.empty p,.empty button{font-size:18px;line-height:1.6}

@media(max-width:1279px){
  .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .search-panel .filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .reset{width:100%}
  .is-expanded .case-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-caption{position:static;margin-top:24px}
}
@media(max-width:959px){
  .wrap{width:calc(100% - 48px)}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  .header-inner nav{font-size:16px;gap:12px 22px}
  .is-expanded .member-disclosure[open]{grid-template-columns:minmax(0,1fr)}
  .is-expanded .member-summary{display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px;padding:30px 62px 30px 24px;border-radius:20px 20px 0 0}
  .is-expanded .logo-box{height:160px;padding:18px}
  .is-expanded .member-heading{padding:0;gap:12px}
  .is-expanded .member-heading h3{font-size:30px}
  .is-expanded .member-content{border-left:0;border-top:1px solid #e0e9e4;padding:30px}
  .is-expanded .member-content .card-description{font-size:19px}
  .hero .intro{font-size:20px}
}
@media(max-width:759px){
  .wrap{width:calc(100% - 32px)}
  .header-inner{align-items:flex-start;flex-direction:column;gap:12px;padding-block:18px}
  .brand{width:180px}
  .header-inner nav{width:100%;justify-content:space-between;gap:10px 18px;font-size:16px}
  .header-inner nav a{white-space:normal}
  .hero .hero-inner{padding-block:44px 94px}
  .hero .hero-inner{text-align:center}
  .hero-title-lead,.hero-title-middle,.hero h1 em{display:block}
  .hero-title-middle{white-space:nowrap}
  .hero-title-desktop-break,.hero .intro{display:none}
  .hero .eyebrow{justify-content:center;margin-inline:auto}
  .hero h1,.hero .intro{margin-inline:auto}
  .hero .hero-link{margin-inline:auto;justify-content:center}
  .hero-caption{margin-inline:auto;text-align:center}
  .hero h1{font-size:clamp(44px,10.5vw,62px);letter-spacing:-.5px}
  .hero .eyebrow{font-size:14px;letter-spacing:1px}
  .hero .eyebrow>span{align-self:flex-start;flex:0 0 6px;width:6px;height:6px;margin-top:calc(.85em - 3px)}
  .hero .intro{font-size:19px;line-height:1.7}
  .hero-signature{position:static;max-width:100%;margin-top:26px;font-size:16px}
  .search-panel{padding:26px 22px;margin-top:-34px;border-radius:22px}
  .search-panel::before{left:22px}
  .search-main>label{font-size:25px}
  .search-main>label{justify-content:center;text-align:center;width:100%}
  input[type=search]{font-size:18px;height:58px}
  .search-panel .filters{grid-template-columns:minmax(0,1fr);gap:18px;padding:18px 14px}
  .search-panel .filters>div:nth-child(3){grid-column:auto}
  .multi-filter summary{font-size:17px}
  .filters>div:nth-child(2) .multi-panel{left:0;right:auto}
  .multi-panel{width:100%;max-width:100%}
  .multi-options{max-height:min(300px,44dvh)}
  .active-filter-group{flex-direction:column;gap:12px}
  .active-filter-tags{width:100%;gap:10px}
  .active-group-title{font-size:16px}
  .filter-chip{font-size:16px}
  .filter-chip-shell{min-width:0}
  .data-note{font-size:15px}
  .view-results{position:relative;width:100%;font-size:20px;justify-content:center;padding-inline:52px;text-align:center}
  .view-results span{position:absolute;right:20px;top:50%;transform:translateY(-50%)}
  .results-heading{margin-top:40px}
  .results-heading .eyebrow{font-size:14px}
  .directory-tools>p{font-size:18px}
  .result-group-name{font-size:26px}
  .card .member-heading h3{font-size:22px}
  .logo-box{height:170px;padding:22px}
  .is-expanded .member-facts{grid-template-columns:minmax(0,1fr)}
  .is-expanded .member-content{padding:28px 22px}
  .is-expanded .member-content>.detail-label{text-align:center}
  .is-expanded .member-content>.detail-label:first-child::before{display:none}
  .is-expanded .member-content .card-description{font-size:18px}
  .is-expanded .member-heading h3{font-size:28px}
  .is-expanded .identity-web,.is-expanded .identity-pdf,.is-expanded .identity-profile{position:relative;justify-content:center;text-align:center;padding-inline:42px}
  .is-expanded .identity-web>span,.is-expanded .identity-pdf>span,.is-expanded .identity-profile>span{position:absolute;right:15px;top:50%;transform:translateY(-50%)}
  .is-expanded .case-title{font-size:19px}
  .collaboration-inner{flex-direction:column;align-items:flex-start}
  .collaboration a{font-size:21px}
  .footer{flex-direction:column;align-items:flex-start;gap:8px}
}
@media(max-width:599px){
  .grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .search-panel{padding:25px 18px}
  .search-panel .filters{padding:16px 12px}
  .is-expanded .member-summary{display:flex;flex-direction:column;align-items:stretch;gap:22px;padding:62px 22px 28px}
  .is-expanded .member-logo-link{width:min(220px,100%);margin-inline:auto}
  .is-expanded .logo-box{height:175px;padding:20px}
  .is-expanded .member-heading h3{font-size:29px}
  .is-expanded .member-content{padding:28px 20px}
  .is-expanded .case-list{grid-template-columns:minmax(0,1fr)}
  .is-expanded .case-title{font-size:20px}
  .is-expanded .fact-block{padding:20px 16px}
  .is-expanded .fact-block dt{font-size:19px}
  .is-expanded .identity-link{font-size:17px}
  .result-group-heading::after{display:none}
}
@media(max-width:359px){
  .wrap{width:calc(100% - 24px)}
  .search-panel{padding-inline:14px}
  .header-inner nav{flex-direction:column;align-items:flex-start;gap:0}
  .hero h1{font-size:42px}
  .search-panel .filters{padding-inline:10px}
  .is-expanded .member-content{padding-inline:17px}
  .filter-chip{gap:7px;padding-right:8px}
  .filter-chip-view{width:40px;min-height:44px}
}

/* Fichas de asociados: un paso más de tamaño para facilitar la lectura. */
.is-expanded .member-content .card-description{font-size:22px}
.is-expanded .member-content>.detail-label{font-size:20px}
.is-expanded .member-content .is-pending{font-size:20px}
.is-expanded .fact-block dt{font-size:22px}
.is-expanded .fact-block dd{font-size:20px}
.is-expanded .provisional-label,.is-expanded .fact-source{font-size:17px}
.is-expanded .read-more{font-size:20px}
.is-expanded .no-cases{font-size:20px}
.is-expanded .case-title{font-size:22px}
.is-expanded .identity-link{font-size:18px}
.is-expanded .identity-profile{font-size:17px}
.member-contact{display:none}
.contact-scope{margin:0 0 4px;color:#526d6a;font-size:15px;line-height:1.55}
.is-expanded .member-contact{display:grid;gap:8px;min-width:0;width:100%;margin-top:28px;padding:18px 0 6px;border-top:1px solid #d2e5df}
.is-expanded .identity-contact{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-width:0;max-width:none;margin:0;padding:10px 12px;border:1px solid #c9e1dc;background:#fff;color:var(--teal-ink,#007e85);font-size:18px;line-height:1.45;text-decoration:none;text-align:left;transition:background .2s,border-color .2s}
.is-expanded .identity-contact:hover{background:#e5f4f1;border-color:#00878d}
.identity-contact svg{width:20px;height:20px;flex:0 0 20px;stroke-linecap:round;stroke-linejoin:round}
.identity-contact .contact-value{min-width:0;overflow-wrap:anywhere}
.member-socials{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.social-link{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #bddbd5;border-radius:12px;background:linear-gradient(145deg,#fff,#edf7f4);color:var(--teal-ink,#007e85);box-shadow:0 2px 5px #006c7310;text-decoration:none;transition:background .2s,color .2s,transform .2s,box-shadow .2s,border-color .2s}
.social-link svg{display:block;width:24px;height:24px;flex:none}
.social-linkedin svg{width:25px;height:25px}
.social-youtube svg{width:27px;height:24px}
.social-link:hover{background:var(--teal-ink,#007e85);border-color:var(--teal-ink,#007e85);color:#fff;transform:translateY(-2px);box-shadow:0 5px 12px #006c7326}
.social-link:active{transform:translateY(0);box-shadow:none}
@media(prefers-reduced-motion:reduce){.social-link{transition:none}.social-link:hover{transform:none}}
.social-link:focus-visible{outline:3px solid var(--orange,#ff501b);outline-offset:3px}
@media(max-width:759px){.member-socials{justify-content:center}.contact-scope{text-align:center;font-size:16px}}
@media(max-width:759px){.is-expanded .identity-contact{justify-content:center;text-align:center}}
@media(max-width:959px){
  .is-expanded .member-content .card-description{font-size:21px}
}
@media(max-width:759px){
  .is-expanded .member-content .card-description{font-size:20px}
  .is-expanded .fact-block dt{font-size:23px}
  .is-expanded .fact-block dd{font-size:22px}
  .is-expanded .fact-block .provisional-label,.is-expanded .fact-block .fact-source{font-size:20px;line-height:1.65}
  .is-expanded .fact-block .fact-source{display:flex;justify-content:center;text-align:center;width:100%;margin-right:0}
  .is-expanded .read-more{display:flex;justify-content:center;text-align:center;width:100%}
  .is-expanded .case-title{font-size:21px}
}
