.proyecto-section{background:#15448F;color:#fff;overflow:hidden;padding:0!important}
.proyecto-layout{max-width:1900px;width:calc(100% - 110px);margin:0 auto;display:grid;grid-template-columns:minmax(0,61fr) minmax(0,39fr);gap:5%;align-items:start}
.proyecto-copy{padding:95px 0 96px 0;min-width:0}
.proyecto-kicker{display:flex;gap:22px;align-items:center;font:800 clamp(20px,2.15vw,36px)/1.2 Arial,Helvetica,sans-serif;letter-spacing:.2px;margin:0 0 58px}
.proyecto-kicker span{background:#ffd21b;width:40px;height:40px;display:block;flex:none}
.proyecto-copy h2{font:700 clamp(41px,4.1vw,78px)/1.12 Arial,Helvetica,sans-serif;letter-spacing:-1.5px;color:#fff;margin:0 0 57px}
.proyecto-copy h2 strong{color:#ffc912;font-weight:800;display:inline}
.proyecto-copy h2 strong span{display:inline}
.proyecto-copy h2 strong span::before{content:" "}
.proyecto-copy p{font:400 clamp(17px,1.4vw,27px)/1.47 Arial,Helvetica,sans-serif;color:#fff;max-width:940px;letter-spacing:.1px;margin:0 0 39px;text-align:justify;text-justify:inter-word}
.proyecto-copy p:last-child{margin-bottom:0}
.proyecto-visual{display:flex;align-items:center;flex-direction:column;gap:26px;min-width:0}
.proyecto-photo{display:block;width:min(100%,560px);height:auto;aspect-ratio:1273/2048;object-fit:cover;object-position:center;box-shadow:none;border:0}
.proyecto-logo-crop{width:min(76%,365px);height:222px;overflow:hidden;position:relative;margin-bottom:0}
.proyecto-logo-crop img{width:100%;max-width:none;height:auto;display:block;transform:translateY(-8%)}
@media(max-width:1100px){.proyecto-layout{width:calc(100% - 70px);grid-template-columns:minmax(0,58fr) minmax(0,42fr);gap:4%}.proyecto-copy{padding:65px 0}.proyecto-kicker{margin-bottom:35px}.proyecto-copy h2{font-size:clamp(38px,4.2vw,55px);margin-bottom:32px}.proyecto-copy p{font-size:17px;margin-bottom:25px}.proyecto-logo-crop{height:140px}}
@media(max-width:700px){.proyecto-layout{display:flex;flex-direction:column;width:calc(100% - 36px);gap:0}.proyecto-copy{padding:60px 0 30px}.proyecto-kicker{font-size:19px;gap:12px;margin-bottom:35px}.proyecto-kicker span{width:24px;height:24px}.proyecto-copy h2{font-size:clamp(34px,8vw,46px);margin-bottom:30px;letter-spacing:-.8px}.proyecto-copy p{font-size:16px;line-height:1.55;margin-bottom:22px}.proyecto-visual{width:100%;gap:18px}.proyecto-photo{width:min(100%,380px)}.proyecto-logo-crop{width:260px;height:156px;margin-bottom:18px}}

.proyecto-logo-crop{height:auto;overflow:visible}
.proyecto-logo-crop img{transform:none;width:100%;height:auto}

/* Justificación de subtítulo y párrafos */
.proyecto-copy h2,.proyecto-copy p{text-align:justify!important;text-justify:inter-word}

/* Ajuste visual 30-10-2026: titular legible, sin huecos de justificación */
.proyecto-copy h2{
  text-align:left!important;
  text-justify:auto!important;
  font-size:clamp(34px,3.05vw,58px);
  line-height:1.18;
  letter-spacing:-.7px;
  overflow-wrap:normal;
  margin-bottom:42px;
}
.proyecto-copy h2 strong{display:inline;font-weight:800}
.proyecto-copy h2 strong span{display:inline}
.proyecto-copy h2 strong span::before{content:" "}
.proyecto-kicker{font-size:clamp(19px,1.65vw,29px);gap:17px;margin-bottom:43px}
.proyecto-kicker span{width:34px;height:34px}
.proyecto-logo-crop{width:min(60%,292px)}
@media(max-width:1100px){
 .proyecto-copy h2{font-size:clamp(32px,3.5vw,43px);margin-bottom:30px}
 .proyecto-kicker{font-size:clamp(19px,2vw,25px)}
}
@media(max-width:700px){
 .proyecto-copy h2{font-size:clamp(30px,7vw,40px);line-height:1.18;margin-bottom:28px}
 .proyecto-kicker{font-size:19px;gap:12px;margin-bottom:30px}
 .proyecto-kicker span{width:24px;height:24px}
 .proyecto-logo-crop{width:208px;margin-bottom:18px}
}

/* Revisión solicitada 30/10: fotografía, logo y párrafos más pequeños */
.proyecto-photo{width:min(100%,470px)}
.proyecto-logo-crop{width:min(46%,215px);max-width:215px;height:auto;overflow:visible}
.proyecto-logo-crop img{width:100%;height:auto;transform:none}
.proyecto-copy p{font-size:clamp(16px,1.12vw,21px);line-height:1.55}
@media(max-width:1100px){
 .proyecto-photo{width:min(100%,420px)}
 .proyecto-logo-crop{width:min(52%,195px)}
 .proyecto-copy p{font-size:16px}
}
@media(max-width:700px){
 .proyecto-photo{width:min(100%,330px)}
 .proyecto-logo-crop{width:175px;max-width:55%;margin-bottom:18px}
 .proyecto-copy p{font-size:15px;line-height:1.55}
}

/* V3: subtitulo alineado exclusivamente a la izquierda; parrafos justificados */
.proyecto-copy h2{text-align:left!important;text-justify:auto!important;}

/* V4: mayor separacion entre subtitulo y primer parrafo */
.proyecto-copy h2{margin-bottom:66px!important}
@media(max-width:1100px){.proyecto-copy h2{margin-bottom:48px!important}}
@media(max-width:700px){.proyecto-copy h2{margin-bottom:40px!important}}

/* V5 - composición basada en la lámina original de Nuestro Proyecto */
.proyecto-section{position:relative;isolation:isolate;background:#15448F!important}
.proyecto-section::before{content:"";position:absolute;z-index:-1;pointer-events:none;left:0;right:0;bottom:0;height:38%;background:radial-gradient(ellipse 37% 85% at 18% 112%,rgba(239,247,246,.35),transparent 95%),radial-gradient(ellipse 57% 100% at 54% 114%,rgba(0,166,193,.52),transparent 95%),radial-gradient(ellipse 36% 80% at 100% 113%,rgba(246,220,85,.33),transparent 95%);}
.proyecto-layout{grid-template-columns:minmax(0,57fr) minmax(0,43fr);gap:5%;align-items:start}
.proyecto-copy{padding-top:75px;padding-bottom:85px}
.proyecto-kicker{font-family:Montserrat,Arial,sans-serif;font-size:clamp(19px,1.7vw,29px);margin-bottom:44px}
.proyecto-copy h2{font-family:Montserrat,Arial,sans-serif;font-weight:750;font-size:clamp(34px,3.45vw,62px);line-height:1.15;letter-spacing:-1.2px;text-align:left!important;margin-bottom:44px!important}
.proyecto-copy h2 strong{color:#ffc912}
.proyecto-copy p{font-family:'DM Sans',Arial,sans-serif;font-size:clamp(16px,1.18vw,21px);line-height:1.53;text-align:justify!important;margin-bottom:32px;max-width:800px}
.proyecto-visual{gap:25px;align-items:center}
.proyecto-photo{width:min(100%,455px);max-height:620px;object-fit:cover;object-position:center}
.proyecto-logo-crop{width:min(68%,310px);max-width:310px;margin:0 auto 26px}
@media(max-width:1100px){.proyecto-copy h2{font-size:clamp(31px,3.6vw,44px);margin-bottom:37px!important}.proyecto-copy{padding-top:55px}.proyecto-photo{max-height:560px}}
@media(max-width:700px){.proyecto-layout{display:flex;flex-direction:column}.proyecto-copy{padding:48px 0 26px}.proyecto-copy h2{font-size:clamp(30px,7vw,40px);margin-bottom:35px!important}.proyecto-copy p{font-size:15px}.proyecto-logo-crop{width:210px;max-width:65%;margin-bottom:26px}.proyecto-section::before{height:32%}}

/* Ajuste final: conservar el logotipo CIUCA original y reducir su tamaño */
.proyecto-logo-crop{width:215px!important;max-width:46%!important;margin:0 auto 26px!important}
.proyecto-logo-crop img{display:block;width:100%!important;height:auto!important;transform:none!important}
@media(max-width:700px){.proyecto-logo-crop{width:165px!important;max-width:55%!important}}

/* Correccion logo visible: reducir realmente el ancho frente al ajuste anterior */
.proyecto-section .proyecto-logo-crop{width:145px!important;max-width:145px!important;flex:0 0 auto!important;}
.proyecto-section .proyecto-logo-crop img{width:145px!important;max-width:145px!important;height:auto!important;}
@media(max-width:700px){.proyecto-section .proyecto-logo-crop,.proyecto-section .proyecto-logo-crop img{width:120px!important;max-width:120px!important;}}

/* Bandera canaria: tres tonos mas visibles, sin bordes ni cortes. */
.proyecto-section::before,
#contacto.contacto-section::before{
 content:""!important;position:absolute!important;pointer-events:none!important;z-index:-1!important;
 left:0!important;right:0!important;top:auto!important;bottom:0!important;height:48%!important;
 background:
 radial-gradient(ellipse 42% 88% at 13% 112%,rgba(255,255,255,.53) 0%,rgba(244,249,255,.34) 36%,transparent 96%),
 radial-gradient(ellipse 49% 95% at 53% 111%,rgba(53,188,225,.72) 0%,rgba(39,169,216,.46) 45%,transparent 98%),
 radial-gradient(ellipse 40% 91% at 102% 111%,rgba(255,220,69,.67) 0%,rgba(255,220,69,.35) 42%,transparent 97%)!important;
 background-repeat:no-repeat!important;
}
@media(max-width:700px){.proyecto-section::before,#contacto.contacto-section::before{height:34%!important;}}

/* Ajuste solicitado: logo de Nuestro Proyecto ligeramente mayor y mas arriba. */
.proyecto-section .proyecto-logo-crop{width:165px!important;max-width:165px!important;position:relative!important;top:-18px!important;margin-bottom:8px!important;}
.proyecto-section .proyecto-logo-crop img{width:100%!important;max-width:100%!important;height:auto!important;}
@media(max-width:700px){.proyecto-section .proyecto-logo-crop{width:138px!important;max-width:138px!important;top:-12px!important;margin-bottom:10px!important;}}

/* Ajuste tipografico subtitulo Nuestro proyecto - 30 oct */
.proyecto-copy h2{font-weight:500!important;}
.proyecto-copy h2 strong,.proyecto-copy h2 strong span{font-weight:600!important;}
