.section-3 {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: 5rem 6% 1rem;
  background: transparent;
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.section-3 h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  font-size: 3rem;
  padding: 0;
  color: var(--brand-ink);
}

.section-3 p {
  padding: 0 0 1rem 0;
  max-width: 42rem;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.75;
  font-family: "Montserrat", sans-serif;
}

.caja {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 3.3rem 0;
}

.barrita {
  width: 0.25rem;
  height: 72px;
  background: var(--brand-blue);
  border-radius: 0.25rem;
}

.contenido {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.contenido img {
  position: relative;
  z-index: 2;
  height: 31.25rem;
  max-width: 25rem;
  width: 25rem;
  object-fit: cover;
  object-position: 60% 10%;
  border-radius: 1.75rem;
  box-shadow: var(--shadow-md);
  border: none;
}

.contenido .texto {
  line-height: 1.5;
  margin-left: 1.5rem;
  max-width: 43rem;
}

.contenido .imagen {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 38rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cuadro-1,
.cuadro-2 {
  position: absolute;
  border-radius: 1.8rem;
  z-index: 1;
  background: #dfe9fb;
}

.cuadro-1 {
  top: 1rem;
  left: 2rem;
  width: 17rem;
  height: 15.5rem;
}

.cuadro-2 {
  right: 0.5rem;
  bottom: 0.75rem;
  width: 16rem;
  height: 15.8rem;
}

.estadisticas {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 250px));
  gap: 1.7rem 2rem;
  margin-top: 2.4rem;
}

.stat-card {
  position: relative;
  background: var(--surface-elevated);
  border: 1px solid rgba(29, 41, 61, 0.04);
  border-radius: 1.2rem;
  padding: 1.55rem 1.6rem;
  box-shadow: 0 18px 34px rgba(25, 40, 74, 0.08);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.15rem;
  min-height: 7.25rem;
  width: 100%;
}

.icon-badge {
  width: 3.45rem;
  height: 3.45rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--brand-blue) 0%, var(--brand-blue-strong) 100%);
  box-shadow: var(--shadow-blue);
}

.icon-badge i {
  font-size: 1.5rem;
  color: #fff;
  line-height: 1;
}

.stat-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.05rem;
  letter-spacing: 0.5px;
  color: var(--text-strong);
  line-height: 1.1;
}

.metric .plus,
.metric .percent,
.metric .slash {
  font-family: inherit;
  font-size: 1.5rem;
  margin-left: 0.125rem;
}

.label {
  color: var(--text-body);
  font-size: 0.98rem;
  font-family: "Montserrat", sans-serif;
}

.contact-section {
  position: relative;
  z-index: 1;
}

.profiles-section {
  padding: 4rem 2rem 1rem;
}

.profiles-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
}

.profiles-intro {
  flex: 0 0 100%;
}

.profiles-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  color: var(--brand-ink);
}

.profile-card {
  flex: 1 1 320px;
  min-width: 0;
}

.profile-card h3 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: var(--brand-ink);
}

.profile-card p {
  margin: 0 0 1.25rem;
  line-height: 1.7;
  color: var(--text-soft);
}

@media (max-width: 1100px) {
  .profiles-layout {
    gap: 2.5rem;
  }
}

@media (max-width: 1200px) {
  .section-3 {
    padding: 2.5rem 1rem;
  }

  .profiles-section {
    padding: 3rem 1rem 0.5rem;
  }

  .caja {
    margin: 0;
    padding: 0 0 1.25rem;
    gap: 0.75rem;
  }

  .section-3 h2 {
    font-size: 2.1rem;
  }

  .barrita {
    margin: 0;
    height: 56px;
  }

  .contenido {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0;
    align-items: center;
  }

  .section-3 p {
    max-width: 100%;
  }

  .contenido .texto {
    order: 1;
    width: min(100%, 43rem);
    margin-left: 0;
    margin-right: auto;
    margin-left: auto;
  }

  .estadisticas {
    grid-template-columns: 1fr;
    gap: 1rem;
    order: 2;
    position: relative;
    z-index: 2;
    width: 100%;
    justify-items: stretch;
  }

  .stat-card {
    width: 100%;
    height: auto;
    padding: 1rem;
  }

  .contenido .imagen {
    order: 3;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    display: grid;
    place-items: center;
    z-index: 1;
    min-height: auto;
  }

  .contenido img {
    width: 100%;
    max-width: 420px;
    height: auto;
    max-height: 420px;
    position: relative;
    z-index: 2;
  }

  .cuadro-1,
  .cuadro-2 {
    display: none;
  }
}

@media (max-width: 420px) {
  .section-3 h2 {
    font-size: 1.9rem;
  }

  .contenido img {
    max-width: 360px;
  }

  .metric {
    font-size: 1.7rem;
  }

  .icon-badge {
    width: 52px;
    height: 52px;
  }

  .estadisticas {
    grid-template-columns: 1fr;
  }
}
