/*Start grids-iniciales 54564*/
.container {
  position: relative;
  width: 100%;
  max-width: 1651px;
  margin: auto;
  aspect-ratio: 1651 / 768;
}

.box {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3vw;
  font-weight: bold;
  color: white;
  border-radius: 20px;
  text-align: center;
  padding: 5px;
  overflow: hidden;
}

.box img.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.box span {
  position: relative;
  z-index: 1;
}

.b1  { left: 0.6%;  top: 1.3%;  width: 28.3%; height: 73.5%; background: #ff6600; }
.b2  { left: 31.5%; top: 1.3%;  width: 12.5%; height: 34.4%; background: #ccc; color: #000; }
.b3  { left: 46.2%; top: 1.3%;  width: 28.3%; height: 34.4%; background: #666; }
.b4  { left: 77.6%; top: 1.3%;  width: 19.8%; height: 54%;   background: #003399; }

.b5  { left: 31.5%; top: 39.9%; width: 12.5%; height: 34.4%; background: #996633; }
.b6  { left: 46.2%; top: 39.9%; width: 12.5%; height: 34.4%; background: #ffffff; }
.b7  { left: 60.9%; top: 39.9%; width: 12.5%; height: 34.4%; background: #660066; }

.b8  { left: 0.6%;  top: 78.2%; width: 12.5%; height: 34.4%; background: #990099; }
.b9  { left: 15.3%; top: 78.2%; width: 28.3%; height: 34.4%; background: #666; }
.b10 { left: 46.2%; top: 78.2%; width: 28.3%; height: 34.4%; background: #cc00ff; }
.b11 { left: 77.6%; top: 58.6%; width: 19.8%; height: 54%;   background: #009933; }

@media (max-width: 768px) {
body {
padding: 0;
}

.container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: none;
padding: 0;
margin: 0 auto;
aspect-ratio: auto;
position: static;    
gap: 15px;
}

.box {
position: relative;
width: 100%;
max-width: 100%;
margin: 0;
font-size: 16px;
border-radius: 15px;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}

.box img.bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
z-index: 0;
}

.box span {
position: relative;
z-index: 1;
}

/* Proporciones originales para mantener altura visual */
.b1, .b2, .b3, .b4, .b5, .b6, .b7, .b8, .b9, .b10, .b11 {
  aspect-ratio: 16/9;
  left: auto !important;
  top: auto !important;
  height: auto !important;
  background: inherit;
}
}
/*END grids-iniciales 54564*/ 

/*Start video  974353*/
.modal-974353-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-974353 {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
  width: 600px;
  height:400px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  animation: swirl-in-zoomin 1.5s linear 0s 1 normal none;
}
@media (max-width: 600px) {
  .modal-974353 {
    width: 350px;
    height: 300px;
  }
}
.modal-974353-close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 2rem;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  padding: 0;
}
.modal-974353 video {
  width: 100%;
  height: calc(100% - 40px);
  border-radius: 0 0 12px 12px;
  background: #000;
  display: block;
}
@keyframes swirl-in-zoomin {
  0% {
    transform:rotate(-540deg) scale(0);
    opacity:0;
  }
  100% {
    transform:rotate(0) scale(1);
    opacity:1;
  }
}
/*END video 974353 */

/*Start hover efecto box b6 974353*/
.box.b6 {
  position: relative;
  transition: border 0.2s;
}
.box.b6:hover {
  border: 2px solid #000;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.775);
}
.box.b6:hover::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* background: rgba(0,0,0,0.45); */
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
/*END hover efecto box b6 974353*/ 