/* -------------------------------------------------- */
/* Sobre nosotros (idéntico estilo que Operaciones)   */
/* -------------------------------------------------- */

.about {
  padding: 3.5rem 1rem;
  background: #ffffff;
  color: #123456;
}

.about .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0.75rem;
}

.about-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.6rem;
  color: #203864;
}

/* bloque de texto (igual que .operations-copy) */
.about-copy {
  max-width: 100%;
  margin: 0 auto 2rem auto;
  text-align: justify;
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
}

.about-copy p {
  margin-bottom: 1.1rem;
  color: #2f465f;
  line-height: 1.8;
}

/* responsive (opcional) */
@media (max-width: 640px) {
  .about {
    padding: 2rem 1rem;
  }

  .about-title {
    font-size: 1.4rem;
  }
}

/* -------------------------------------------------- */
/* Bloque de métricas "Sobre nosotros"                */
/* -------------------------------------------------- */

.about-stats {
  margin-top: 3rem;
}

/* Grid: 4 columnas en escritorio */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 0 auto;
  width: 100%;
}

.about-stat {
  text-align: center;
}

/* Parte superior: número o imagen (misma altura para todos) */
.about-stat-main {
  min-height: 120px;              /* altura uniforme */
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 2.3rem;
  font-weight: 700;
  color: #203864;
  letter-spacing: 0.03em;
  gap: 0.1rem;
}

.about-stat-prefix {
  font-size: 1.4rem;
}

/* Título de cada stat */
.about-stat-label {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Responsive: un poco más de aire en móvil */
@media (max-width: 768px) {
  .about-stats {
    margin-top: 2.5rem;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 por fila en móvil */
    gap: 1.5rem;
  }

  .about-stat-main {
    font-size: 1.5rem;
  }
}

@media (max-width: 420px) {
  .about-stats-grid {
    grid-template-columns: 1fr; /* 1 por fila en móviles muy pequeños */
  }
}

/* -------------------------------------------------- */
/* Ubicación: mapa Comunidad de Madrid (imagen)       */
/* -------------------------------------------------- */

.about-map-wrapper {
  position: relative;
  width: 100px;        /* tamaño del mapa, ajustable */
  height: auto;
  margin: 0 auto;
}

.about-map-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;        /* un toque elegante */
}

/* Limitar altura de cualquier imagen dentro de un stat */
.about-stat-main img {
  max-height: 100px;
  object-fit: contain;
}

/* Ajuste responsive del mapa */
@media (max-width: 768px) {
  .about-map-wrapper {
    width: 90px;
  }
}
