/* C-QBO | Ajustes visuales Noviembre 2026
   Se incorpora como hoja independiente para NO modificar estilos globales,
   formularios PHP, analytics ni panel de administracion. */

/* Experiencia: cuadricula coherente, fotografias no deformadas y texto legible. */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(16px, 2vw, 26px);
}
.experience-grid > .project-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(8, 37, 54, .11);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(8, 37, 54, .055);
}
.experience-grid .project-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0 0 18px;
  background: #edf2f5;
}
.experience-grid .project-image-wrap > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0;
  transform: none !important;
}
.experience-grid .project-card > h3 {
  overflow-wrap: anywhere;
  line-height: 1.24;
}
.experience-grid .project-card > p {
  line-height: 1.65;
  overflow-wrap: break-word;
}
.experience-grid .project-card .project-meta {
  margin-top: auto;
  padding-top: 18px;
}

/* Clientes: mismo recuadro visual, centrado y escala proporcionada. */
.trusted-track .trusted-client {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.trusted-track .trusted-client > div {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.trusted-track .trusted-client img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 198px !important;
  max-height: 80px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: auto;
}
.trusted-track .trusted-client .client-name-mark {
  display: inline-block;
  max-width: 100%;
  text-align: center;
  font-size: clamp(22px,2.2vw,30px);
}
@media (max-width: 900px) {
  .experience-grid {grid-template-columns: repeat(2, minmax(0,1fr));}
}
@media (max-width: 600px) {
  .experience-grid {grid-template-columns: minmax(0,1fr);gap:18px;}
  .experience-grid .project-image-wrap {aspect-ratio: 16/10;}
  .trusted-track .trusted-client {padding:18px;}
  .trusted-track .trusted-client img {max-width:168px!important;max-height:70px!important;}
}

/* Logotipos BHP y Komatsu proporcionados por el cliente (30/11/2026). */
.trusted-track .trusted-client img[src$="/bhp.png"],
.trusted-track .trusted-client img[src$="/komatsu.png"]{
  object-fit:contain !important;object-position:center !important;
  width:100% !important;height:100% !important;
  max-width:198px !important;max-height:80px !important;
}

/* C-QBO · Ajustes del carrusel de clientes — diciembre 2026 */
.trusted-track .trusted-client {padding:12px 14px !important;}
.trusted-track .trusted-client > div {width:100%;height:100%;display:grid;place-items:center;}
.trusted-track .trusted-client img.cq-logo-codelco,
.trusted-track .trusted-client img.cq-logo-fuerza-aerea-chile,
.trusted-track .trusted-client img.cq-logo-lo-barnechea {
  width:auto!important;height:auto!important;max-width:94%!important;
  max-height:113px!important;object-fit:contain!important;object-position:center!important;
}
.trusted-track .trusted-client img.cq-logo-silica {
  width:96%!important;height:auto!important;max-height:100px!important;
  object-fit:contain!important;object-position:center!important;
}
@media(max-width:600px){
  .trusted-track .trusted-client img.cq-logo-codelco,
  .trusted-track .trusted-client img.cq-logo-fuerza-aerea-chile,
  .trusted-track .trusted-client img.cq-logo-lo-barnechea {max-height:95px!important;}
}
/* Mantener los títulos largos legibles sin modificar el layout general de Inicio */
.project-feature-grid>a h3 {overflow-wrap:anywhere;}
#proyecto-sala-dgac {scroll-margin-top:100px;}
