/* KPIs Layout (Aliado Estrategico) */
.layout__kpis {
  padding: 80px 20px;
  background-color: #ffffff;
  font-family: 'Inter', sans-serif;
}

.kpis-layout__container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Left Column - Content */
.kpis-layout__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.kpis-layout__headline {
  font-size: 3rem;
  font-weight: 800;
  color: #0b1121;
  line-height: 1.2;
  margin-bottom: 40px;
  text-align: left;
}

.kpis-layout__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 32px;
  column-gap: 24px;
  text-align: center;
  margin-bottom: 48px;
}

.kpis-layout__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.kpis-layout__title {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 800;
  color: #0b1121;
}

.kpis-layout__item-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a56ff; /* Finvero Blue */
  line-height: 1;
}

.kpis-layout__item-desc {
  font-size: 1.125rem;
  color: #4b5563;
  font-weight: 500;
}

/* Global Presence (Flags) */
.kpis-layout__presence {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.kpis-layout__presence-text {
  font-size: 1rem;
  color: #000000;
  text-align: center;
}

.kpis-layout__presence-text span {
  font-weight: 700;
  color: #1a56ff;
}

.kpis-layout__flags {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.kpis-layout__flags figure {
  margin: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.kpis-layout__flags img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right Column - Image */
.kpis-layout__image-wrapper {
  flex: 1.2; /* slightly larger image side */
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  background-color: #f3f4f6;
  position: relative;
}

.kpis-layout__image-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Desktop */
@media (min-width: 1024px) {
  .layout__kpis {
    padding: 120px 20px;
  }
  
  .kpis-layout__container {
    flex-direction: row;
    align-items: stretch;
    gap: 80px;
  }
  
  .kpis-layout__content {
    justify-content: center;
  }

  .kpis-layout__headline {
    font-size: 3rem;
  }
}

/* Mobile & Tablet */
@media (max-width: 991px) {
  h6.kpis-layout__title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: #0b1121 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
  }
}

@media (max-width: 768px) {
  .kpis-layout__headline, .kpis-layout__title {
    font-size: 2rem;
  }
  .kpis-layout__item-title {
    font-size: 1.5rem;
  }
}
