/* V24: portada institucional, dientes de león y lectura profesional. */
/* Mantiene intactos los temas y estilos existentes. */
.links .nav-home[aria-current="page"],
.mobile-nav .nav-home[aria-current="page"]{color:#6553af;font-weight:800;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}
/* Decoración vectorial multicolor: sin scripts ni imágenes externas. */
.hero{position:relative;isolation:isolate;overflow:hidden}
.hero::before,.hero::after{content:"";position:absolute;pointer-events:none;z-index:-1;background-image:url("dientes-leon-institucional.svg");background-repeat:no-repeat;background-size:contain;width:clamp(290px,34vw,550px);height:clamp(240px,34vw,510px)}
.hero::before{left:-135px;bottom:-145px;opacity:.27;transform:rotate(-20deg);filter:hue-rotate(40deg) saturate(1.55)}
.hero::after{right:-135px;top:-135px;opacity:.28;transform:rotate(165deg);filter:hue-rotate(145deg) saturate(1.6)}
.hero .wrap{position:relative;z-index:1}
.hero-card{position:relative;overflow:hidden;isolation:isolate}
.hero-card::before,.hero-card::after{content:"";position:absolute;pointer-events:none;z-index:-1;width:220px;height:220px;background:url("dientes-leon-institucional.svg") center/contain no-repeat;opacity:.26}
.hero-card::before{left:-95px;bottom:-75px;filter:hue-rotate(85deg) saturate(1.7)}
.hero-card::after{right:-85px;top:-95px;transform:rotate(145deg);filter:hue-rotate(230deg) saturate(1.8)}
/* Párrafos de contenido largo: justificados, con partición silábica natural. */
main p:not(.partner-card p):not(.professional-info p):not(.team-pending-info p),
main .section-intro,main .territorial-note>span{ text-align:justify;text-align-last:left;text-justify:inter-word;hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word}
/* Evita espacios exagerados en textos pequeños y etiquetas. */
main .partner-card p,main .professional-info p,main .team-pending-info p,main .contact-chip,main .eyebrow{text-align:initial;hyphens:none}
@media(max-width:700px){.hero::before{left:-185px;bottom:-130px;opacity:.15}.hero::after{right:-195px;top:-90px;opacity:.14}.hero-card::before,.hero-card::after{opacity:.15}.hero-card{isolation:isolate}}
@media(prefers-reduced-transparency:reduce){.hero::before,.hero::after,.hero-card::before,.hero-card::after{opacity:.12}}


/* V25: decoración institucional con dientes de león en páginas internas */
.page-hero,
.donate-hero,
.team-section,
.institutional-page .institutional-hero,
.institutional-page .institutional-content,
.service-list-images,
.work-feature,
.work-gallery,
.contact-panel,
.contact-visual-grid,
.donation-message .wrap,
.donation-transfer,
.donation-thanks{
position:relative;isolation:isolate;overflow:hidden}

.page-hero>.wrap,
.donate-hero>.wrap,
.team-section>.wrap,
.institutional-page .institutional-hero>.wrap,
.institutional-page .institutional-content>.wrap,
.section>.wrap,
.service-list-images>*,
.work-feature>*,
.work-gallery>*,
.contact-panel>*,
.contact-visual-grid>*,
.donation-message .wrap>*,
.donation-transfer>*,
.donation-thanks>*{
position:relative;z-index:1}

.page-hero>.wrap::before,
.page-hero>.wrap::after,
.donate-hero>.wrap::before,
.donate-hero>.wrap::after,
.team-section>.wrap::before,
.team-section>.wrap::after,
.institutional-page .institutional-hero>.wrap::after,
.institutional-page .institutional-content>.wrap::before,
.service-list-images::before,
.service-list-images::after,
.work-feature::before,
.work-gallery::after,
.contact-panel::after,
.contact-visual-grid::before,
.donation-message .wrap::after,
.donation-transfer::before,
.donation-thanks::after{
content:"";position:absolute;pointer-events:none;background:url('dientes-leon-institucional.svg') center/contain no-repeat;opacity:.16;z-index:0}

.page-hero>.wrap::before{
width:220px;height:220px;left:-90px;bottom:-118px;opacity:.12;transform:rotate(-8deg)}
.page-hero>.wrap::after{
width:260px;height:260px;right:-75px;top:-42px;opacity:.16}

.donate-hero>.wrap::before{
width:220px;height:220px;left:-85px;bottom:-110px;opacity:.13;transform:rotate(-7deg)}
.donate-hero>.wrap::after{
width:290px;height:290px;right:-82px;top:-32px;opacity:.18}

.team-section::before,
.team-section::after{
content:none!important;display:none!important}
.team-section>.wrap::before{
width:330px;height:330px;left:-150px;bottom:-112px;opacity:.13}
.team-section>.wrap::after{
width:305px;height:305px;right:-132px;top:-86px;opacity:.14;transform:rotate(8deg)}

.institutional-page .institutional-florals{
opacity:.5}
.institutional-page .institutional-hero>.wrap::after{
width:300px;height:300px;right:-78px;top:-34px;opacity:.19}
.institutional-page .institutional-content>.wrap::before{
width:285px;height:285px;left:-118px;bottom:-94px;opacity:.14;transform:rotate(-10deg)}

.service-list-images::before{
width:250px;height:250px;left:-120px;bottom:-124px;opacity:.11}
.service-list-images::after{
width:240px;height:240px;right:-96px;top:-78px;opacity:.14}

.work-feature::before{
width:265px;height:265px;left:-118px;bottom:-112px;opacity:.12}
.work-gallery::after{
width:255px;height:255px;right:-98px;top:-62px;opacity:.13}

.contact-panel::after{
width:225px;height:225px;right:-88px;bottom:-106px;opacity:.14}
.contact-visual-grid::before{
width:215px;height:215px;left:-92px;top:-36px;opacity:.12}

.donation-message .wrap::after{
width:230px;height:230px;right:-92px;top:-30px;opacity:.14}
.donation-transfer::before{
width:250px;height:250px;left:-102px;bottom:-112px;opacity:.13}
.donation-thanks::after{
width:220px;height:220px;right:-82px;top:-52px;opacity:.13}

@media(max-width:900px){
.page-hero>.wrap::before,
.page-hero>.wrap::after,
.donate-hero>.wrap::before,
.donate-hero>.wrap::after,
.team-section>.wrap::before,
.team-section>.wrap::after,
.institutional-page .institutional-hero>.wrap::after,
.institutional-page .institutional-content>.wrap::before,
.service-list-images::before,
.service-list-images::after,
.work-feature::before,
.work-gallery::after,
.contact-panel::after,
.contact-visual-grid::before,
.donation-message .wrap::after,
.donation-transfer::before,
.donation-thanks::after{
opacity:.11}
.page-hero>.wrap::after,
.donate-hero>.wrap::after,
.team-section>.wrap::after,
.institutional-page .institutional-hero>.wrap::after,
.service-list-images::after,
.work-gallery::after,
.donation-message .wrap::after,
.donation-thanks::after{
width:190px;height:190px;right:-84px;top:-46px}
.page-hero>.wrap::before,
.donate-hero>.wrap::before,
.team-section>.wrap::before,
.institutional-page .institutional-content>.wrap::before,
.service-list-images::before,
.work-feature::before,
.contact-visual-grid::before,
.donation-transfer::before{
width:180px;height:180px;left:-84px;bottom:-88px}
.contact-panel::after{
width:180px;height:180px;right:-84px;bottom:-84px}
}

@media(max-width:700px){
.page-hero>.wrap::before,
.page-hero>.wrap::after,
.donate-hero>.wrap::before,
.donate-hero>.wrap::after,
.team-section>.wrap::before,
.team-section>.wrap::after,
.institutional-page .institutional-hero>.wrap::after,
.institutional-page .institutional-content>.wrap::before,
.service-list-images::before,
.service-list-images::after,
.work-feature::before,
.work-gallery::after,
.contact-panel::after,
.contact-visual-grid::before,
.donation-message .wrap::after,
.donation-transfer::before,
.donation-thanks::after{
opacity:.09}
.page-hero>.wrap::before,
.donate-hero>.wrap::before,
.team-section>.wrap::before,
.institutional-page .institutional-content>.wrap::before,
.service-list-images::before,
.work-feature::before,
.contact-visual-grid::before,
.donation-transfer::before{
width:140px;height:140px;left:-62px;bottom:-58px}
.page-hero>.wrap::after,
.donate-hero>.wrap::after,
.team-section>.wrap::after,
.institutional-page .institutional-hero>.wrap::after,
.service-list-images::after,
.work-gallery::after,
.donation-message .wrap::after,
.donation-thanks::after,
.contact-panel::after{
width:150px;height:150px;right:-60px;top:-28px}
.contact-panel::after{
bottom:-54px;top:auto}
}
