@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root{--green:#173B2F;--green2:#2F5B4A;--cream:#F6F3EA;--paper:#FCFBF7;--ink:#24312B;--muted:#68746D;--line:#D9DED8;--gold:#D7C18B;--max:1280px}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;font-family:'DM Sans',sans-serif;color:var(--ink);background:#fff} a{color:inherit;text-decoration:none} img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 64px));margin:auto}.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.header-inner{min-height:86px;display:flex;align-items:center;gap:30px}.logo{width:205px}.nav{display:flex;align-items:center;gap:24px;margin-left:auto}.nav a{font-size:13px;color:#25312C;white-space:nowrap}.nav a:hover{text-decoration:underline;text-underline-offset:4px}
.header-cta{background:var(--green);color:#fff;padding:14px 18px;font-size:11px;font-weight:700;letter-spacing:1.3px;text-transform:uppercase}.langs{font-size:11px;font-weight:700;color:var(--muted);white-space:nowrap}.langs a.active{color:var(--green)}
.menu-toggle{display:none;border:1px solid var(--green);background:#fff;padding:10px 12px;font-size:11px;letter-spacing:1.5px;font-weight:700;color:var(--green)}
.mobile-nav{display:none;border-top:1px solid var(--line);padding:16px 0 22px}.mobile-nav a{display:block;padding:9px 0;font-size:13px}.mobile-nav.open{display:block}
.hero{position:relative;min-height:650px;display:flex;align-items:stretch;overflow:hidden;background:#11251D}.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 55%;filter:saturate(.92) contrast(1.03) brightness(.94)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,30,22,.93) 0%,rgba(8,30,22,.78) 22%,rgba(8,30,22,.34) 49%,rgba(8,30,22,.16) 75%,rgba(8,30,22,.24) 100%)}
.hero-inner{position:relative;z-index:2;width:min(var(--max),calc(100% - 64px));margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px;align-items:center;padding:72px 0}
.kicker{font-size:11px;font-weight:700;letter-spacing:2.2px;color:#fff;text-transform:uppercase}.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:72px;line-height:.98;font-weight:400;color:#fff;margin:20px 0 22px;max-width:760px}.hero h1 em,.section-title em,.closing h2 em{font-style:normal}.hero-lead{font-size:19px;line-height:1.45;color:#F1F4EE;max-width:700px}.hero-tag{font-size:16px;font-weight:700;color:#fff;margin:20px 0 0}.cta-row{display:flex;gap:12px;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 18px;border:1px solid transparent;font-size:11px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase}.btn.primary{background:var(--green);color:#fff}.btn.light{background:#fff;color:var(--green);border-color:#fff}.btn.ghost{background:transparent;color:var(--green);border-color:var(--green)}
.hero-side{align-self:center;justify-self:end;color:#fff;max-width:300px;text-shadow:0 2px 14px rgba(0,0,0,.45)}.hero-side .rule{width:1px;height:210px;background:rgba(255,255,255,.75);margin-bottom:24px}.hero-side h3{font-size:15px;line-height:1.9;letter-spacing:3px;margin:0}.hero-loc{display:flex;align-items:flex-start;gap:10px;margin-top:95px;font-size:13px;line-height:1.35}.pin{width:12px;height:12px;border:2px solid #fff;border-radius:50%;margin-top:4px;box-shadow:0 0 0 2px rgba(255,255,255,.35)}
.section{padding:78px 0}.section.cream{background:var(--cream)} .section.alt{background:#F7F8F5}.section.dark{background:var(--green);color:#fff}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:var(--muted);text-transform:uppercase}.section-title{font-family:Georgia,'Times New Roman',serif;font-size:44px;line-height:1.08;font-weight:400;color:var(--green);margin:12px 0 22px}.section p{font-size:15px;line-height:1.55;color:#59655F}.grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:28px}.services-layout>div:first-child{display:flex;flex-direction:column;justify-content:flex-start}.services-layout .service-card{min-height:100%}.service-card{padding:32px;background:#FBFAF6;border-top:2px solid rgba(47,91,74,.16);border-left:none}.service-card:first-child{border-left:none}.service-card.emphasis{background:#EEF3EE;border-top-color:rgba(47,91,74,.34)}.service-label{font-size:10px;font-weight:700;letter-spacing:1.7px;color:#6B786F;text-transform:uppercase}.service-card h3,.resource-card h3{font-family:Georgia,'Times New Roman',serif;color:var(--green);font-size:27px;line-height:1.06;font-weight:400;margin:12px 0}.service-card ul{list-style:none;margin:16px 0 0;padding:0}.service-card li{font-size:13px;color:#58635D;line-height:1.55;padding:4px 0;position:relative;padding-left:16px}.service-card li:before{content:'✓';position:absolute;left:0;color:#2F7B51;font-weight:700}.service-card .btn{margin-top:15px}
.diff-inner{display:grid;grid-template-columns:1.05fr 1fr;gap:50px;align-items:center}.diff h2{font-family:Georgia,serif;font-weight:400;font-size:42px;line-height:1.04;margin:0;color:#fff}.diff-capabilities{display:grid;grid-template-columns:repeat(2,1fr);gap:0 26px;border-top:1px solid rgba(255,255,255,.28)}.capability{display:grid;grid-template-columns:34px 1fr;gap:12px;padding:20px 0;border-bottom:1px solid rgba(255,255,255,.22)}.cap-icon{width:24px;height:24px;color:#D7C18B;padding-top:2px}.cap-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.capability strong{font-family:Georgia,serif;font-size:19px;font-weight:400;color:#fff}.capability p{margin:5px 0 0;font-size:12px;line-height:1.4;color:#DCE6DF}
.projects-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.projects-head .view-all{font-size:11px;font-weight:700;letter-spacing:1.2px;color:var(--green)}.project-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:25px}.project-card{background:#fff;border:1px solid #E6E9E4;min-width:0;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;will-change:transform}.project-card:hover{transform:translateY(-8px);box-shadow:0 16px 34px rgba(23,59,47,.14);border-color:#C8D3CC}.project-card:hover .arrow{transform:translateX(5px)}.project-card img{aspect-ratio:1.1/1;object-fit:cover}.project-card .pc-body{padding:14px}.tag{font-size:9px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:#728078}.project-card h3{font-family:Georgia,serif;font-weight:400;font-size:18px;line-height:1.1;color:var(--green);margin:7px 0 12px}.arrow{font-weight:700;color:var(--green);transition:transform .25s ease}
.resources-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:34px}.resource-card{background:#fff;border:1px solid #E0E5DF}.resource-card img{aspect-ratio:1.75/1;object-fit:cover}.resource-card .pc-body{padding:16px}.resource-card .label{font-size:11px;color:#6C7771}.resource-card h3{font-size:24px}.resource-card .link{font-size:10px;font-weight:700;letter-spacing:1.2px;color:var(--green);text-transform:uppercase}
.territory-grid{display:grid;grid-template-columns:1.25fr .9fr;gap:40px;align-items:center}.territory-map{background:#EEF1EC;min-height:310px;display:grid;place-items:center;border:1px solid var(--line);overflow:hidden}.territory-map img{width:100%;height:100%;object-fit:cover}.territory-side{border-left:1px solid var(--line);padding-left:28px}.small-img{width:100%;aspect-ratio:1.3/1;object-fit:cover}
.fund-grid{display:grid;grid-template-columns:1fr 1.25fr .75fr .75fr;gap:0}.fund-grid>div{min-height:320px;padding:42px 30px;border-right:1px solid var(--line)}.fund-grid>div:last-child{border-right:none}.fund-photo img{width:100%;height:100%;object-fit:cover}.stats strong{display:block;font-family:Georgia,serif;font-size:32px;font-weight:400;color:var(--green);margin-bottom:4px}.award{background:#EFE6D5}.award .eyebrow{color:#8B733E}
.team-grid{display:grid;grid-template-columns:1.15fr repeat(4,1fr);gap:24px;align-items:start}.team-grid>div:first-child{padding-right:24px}.team-grid .person{min-width:0}.person{border-top:1px solid var(--line);padding-top:10px}.person img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#E4E8E3}.person h3{font-size:13px;margin:8px 0 3px;color:var(--green)}.person p{font-size:11px;line-height:1.4;color:#6A756F;margin:0}.team-more{grid-column:1/-1;background:#F5F6F2;padding:20px;margin-top:4px}
.clients{display:flex;flex-wrap:wrap;justify-content:space-between;gap:18px;align-items:center}.client{font-size:13px;color:#56625D;font-weight:700;letter-spacing:.5px}
.closing{position:relative;overflow:hidden;background:var(--green)}.closing img{width:100%;height:320px;object-fit:cover;filter:brightness(.38)}.closing-inner{position:absolute;inset:0;display:flex;align-items:center}.closing h2{font-family:Georgia,serif;font-size:48px;line-height:1.03;font-weight:400;color:#fff;margin:0 0 10px}.closing p{color:#EEF3EF}.footer{background:#0E2A20;color:#DDE6E0;padding:36px 0}.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:30px}.footer h4{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;margin:0 0 12px;color:#fff}.footer a,.footer p{font-size:12px;color:#BAC7C0;line-height:1.6;margin:0}.copyright{padding-top:22px;margin-top:22px;border-top:1px solid rgba(255,255,255,.14);font-size:11px;color:#8EA198}
.page-hero{background:var(--cream);padding:72px 0}.page-hero .section-title{max-width:820px;margin-bottom:10px}.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:42px}.content-grid .panel{padding:28px;background:#F5F6F2;border:1px solid var(--line)}.prose{font-size:15px;line-height:1.68;color:#4E5B54}.prose h2,.prose h3{font-family:Georgia,serif;font-weight:400;color:var(--green)}.prose img{margin:18px 0}.project-detail{padding:70px 0}.project-meta{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:#728078}.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:28px}.gallery img{width:100%;aspect-ratio:1.35/1;object-fit:cover}.breadcrumbs{font-size:11px;color:var(--muted);margin-bottom:18px}
@media(max-width:1100px){.nav{gap:16px}.nav a:nth-child(3){display:none}.hero h1{font-size:60px}.hero-inner{grid-template-columns:1fr 260px}.project-grid{grid-template-columns:repeat(3,1fr)}.project-grid .project-card:nth-child(n+4){display:none}.team-grid{grid-template-columns:1fr 1fr}.team-grid .person:nth-of-type(n+5){display:none}.fund-grid{grid-template-columns:1fr 1.3fr 1fr}.fund-grid>div:nth-child(3){display:none}.footer-grid{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:820px){.container{width:min(var(--max),calc(100% - 40px))}.header-inner{min-height:72px}.nav,.header-cta,.langs{display:none}.menu-toggle{display:block;margin-left:auto}.hero{min-height:760px}.hero-inner{width:calc(100% - 40px);grid-template-columns:1fr;padding:54px 0 64px}.hero-overlay{background:linear-gradient(180deg,rgba(8,30,22,.83) 0%,rgba(8,30,22,.70) 48%,rgba(8,30,22,.55) 100%)}.hero-side{justify-self:start}.hero-side .rule{height:80px;margin-bottom:14px}.hero-loc{margin-top:20px}.hero h1{font-size:49px}.hero-lead{font-size:17px}.grid-3,.territory-grid,.content-grid,.fund-grid{grid-template-columns:1fr}.service-card{border-left:none;border-top:2px solid rgba(47,91,74,.18);padding:28px 0}.service-card.emphasis{padding:28px}.diff-inner{grid-template-columns:1fr}.diff-capabilities{grid-template-columns:1fr;border-top:1px solid rgba(255,255,255,.35)}.capability{padding:14px 0}.project-grid,.resources-grid{grid-template-columns:1fr}.project-grid .project-card{display:grid!important;grid-template-columns:120px 1fr}.project-card img{aspect-ratio:1/1}.team-grid{grid-template-columns:1fr 1fr}.team-grid>div:first-child{grid-column:1/-1}.team-grid .person:nth-of-type(n+5){display:none}.team-more{grid-column:1/-1}.clients{justify-content:flex-start}.footer-grid{grid-template-columns:1fr 1fr}.closing h2{font-size:38px}.gallery{grid-template-columns:1fr}}
@media(max-width:520px){.hero h1{font-size:41px}.section{padding:56px 0}.section-title{font-size:34px}.cta-row{flex-direction:column;align-items:flex-start}.btn{width:max-content}.hero-side h3{font-size:12px}.hero-loc{font-size:12px}.team-grid{grid-template-columns:1fr}.team-more{grid-column:auto}.footer-grid{grid-template-columns:1fr}.closing img{height:360px}}

.page-hero-rich{padding:82px 0 72px}.page-hero-rich> .container>p,.page-hero-rich .page-hero-split p{font-size:18px;line-height:1.6;color:#59655F;max-width:900px}.page-hero-split{display:grid;grid-template-columns:minmax(0,1.2fr) .8fr;gap:70px;align-items:end}.hero-facts{border-left:1px solid var(--green);padding-left:28px}.hero-facts>div{padding:14px 0;border-bottom:1px solid var(--line)}.hero-facts>div:last-child{border-bottom:0}.hero-facts strong{display:block;font-size:10px;letter-spacing:1.7px;color:var(--green)}.hero-facts span{display:block;margin-top:4px;font-size:13px;color:#69746E}.section-intro{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:end;margin-bottom:42px}.section-intro>p{margin:0}.service-panel{padding:38px!important}.light-panel{background:#FBFAF6!important}.mini-list{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);margin:24px 0 18px}.mini-list span{font-size:12px;color:#59655F;padding:11px 8px 11px 0;border-bottom:1px solid var(--line)}.text-link{color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:3px}.service-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.service-detail-card{background:#F7F8F5;border:1px solid var(--line);padding:30px}.service-detail-card>span{font-size:10px;letter-spacing:1.5px;color:#8B967F}.service-detail-card h2{font-family:Georgia,serif;font-size:28px;font-weight:400;color:var(--green);line-height:1.08;margin:10px 0 14px}.service-detail-card p{margin:0 0 14px}.service-detail-card small{display:block;font-size:12px;line-height:1.5;color:#748078;border-top:1px solid var(--line);padding-top:14px}.process-strip{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:center}.process-steps{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--line)}.process-steps>div{padding:18px 16px 18px 0;border-bottom:1px solid var(--line)}.process-steps strong{display:block;font-size:10px;letter-spacing:1.5px;color:#8B733E}.process-steps span{display:block;margin-top:5px;font-size:13px;color:#59655F}.split-callout{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.split-callout>p{font-size:17px}.resource-detail{display:grid;grid-template-columns:1.08fr .92fr;gap:50px;align-items:start}.resource-copy h3{font-family:Georgia,serif;font-weight:400;font-size:25px;color:var(--green);margin:28px 0 10px}.resource-copy p{font-size:15px;line-height:1.62}.resource-carousel{position:relative;background:#EEF1EC;border:1px solid var(--line);overflow:hidden}.resource-slides{display:flex;transition:transform .35s ease}.resource-slides figure{min-width:100%;margin:0}.resource-slides img{width:100%;height:520px;object-fit:cover}.resource-slides figcaption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,.72));color:#fff;padding:46px 22px 18px;font-size:12px}.carousel-prev,.carousel-next{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid rgba(255,255,255,.7);background:rgba(23,59,47,.75);color:#fff;border-radius:50%;font-size:18px;cursor:pointer}.carousel-prev{left:14px}.carousel-next{right:14px}.carousel-dots{position:absolute;bottom:13px;right:20px;display:flex;gap:6px}.carousel-dots button{width:7px;height:7px;border-radius:50%;border:0;background:rgba(255,255,255,.5);padding:0}.carousel-dots button.active{background:#fff}.experience-list{border-top:1px solid var(--line);margin-top:24px}.experience-list>div{padding:14px 0;border-bottom:1px solid var(--line)}.experience-list strong{display:block;color:var(--green);font-family:Georgia,serif;font-size:18px;font-weight:400}.experience-list span{display:block;margin-top:4px;font-size:13px;line-height:1.5;color:#66726B}.info-columns{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}.info-columns ul{padding-left:18px}.info-columns li{margin:0 0 10px;color:#59655F;font-size:14px;line-height:1.5}.highlight-box{background:#EFE6D5;padding:32px}.highlight-box h3{font-family:Georgia,serif;font-weight:400;color:var(--green);font-size:28px;margin:12px 0}.highlight-box p{margin:8px 0}.team-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.team-profile{background:#F7F8F5;border:1px solid var(--line);display:grid;grid-template-columns:220px 1fr}.team-profile img{width:100%;height:100%;min-height:280px;object-fit:cover}.team-profile-body{padding:28px}.team-profile-body h2{font-family:Georgia,serif;font-weight:400;color:var(--green);font-size:27px;margin:10px 0 15px}.team-profile-body p{font-size:13px;line-height:1.55;margin:0 0 12px}.team-areas{margin-top:34px;padding:30px;background:var(--cream);display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.team-areas p{margin:0}.team-more{grid-column:1/-1;background:#F5F6F2;padding:20px;margin-top:4px}
@media(max-width:820px){.page-hero-split,.section-intro,.process-strip,.split-callout,.resource-detail,.info-columns,.team-areas{grid-template-columns:1fr;gap:28px}.hero-facts{border-left:0;border-top:1px solid var(--green);padding:10px 0 0}.service-detail-grid,.team-cards{grid-template-columns:1fr}.team-profile{grid-template-columns:120px 1fr}.resource-slides img{height:380px}.mini-list{grid-template-columns:1fr 1fr}.process-steps{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.team-profile{grid-template-columns:1fr}.team-profile img{height:280px}.resource-slides img{height:300px}.mini-list{grid-template-columns:1fr}}

.team-grid{grid-template-columns:1.15fr repeat(5,1fr)}.team-more-card{min-width:0;min-height:100%;aspect-ratio:1/1;background:var(--cream);border:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between;padding:18px;position:relative;overflow:hidden}.team-more-card:after{content:'';position:absolute;width:140px;height:140px;border:1px solid rgba(23,59,47,.16);border-radius:50%;right:-55px;top:-55px}.team-more-mark{font-family:Georgia,serif;font-size:52px;line-height:1;color:var(--green)}.team-more-card h3{font-family:Georgia,serif;font-size:22px;font-weight:400;color:var(--green);line-height:1.08;margin:8px 0}.team-more-card p{font-size:11px;line-height:1.45;margin:0}.team-more-card .eyebrow{font-size:9px}@media(max-width:1100px){.team-grid{grid-template-columns:1fr 1fr}.team-more-card{grid-column:auto}}@media(max-width:820px){.team-grid{grid-template-columns:1fr 1fr}.team-more-card{grid-column:auto;aspect-ratio:1/1}}@media(max-width:520px){.team-grid{grid-template-columns:1fr}.team-more-card{grid-column:auto}}

/* Igualar la tarjeta de equipo multidisciplinar al tamaño de las fotos */
.team-more-card{min-height:0;height:auto;aspect-ratio:1/1;align-self:start}

/* Ajuste final: hero más natural y tarjetas de equipo perfectamente alineadas */
.hero-bg{filter:saturate(.78) contrast(.98) brightness(.84)}
.hero-overlay{background:linear-gradient(90deg,rgba(8,30,22,.86) 0%,rgba(8,30,22,.64) 30%,rgba(8,30,22,.28) 58%,rgba(8,30,22,.20) 78%,rgba(8,30,22,.30) 100%)}
.team-grid{align-items:stretch}
.team-grid .person{height:100%}
.team-more-card{height:100%;min-height:0;aspect-ratio:auto;align-self:stretch;overflow:visible}

/* Equipo: tarjeta multidisciplinar horizontal debajo de las fotos */
.team-grid .team-more-card{grid-column:2/-1;height:auto;min-height:145px;aspect-ratio:auto;align-self:start;display:grid;grid-template-columns:64px 1fr;align-items:center;gap:18px;padding:24px 28px}
.team-grid .team-more-mark{font-size:50px}
.team-grid .team-more-card h3{margin:6px 0 8px}
@media(max-width:1100px){.team-grid .team-more-card{grid-column:1/-1}}
@media(max-width:820px){.team-grid .team-more-card{grid-column:1/-1;min-height:130px;grid-template-columns:52px 1fr;padding:20px}}
@media(max-width:520px){.team-grid .team-more-card{grid-column:auto;display:flex;min-height:0}}

/* Equipo: la tarjeta inferior queda justo bajo las cuatro fotos */
@media(min-width:1101px){
  .team-grid{grid-template-columns:1.15fr repeat(4,1fr);row-gap:24px;align-items:start}
  .team-grid>div:first-child{grid-row:1 / span 2}
  .team-grid .team-more-card{grid-column:2/-1;grid-row:2;margin-top:0}
}
@media(max-width:1100px){.team-grid>div:first-child{grid-row:auto}}

/* Qué hacemos — bloque de dos públicos, inspirado en el diseño aprobado */
.services-intro-row{display:grid;grid-template-columns:1.35fr .85fr;gap:60px;align-items:end;margin-bottom:34px}
.services-intro-row .section-title{margin-bottom:0}
.services-intro-row>p{margin:0 0 4px}
.services-cards{display:grid;grid-template-columns:1.6fr .9fr;gap:0;background:#FBFAF6;border:1px solid #DCE2DB}
.services-cards .service-card{margin:0;border:0;border-radius:0;padding:34px 34px 32px;position:relative}
.services-cards .service-admin{background:#EEF3EE;border-right:1px solid #D3DBD4}
.services-cards .service-private{background:#FBFAF6}
.service-icon{width:42px;height:42px;color:var(--green);margin-bottom:14px}
.service-icon svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
.services-cards .service-label{margin-bottom:10px}
.services-cards .service-card h3{font-size:27px;line-height:1.1;margin:0 0 16px;max-width:720px}
.services-cards .service-card ul{margin:18px 0 20px;display:grid;grid-template-columns:1fr 1fr;column-gap:34px}
.services-cards .service-private ul{grid-template-columns:1fr}
.services-cards .service-card li{padding:3px 0 3px 17px;font-size:13px}
.services-cards .service-card .btn{margin-top:2px}
@media(max-width:820px){
  .services-intro-row{grid-template-columns:1fr;gap:8px;margin-bottom:24px}
  .services-cards{grid-template-columns:1fr}
  .services-cards .service-admin{border-right:0;border-bottom:1px solid #D3DBD4}
  .services-cards .service-card{padding:28px 24px}
  .services-cards .service-card ul{grid-template-columns:1fr}
}

/* Cabecera de recursos: texto y logo, sin alterar las fotografías */
.resources-intro{display:grid;grid-template-columns:1.1fr 1.15fr .55fr;gap:28px;align-items:center;margin-bottom:34px}
.resources-heading{padding-right:28px;border-right:1px solid var(--line)}
.resources-heading .eyebrow{margin:0;line-height:1.45}
.resources-description{font-family:Georgia,serif;font-size:17px;line-height:1.45;color:#68736D}
.resources-reserve-logo{display:flex;justify-content:flex-end;align-items:center}
.resources-reserve-logo img{display:block;max-width:190px;width:100%;max-height:76px;object-fit:contain;mix-blend-mode:multiply}
@media(max-width:820px){.resources-intro{grid-template-columns:1fr;gap:14px;margin-bottom:24px}.resources-heading{padding-right:0;border-right:0}.resources-description{font-size:16px}.resources-reserve-logo{justify-content:flex-start}.resources-reserve-logo img{max-width:170px}}

/* Territorio: la imagen pertenece a la Reserva; el bloque derecho queda dedicado a otros territorios */
.territory-section .territory-grid{grid-template-columns:1.35fr .65fr;align-items:start;gap:52px}
.territory-reserve-photo{display:block;width:100%;aspect-ratio:2.05/1;object-fit:cover;margin-bottom:28px}
.territory-reserve p{max-width:760px}
.territory-closing{font-family:Georgia,serif;font-size:20px;line-height:1.45;color:var(--green);margin-top:24px}
.territory-side{margin-top:calc(100% + 20px);}
.territory-side h3{font-family:Georgia,serif;font-size:26px;font-weight:400;color:var(--green);margin:12px 0 8px}
@media(max-width:820px){.territory-section .territory-grid{grid-template-columns:1fr;gap:30px}.territory-side{margin-top:0}.territory-reserve-photo{aspect-ratio:1.65/1}.territory-closing{font-size:18px}}

/* Nuestro territorio: composición editorial compacta con la fotografía integrada en el relato */
.territory-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:0;align-items:stretch}
.territory-reserve{min-width:0;padding-right:48px}
.territory-heading{padding:0 0 30px}
.territory-heading .section-title{font-size:48px;line-height:1.05;margin:10px 0 0}
.territory-photo-wrap{position:relative;overflow:hidden;min-height:590px;background:#173B2F}
.territory-reserve-photo{display:block;width:100%;height:100%;min-height:590px;object-fit:cover;margin:0}
.territory-photo-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,24,18,.02) 18%,rgba(5,24,18,.12) 34%,rgba(5,24,18,.78) 100%)}
.territory-photo-copy{position:absolute;left:0;right:0;bottom:0;padding:42px 44px 40px;color:#fff;max-width:850px}
.territory-photo-copy p{font-size:17px;line-height:1.45;margin:0 0 20px;color:#fff;max-width:760px}
.territory-photo-copy .territory-closing{font-family:Georgia,serif;font-size:21px;line-height:1.35;margin-top:10px;color:#fff}
.territory-btn{margin-top:4px;border-color:rgba(255,255,255,.8)!important}
.territory-side{border-left:1px solid var(--line);padding:95px 0 0 52px;margin:0!important}
.territory-side h3{font-family:Georgia,serif;font-size:44px;line-height:1.05;font-weight:400;color:var(--green);margin:12px 0 28px}
.territory-side p{font-family:Georgia,serif;font-size:19px;line-height:1.45;color:#68736D;max-width:390px}
.territory-side .view-all{display:inline-block;margin-top:38px}
@media(max-width:820px){.territory-layout{grid-template-columns:1fr}.territory-reserve{padding-right:0}.territory-heading{padding-bottom:22px}.territory-heading .section-title{font-size:36px}.territory-photo-wrap,.territory-reserve-photo{min-height:560px}.territory-photo-copy{padding:30px 24px 26px}.territory-photo-copy p{font-size:15px}.territory-photo-copy .territory-closing{font-size:18px}.territory-side{border-left:0;border-top:1px solid var(--line);padding:35px 0 0;margin-top:30px!important}.territory-side h3{font-size:34px}}

/* Cabecera y hero: composición más compacta, editorial y profesional */
.site-header{background:rgba(255,255,255,.97);backdrop-filter:blur(10px)}
.header-inner{min-height:68px;gap:24px}
.header-inner .logo{width:132px;height:auto}
.nav{gap:20px;align-items:center}
.nav a{font-size:11px;letter-spacing:.45px;white-space:nowrap}
.header-cta{margin-left:auto;padding:10px 15px;font-size:10px;letter-spacing:1.1px}
.langs{font-size:10px;white-space:nowrap}
.hero{min-height:525px;max-height:560px}
.hero-bg{object-position:center 46%}
.hero-overlay{background:linear-gradient(90deg,rgba(9,27,21,.82) 0%,rgba(9,27,21,.60) 48%,rgba(9,27,21,.28) 100%)}
.hero-inner{width:min(var(--max),calc(100% - 80px));grid-template-columns:minmax(0,1fr) 285px;gap:54px;padding:48px 0}
.hero h1{font-size:58px;line-height:1.02;max-width:700px;margin:14px 0 18px}
.hero-lead{font-size:17px;line-height:1.42;max-width:620px}
.hero-tag{font-size:14px;margin-top:15px}
.kicker{font-size:10px;letter-spacing:2px}
.hero .cta-row{margin-top:25px;gap:10px}
.hero .btn{padding:11px 17px;font-size:10px;letter-spacing:1px}
.hero-side{max-width:245px;padding-left:25px;border-left:1px solid rgba(255,255,255,.38);text-shadow:0 2px 12px rgba(0,0,0,.35)}
.hero-side .rule{display:none}
.hero-side h3{font-size:24px;line-height:1.12;letter-spacing:1.2px;margin:0 0 24px}
.hero-loc{font-size:12px;line-height:1.4}
.hero-loc .pin{width:7px;height:7px;margin-right:8px}
@media(max-width:980px){.nav{gap:13px}.nav a{font-size:10px}.header-inner{gap:15px}.hero-inner{grid-template-columns:minmax(0,1fr) 230px;gap:30px}.hero h1{font-size:50px}.hero-side h3{font-size:21px}}
@media(max-width:820px){.header-inner{min-height:64px}.header-inner .logo{width:120px}.nav,.header-cta,.langs{display:none}.hero{min-height:600px;max-height:none}.hero-inner{width:min(var(--max),calc(100% - 40px));grid-template-columns:1fr;gap:28px;padding:46px 0}.hero h1{font-size:44px}.hero-lead{font-size:16px}.hero-side{justify-self:start;max-width:280px;padding-left:18px}.hero-side h3{font-size:20px;margin-bottom:15px}}

/* Ajuste fino de Nuestro territorio: composición más estrecha y proporcionada */
.territory-section .container{max-width:1120px}
.territory-layout{grid-template-columns:minmax(0,1.48fr) minmax(300px,.82fr);max-width:1120px;margin:0 auto}
.territory-reserve{padding-right:38px}
.territory-heading{padding-bottom:22px}
.territory-heading .section-title{font-size:38px;line-height:1.08;margin-top:8px;max-width:760px}
.territory-photo-wrap,.territory-reserve-photo{min-height:430px;height:430px}
.territory-photo-wrap{max-width:690px}
.territory-photo-copy{padding:30px 32px 28px;max-width:690px}
.territory-photo-copy p{font-size:14px;line-height:1.42;max-width:620px;margin-bottom:14px}
.territory-photo-copy .territory-closing{font-size:17px;line-height:1.32;margin-top:8px}
.territory-btn{padding:10px 15px!important;font-size:10px!important}
.territory-side{padding:58px 0 0 38px}
.territory-side h3{font-size:34px;line-height:1.08;margin:9px 0 20px}
.territory-side p{font-size:16px;line-height:1.42;max-width:330px}
.territory-side .view-all{margin-top:30px;font-size:10px}
@media(max-width:820px){.territory-section .container{max-width:none}.territory-layout{max-width:none}.territory-reserve{padding-right:0}.territory-heading .section-title{font-size:34px}.territory-photo-wrap,.territory-reserve-photo{height:500px;min-height:500px}.territory-photo-copy{padding:26px 22px 24px}.territory-photo-copy p{font-size:14px}.territory-side{padding:30px 0 0}.territory-side h3{font-size:30px}}

/* Ría de Abres en formato apaisado: recorte horizontal sin modificar la imagen original */
.territory-photo-wrap{height:315px;min-height:315px;max-width:none;aspect-ratio:2.35/1}
.territory-reserve-photo{height:315px;min-height:315px;object-fit:cover;object-position:center 52%}
.territory-photo-copy{padding:24px 30px 22px}
.territory-photo-copy p{font-size:13px;line-height:1.35;max-width:700px;margin-bottom:10px}
.territory-photo-copy .territory-closing{font-size:16px;line-height:1.25;margin-top:5px}
@media(max-width:820px){.territory-photo-wrap{height:430px;min-height:430px;aspect-ratio:auto}.territory-reserve-photo{height:430px;min-height:430px}.territory-photo-copy{padding:24px 22px 22px}.territory-photo-copy p{font-size:14px}.territory-photo-copy .territory-closing{font-size:18px}}

/* Homogeneizar Nuestro territorio con las secciones editoriales superiores: bloque más contenido */
.territory-section .container{max-width:1040px}
.territory-layout{max-width:1040px;grid-template-columns:minmax(0,1.42fr) minmax(270px,.78fr);gap:0}
.territory-reserve{padding-right:32px}
.territory-heading{padding-bottom:18px}
.territory-heading .section-title{font-size:34px;line-height:1.08;max-width:650px}
.territory-photo-wrap{height:300px;min-height:300px;aspect-ratio:2.25/1}
.territory-reserve-photo{height:300px;min-height:300px}
.territory-photo-copy{padding:21px 25px 19px}
.territory-photo-copy p{font-size:12.5px;line-height:1.34;max-width:650px;margin-bottom:8px}
.territory-photo-copy .territory-closing{font-size:15px;line-height:1.25;margin-top:4px}
.territory-btn{padding:8px 13px!important;font-size:9px!important}
.territory-side{padding:48px 0 0 32px}
.territory-side h3{font-size:31px;margin:8px 0 17px}
.territory-side p{font-size:15px;line-height:1.4;max-width:300px}
.territory-side .view-all{margin-top:24px}
@media(max-width:820px){.territory-section .container{max-width:none}.territory-layout{max-width:none}.territory-reserve{padding-right:0}.territory-heading .section-title{font-size:34px}.territory-photo-wrap{height:430px;min-height:430px;aspect-ratio:auto}.territory-reserve-photo{height:430px;min-height:430px}.territory-photo-copy{padding:24px 22px 22px}.territory-photo-copy p{font-size:14px}.territory-photo-copy .territory-closing{font-size:18px}.territory-side{padding:30px 0 0}.territory-side h3{font-size:30px}}

/* Rediseño final de Nuestro territorio: centrado real y proporción editorial */
.territory-section{padding:64px 0 70px}
.territory-section .container{width:min(1120px,calc(100% - 64px));max-width:1120px;margin-left:auto;margin-right:auto}
.territory-layout{width:100%;max-width:none;display:grid;grid-template-columns:minmax(0,1.62fr) minmax(270px,.78fr);gap:0;margin:0;align-items:stretch}
.territory-reserve{padding-right:36px;min-width:0}
.territory-heading{padding:0 0 18px}
.territory-heading .section-title{font-size:36px;line-height:1.08;margin:7px 0 0;max-width:700px}
.territory-photo-wrap{width:100%;max-width:none;height:305px;min-height:305px;aspect-ratio:auto}
.territory-reserve-photo{width:100%;height:305px;min-height:305px;object-fit:cover;object-position:center 52%}
.territory-photo-copy{padding:22px 27px 20px;max-width:720px}
.territory-photo-copy p{font-size:13px;line-height:1.36;max-width:680px;margin:0 0 9px}
.territory-photo-copy .territory-closing{font-size:16px;line-height:1.28;margin-top:4px}
.territory-btn{padding:8px 13px!important;font-size:9px!important;margin-top:3px}
.territory-side{border-left:1px solid var(--line);padding:60px 0 0 38px;margin:0!important;align-self:stretch}
.territory-side h3{font-size:33px;line-height:1.08;margin:8px 0 18px}
.territory-side p{font-size:15px;line-height:1.45;max-width:320px}
.territory-side .view-all{margin-top:26px;font-size:10px}
@media(max-width:820px){.territory-section{padding:54px 0 58px}.territory-section .container{width:min(var(--max),calc(100% - 40px));max-width:none}.territory-layout{grid-template-columns:1fr}.territory-reserve{padding-right:0}.territory-heading .section-title{font-size:34px}.territory-photo-wrap,.territory-reserve-photo{height:430px;min-height:430px}.territory-photo-copy{padding:24px 22px 22px}.territory-photo-copy p{font-size:14px}.territory-photo-copy .territory-closing{font-size:18px}.territory-side{border-left:0;border-top:1px solid var(--line);padding:30px 0 0;margin-top:30px!important}.territory-side h3{font-size:30px}}

/* Cifras territoriales integradas en el texto de la fotografía */
.territory-photo-copy .territory-stat{display:inline-flex;flex-direction:column;vertical-align:top;margin:3px 24px 12px 0;font-family:Georgia,'Times New Roman',serif;font-size:25px;line-height:1.05;font-weight:700;color:#fff}
.territory-photo-copy .territory-stat span{font-family:'DM Sans',sans-serif;font-size:10px;line-height:1.35;font-weight:600;letter-spacing:.6px;text-transform:uppercase;margin-top:5px;color:rgba(255,255,255,.92)}
@media(max-width:820px){.territory-photo-copy .territory-stat{font-size:22px;margin-right:15px}.territory-photo-copy .territory-stat span{font-size:9px}}

/* Fondos europeos: composición editorial de cuatro bloques y reconocimiento destacado */
.funding-section{padding:0!important;background:#F7F8F5!important}
.funding-layout{width:min(var(--max),calc(100% - 64px));display:grid;grid-template-columns:minmax(180px,.88fr) minmax(250px,1.18fr) minmax(240px,.95fr) minmax(250px,1fr);gap:0;align-items:stretch}
.funding-photo{min-height:310px;overflow:hidden;background:#e7e9e2}
.funding-photo img{display:block;width:100%;height:100%;min-height:310px;object-fit:cover}
.funding-intro{padding:28px 26px;align-self:center}
.funding-intro .section-title{font-size:29px!important;line-height:1.08;margin:10px 0 12px}
.funding-intro p{font-size:13px;line-height:1.45;margin-bottom:18px}
.funding-intro .btn{padding:10px 12px;font-size:9px;white-space:normal}
.funding-stats{border-left:1px solid var(--line);padding:22px 22px;display:flex;flex-direction:column;justify-content:center;gap:20px;background:#FBFAF6}
.funding-stat{display:grid;grid-template-columns:74px 1fr;gap:12px;align-items:start}
.funding-number{font-family:Georgia,'Times New Roman',serif;font-size:31px;line-height:1;color:var(--green);letter-spacing:-1px}
.funding-stat h3{font-family:Georgia,'Times New Roman',serif;font-size:15px;line-height:1.15;font-weight:400;color:var(--green);margin:0 0 5px}
.funding-stat p{font-size:10px;line-height:1.4;color:#68736D;margin:0}
.funding-stat span{display:inline-block;margin-top:6px;font-size:9px;font-weight:700;letter-spacing:.6px;color:#967538}
.funding-award{position:relative;background:#F1E6CE;padding:24px 24px 22px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;overflow:hidden}
.funding-award:after{content:'';position:absolute;right:-42px;top:-48px;width:150px;height:150px;border:1px solid rgba(160,121,48,.28);border-radius:50%;box-shadow:0 0 0 9px rgba(160,121,48,.05),0 0 0 20px rgba(160,121,48,.04)}
.funding-award .eyebrow{color:#92713A;position:relative;z-index:1}
.award-symbol{font-size:36px;line-height:1;color:#A77C2F;margin:12px 0 5px}
.funding-award h3{font-family:Georgia,'Times New Roman',serif;font-size:25px;line-height:1.05;font-weight:400;color:#254638;margin:0 0 7px;position:relative;z-index:1}
.funding-award .award-subtitle{font-size:12px;line-height:1.35;font-weight:700;color:#304C40;margin:0 0 7px;position:relative;z-index:1}
.funding-award .award-project{font-size:10px;font-weight:700;color:#7D622E;text-decoration:underline;text-underline-offset:3px;margin-bottom:10px;position:relative;z-index:1}
.funding-award .award-description{font-size:10px;line-height:1.4;color:#68736D;margin:0 0 13px;position:relative;z-index:1}
.funding-award .award-button{padding:9px 11px;font-size:9px;position:relative;z-index:1;border:1px solid #8C7A55;background:transparent;color:#294A3D}
@media(max-width:1100px){.funding-layout{grid-template-columns:minmax(170px,.8fr) minmax(230px,1.1fr) minmax(230px,1fr)}.funding-award{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.6fr;column-gap:18px;align-items:center;padding:20px 26px}.funding-award .eyebrow{grid-column:1/-1}.funding-award .award-symbol{grid-column:1}.funding-award h3,.funding-award .award-subtitle,.funding-award .award-project,.funding-award .award-description,.funding-award .award-button{grid-column:2}.funding-award .award-symbol{grid-row:2/5;align-self:center;font-size:44px}}
@media(max-width:760px){.funding-layout{width:calc(100% - 40px);grid-template-columns:1fr}.funding-photo,.funding-photo img{min-height:220px;height:220px}.funding-intro{padding:26px 0}.funding-intro .section-title{font-size:30px!important}.funding-stats{border-left:0;border-top:1px solid var(--line);padding:24px 0}.funding-stat{grid-template-columns:82px 1fr}.funding-number{font-size:34px}.funding-stat h3{font-size:17px}.funding-stat p{font-size:12px}.funding-award{display:flex;align-items:flex-start;padding:26px 24px}.funding-award .award-symbol{font-size:32px}.funding-award .award-description{font-size:12px}}

/* Proxectos: manter accesibles todas as fichas e evitar desbordamentos laterais nas galerías. */
.project-listing .project-section-heading{margin-bottom:22px}
.project-listing .project-section-heading .section-title{font-family:Georgia,'Times New Roman',serif;font-size:34px;line-height:1.08;margin:8px 0 0}
@media(max-width:1100px){.project-listing .project-grid .project-card:nth-child(n+4){display:block}}
.project-detail{overflow-x:clip}
.project-detail>.container,.project-detail .content-grid,.project-detail .gallery,.project-detail .prose{min-width:0}
.project-detail .section-title{font-size:clamp(2.1rem,5vw,3.5rem)!important;overflow-wrap:anywhere}
.project-detail .content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.project-detail .content-grid>*{min-width:0}
.project-detail .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
.project-detail .gallery img,.project-detail .project-visual img{width:100%;max-width:100%;min-width:0}
.project-detail .prose{overflow-wrap:anywhere}
.project-detail .prose :is(img,video,iframe,figure,table,pre){max-width:100%}
.project-detail .prose table{display:block;overflow-x:auto}
.project-detail .project-intro{font-size:18px;line-height:1.55;color:#59655F;max-width:900px}
.project-detail .project-copy{margin-top:28px}
@media(max-width:820px){.project-detail .content-grid,.project-detail .gallery{grid-template-columns:minmax(0,1fr)}.project-detail .project-copy{margin-top:0}}

/* Las diapositivas se muestran completas para que su contenido no quede recortado. */
.project-detail .gallery img.project-document{height:auto;aspect-ratio:auto;object-fit:contain;background:#f7f8f5}

/* Mostrar completo o cartel panorámico do MUN Rural nas tarxetas de proxectos. */
.project-card img.project-card-image-contain{object-fit:contain;background:#0b6d75}

/* Encadrar mellor o copyright do pé en pantallas amplas. */
@media (min-width: 821px) {
  .footer { padding: 28px 0 20px; }
  .copyright { padding-top: 14px; margin-top: 14px; }
}

/* En ventanas de poca altura, mostrar completo el cierre y el pie al llegar al final. */
@media (min-width: 821px) and (max-height: 560px) {
  .closing img { height: 220px; }
}

/* Proyectos destacados: título integrado sobre fotografía oscurecida */
.project-card{position:relative;display:block;overflow:hidden;isolation:isolate;background:#173B2F;border:0}
.project-card>img{display:block;width:100%;height:100%;min-height:260px;aspect-ratio:4/3;object-fit:cover;transition:transform .45s ease,filter .35s ease}
.project-card:after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(8,27,21,.08) 8%,rgba(8,27,21,.2) 38%,rgba(8,27,21,.84) 100%);transition:background .3s ease}
.project-card .pc-body{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:25px 24px 22px;background:transparent!important;color:#fff!important}
.project-card .pc-body .tag{font-size:9px;line-height:1.3;letter-spacing:1.3px;text-transform:uppercase;color:rgba(255,255,255,.82);margin-bottom:10px}
.project-card .pc-body h3{font-family:Georgia,'Times New Roman',serif;font-size:22px;line-height:1.15;font-weight:400;color:#fff!important;margin:0;max-width:95%;text-wrap:balance}
.project-card .pc-body .arrow{position:absolute;right:23px;bottom:22px;color:#fff;font-size:22px;line-height:1;opacity:.9}
.project-card:hover>img{transform:scale(1.035);filter:brightness(.92)}
.project-card:hover:after{background:linear-gradient(180deg,rgba(8,27,21,.12) 0%,rgba(8,27,21,.3) 30%,rgba(8,27,21,.9) 100%)}
@media(max-width:820px){.project-card>img{min-height:245px;aspect-ratio:1.25/1}.project-card .pc-body{padding:21px 19px 20px}.project-card .pc-body h3{font-size:20px}.project-card .pc-body .arrow{right:18px;bottom:19px}}

/* Nuestro territorio: dos tarjetas editoriales con títulos fuera de la fotografía */
.territory-section .territory-layout-cards{width:min(var(--max),calc(100% - 64px));max-width:1120px;grid-template-columns:minmax(0,1.65fr) minmax(280px,.95fr);gap:28px;align-items:start}
.territory-panel{min-width:0;border:0;padding:0!important;margin:0!important;background:transparent}
.territory-panel-photo{display:block;width:100%;height:255px;object-fit:cover;object-position:center 52%;margin:0 0 18px}
.territory-panel-content{padding:0 0 4px}
.territory-panel-content>.eyebrow{margin-bottom:8px}
.territory-panel-content .section-title{font-size:32px!important;line-height:1.08;margin:0 0 13px}
.territory-panel-content p{font-family:Georgia,'Times New Roman',serif;font-size:15px;line-height:1.48;color:#68736D;margin:0 0 15px}
.territory-stats-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:18px 0 14px}
.territory-stats-row .territory-stat{display:flex;flex-direction:column;align-items:flex-start;padding:0 14px;border-right:1px solid var(--line);margin:0}
.territory-stats-row .territory-stat:first-child{padding-left:0}
.territory-stats-row .territory-stat:last-child{border-right:0}
.territory-stats-row .territory-stat strong{font-family:Georgia,'Times New Roman',serif;font-size:32px;line-height:1;color:var(--green);font-weight:400}
.territory-stats-row .territory-stat span{font-family:'DM Sans',sans-serif;font-size:9px;line-height:1.35;letter-spacing:.6px;text-transform:uppercase;color:#68736D;margin-top:5px}
.territory-panel-content .territory-closing{font-size:16px;line-height:1.38;color:var(--green);margin:16px 0 18px}
.territory-panel-content .view-all{display:inline-block;margin-top:8px}
.territory-panel.territory-side{border-left:1px solid var(--line)!important;padding:0 0 0 28px!important}
.territory-side .territory-panel-photo{height:255px}
@media(max-width:820px){.territory-section .territory-layout-cards{width:calc(100% - 40px);grid-template-columns:1fr;gap:34px}.territory-panel-photo,.territory-side .territory-panel-photo{height:220px}.territory-panel-content .section-title{font-size:29px!important}.territory-panel.territory-side{border-left:0!important;border-top:1px solid var(--line)!important;padding:28px 0 0!important}.territory-stats-row .territory-stat{padding:0 8px}.territory-stats-row .territory-stat strong{font-size:28px}.territory-stats-row .territory-stat span{font-size:8px}}

/* Distinción del proyecto Red Natura: insignia editorial elegante */
.project-card .project-award{position:absolute;z-index:4;top:14px;right:14px;width:112px;min-height:145px;padding:13px 10px 14px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;background:#F6EBD0;color:#254638;border:1px solid rgba(164,125,49,.8);box-shadow:0 3px 12px rgba(0,0,0,.16);clip-path:polygon(0 0,100% 0,100% 88%,50% 100%,0 88%)}
.project-card .project-award .award-laurel{font-family:Georgia,serif;color:#A77C2F;font-size:20px;line-height:.8;transform:rotate(180deg);margin-bottom:2px}
.project-card .project-award strong{font-family:Georgia,'Times New Roman',serif;font-size:29px;line-height:1;color:#244638;font-weight:400}
.project-card .project-award b{font-family:'DM Sans',sans-serif;font-size:9px;line-height:1.15;letter-spacing:.8px;margin-top:3px;color:#244638}
.project-card .project-award i{display:block;width:70%;height:1px;background:#B18A3C;margin:7px 0}
.project-card .project-award small{font-family:Georgia,'Times New Roman',serif;font-size:10px;line-height:1.2;color:#254638;font-style:normal}
.project-card:has(.project-award) .pc-body{padding-right:125px}
@media(max-width:820px){.project-card .project-award{top:10px;right:10px;width:92px;min-height:124px;padding:10px 7px 12px}.project-card .project-award strong{font-size:25px}.project-card .project-award b{font-size:8px}.project-card .project-award small{font-size:8px}.project-card:has(.project-award) .pc-body{padding-right:100px}}

/* Ajuste de la tarjeta Red Natura: evitar solapamiento entre insignia y titular */
.project-card:has(.project-award) .pc-body{left:0;right:0;bottom:0;padding:24px 24px 22px!important;max-width:100%}
.project-card:has(.project-award) .pc-body .tag{display:block;max-width:calc(100% - 108px);margin-bottom:10px;position:relative;z-index:2;font-size:9px;letter-spacing:1.1px;line-height:1.35;white-space:normal}
.project-card:has(.project-award) .pc-body h3{max-width:calc(100% - 98px);font-size:21px;line-height:1.12;position:relative;z-index:2;overflow-wrap:normal;text-wrap:pretty}
.project-card .project-award{top:12px;right:12px;width:88px;min-height:118px;padding:9px 7px 12px;clip-path:polygon(0 0,100% 0,100% 88%,50% 100%,0 88%);box-shadow:0 2px 8px rgba(0,0,0,.13)}
.project-card .project-award .award-laurel{font-size:15px;margin-bottom:3px}
.project-card .project-award strong{font-size:24px}
.project-card .project-award b{font-size:7px;letter-spacing:.7px}
.project-card .project-award i{margin:5px 0}
.project-card .project-award small{font-size:8px;line-height:1.16}
.project-card:has(.project-award) .pc-body .arrow{z-index:3;right:20px;bottom:19px}
@media(max-width:820px){.project-card:has(.project-award) .pc-body{padding:19px 17px 20px!important}.project-card:has(.project-award) .pc-body .tag{max-width:calc(100% - 82px);font-size:8px}.project-card:has(.project-award) .pc-body h3{max-width:calc(100% - 76px);font-size:18px;line-height:1.12}.project-card .project-award{top:9px;right:9px;width:76px;min-height:108px;padding:8px 5px 10px}.project-card .project-award strong{font-size:22px}.project-card .project-award b{font-size:6.5px}.project-card .project-award small{font-size:7px}.project-card:has(.project-award) .pc-body .arrow{right:16px;bottom:16px}}

/* Refinamiento visual de la tarjeta Red Natura en escritorio */
@media(min-width:821px){
.project-card:has(.project-award) .project-award{top:16px;right:16px;width:82px;min-height:108px;padding:8px 6px 11px}
.project-card:has(.project-award) .project-award .award-laurel{font-size:13px;margin-bottom:2px}
.project-card:has(.project-award) .project-award strong{font-size:23px}
.project-card:has(.project-award) .project-award b{font-size:7px;letter-spacing:.65px}
.project-card:has(.project-award) .project-award i{margin:5px 0}
.project-card:has(.project-award) .project-award small{font-size:7.5px;line-height:1.15}
.project-card:has(.project-award) .pc-body{padding:25px 22px 22px!important}
.project-card:has(.project-award) .pc-body .tag{max-width:calc(100% - 96px);font-size:9px;letter-spacing:1.05px;margin-bottom:12px}
.project-card:has(.project-award) .pc-body h3{max-width:calc(100% - 90px);font-size:20px;line-height:1.13}
.project-card:has(.project-award) .pc-body .arrow{right:20px;bottom:19px}
}

/* Insignias de reconocimientos en el catálogo de proyectos */
.project-card .project-award-pstd{background:#E8EFE9;border-color:rgba(54,94,75,.7);clip-path:polygon(0 0,100% 0,100% 88%,50% 100%,0 88%);}
.project-card .project-award-pstd .pstd-mark{font-size:15px;line-height:1;color:#A77C2F;margin-bottom:5px}
.project-card .project-award-pstd strong{font-size:19px;letter-spacing:1px}
.project-card .project-award-pstd small{font-family:'DM Sans',sans-serif;font-size:8px;line-height:1.2;text-transform:uppercase;letter-spacing:.25px}
.project-card:has(.project-award-pstd) .pc-body .tag{max-width:calc(100% - 105px)}
.project-card:has(.project-award-pstd) .pc-body h3{max-width:calc(100% - 96px)}
@media(max-width:820px){.project-card .project-award-pstd strong{font-size:17px}.project-card .project-award-pstd small{font-size:7px}.project-card:has(.project-award-pstd) .pc-body .tag{max-width:calc(100% - 85px)}.project-card:has(.project-award-pstd) .pc-body h3{max-width:calc(100% - 78px)}}

/* Corrección de insignias en el listado de proyectos: posición consistente y centrada */
.project-listing .project-card{position:relative}
.project-listing .project-card .project-award{top:18px;right:18px;width:88px;min-height:116px;box-sizing:border-box;padding:9px 7px 13px;display:flex;align-items:center;justify-content:flex-start;text-align:center}
.project-listing .project-card .project-award .award-laurel{display:block;width:100%;text-align:center;line-height:1;margin:0 0 3px}
.project-listing .project-card .project-award strong{display:block;width:100%;text-align:center;line-height:1.05}
.project-listing .project-card .project-award b{display:block;width:100%;text-align:center;line-height:1.2}
.project-listing .project-card .project-award i{flex:0 0 auto;margin:6px auto;width:70%}
.project-listing .project-card .project-award small{display:block;width:100%;text-align:center;overflow-wrap:anywhere}
.project-listing .project-card .project-award-pstd{top:18px;right:18px;width:88px;min-height:116px;padding:10px 7px 13px;align-items:center;justify-content:flex-start}
.project-listing .project-card .project-award-pstd .pstd-mark{display:block;width:100%;text-align:center;margin:0 0 4px;line-height:1}
.project-listing .project-card .project-award-pstd strong{display:block;width:100%;text-align:center;line-height:1.05}
.project-listing .project-card:has(.project-award) .pc-body{padding-top:24px!important}
.project-listing .project-card:has(.project-award) .pc-body .tag{max-width:calc(100% - 108px);margin-bottom:12px}
.project-listing .project-card:has(.project-award) .pc-body h3{max-width:calc(100% - 96px);font-size:20px;line-height:1.13}
@media(max-width:820px){.project-listing .project-card .project-award,.project-listing .project-card .project-award-pstd{top:12px;right:12px;width:76px;min-height:106px;padding:8px 5px 11px}.project-listing .project-card:has(.project-award) .pc-body .tag{max-width:calc(100% - 88px)}.project-listing .project-card:has(.project-award) .pc-body h3{max-width:calc(100% - 80px);font-size:18px}}

/* Reservar más aire entre las insignias y los títulos en tarjetas premiadas */
.project-listing .project-card:has(.project-award) .pc-body .tag{max-width:calc(100% - 132px)!important}
.project-listing .project-card:has(.project-award) .pc-body h3{max-width:calc(100% - 128px)!important}
.project-listing .project-card:has(.project-award-pstd) .pc-body .tag{max-width:calc(100% - 132px)!important}
.project-listing .project-card:has(.project-award-pstd) .pc-body h3{max-width:calc(100% - 128px)!important}
@media(max-width:820px){.project-listing .project-card:has(.project-award) .pc-body .tag,.project-listing .project-card:has(.project-award-pstd) .pc-body .tag{max-width:calc(100% - 104px)!important}.project-listing .project-card:has(.project-award) .pc-body h3,.project-listing .project-card:has(.project-award-pstd) .pc-body h3{max-width:calc(100% - 100px)!important}}

/* Página Proyectos: replicar la jerarquía de HOME sin estrechar excesivamente los títulos */
.project-listing .project-card .pc-body{position:absolute;inset:0;bottom:auto;left:0;right:0;padding:0!important;background:transparent!important;color:#fff!important}
.project-listing .project-card .pc-body .tag{position:absolute;top:22px;left:22px;right:112px;max-width:none!important;margin:0!important;font-size:9px;line-height:1.3;letter-spacing:1.15px;color:rgba(255,255,255,.88);z-index:2}
.project-listing .project-card .pc-body h3{position:absolute;left:22px;right:76px;bottom:25px;max-width:none!important;margin:0!important;font-family:Georgia,'Times New Roman',serif;font-size:20px!important;line-height:1.12!important;font-weight:400;color:#fff!important;text-wrap:pretty;overflow-wrap:normal;z-index:2}
.project-listing .project-card .pc-body .arrow{right:20px;bottom:20px;z-index:3}
.project-listing .project-card .project-award,.project-listing .project-card .project-award-pstd{top:18px!important;right:18px!important;width:82px!important;min-height:108px!important;box-sizing:border-box;padding:8px 6px 11px!important;align-items:center!important;justify-content:flex-start!important;text-align:center!important;z-index:4}
.project-listing .project-card .project-award .award-laurel{display:block;width:100%;text-align:center;font-size:13px;line-height:.9;margin:0 0 3px;transform:rotate(180deg)}
.project-listing .project-card .project-award strong{display:block;width:100%;text-align:center;font-size:23px;line-height:1.05}
.project-listing .project-card .project-award b{display:block;width:100%;text-align:center;font-size:7px;line-height:1.2;letter-spacing:.65px;margin-top:3px}
.project-listing .project-card .project-award i{display:block;flex:0 0 auto;width:70%;height:1px;margin:5px auto}
.project-listing .project-card .project-award small{display:block;width:100%;font-size:7.5px;line-height:1.15;text-align:center;overflow-wrap:normal}
.project-listing .project-card .project-award-pstd .pstd-mark{display:block;width:100%;font-size:13px;line-height:1;text-align:center;margin:0 0 4px}
.project-listing .project-card .project-award-pstd strong{display:block;width:100%;font-size:18px;line-height:1.05;text-align:center;letter-spacing:.8px}
.project-listing .project-card .project-award-pstd small{font-size:7px;line-height:1.15;text-align:center}
@media(max-width:820px){.project-listing .project-card .pc-body .tag{top:15px;left:15px;right:96px;font-size:8px}.project-listing .project-card .pc-body h3{left:15px;right:60px;bottom:19px;font-size:18px!important;line-height:1.12!important}.project-listing .project-card .pc-body .arrow{right:14px;bottom:14px}.project-listing .project-card .project-award,.project-listing .project-card .project-award-pstd{top:12px!important;right:12px!important;width:72px!important;min-height:100px!important;padding:7px 5px 10px!important}.project-listing .project-card .project-award strong{font-size:21px}.project-listing .project-card .project-award small{font-size:6.5px}.project-listing .project-card .project-award-pstd strong{font-size:16px}.project-listing .project-card .project-award-pstd small{font-size:6px}}

/* Fix: el contenedor superpuesto debe ocupar toda la tarjeta para anclar el título abajo */
.project-listing .project-card .pc-body{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%;height:100%;box-sizing:border-box;padding:0!important;z-index:2;background:transparent!important;overflow:visible}
.project-listing .project-card .pc-body .tag{position:absolute!important;top:22px!important;left:22px!important;right:112px!important;bottom:auto!important}
.project-listing .project-card .pc-body h3{position:absolute!important;left:22px!important;right:76px!important;top:auto!important;bottom:25px!important;width:auto!important;height:auto!important;display:block!important;visibility:visible!important;opacity:1!important;color:#fff!important;z-index:3!important;margin:0!important}
.project-listing .project-card .pc-body .arrow{position:absolute!important;right:20px!important;bottom:20px!important;top:auto!important;z-index:4!important}
@media(max-width:820px){.project-listing .project-card .pc-body .tag{top:15px!important;left:15px!important;right:96px!important}.project-listing .project-card .pc-body h3{left:15px!important;right:60px!important;bottom:19px!important}}

/* Insignia MITECO para HABI-Te Santalla */
.project-listing .project-card .project-award-miteco{top:18px!important;right:18px!important;width:104px!important;min-height:136px!important;padding:9px 7px 11px!important;background:#F0F3ED!important;border:1px solid rgba(54,94,75,.65)!important;clip-path:polygon(0 0,100% 0,100% 91%,50% 100%,0 91%);display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;color:#173B2F!important;z-index:4!important}
.project-listing .project-card .project-award-miteco .miteco-check{display:flex;align-items:center;justify-content:center;width:23px;height:23px;flex:0 0 23px;border-radius:50%;background:#2F5B4A;color:#fff;font-family:'DM Sans',sans-serif;font-size:16px;font-weight:700;line-height:1;margin:0 auto 5px}
.project-listing .project-card .project-award-miteco strong{display:block;width:100%;font-family:Georgia,'Times New Roman',serif;font-size:15px!important;line-height:1.05!important;text-align:center;color:#173B2F!important;letter-spacing:-.25px}
.project-listing .project-card .project-award-miteco b{display:block;width:100%;font-family:'DM Sans',sans-serif;font-size:7px!important;line-height:1.15!important;letter-spacing:.7px;text-align:center;color:#2F5B4A!important;margin-top:3px}
.project-listing .project-card .project-award-miteco i{display:block;flex:0 0 auto;width:70%;height:1px;background:#B6C5B8;margin:5px auto}
.project-listing .project-card .project-award-miteco small{display:block;width:100%;font-family:'DM Sans',sans-serif;font-size:7px!important;line-height:1.15!important;letter-spacing:0!important;text-align:center;color:#40584A!important;text-transform:none!important;overflow-wrap:anywhere}
.project-listing .project-card-miteco .pc-body .tag{right:130px!important}
@media(max-width:820px){.project-listing .project-card .project-award-miteco{top:12px!important;right:12px!important;width:90px!important;min-height:128px!important;padding:8px 5px 10px!important}.project-listing .project-card .project-award-miteco strong{font-size:13px!important}.project-listing .project-card .project-award-miteco b{font-size:6.5px!important}.project-listing .project-card .project-award-miteco small{font-size:6.3px!important}.project-listing .project-card-miteco .pc-body .tag{right:112px!important}}

/* Jerarquía renovada de la insignia HABI-Te: convocatoria arriba, importe abajo */
.project-listing .project-card .project-award-miteco{width:116px!important;min-height:160px!important;padding:10px 8px 14px!important;gap:0!important}
.project-listing .project-card .project-award-miteco .miteco-check{width:25px;height:25px;flex-basis:25px;font-size:17px;margin:0 auto 7px}
.project-listing .project-card .project-award-miteco strong{font-size:18px!important;line-height:1.05!important;letter-spacing:.15px!important;margin:0 0 7px}
.project-listing .project-card .project-award-miteco small{font-size:8px!important;line-height:1.2!important;letter-spacing:0!important;text-transform:none!important;overflow-wrap:normal!important;margin:0 auto}
.project-listing .project-card .project-award-miteco i{width:78%;margin:8px auto 7px;background:#B6C5B8}
.project-listing .project-card .project-award-miteco b{font-size:8px!important;line-height:1.15!important;letter-spacing:.2px!important;margin-top:0!important}
.project-listing .project-card-miteco .pc-body .tag{right:142px!important}
@media(max-width:820px){.project-listing .project-card .project-award-miteco{width:96px!important;min-height:145px!important;padding:8px 6px 12px!important}.project-listing .project-card .project-award-miteco strong{font-size:15px!important;margin-bottom:6px}.project-listing .project-card .project-award-miteco small{font-size:7px!important;line-height:1.15!important}.project-listing .project-card .project-award-miteco b{font-size:7px!important}.project-listing .project-card-miteco .pc-body .tag{right:118px!important}}

/* Igualar la tarjeta HABI-Te de la HOME al diseño de la ficha general de proyectos */
.project-grid .project-card-miteco .pc-body{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100%!important;box-sizing:border-box!important;padding:0!important;z-index:2!important;background:transparent!important;overflow:visible!important}
.project-grid .project-card-miteco .pc-body .tag{position:absolute!important;top:22px!important;left:22px!important;right:142px!important;bottom:auto!important;max-width:none!important;margin:0!important;font-size:9px!important;line-height:1.3!important;letter-spacing:1.15px!important;color:rgba(255,255,255,.88)!important;z-index:2!important}
.project-grid .project-card-miteco .pc-body h3{position:absolute!important;left:22px!important;right:76px!important;top:auto!important;bottom:25px!important;width:auto!important;max-width:calc(100% - 128px)!important;margin:0!important;font-family:Georgia,'Times New Roman',serif!important;font-size:20px!important;line-height:1.12!important;font-weight:400!important;color:#fff!important;text-wrap:pretty!important;overflow-wrap:normal!important;z-index:3!important}
.project-grid .project-card-miteco .pc-body .arrow{position:absolute!important;right:20px!important;bottom:20px!important;top:auto!important;z-index:4!important;color:#fff!important}
.project-grid .project-card-miteco .project-award-miteco{position:absolute!important;top:18px!important;right:18px!important;width:116px!important;min-height:160px!important;box-sizing:border-box!important;padding:10px 8px 14px!important;background:#F0F3ED!important;border:1px solid rgba(54,94,75,.65)!important;clip-path:polygon(0 0,100% 0,100% 91%,50% 100%,0 91%)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;color:#173B2F!important;z-index:4!important}
.project-grid .project-card-miteco .project-award-miteco .miteco-check{display:flex!important;align-items:center!important;justify-content:center!important;width:25px!important;height:25px!important;flex:0 0 25px!important;border-radius:50%!important;background:#2F5B4A!important;color:#fff!important;font-family:'DM Sans',sans-serif!important;font-size:17px!important;font-weight:700!important;line-height:1!important;margin:0 auto 7px!important}
.project-grid .project-card-miteco .project-award-miteco strong{display:block!important;width:100%!important;font-family:Georgia,'Times New Roman',serif!important;font-size:18px!important;line-height:1.05!important;text-align:center!important;color:#173B2F!important;letter-spacing:.15px!important;margin:0 0 7px!important}
.project-grid .project-card-miteco .project-award-miteco small{display:block!important;width:100%!important;font-family:'DM Sans',sans-serif!important;font-size:8px!important;line-height:1.2!important;letter-spacing:0!important;text-align:center!important;color:#40584A!important;text-transform:none!important;overflow-wrap:normal!important;margin:0 auto!important}
.project-grid .project-card-miteco .project-award-miteco i{display:block!important;flex:0 0 auto!important;width:78%!important;height:1px!important;background:#B6C5B8!important;margin:8px auto 7px!important}
.project-grid .project-card-miteco .project-award-miteco b{display:block!important;width:100%!important;font-family:'DM Sans',sans-serif!important;font-size:8px!important;line-height:1.15!important;letter-spacing:.2px!important;text-align:center!important;color:#2F5B4A!important;margin-top:0!important}
@media(max-width:820px){
.project-grid .project-card-miteco .pc-body .tag{top:15px!important;left:15px!important;right:118px!important;font-size:8px!important}
.project-grid .project-card-miteco .pc-body h3{left:15px!important;right:60px!important;bottom:19px!important;max-width:calc(100% - 100px)!important;font-size:18px!important;line-height:1.12!important}
.project-grid .project-card-miteco .pc-body .arrow{right:14px!important;bottom:14px!important}
.project-grid .project-card-miteco .project-award-miteco{top:12px!important;right:12px!important;width:96px!important;min-height:145px!important;padding:8px 6px 12px!important}
.project-grid .project-card-miteco .project-award-miteco strong{font-size:15px!important;margin-bottom:6px!important}
.project-grid .project-card-miteco .project-award-miteco small{font-size:7px!important;line-height:1.15!important}
.project-grid .project-card-miteco .project-award-miteco b{font-size:7px!important}
}

/* Sistema común de distintivos de proyecto: CHECK, informativo y hito */
.project-card .project-award-miteco,
.project-card .project-award-milestone{
  position:absolute!important;top:18px!important;right:18px!important;
  width:104px!important;min-height:142px!important;box-sizing:border-box!important;
  padding:10px 7px 13px!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:flex-start!important;gap:0!important;
  text-align:center!important;background:#F3EBD4!important;color:#244638!important;
  border:1px solid rgba(164,125,49,.72)!important;
  clip-path:polygon(0 0,100% 0,100% 90%,50% 100%,0 90%)!important;
  box-shadow:0 3px 10px rgba(0,0,0,.12)!important;z-index:4!important;
}
.project-card .project-award-miteco .miteco-check{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:25px!important;height:25px!important;flex:0 0 25px!important;border-radius:50%!important;
  background:#315F4D!important;color:#fff!important;font:700 17px/1 'DM Sans',sans-serif!important;
  margin:0 auto 6px!important;
}
.project-card .project-award-milestone .award-laurel{
  display:block!important;width:100%!important;text-align:center!important;
  color:#B18A3C!important;font-size:19px!important;line-height:1!important;
  transform:none!important;margin:0 auto 5px!important;
}
.project-card .project-award-miteco strong,
.project-card .project-award-milestone strong{
  display:block!important;width:100%!important;font:400 20px/1.06 Georgia,'Times New Roman',serif!important;
  text-align:center!important;letter-spacing:0!important;color:#244638!important;margin:0 0 4px!important;
}
.project-card .project-award-miteco small,
.project-card .project-award-milestone small{
  display:block!important;width:100%!important;font:400 8px/1.18 'DM Sans',sans-serif!important;
  text-align:center!important;letter-spacing:0!important;text-transform:none!important;
  color:#40584A!important;overflow-wrap:normal!important;margin:0 auto!important;
}
.project-card .project-award-miteco b,
.project-card .project-award-milestone b{
  display:block!important;width:100%!important;font:700 7px/1.2 'DM Sans',sans-serif!important;
  letter-spacing:.45px!important;text-align:center!important;color:#315F4D!important;margin-top:3px!important;
}
.project-card .project-award-miteco i,
.project-card .project-award-milestone i{
  display:block!important;flex:0 0 auto!important;width:78%!important;height:1px!important;
  background:#C6B27C!important;margin:6px auto!important;
}
.project-card .project-award-info{
  position:absolute!important;top:18px!important;right:18px!important;left:auto!important;
  width:164px!important;min-height:0!important;box-sizing:border-box!important;
  padding:11px 12px 12px!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;gap:0!important;
  text-align:center!important;background:#F3EBD4!important;color:#244638!important;
  border:1px solid rgba(164,125,49,.72)!important;clip-path:none!important;
  box-shadow:0 3px 10px rgba(0,0,0,.12)!important;z-index:4!important;
}
.project-card .project-award-info strong{
  display:block!important;width:100%!important;font:400 20px/1 Georgia,'Times New Roman',serif!important;
  text-align:center!important;letter-spacing:.2px!important;color:#244638!important;margin:0!important;
}
.project-card .project-award-info i{
  display:block!important;flex:0 0 auto!important;width:100%!important;height:1px!important;
  background:#C6B27C!important;margin:7px auto!important;
}
.project-card .project-award-info small{
  display:block!important;width:100%!important;font:700 8px/1.25 'DM Sans',sans-serif!important;
  text-align:center!important;letter-spacing:.35px!important;text-transform:uppercase!important;
  color:#40584A!important;overflow-wrap:normal!important;margin:0 auto!important;
}
.project-card:has(.project-award-miteco) .pc-body h3,
.project-card:has(.project-award-milestone) .pc-body h3{max-width:calc(100% - 112px)!important}
.project-card:has(.project-award-miteco) .pc-body .tag,
.project-card:has(.project-award-milestone) .pc-body .tag{max-width:calc(100% - 116px)!important}
.project-card:has(.project-award-info) .pc-body h3{max-width:100%!important}
.project-card:has(.project-award-info) .pc-body .tag{max-width:calc(100% - 178px)!important}
@media(max-width:820px){
 .project-card .project-award-miteco,.project-card .project-award-milestone{top:12px!important;right:12px!important;width:88px!important;min-height:126px!important;padding:8px 6px 11px!important}
 .project-card .project-award-miteco strong,.project-card .project-award-milestone strong{font-size:17px!important}
 .project-card .project-award-miteco small,.project-card .project-award-milestone small{font-size:7px!important}
 .project-card .project-award-miteco b,.project-card .project-award-milestone b{font-size:6.5px!important}
 .project-card .project-award-info{top:12px!important;right:12px!important;width:138px!important;padding:9px 8px 10px!important}
 .project-card .project-award-info strong{font-size:17px!important}
 .project-card .project-award-info small{font-size:7px!important}
 .project-card:has(.project-award-miteco) .pc-body h3,.project-card:has(.project-award-milestone) .pc-body h3{max-width:calc(100% - 94px)!important}
 .project-card:has(.project-award-miteco) .pc-body .tag,.project-card:has(.project-award-milestone) .pc-body .tag{max-width:calc(100% - 98px)!important}
 .project-card:has(.project-award-info) .pc-body .tag{max-width:calc(100% - 148px)!important}
}

/* Ajustes de especificidad para que la página de proyectos use exactamente las mismas insignias */
.project-listing .project-card .project-award-miteco,
.project-listing .project-card .project-award-milestone{
  top:18px!important;right:18px!important;width:104px!important;min-height:142px!important;
  box-sizing:border-box!important;padding:10px 7px 13px!important;
  background:#F3EBD4!important;border:1px solid rgba(164,125,49,.72)!important;
  clip-path:polygon(0 0,100% 0,100% 90%,50% 100%,0 90%)!important;
  box-shadow:0 3px 10px rgba(0,0,0,.12)!important;
}
.project-listing .project-card .project-award-miteco .miteco-check{width:25px!important;height:25px!important;flex:0 0 25px!important;font-size:17px!important;margin:0 auto 6px!important}
.project-listing .project-card .project-award-milestone .award-laurel{font-size:19px!important;line-height:1!important;margin:0 auto 5px!important;color:#B18A3C!important;transform:none!important}
.project-listing .project-card .project-award-miteco strong,
.project-listing .project-card .project-award-milestone strong{font-size:20px!important;line-height:1.06!important;letter-spacing:0!important;margin:0 0 4px!important;color:#244638!important}
.project-listing .project-card .project-award-miteco small,
.project-listing .project-card .project-award-milestone small{font-size:8px!important;line-height:1.18!important;letter-spacing:0!important;text-transform:none!important;color:#40584A!important;overflow-wrap:normal!important}
.project-listing .project-card .project-award-miteco b,
.project-listing .project-card .project-award-milestone b{font-size:7px!important;line-height:1.2!important;letter-spacing:.45px!important;color:#315F4D!important;margin-top:3px!important}
.project-listing .project-card .project-award-miteco i,
.project-listing .project-card .project-award-milestone i{width:78%!important;height:1px!important;background:#C6B27C!important;margin:6px auto!important}
.project-listing .project-card .project-award-info{
 top:18px!important;right:18px!important;width:164px!important;min-height:0!important;
 padding:11px 12px 12px!important;display:flex!important;flex-direction:column!important;
 align-items:center!important;justify-content:center!important;gap:0!important;
 background:#F3EBD4!important;border:1px solid rgba(164,125,49,.72)!important;
 clip-path:none!important;box-shadow:0 3px 10px rgba(0,0,0,.12)!important;
}
.project-listing .project-card .project-award-info strong{font-size:20px!important;line-height:1!important;letter-spacing:.2px!important;margin:0!important;color:#244638!important}
.project-listing .project-card .project-award-info i{width:100%!important;height:1px!important;background:#C6B27C!important;margin:7px auto!important}
.project-listing .project-card .project-award-info small{font-size:8px!important;line-height:1.25!important;letter-spacing:.35px!important;text-transform:uppercase!important;color:#40584A!important}
@media(max-width:820px){
 .project-listing .project-card .project-award-miteco,.project-listing .project-card .project-award-milestone{top:12px!important;right:12px!important;width:88px!important;min-height:126px!important;padding:8px 6px 11px!important}
 .project-listing .project-card .project-award-miteco strong,.project-listing .project-card .project-award-milestone strong{font-size:17px!important}
 .project-listing .project-card .project-award-miteco small,.project-listing .project-card .project-award-milestone small{font-size:7px!important}
 .project-listing .project-card .project-award-miteco b,.project-listing .project-card .project-award-milestone b{font-size:6.5px!important}
 .project-listing .project-card .project-award-info{top:12px!important;right:12px!important;width:138px!important;padding:9px 8px 10px!important}
 .project-listing .project-card .project-award-info strong{font-size:17px!important}
 .project-listing .project-card .project-award-info small{font-size:7px!important}
}

/* Corrección de solapes: insignias contenidas y títulos con zona reservada */
.project-grid .project-card:has(.project-award-miteco) .pc-body,
.project-grid .project-card:has(.project-award-milestone) .pc-body,
.project-grid .project-card:has(.project-award-info) .pc-body,
.project-listing .project-card:has(.project-award-miteco) .pc-body,
.project-listing .project-card:has(.project-award-milestone) .pc-body,
.project-listing .project-card:has(.project-award-info) .pc-body{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  box-sizing:border-box!important;padding:0!important;overflow:visible!important;background:transparent!important;
}
.project-grid .project-card:has(.project-award-miteco) .pc-body .tag,
.project-grid .project-card:has(.project-award-milestone) .pc-body .tag,
.project-listing .project-card:has(.project-award-miteco) .pc-body .tag,
.project-listing .project-card:has(.project-award-milestone) .pc-body .tag{
  position:absolute!important;top:18px!important;left:18px!important;right:124px!important;
  bottom:auto!important;width:auto!important;max-width:none!important;margin:0!important;
  font-size:8px!important;line-height:1.25!important;letter-spacing:1px!important;z-index:3!important;
}
.project-grid .project-card:has(.project-award-miteco) .pc-body h3,
.project-grid .project-card:has(.project-award-milestone) .pc-body h3,
.project-listing .project-card:has(.project-award-miteco) .pc-body h3,
.project-listing .project-card:has(.project-award-milestone) .pc-body h3{
  position:absolute!important;left:18px!important;right:122px!important;top:auto!important;bottom:22px!important;
  width:auto!important;max-width:none!important;height:auto!important;margin:0!important;
  font-size:18px!important;line-height:1.12!important;font-weight:400!important;
  color:#fff!important;text-wrap:pretty!important;overflow-wrap:normal!important;z-index:3!important;
}
.project-grid .project-card .project-award-miteco,
.project-grid .project-card .project-award-milestone,
.project-listing .project-card .project-award-miteco,
.project-listing .project-card .project-award-milestone{
  top:14px!important;right:14px!important;width:96px!important;min-width:96px!important;
  min-height:128px!important;box-sizing:border-box!important;padding:8px 6px 11px!important;
  z-index:5!important;
}
.project-grid .project-card:has(.project-award-info) .pc-body .tag,
.project-listing .project-card:has(.project-award-info) .pc-body .tag{
  position:absolute!important;top:18px!important;left:18px!important;right:150px!important;
  bottom:auto!important;width:auto!important;max-width:none!important;margin:0!important;
  font-size:8px!important;line-height:1.25!important;letter-spacing:1px!important;z-index:3!important;
}
.project-grid .project-card:has(.project-award-info) .pc-body h3,
.project-listing .project-card:has(.project-award-info) .pc-body h3{
  position:absolute!important;left:18px!important;right:150px!important;top:auto!important;bottom:22px!important;
  width:auto!important;max-width:none!important;height:auto!important;margin:0!important;
  font-size:18px!important;line-height:1.12!important;font-weight:400!important;
  color:#fff!important;text-wrap:pretty!important;overflow-wrap:normal!important;z-index:3!important;
}
.project-grid .project-card .project-award-info,
.project-listing .project-card .project-award-info{
  top:14px!important;right:14px!important;left:auto!important;width:138px!important;min-width:138px!important;
  min-height:0!important;padding:9px 8px 10px!important;box-sizing:border-box!important;z-index:5!important;
}
.project-grid .project-card .project-award-info strong,
.project-listing .project-card .project-award-info strong{font-size:17px!important;line-height:1!important}
.project-grid .project-card .project-award-info small,
.project-listing .project-card .project-award-info small{font-size:7px!important;line-height:1.2!important}
@media(max-width:820px){
 .project-grid .project-card:has(.project-award-miteco) .pc-body .tag,
 .project-grid .project-card:has(.project-award-milestone) .pc-body .tag,
 .project-listing .project-card:has(.project-award-miteco) .pc-body .tag,
 .project-listing .project-card:has(.project-award-milestone) .pc-body .tag{top:12px!important;left:12px!important;right:106px!important;font-size:7px!important}
 .project-grid .project-card:has(.project-award-miteco) .pc-body h3,
 .project-grid .project-card:has(.project-award-milestone) .pc-body h3,
 .project-listing .project-card:has(.project-award-miteco) .pc-body h3,
 .project-listing .project-card:has(.project-award-milestone) .pc-body h3{left:12px!important;right:106px!important;bottom:14px!important;font-size:16px!important}
 .project-grid .project-card .project-award-miteco,
 .project-grid .project-card .project-award-milestone,
 .project-listing .project-card .project-award-miteco,
 .project-listing .project-card .project-award-milestone{top:10px!important;right:10px!important;width:84px!important;min-width:84px!important;min-height:116px!important;padding:7px 5px 9px!important}
 .project-grid .project-card:has(.project-award-info) .pc-body .tag,
 .project-listing .project-card:has(.project-award-info) .pc-body .tag{top:12px!important;left:12px!important;right:142px!important;font-size:7px!important}
 .project-grid .project-card:has(.project-award-info) .pc-body h3,
 .project-listing .project-card:has(.project-award-info) .pc-body h3{left:12px!important;right:142px!important;bottom:14px!important;font-size:16px!important}
 .project-grid .project-card .project-award-info,
 .project-listing .project-card .project-award-info{top:10px!important;right:10px!important;width:130px!important;min-width:130px!important;padding:8px 7px 9px!important}
}

/* HOME: etiquetas de todos los proyectos destacados alineadas arriba a la izquierda. */
body:has(.hero) .projects-head + .project-grid .project-card .pc-body .tag{
  position:absolute!important;
  top:18px!important;
  left:18px!important;
  bottom:auto!important;
  right:auto!important;
  width:auto!important;
  max-width:calc(100% - 36px)!important;
  margin:0!important;
  z-index:4!important;
  font-size:8px!important;
  line-height:1.25!important;
  letter-spacing:1px!important;
}
body:has(.hero) .projects-head + .project-grid .project-card:has(.project-award) .pc-body .tag{
  max-width:calc(100% - 140px)!important;
}
@media(max-width:820px){
  body:has(.hero) .projects-head + .project-grid .project-card .pc-body .tag{top:12px!important;left:12px!important;max-width:calc(100% - 24px)!important;font-size:7px!important}
  body:has(.hero) .projects-head + .project-grid .project-card:has(.project-award) .pc-body .tag{max-width:calc(100% - 118px)!important}
}

/* HOME: etiquetas de proyectos alineadas arriba a la izquierda en todas las tarjetas. */
body > header + main .projects-head + .project-grid .project-card .pc-body .tag {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  max-width: calc(100% - 36px) !important;
  margin: 0 !important;
  z-index: 6 !important;
}
@media (max-width: 820px) {
  body > header + main .projects-head + .project-grid .project-card .pc-body .tag {
    top: 12px !important;
    left: 12px !important;
    max-width: calc(100% - 24px) !important;
  }
}

/* Reconocimiento AGADER 2023: destacar primero el mérito y después la institución. */
.funding-award .award-overline{position:relative;z-index:1;font-size:9px;font-weight:700;letter-spacing:1.1px;color:#7D622E;margin:0 0 8px}
.funding-award h3{font-size:27px;line-height:1.04;font-weight:700;letter-spacing:-.45px;margin:0 0 10px;max-width:310px}
.funding-award .award-subtitle{font-size:13px;line-height:1.3;margin-bottom:9px}
.funding-award .award-button{margin-bottom:9px;text-decoration:none}
.funding-award .award-project{margin:0;font-size:10px}
@media(max-width:1100px){
 .funding-award .award-overline,.funding-award h3,.funding-award .award-subtitle,.funding-award .award-description,.funding-award .award-button,.funding-award .award-project{grid-column:2}
 .funding-award .award-overline{grid-row:auto}
}

/* Sección de financiación compacta: mensaje diferencial integrado en el bloque principal. */
.funding-intro .section-title{font-size:30px!important;line-height:1.08!important;letter-spacing:-.5px!important;margin:10px 0 13px!important}
.funding-intro p{font-size:12px!important;line-height:1.55!important;color:#435149!important;margin-bottom:17px!important}
.funding-intro p strong{color:#173B2F}
.funding-results{gap:28px!important}
.funding-results .funding-stat{grid-template-columns:88px minmax(0,1fr)!important;gap:12px!important}
.funding-results .funding-number{font-family:'DM Sans',sans-serif!important;font-size:24px!important;line-height:.98!important;font-weight:700!important;letter-spacing:-.7px!important;overflow-wrap:normal}
.funding-results .funding-stat h3{font-family:'DM Sans',sans-serif!important;font-size:14px!important;line-height:1.2!important;font-weight:700!important}
.funding-results .funding-stat p{font-size:10px!important;line-height:1.4!important}
@media(max-width:1100px){.funding-intro .section-title{font-size:27px!important}.funding-results .funding-stat{grid-template-columns:78px minmax(0,1fr)!important}.funding-results .funding-number{font-size:21px!important}}
@media(max-width:760px){.funding-intro .section-title{font-size:30px!important}.funding-intro p{font-size:13px!important;line-height:1.6!important}.funding-results{padding:24px 0!important}.funding-results .funding-stat{grid-template-columns:88px minmax(0,1fr)!important}.funding-results .funding-number{font-size:25px!important}.funding-results .funding-stat h3{font-size:17px!important}.funding-results .funding-stat p{font-size:12px!important}}

/* Indicadores de financiación: medallones gráficos y composición más equilibrada. */
.funding-results{gap:24px!important;padding:24px 20px!important}
.funding-results .funding-stat{grid-template-columns:82px minmax(0,1fr)!important;gap:16px!important;align-items:center!important}
.funding-results .funding-number{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;font-family:'DM Sans',sans-serif!important;font-size:inherit!important;line-height:1!important;letter-spacing:0!important;color:#173B2F!important;text-align:center!important;overflow:visible!important}
.funding-results .funding-medallion{width:58px;height:58px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#173B2F;border:1px solid #C4A76A;box-shadow:inset 0 0 0 4px rgba(255,255,255,.07),0 2px 5px rgba(23,59,47,.12)}
.funding-results .funding-medallion svg{display:block;width:30px;height:30px;fill:none;stroke:#E7D3A2;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.funding-results .funding-number strong{display:block;font-family:'DM Sans',sans-serif;font-size:13px;line-height:1.05;font-weight:800;letter-spacing:-.2px;color:#173B2F;white-space:nowrap}
.funding-results .funding-stat h3{font-family:'DM Sans',sans-serif!important;font-size:14px!important;line-height:1.2!important;font-weight:700!important;margin-bottom:7px!important}
.funding-results .funding-stat p{font-size:10px!important;line-height:1.45!important;margin:0!important}
@media(max-width:1100px){.funding-results{padding:22px 16px!important}.funding-results .funding-stat{grid-template-columns:76px minmax(0,1fr)!important;gap:12px!important}.funding-results .funding-medallion{width:54px;height:54px}.funding-results .funding-medallion svg{width:27px;height:27px}.funding-results .funding-number strong{font-size:12px}.funding-results .funding-stat h3{font-size:13px!important}}
@media(max-width:760px){.funding-results{padding:24px 0!important}.funding-results .funding-stat{grid-template-columns:88px minmax(0,1fr)!important;gap:14px!important}.funding-results .funding-medallion{width:58px;height:58px}.funding-results .funding-medallion svg{width:30px;height:30px}.funding-results .funding-number strong{font-size:13px}.funding-results .funding-stat h3{font-size:17px!important}.funding-results .funding-stat p{font-size:12px!important}}

/* Evitar que el título de abastecimiento y saneamiento invada la etiqueta superior */
.project-listing .project-card-water-title .pc-body h3{font-size:16px!important;line-height:1.1!important;}
@media(max-width:820px){.project-listing .project-card-water-title .pc-body h3{font-size:16px!important;line-height:1.1!important;}}

/* Tarjeta CIT: encuadre centrado en el logotipo y título sobre fondo oscuro */
.project-card-cit-logo{overflow:hidden!important;background:#101b45!important}
.project-card-cit-logo>img{width:100%;height:100%;object-fit:cover!important;object-position:center!important;transform:none!important;filter:none!important}
.project-card-cit-logo .pc-body{background:linear-gradient(180deg,rgba(7,18,45,.02) 0%,rgba(7,18,45,.08) 28%,rgba(7,18,45,.78) 58%,rgba(7,18,45,.97) 100%)!important}
.project-card-cit-logo .pc-body .tag{position:relative;z-index:2;text-shadow:0 1px 5px rgba(0,0,0,.65)}
.project-card-cit-logo .pc-body h3{position:relative;z-index:2;text-shadow:0 2px 7px rgba(0,0,0,.72)}
@media(max-width:760px){.project-card-cit-logo>img{object-position:center!important;transform:none!important}}

/* Crédito discreto de la fotografía del hero */
.hero{position:relative}
.hero-photo-credit{position:absolute;z-index:3;right:clamp(20px,4vw,56px);bottom:18px;display:flex;align-items:center;gap:9px;max-width:calc(100% - 40px);padding:9px 13px;border:1px solid rgba(255,255,255,.35);border-radius:3px;background:rgba(8,30,22,.72);color:#fff;font-size:12px;line-height:1.35;letter-spacing:0;text-align:left;text-shadow:0 1px 3px rgba(0,0,0,.35);pointer-events:none}
.hero-photo-credit svg{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:#E4D2A2;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hero-photo-credit span{display:block}
@media(max-width:760px){.hero-photo-credit{right:16px;bottom:12px;font-size:11px;max-width:calc(100% - 32px);padding:8px 10px;gap:7px}.hero-photo-credit svg{flex-basis:16px;width:16px;height:16px}}

/* Accesibilidad tipográfica: cuerpo legible, etiquetas menos espaciadas y grises más oscuros. */
:root{--muted:#4F5B54;--line:#CFD5CE}
body{font-size:16px;color:#26332C}
.nav a{font-size:14px;color:#26332C}
.header-cta,.btn{font-size:13px;letter-spacing:.45px}
.menu-toggle{font-size:12px;letter-spacing:.6px}
.langs{font-size:12px}
.kicker,.eyebrow{font-size:12px;letter-spacing:.8px}
.service-label{font-size:12px;letter-spacing:.45px;color:#46534B}
.tag{font-size:12px;letter-spacing:.45px;color:#4B5850}
.section p,.services-intro-row>p,.service-card li,.resource-card .label,.prose,.content-grid .panel,.page-hero p{font-size:16px;line-height:1.6;color:#3F4B44}
.service-card li{font-size:16px;line-height:1.55}
.project-meta,.breadcrumbs{font-size:12px;letter-spacing:.55px;color:#4F5B54}
.projects-head .view-all,.resource-card .link{font-size:12px;letter-spacing:.45px}
.person h3{font-size:15px}
.person p{font-size:14px;line-height:1.5;color:#46534B}
.team-more,.team-more p{font-size:16px;color:#3F4B44}
.client{font-size:14px;color:#3F4B44}
.footer h4{font-size:12px;letter-spacing:.7px}
.footer a,.footer p{font-size:14px;color:#D0DAD3}
.copyright{font-size:12px;color:#B5C3BA}
.hero-photo-credit{font-size:12px;letter-spacing:0}
@media(max-width:820px){
 .nav a,.mobile-nav a{font-size:15px}
 .header-cta,.btn{font-size:13px;letter-spacing:.35px}
 .section p,.services-intro-row>p,.service-card li,.resource-card .label,.prose,.content-grid .panel,.page-hero p{font-size:16px}
 .kicker,.eyebrow,.service-label,.tag{font-size:12px;letter-spacing:.4px}
 .person p{font-size:14px}
 .footer a,.footer p{font-size:14px}
}

/* Fondos y ayudas: indicadores más visibles y reconocimiento AGADER secundario. */
.funding-intro .section-title{font-size:clamp(29px,2.4vw,36px)!important;line-height:1.12!important}
.funding-intro p{font-size:15px!important;line-height:1.6!important}
.funding-intro .btn{font-size:11px!important}
.funding-results{gap:24px!important}
.funding-results .funding-stat{grid-template-columns:100px minmax(0,1fr)!important;gap:16px!important}
.funding-results .funding-medallion{width:68px!important;height:68px!important}
.funding-results .funding-medallion svg{width:35px!important;height:35px!important}
.funding-results .funding-number strong{font-size:18px!important;letter-spacing:-.3px!important}
.funding-results .funding-stat h3{font-size:17px!important;line-height:1.25!important;margin-bottom:8px!important}
.funding-results .funding-stat p{font-size:13px!important;line-height:1.55!important}
.funding-award-compact{margin-top:0;padding:16px 18px!important;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;background:#F1EBDD!important;border-left:3px solid #C4A76A}
.funding-award-compact:after,.funding-award-compact .award-symbol{display:none!important}
.funding-award-compact .eyebrow{font-size:10px!important;letter-spacing:.7px!important}
.funding-award-compact h3{font-size:18px!important;line-height:1.2!important;font-weight:600!important;margin:0!important;max-width:none!important}
.funding-award-compact .award-subtitle{font-size:12px!important;line-height:1.4!important;margin:0!important}
.funding-award-compact .award-project{font-size:11px!important;margin:3px 0 0!important}
@media(max-width:760px){
 .funding-intro p{font-size:14px!important}
 .funding-results .funding-stat{grid-template-columns:86px minmax(0,1fr)!important;gap:12px!important}
 .funding-results .funding-medallion{width:60px!important;height:60px!important}
 .funding-results .funding-medallion svg{width:31px!important;height:31px!important}
 .funding-results .funding-number strong{font-size:16px!important}
 .funding-results .funding-stat h3{font-size:16px!important}
 .funding-results .funding-stat p{font-size:12px!important}
}
/* Mejorar contraste de los subtítulos en la franja verde de diferenciación. */
.diff .capability p{color:#DCE6DF!important;font-size:15px!important;line-height:1.5!important}

/* Retratos del equipo: blanco y negro y encuadre coherente. */
.team-grid .person img.team-photo{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;filter:grayscale(1) contrast(.96);background:#E4E8E3}
.team-grid .person img.team-photo-celtia{object-position:center 38%;transform:scale(1.02)}
.team-grid .person img.team-photo-antonio{object-position:center 35%;transform:scale(1.08)}
.team-grid .person img.team-photo-julio{object-position:center 34%;transform:scale(1.08)}
.team-grid .person img.team-photo-paula{object-position:center 36%;transform:scale(1.04)}
.team-grid .person{overflow:hidden}
.team-grid .person h3{font-size:15px;line-height:1.25;margin:12px 0 6px}
.team-grid .person p{font-size:14px;line-height:1.5;color:#46534B}
@media(max-width:820px){.team-grid .person img.team-photo{aspect-ratio:4/3}.team-grid .person h3{font-size:15px}.team-grid .person p{font-size:14px}}

/* Nota discreta para mostrar a dimensión ampliada do equipo. */
.team-extension{display:flex;align-items:flex-start;gap:13px;margin-top:26px;padding:17px 20px;border-top:1px solid #D8DED8;border-bottom:1px solid #D8DED8;grid-column:1/-1}
.team-extension-mark{flex:0 0 27px;width:27px;height:27px;display:flex;align-items:center;justify-content:center;border:1px solid #C6B17A;color:#8D7848;font-size:20px;line-height:1}
.team-extension p{margin:2px 0 0;font-size:14px;line-height:1.6;color:#46534B;max-width:950px}

/* Integrar la referencia al equipo ampliado en la introducción, sin crear otra sección. */
.team-grid>div:first-child .team-intro-note{margin:12px 0 18px;font-size:14px;line-height:1.55;color:#536159;max-width:440px}

/* Equipo HOME: cabecera y explicación del equipo ampliado ocupan el ancho completo. */
.team-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;column-gap:26px!important;row-gap:0!important}
.team-grid>.team-heading{grid-column:1/-1!important;max-width:850px;margin-bottom:28px}
.team-grid>.team-heading .section-title{max-width:760px!important;margin-bottom:14px!important}
.team-grid>.team-heading>p{max-width:780px;font-size:16px;line-height:1.6}
.team-grid>.person{min-width:0}
.team-grid>.team-footer{grid-column:1/-1!important;display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:24px;padding-top:18px;border-top:1px solid #D8DED8}
.team-grid>.team-footer .team-intro-note{margin:0;max-width:780px;font-size:14px;line-height:1.55;color:#536159}
.team-grid>.team-footer .btn{flex-shrink:0;white-space:nowrap}
@media(max-width:900px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}.team-grid>.team-heading,.team-grid>.team-footer{grid-column:1/-1!important}}
@media(max-width:560px){.team-grid{grid-template-columns:1fr!important;gap:22px!important}.team-grid>.team-footer{align-items:flex-start;flex-direction:column;gap:14px}.team-grid>.team-heading .section-title{font-size:32px!important}}

/* Ajuste fino equipo HOME: recuperar el tamaño de fotos original y desplazar el cierre bajo ellas. */
.team-grid{grid-template-columns:minmax(220px,1.1fr) repeat(4,minmax(0,1fr))!important;column-gap:24px!important;row-gap:0!important}
.team-grid>.team-heading{grid-column:auto!important;max-width:none;margin-bottom:0}
.team-grid>.team-heading .section-title{max-width:none!important}
.team-grid>.person{min-width:0}
.team-grid>.team-footer{grid-column:2/-1!important;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:22px;padding-top:14px;border-top:1px solid #D8DED8}
.team-grid>.team-footer .team-intro-note{margin:0;max-width:740px;font-size:14px;line-height:1.5;color:#536159}
.team-grid>.team-footer .btn{flex-shrink:0;white-space:nowrap}
@media(max-width:900px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}.team-grid>.team-heading{grid-column:1/-1!important}.team-grid>.team-footer{grid-column:1/-1!important}}
@media(max-width:560px){.team-grid{grid-template-columns:1fr!important;gap:22px!important}.team-grid>.team-footer{align-items:flex-start;flex-direction:column;gap:14px}}

/* HOME: mantener los cuatro perfiles en una única fila en escritorio. */
@media(min-width:901px){
 .team-grid{grid-template-columns:minmax(220px,1.05fr) repeat(4,minmax(0,1fr))!important;column-gap:24px!important;row-gap:0!important}
 .team-grid>.person{grid-column:auto!important;width:auto!important;min-width:0!important}
 .team-grid>.team-footer{grid-column:2/-1!important}
}

 
/* Tarjetas del equipo en HOME: cargo y enlace aparecen al pasar el cursor. */
.team-grid .team-person-link{
  position:relative!important;display:block!important;align-self:start;color:inherit!important;
  text-decoration:none!important;overflow:hidden!important;cursor:pointer;
}
.team-grid .team-person-link .team-photo{transition:filter .25s ease,transform .35s ease}
.team-grid .team-person-link h3{color:#26332C!important;text-decoration:none!important}
.team-grid .team-person-link .team-hover-info{
  position:absolute;inset:0 0 auto 0;aspect-ratio:4/3;z-index:2;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:13px;
  box-sizing:border-box;padding:18px;background:rgba(0,0,0,.88);color:#fff;
  opacity:0;transition:opacity .22s ease;pointer-events:none;
}
.team-grid .team-person-link .team-hover-info>span{font-size:14px;line-height:1.45;font-weight:500;color:#fff}
.team-grid .team-person-link .team-hover-info strong{font-size:11px;line-height:1;letter-spacing:1.2px;color:#E5D3A2}
.team-grid .team-person-link:hover .team-hover-info,
.team-grid .team-person-link:focus-visible .team-hover-info{opacity:1}
.team-grid .team-person-link:hover .team-photo,
.team-grid .team-person-link:focus-visible .team-photo{filter:grayscale(1) contrast(.96) brightness(.72)}
.team-grid .team-person-link:focus-visible{outline:2px solid #C4A76A;outline-offset:4px}
@media(hover:none){.team-grid .team-person-link .team-hover-info{opacity:1;aspect-ratio:auto;inset:auto 0 0 0;padding:10px 12px;gap:5px;background:rgba(0,0,0,.78)}.team-grid .team-person-link .team-hover-info>span{font-size:11px}.team-grid .team-person-link .team-hover-info strong{font-size:10px}}

 
/* HOME fondos: equilibrar el bloque de indicadores y dar más anchura al éxito que al premio. */
@media(min-width:1101px){
 .funding-layout{grid-template-columns:minmax(180px,.88fr) minmax(250px,1.18fr) minmax(300px,1.08fr) minmax(230px,.88fr)!important}
 .funding-results{padding-left:28px!important;padding-right:28px!important;justify-content:center!important}
 .funding-results .funding-stat{grid-template-columns:100px minmax(0,1fr)!important;gap:18px!important}
 .funding-award-compact{padding-left:22px!important;padding-right:22px!important}
}
.funding-award-compact .award-edition-link{display:block;color:#725522!important;text-decoration:underline;text-underline-offset:3px;font-weight:600}
.funding-award-compact .award-edition-link:hover{color:#173B2F!important}

/* Corrección definitiva en escritorio: más espacio para los indicadores y simetría interior. */
@media(min-width:1101px){
 .funding-layout{
  grid-template-columns:minmax(180px,.82fr) minmax(250px,1.08fr) minmax(340px,1.25fr) minmax(220px,.78fr)!important;
 }
 .funding-layout>.funding-results{
  box-sizing:border-box!important;
  padding-left:20px!important;padding-right:20px!important;
  justify-content:center!important;
 }
 .funding-layout>.funding-results .funding-stat{
  grid-template-columns:90px minmax(0,1fr)!important;
  gap:18px!important;
 }
 .funding-layout>.funding-award-compact{
  box-sizing:border-box!important;
  padding-left:20px!important;padding-right:20px!important;
 }
}

/* Interacción sutil en las tarjetas de recursos */
.resource-card{overflow:hidden;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.resource-card img{display:block;transition:transform .45s cubic-bezier(.2,.7,.2,1),filter .35s ease;transform-origin:center}
.resource-card:hover,.resource-card:focus-visible{transform:translateY(-5px);box-shadow:0 12px 28px rgba(24,52,43,.14);border-color:#B7C7BC}
.resource-card:hover img,.resource-card:focus-visible img{transform:scale(1.045);filter:saturate(1.08) brightness(1.04)}
.resource-card .link{transition:letter-spacing .25s ease}
.resource-card .link::after{content:"";display:inline-block;width:0;transition:width .25s ease}
.resource-card:hover .link,.resource-card:focus-visible .link{letter-spacing:.8px}
@media (prefers-reduced-motion:reduce){.resource-card,.resource-card img,.resource-card .link,.resource-card .link::after{transition:none}.resource-card:hover,.resource-card:focus-visible{transform:none}.resource-card:hover img,.resource-card:focus-visible img{transform:none}}

/* Contacto de punto de encuentro en Tirolina das Minas */
.meeting-card{background:#efe6d5!important;padding:clamp(24px,3vw,40px)!important;color:#183d31}
.meeting-card h3{font-family:Georgia,serif;font-weight:400;font-size:clamp(27px,3vw,38px);line-height:1.15;color:#123e32;margin:12px 0 14px}
.meeting-card>p{font-size:17px;line-height:1.65;color:#59655f;max-width:760px;margin:0 0 14px}
.meeting-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:24px 0 22px}
.meeting-detail{display:flex;align-items:center;gap:12px;padding:0 16px;border-right:1px solid #d8c9a8;min-width:0}
.meeting-detail:first-child{padding-left:0}
.meeting-detail:last-child{border-right:0}
.meeting-detail>div{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:14px;line-height:1.4}
.meeting-detail strong{font-size:14px;color:#183d31;overflow-wrap:anywhere}
.meeting-detail span:not(.meeting-icon){color:#59655f}
.meeting-detail a:not(.meeting-icon){color:#183d31;text-decoration:none;font-weight:700;overflow-wrap:anywhere}
.meeting-icon{width:48px;height:48px;flex:0 0 48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ddd0aa;color:#594c28}
.meeting-icon svg,.meeting-map svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.meeting-icon.whatsapp-icon{background:#45b969;color:#fff}
.meeting-map{display:inline-flex!important;align-items:center;gap:12px;padding:17px 24px!important;margin-top:0}
.meeting-map svg{width:20px;height:20px}
@media(max-width:900px){.meeting-details{grid-template-columns:1fr;gap:14px}.meeting-detail,.meeting-detail:first-child{padding:0;border-right:0}.meeting-detail{padding-bottom:12px;border-bottom:1px solid #d8c9a8}.meeting-detail:last-child{border-bottom:0;padding-bottom:0}.meeting-card>p{font-size:16px}}

/* Casa del Agua: carrusel limpio, memoria histórica y librería */
.casa-intro-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:54px;align-items:center}
.casa-intro-grid>div:first-child p,.casa-history-copy p,.casa-library-copy p{font-size:15px;line-height:1.72;color:#59655F}
.casa-intro-grid .section-title,.casa-section-heading .section-title,.casa-library-copy .section-title{margin:12px 0 18px}
.casa-carousel .resource-slides img{height:520px;display:block;object-fit:cover}
.casa-carousel .resource-slides figure{position:relative}
.casa-carousel .resource-slides figcaption{display:none!important}
.casa-carousel .carousel-dots{z-index:2}
.casa-section-heading{max-width:820px;margin:0 auto 38px}
.casa-section-heading>p{font-size:16px;line-height:1.7;color:#59655F;max-width:760px}
.casa-school-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:start}
.casa-history-copy{padding-top:2px}
.casa-mosaic{display:grid;grid-template-columns:1.1fr 1fr;grid-template-rows:repeat(2,minmax(150px,1fr));gap:10px}
.casa-mosaic figure{margin:0;overflow:hidden;background:#e7e5dc;min-height:150px}
.casa-mosaic img{display:block;width:100%;height:100%;min-height:150px;object-fit:cover;transition:transform .35s ease}
.casa-mosaic figure:hover img{transform:scale(1.025)}
.casa-mosaic .mosaic-tall{grid-row:span 2}
.casa-school-mosaic .mosaic-tall img{min-height:340px}
.casa-library-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:58px;align-items:center}
.casa-library-copy{max-width:520px}
.casa-library-mosaic .mosaic-tall img{min-height:360px}
.casa-prices{display:grid;grid-template-columns:.7fr 1.3fr;gap:52px;align-items:center}
.casa-prices>div:first-child p{font-size:15px;line-height:1.65;color:#59655F}
.casa-price-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.casa-price-card{padding:27px;background:#fff;border:1px solid var(--line)}
.casa-price-card>span{font-size:10px;letter-spacing:1.6px;color:#8B733E;font-weight:700}
.casa-price-card h3{font-family:Georgia,serif;font-size:25px;font-weight:400;color:var(--green);margin:12px 0 22px}
.casa-price-card p{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-top:1px solid var(--line);padding:12px 0;margin:0}
.casa-price-card p span{font-size:12px;line-height:1.45;color:#59655F}
.casa-price-card p strong{font-family:Georgia,serif;font-size:24px;color:var(--green);white-space:nowrap}
.casa-last-note{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;align-items:center;border-top:1px solid var(--line);padding-top:30px}
.casa-last-note p{font-size:16px;line-height:1.75;color:#59655F;margin:0}
@media(max-width:820px){.casa-intro-grid,.casa-school-layout,.casa-library-layout,.casa-prices,.casa-last-note{grid-template-columns:1fr;gap:28px}.casa-carousel .resource-slides img{height:380px}.casa-mosaic{grid-template-rows:repeat(2,minmax(120px,1fr));gap:8px}.casa-mosaic figure,.casa-mosaic img{min-height:120px}.casa-school-mosaic .mosaic-tall img,.casa-library-mosaic .mosaic-tall img{min-height:260px}.casa-price-cards{grid-template-columns:1fr}.casa-last-note{gap:12px}}

/* Logos propios en las cabeceras de los recursos gestionados */
.header-inner .resource-header-logo{width:auto;max-width:174px;height:auto;max-height:54px;object-fit:contain;flex:0 0 auto}
@media(max-width:820px){.header-inner .resource-header-logo{max-width:148px;max-height:46px}}

/* Tirolina das Minas: marca protagonista, sin alterar la altura de la cabecera global */
.page-hero-rich:has(.tirolina-original-logo) .container{position:relative;display:block;padding-right:0;padding-top:12px}
.page-hero-rich:has(.tirolina-original-logo) .container>.eyebrow,
.page-hero-rich:has(.tirolina-original-logo) .container>.section-title,
.page-hero-rich:has(.tirolina-original-logo) .container>p{max-width:66%;position:relative;z-index:1}
.page-hero-rich:has(.tirolina-original-logo) .container>.section-title{max-width:66%}
.tirolina-original-logo{position:absolute;right:0;top:50%;transform:translateY(-50%);display:block;width:32%;max-width:310px;height:auto;max-height:190px;object-fit:contain;object-position:center;background:transparent;filter:drop-shadow(0 5px 8px rgba(24,61,49,.08));z-index:0}
@media(max-width:820px){
 .page-hero-rich:has(.tirolina-original-logo) .container{display:flex;flex-direction:column;align-items:flex-start;padding:0 0 0}
 .page-hero-rich:has(.tirolina-original-logo) .container>.eyebrow,
 .page-hero-rich:has(.tirolina-original-logo) .container>.section-title,
 .page-hero-rich:has(.tirolina-original-logo) .container>p{max-width:100%;width:100%}
 .page-hero-rich:has(.tirolina-original-logo) .tirolina-original-logo{position:relative;order:-1;top:auto;right:auto;transform:none;width:230px;max-width:72%;max-height:125px;align-self:flex-start;margin:0 0 26px;object-position:left center}
}

/* Casa del Agua: logotipo integrado en la cabecera editorial, sin fondo negro */
.page-hero-rich:has(.casa-agua-logo) .container{position:relative;display:block;padding-right:0;padding-top:12px}
.page-hero-rich:has(.casa-agua-logo) .container>.eyebrow,
.page-hero-rich:has(.casa-agua-logo) .container>.section-title,
.page-hero-rich:has(.casa-agua-logo) .container>p{max-width:66%;position:relative;z-index:1}
.page-hero-rich:has(.casa-agua-logo) .container>.section-title{max-width:66%}
.casa-agua-logo{position:absolute;right:0;top:50%;transform:translateY(-50%);display:block;width:34%;max-width:320px;height:auto;max-height:190px;object-fit:contain;object-position:center;background:transparent;mix-blend-mode:normal;opacity:1;filter:drop-shadow(0 5px 8px rgba(24,61,49,.08));z-index:2}
@media(max-width:820px){
 .page-hero-rich:has(.casa-agua-logo) .container{display:flex;flex-direction:column;align-items:flex-start;padding:0}
 .page-hero-rich:has(.casa-agua-logo) .container>.eyebrow,
 .page-hero-rich:has(.casa-agua-logo) .container>.section-title,
 .page-hero-rich:has(.casa-agua-logo) .container>p{max-width:100%;width:100%}
 .page-hero-rich:has(.casa-agua-logo) .casa-agua-logo{position:relative;order:-1;top:auto;right:auto;transform:none;width:260px;max-width:78%;max-height:145px;align-self:flex-start;margin:0 0 24px;object-position:left center;mix-blend-mode:normal;opacity:1;z-index:2}
}

/* Mosaicos Casa del Agua: composición editorial y proporciones reales */
.casa-mosaic{display:grid;gap:12px;min-width:0}
.casa-mosaic figure{margin:0;overflow:hidden;background:#e7e5dc;min-width:0;min-height:0;border:1px solid rgba(35,57,46,.08)}
.casa-mosaic img{display:block;width:100%;height:100%;min-height:0;object-fit:cover;transition:transform .35s ease}
.casa-mosaic figure:hover img{transform:scale(1.025)}
.casa-school-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:auto 155px}
.casa-school-mosaic .mosaic-wide{grid-column:1/-1;aspect-ratio:16/9;max-height:310px}
.casa-school-mosaic .mosaic-wide img{aspect-ratio:16/9;object-fit:cover;object-position:center}
.casa-school-mosaic figure:not(.mosaic-wide){height:155px}
.casa-library-mosaic{grid-template-columns:1.15fr .85fr;grid-template-rows:190px 190px}
.casa-library-mosaic .mosaic-tall{grid-row:1/3;height:392px}
.casa-library-mosaic figure:not(.mosaic-tall){height:190px}
.casa-library-mosaic .mosaic-tall img{object-position:center}
@media(max-width:820px){
 .casa-school-mosaic{grid-template-rows:auto 125px}
 .casa-school-mosaic .mosaic-wide{max-height:none}
 .casa-school-mosaic figure:not(.mosaic-wide){height:125px}
 .casa-library-mosaic{grid-template-rows:155px 155px;gap:9px}
 .casa-library-mosaic .mosaic-tall{height:319px}
 .casa-library-mosaic figure:not(.mosaic-tall){height:155px}
}
@media(max-width:520px){
 .casa-school-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:auto 110px}
 .casa-school-mosaic .mosaic-wide{aspect-ratio:4/3}
 .casa-school-mosaic .mosaic-wide img{aspect-ratio:4/3}
 .casa-school-mosaic figure:not(.mosaic-wide){height:110px}
 .casa-library-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:190px 125px}
 .casa-library-mosaic .mosaic-tall{grid-row:auto;grid-column:1/-1;height:190px}
 .casa-library-mosaic figure:not(.mosaic-tall){height:125px}
}

/* Ajuste fino de los mosaicos: fotos históricas completas y librería compacta */
.casa-school-layout{align-items:center}
.casa-school-mosaic{width:100%;max-width:820px;margin-inline:auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;gap:12px}
.casa-school-mosaic .mosaic-wide{grid-column:1/-1;aspect-ratio:16/9;width:100%;max-height:none}
.casa-school-mosaic .mosaic-wide img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center}
.casa-school-mosaic figure:not(.mosaic-wide){height:auto;aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;background:#e7e5dc}
.casa-school-mosaic figure:not(.mosaic-wide) img{width:100%;height:100%;object-fit:contain;object-position:center;background:#e7e5dc}
.casa-library-layout{align-items:center}
.casa-library-mosaic{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);grid-template-rows:190px 190px;gap:12px;align-content:center}
.casa-library-mosaic .mosaic-tall{grid-row:1/3;height:392px}
.casa-library-mosaic figure:not(.mosaic-tall){height:190px}
@media(max-width:820px){
 .casa-school-mosaic{grid-template-rows:auto auto}
 .casa-school-mosaic figure:not(.mosaic-wide){height:auto;aspect-ratio:3/4}
 .casa-library-mosaic{grid-template-rows:155px 155px}
 .casa-library-mosaic .mosaic-tall{grid-row:1/3;grid-column:auto;height:322px}
 .casa-library-mosaic figure:not(.mosaic-tall){height:155px}
}
@media(max-width:520px){
 .casa-school-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .casa-school-mosaic .mosaic-wide{aspect-ratio:4/3}
 .casa-school-mosaic figure:not(.mosaic-wide){aspect-ratio:3/4}
 .casa-library-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:170px 120px;gap:8px}
 .casa-library-mosaic .mosaic-tall{grid-row:auto;grid-column:1/-1;height:170px}
 .casa-library-mosaic figure:not(.mosaic-tall){height:120px}
}

/* Mosaico histórico Casa del Agua: foto principal y dos horizontales equilibradas */
.casa-school-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;gap:12px}
.casa-school-mosaic .mosaic-wide{grid-column:1/-1;width:100%;aspect-ratio:16/9;max-height:none}
.casa-school-mosaic .mosaic-wide img{width:100%;height:100%;object-fit:cover;object-position:center}
.casa-school-mosaic figure:not(.mosaic-wide){height:auto;aspect-ratio:16/9;display:block;background:#e7e5dc}
.casa-school-mosaic figure:not(.mosaic-wide) img{width:100%;height:100%;object-fit:cover;object-position:center;background:transparent}
@media(max-width:520px){
 .casa-school-mosaic{grid-template-columns:1fr;gap:10px}
 .casa-school-mosaic .mosaic-wide{aspect-ratio:4/3}
 .casa-school-mosaic figure:not(.mosaic-wide){aspect-ratio:16/9}
}

/* Datos prácticos para planificar la visita a la Casa del Agua */
.casa-visit-details{margin-top:24px;border-top:1px solid var(--line)}
.casa-visit-details p{display:flex;flex-direction:column;gap:5px;padding:13px 0;margin:0;border-bottom:1px solid var(--line)}
.casa-visit-details p strong{font-size:10px;letter-spacing:1.3px;text-transform:uppercase;color:#8B733E}
.casa-visit-details p span{font-size:13px;line-height:1.55;color:#59655F}
.casa-visit-details a{color:var(--green);font-weight:700;text-underline-offset:3px}
.casa-price-card .casa-reservation-phone{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 0 14px;margin:-8px 0 8px;border-top:0;border-bottom:1px solid var(--line)}
.casa-price-card .casa-reservation-phone span{font-size:12px;line-height:1.4;color:#59655F}
.casa-price-card .casa-reservation-phone strong{font-family:inherit;font-size:18px;color:var(--green);white-space:nowrap}
.casa-price-card .casa-reservation-phone a{color:inherit;text-decoration:none}
@media(max-width:520px){.casa-price-card .casa-reservation-phone{align-items:flex-start;flex-direction:column;gap:5px}}

/* Banda de exposición temporal entre la librería y los precios */
.casa-exhibition-band{background:var(--green);color:#fff;padding:28px 0}
.casa-exhibition-inner{display:grid;grid-template-columns:.7fr 1.3fr;gap:32px;align-items:center}
.casa-exhibition-label{font-size:10px;letter-spacing:1.8px;font-weight:700;text-transform:uppercase;color:#d8c79e}
.casa-exhibition-copy{display:flex;flex-direction:column;gap:7px}
.casa-exhibition-copy p{margin:0;color:rgba(255,255,255,.8);font-size:13px}
.casa-exhibition-copy h2{font-family:Georgia,serif;font-size:clamp(23px,2.5vw,32px);line-height:1.15;font-weight:400;color:#fff;margin:0}
.casa-exhibition-copy h2 strong{font-weight:400}
.casa-exhibition-link{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;margin-top:5px;color:#f0dfb8;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.casa-exhibition-link:hover{color:#fff}
@media(max-width:700px){.casa-exhibition-band{padding:24px 0}.casa-exhibition-inner{grid-template-columns:1fr;gap:12px}}

/* Logotipo do Museo da Cuchillería: composición responsive coherente cos outros recursos */
.page-hero-rich:has(.museo-logo) .container{position:relative;display:block;padding-top:12px}
.page-hero-rich:has(.museo-logo) .container>.eyebrow,
.page-hero-rich:has(.museo-logo) .container>.section-title,
.page-hero-rich:has(.museo-logo) .container>p{max-width:66%;position:relative;z-index:1}
.page-hero-rich:has(.museo-logo) .container>.section-title{max-width:66%}
.museo-logo{position:absolute;right:0;top:50%;transform:translateY(-50%);display:block;width:27%;max-width:250px;height:auto;max-height:150px;object-fit:contain;object-position:center;background:transparent;filter:drop-shadow(0 5px 8px rgba(24,61,49,.08));z-index:2}
@media(max-width:820px){
 .page-hero-rich:has(.museo-logo) .container{display:flex;flex-direction:column;align-items:flex-start;padding:0}
 .page-hero-rich:has(.museo-logo) .container>.eyebrow,
 .page-hero-rich:has(.museo-logo) .container>.section-title,
 .page-hero-rich:has(.museo-logo) .container>p{max-width:100%;width:100%}
 .page-hero-rich:has(.museo-logo) .museo-logo{position:relative;order:-1;top:auto;right:auto;transform:none;width:195px;max-width:68%;max-height:108px;align-self:flex-start;margin:0 0 22px;object-position:left center}
}

/* Museo da Cuchillería: composición editorial y galería que respeta a orientación orixinal das fotos */
.museo-intro-grid,.museo-giant-grid,.museo-forge-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(28px,5vw,72px);align-items:center}
.museo-intro-copy p,.museo-giant-grid p,.museo-forge-grid p{color:var(--muted);font-size:15px;line-height:1.8}
.museo-intro-image img,.museo-giant-image img,.museo-forge-image img{width:100%;height:auto;max-height:600px;object-fit:contain;border-radius:4px;background:var(--cream)}
.museo-giant-grid{grid-template-columns:1fr 1fr}
.museo-section-heading,.museo-visit-heading{display:grid;grid-template-columns:1fr .75fr;gap:36px;align-items:end;margin-bottom:32px}
.museo-section-heading>p,.museo-visit-heading>p{color:var(--muted);font-size:14px;line-height:1.75;margin:0 0 6px}
.museo-note{font-size:12px!important;line-height:1.65!important;color:var(--muted)}
.museo-visit-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:24px;align-items:stretch}
.museo-prices,.museo-hours{padding:clamp(22px,3vw,36px);border:1px solid var(--line);border-radius:4px;background:var(--paper)}
.museo-price-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 0;border-bottom:1px solid var(--line)}
.museo-price-row div{display:flex;flex-direction:column;gap:5px}
.museo-price-row strong{font-size:14px;color:var(--ink)}
.museo-price-row span{font-size:12px;color:var(--muted)}
.museo-price-row b{font-family:Georgia,serif;font-size:30px;font-weight:400;color:var(--green);white-space:nowrap}
.museo-phone{display:flex;flex-direction:column;gap:7px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.museo-phone span{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}
.museo-phone a{font-size:22px;font-weight:700;color:var(--green)}
.museo-hours h3{font-size:14px;margin:0 0 7px;color:var(--green)}
.museo-hours p{font-size:13px;line-height:1.75;color:var(--muted);margin:0 0 22px}
.museo-hours p:last-child{margin-bottom:0}
.museo-guided-band{background:var(--green);color:#fff}
.museo-guided-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(28px,5vw,70px);align-items:center}
.museo-guided-band .eyebrow{color:var(--gold)}
.museo-guided-band .section-title{color:#fff}
.museo-guided-band p{font-size:14px;line-height:1.8;color:rgba(255,255,255,.82)}
.museo-guided-cta{padding:26px;border:1px solid rgba(255,255,255,.24);border-radius:4px}
.museo-guided-cta .btn{margin-top:8px}
.museo-intro-copy .text-link{color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){.museo-intro-grid,.museo-giant-grid,.museo-forge-grid,.museo-guided-grid{grid-template-columns:1fr;gap:24px}.museo-intro-image{order:-1}.museo-section-heading,.museo-visit-heading{grid-template-columns:1fr;gap:10px}.museo-visit-grid{grid-template-columns:1fr}.museo-guided-cta{padding:20px}}

/* Galería del Museo: columnas independientes para evitar huecos entre imágenes */

/* Galería Museo: masonry de columnas equilibradas, sin huecos de grid */
.museo-forge-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;aspect-ratio:3/2}

/* Mosaico final del Museo: retícula ordenada, sin fotografías aisladas al final */


/* Museo de la Cuchillería: mosaico editorial de seis imágenes, alineado y sin huecos */
.museo-gallery.museo-gallery-balanced{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch;columns:initial}
.museo-gallery.museo-gallery-balanced .museo-gallery-item{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;width:100%;margin:0;padding:0;background:var(--cream);border-radius:3px;overflow:hidden;break-inside:initial}
.museo-gallery.museo-gallery-balanced .museo-gallery-item img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;transition:transform .35s ease}
.museo-gallery.museo-gallery-balanced .museo-gallery-item:hover img{transform:scale(1.015)}
@media(max-width:760px){.museo-gallery.museo-gallery-balanced{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media(max-width:440px){.museo-gallery.museo-gallery-balanced{grid-template-columns:1fr;gap:10px}.museo-gallery.museo-gallery-balanced .museo-gallery-item{aspect-ratio:4/3}}

/* Contacto: directorio claro de oficina técnica y espacios gestionados */
.contact-directory{padding-top:24px}
.contact-intro{max-width:760px;margin:0 0 32px}
.contact-intro>p{color:var(--muted);font-size:17px;line-height:1.7;max-width:680px}
.contact-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.contact-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:28px;background:var(--paper);border:1px solid var(--line);border-radius:5px;box-shadow:0 8px 24px rgba(23,59,47,.045)}
.contact-card-main{background:var(--green);color:#fff;border-color:var(--green)}
.contact-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.contact-card-main .contact-card-top{border-color:rgba(255,255,255,.24)}
.contact-index{font-size:13px;font-weight:800;letter-spacing:.12em;color:var(--green2)}
.contact-card-main .contact-index{color:var(--gold)}
.contact-type{font-size:10px;font-weight:800;letter-spacing:.12em;text-align:right;color:var(--muted)}
.contact-card-main .contact-type{color:#e4ddca}
.contact-card h3{margin:22px 0 8px;font-size:25px;line-height:1.2;color:var(--green)}
.contact-card-main h3{color:#fff}
.contact-description{margin:0 0 22px;color:var(--muted);line-height:1.65;min-height:52px}
.contact-card-main .contact-description{color:rgba(255,255,255,.82)}
.contact-address{margin:0 0 22px;line-height:1.65;color:var(--ink)}
.contact-card-main .contact-address{color:#fff}
.contact-label{display:block;margin-bottom:4px;font-size:10px;line-height:1.4;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:var(--muted)}
.contact-card-main .contact-label{color:#e4ddca}
.contact-links{display:grid;gap:12px;margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}
.contact-card-main .contact-links{border-color:rgba(255,255,255,.24)}
.contact-links a{display:block;min-width:0;overflow-wrap:anywhere;color:var(--green);font-weight:700;text-decoration:none;line-height:1.5}
.contact-links a:hover{text-decoration:underline;text-underline-offset:3px}
.contact-card-main .contact-links a{color:#fff}
@media(max-width:760px){.contact-cards{grid-template-columns:1fr;gap:14px}.contact-card{padding:22px}.contact-description{min-height:0}.contact-card h3{font-size:23px}}

/* Museo: accesos directos a las dos modalidades de visita */
.museo-visit-choices{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.museo-visit-choices .btn{min-width:170px;text-align:center}
.museo-visit-choices .btn.ghost{background:rgba(255,255,255,.86);border-color:var(--green);color:var(--green)}
#visita-libre,#visita-exclusiva{scroll-margin-top:100px}
@media(max-width:520px){.museo-visit-choices{align-items:stretch;flex-direction:column}.museo-visit-choices .btn{width:100%;max-width:280px}}

/* Animación sutil de los logotipos de los recursos al pasar el cursor */
.tirolina-original-logo,.casa-agua-logo,.museo-logo{
  transform-origin:center;
  transition:transform .28s ease,filter .28s ease;
  will-change:transform;
}
.tirolina-original-logo:hover,.casa-agua-logo:hover,.museo-logo:hover{
  transform:translateY(-4px) scale(1.045);
  filter:drop-shadow(0 7px 8px rgba(23,59,47,.2));
}
@media(hover:none){
  .tirolina-original-logo:hover,.casa-agua-logo:hover,.museo-logo:hover{
    transform:none;
    filter:none;
  }
}
@media(prefers-reduced-motion:reduce){
  .tirolina-original-logo,.casa-agua-logo,.museo-logo{transition:none}
  .tirolina-original-logo:hover,.casa-agua-logo:hover,.museo-logo:hover{transform:none;filter:none}
}

/* Páginas legales */
.legal-content{max-width:900px}
.legal-content h2.section-title{font-size:29px;margin:36px 0 14px}
.legal-content p,.legal-content li{font-size:15px;line-height:1.8;color:#59655F}
.legal-content ul{padding-left:22px}
.legal-content li{padding:0 0 8px}
.legal-content a{color:var(--green);font-weight:600;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.copyright a{color:inherit;text-decoration:underline;text-underline-offset:3px}


/* Distintivo do premio AGADER: discreto, elegante e visible na cabeceira da tirolina */
.award-ribbon{display:inline-flex;align-items:center;gap:12px;max-width:100%;margin:22px 0 8px;padding:11px 18px 11px 12px;border:1px solid rgba(190,151,74,.58);border-radius:4px;background:linear-gradient(110deg,rgba(246,239,220,.98),rgba(255,252,244,.94));color:#173b2f;box-shadow:0 5px 18px rgba(23,59,47,.08)}
.award-ribbon-mark{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#173b2f;color:#e8cb83;font-size:21px;line-height:1;box-shadow:inset 0 0 0 1px rgba(232,203,131,.65)}
.award-ribbon strong{display:block;font-size:11px;line-height:1.4;letter-spacing:.13em;text-transform:uppercase;color:#173b2f}
.award-ribbon small{display:block;margin-top:3px;font-size:13px;line-height:1.4;font-weight:600;color:#59655f}
@media(max-width:520px){.award-ribbon{gap:9px;margin:18px 0 8px;padding:9px 12px 9px 9px}.award-ribbon-mark{flex-basis:33px;width:33px;height:33px;font-size:18px}.award-ribbon small{font-size:12px}}


/* Language selector inside the expanded mobile menu */
.mobile-langs{display:none}
@media(max-width:820px){.mobile-langs{display:block;margin-top:14px;padding-top:16px;border-top:1px solid var(--line)}.mobile-langs-label{display:block;margin-bottom:9px;font-size:10px;font-weight:800;letter-spacing:1.4px;color:var(--muted)}.mobile-langs-links{display:flex;align-items:center;gap:12px}.mobile-langs-links a{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:9px 12px;border:1px solid var(--line);border-radius:3px;font-size:12px;font-weight:800;letter-spacing:.5px;color:var(--green)}.mobile-langs-links a.active{background:var(--green);border-color:var(--green);color:#fff}.mobile-langs-links span{color:var(--muted);font-size:12px}}
