{% scope_css %}
/* ==========================================================================
   SECCIÓN: EL TEAM CORDILLERA
   ========================================================================== */
.cima-team-section {
  position: relative;
  overflow: hidden;
  background: #132b3f; 
  padding: 80px 24px 120px;
  font-family: "Montserrat", sans-serif;
}

/* ================== VECTORES DE FONDO ================== */
.cima-team-bg {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.cima-team-bg--top-left {
  top: 0;
  left: 0;
  width: 50vw;
  max-width: 700px;
  height: 50vw;
  max-height: 700px;
  overflow: hidden;
  opacity: 0.15; 
}

.cima-team-bg--top-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://8585816.fs1.hubspotusercontent-na1.net/hubfs/8585816/Cordillera%20LATAM%202025%20(PG%20web)/SVG/vector_huila.svg');
  background-repeat: no-repeat;
  background-size: contain; 
  background-position: top left;
  transform: scaleX(-1);
}

.cima-team-bg--bottom-right {
  right: 0;
  bottom: 0;
  width: 50vw;
  max-width: 760px;
  height: 50vw;
  max-height: 760px;
  background-image: url('https://8585816.fs1.hubspotusercontent-na1.net/hubfs/8585816/Cordillera%20LATAM%202025%20(PG%20web)/SVG/vector_huila.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
  opacity: 0.15;
}

/* ================== CONTENEDOR PRINCIPAL ================== */
.cima-team-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px; 
  margin: 0 auto;
}

/* ================== GRID DE TEAM ================== */
.cima-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 8px; 
  width: 100%;
}

/* ================== TARJETAS ================== */
.cima-team-card {
  position: relative;
  width: 100%;
  aspect-ratio: 356 / 474; 
  border-radius: 12px;
  overflow: hidden;
  background: #d9d9d9;
}

.cima-team-card--intro {
  background: #005c69;
}

.cima-team-card-inner {
  display: flex;
  align-items: flex-start; 
  width: 100%;
  height: 100%;
  padding: 48px 32px;
  box-sizing: border-box;
}

.cima-team-intro-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 32px); 
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.cima-team-intro-text {
  margin: 0;
  color: #fff;
  font-size: 14px; 
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.9;
}

/* --- TARJETAS MIEMBROS DEL TEAM --- */
.cima-team-card--member {
  background: linear-gradient(180deg, #e7e7e7 0%, #cfd3d8 100%);
}

.cima-team-card-visual {
  position: absolute;
  inset: 0; 
  width: 100%;
  height: 100%;
}

.cima-team-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cima-team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(19, 43, 63, 0) 40%,
    rgba(19, 43, 63, 0.4) 70%,
    rgba(19, 43, 63, 0.85) 100%
  );
  z-index: 1;
}

.cima-team-card-content {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  box-sizing: border-box;
}

.cima-team-card-content--top {
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}

.cima-team-featured-word {
  margin: 0;
  color: rgba(19, 43, 63, 0.2); 
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
}

.cima-team-card-content--bottom {
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
}

.cima-team-copy {
  flex: 1;
}

.cima-team-name {
  margin: 0;
  color: #fff;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.cima-team-role {
  margin: 4px 0 8px;
  color: #fff;
  font-size: 14px; 
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.cima-team-description {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 11px; 
  font-weight: 400;
  line-height: 1.3;
}

.cima-team-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0; 
  border-radius: 8px;
  background: #FFF;
}

.cima-team-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.cima-team-mountain-divider {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: 100%;
  min-width: 1440px; 
  transform: translateX(-50%);
  line-height: 0;
}

.cima-team-mountain-divider-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991px) {
  .cima-team-section {
    padding: 60px 20px 80px;
  }

  .cima-team-grid {
    grid-template-columns: repeat(2, 1fr); 
    max-width: 700px;
    margin: 0 auto;
  }
}

/* Móvil */
@media (max-width: 767px) {
  .cima-team-section {
    padding: 40px 16px 60px;
  }

  .cima-team-grid {
    grid-template-columns: 1fr; 
    max-width: 400px;
  }

  .cima-team-card {
    aspect-ratio: 4 / 5;
  }

  .cima-team-card-content--bottom {
    padding: 20px;
  }
}
{% end_scope_css %}