/* ---------------- 1. Layout general ---------------- */
.imagen {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  border-radius: 0;
}

.imagen:hover {
  transform: none;
}

.imagen1 { background-image: url('./img/1 1.jpg'); }
.imagen2 { background-image: url('./img/2 1.jpg'); }
.imagen3 { background-image: url('./img/3 1.jpg'); }
.imagen4 { background-image: url('./img/4 1.jpg'); }
.imagen5 { background-image: url('./img/5 1.jpg'); }
.imagen6 { background-image: url('./img/6 1.jpg'); position: relative; display: flex; justify-content: center; }

/* ---------------- 2. Ícono LinkedIn ---------------- */

.imagen1 {
  position: relative;
}

.imagen1 .linkedin-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  color: #fff;
  background-color: transparent;
  padding: 12px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.3s ease;
  z-index: 10;
}

.imagen1 .linkedin-icon:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .imagen1 .linkedin-icon {
    font-size: 28px;
    top: 12px;
    right: 12px;
    padding: 8px;
  }
}

/* ---------------- 3. Ícono flotante en imagen6 ---------------- */

.imagen6 .imagen6-icon {
  position: absolute;
  bottom: 185px;
  right: 3vw;
  font-size: clamp(24px, 5vw, 40px);
  color: #fff;
  background-color: transparent;
  padding: clamp(8px, 1vw, 12px);
  border-radius: 50%;
  text-decoration: none;
  z-index: 10;
  transform: translateY(0);
}

.imagen6 .imagen6-icon:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .imagen6 .imagen6-icon {
    bottom: 80px;
    font-size: 28px;
    padding: 8px;
  }
}


/* ---------------- 4. Imagen principal + logos RU/BM6 ---------------- */
/* Imagen principal */
.icono-imagen {
  width: clamp(200px, 28vw, 280px);
  aspect-ratio: 3 / 1.2;
  background-image: url('./img/somos.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent; /* esto elimina el verde */
  display: block;
  flex-shrink: 0;
}



/* Logos BM y RU - versión ampliada */
.logo-icono {
  width: clamp(52px, 6vw, 72px); 
  height: clamp(52px, 6vw, 72px);
  border-radius: 10%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  vertical-align: middle;
  transform: translateY(-9px);
  flex-shrink: 0;
}


.iconos-bmru {
  position: absolute;
  bottom: clamp(52px, 5vw, 60px);
  left: 6%;
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 10px);
  z-index: 2;
  min-width: 260px;
  height: auto;
}

/*.icono-imagen,
.logo-icono {
  outline: 1px solid red;
}

.icono-imagen {
  background-color: rgba(0, 255, 0, 0.1); /* solo para testeo*/ /*}*/


.logo-bm {
  background-image: url('./img/LOGO BM PORTADA.png');
}

.logo-ru {
  background-image: url('./img/LOGO RU PORTADA.png');
}

/* Responsive */
@media (max-width: 768px) {
  .icono-imagen {
    width: 140px;
    aspect-ratio: 3 / 1.2;
    margin-top: 48px;
    display: block;
    background-image: url('./img/somos.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
	  background-color: transparent; 
    flex-shrink: 0;
  }

  .logo-icono {
    width: 36px;
    height: 36px;
    transform: translateY(18px); 
  }

  .iconos-bmru {
    bottom: 16px;     
    left: 6%;
    gap: 3px;
    min-width: 260px;
    height: auto;
	padding-top: 12px; 
  }
}
/* ---------------- 6. Contacto ---------------- */
.info-contacto {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(242, 242, 242, 0.65); 
  padding: 6px 12px;                          
  box-shadow: 0 -1px 4px rgba(0,0,0,0.08);    
  font-family: Arial, sans-serif;
  font-size: 12px;                         
  text-align: center;
  z-index: 1000;
}

.titulo-contacto {
  font-size: 12px; 
  font-weight: bold;
  color: rgb(0, 102, 100);
  margin-bottom: 2px;
}


.correo-contacto {
  font-size: 12px;
}

.info-contacto a {
  font-size: 12px;
  color: rgb(31, 36, 61);      
  font-weight: bold;   
  text-decoration: none;

}


@media (max-width: 600px) {
  .info-contacto {
    font-size: 7px;
    padding: 2px 4px;
    background-color: rgba(242, 242, 242, 0.65);
    box-shadow: 0 -1px 2px rgba(0,0,0,0.05);
	bottom: 0;
  }

  .titulo-contacto {
    font-size: 10px;
    font-weight: bold;
    color: rgb(0, 102, 100);
    margin-bottom: 2px;
  }

  .correo-contacto,
  .info-contacto a {
     font-size: 7px;
  color: rgb(31, 36, 61); 
  font-weight: bold;
  text-decoration: none;

  }
}
