/* CONTENEDOR PRINCIPAL: MOSAICO + PANEL */
.gallery-hero {
  display: flex;
  gap: 24px;
  background: transparent;
  border-radius: 18px;
 margin-top: 2rem;
}

/* IZQUIERDA: MOSAICO */
.mosaic {
  flex: 2;
  display: grid;
grid-template-columns: repeat(11, 1fr);
grid-template-rows: repeat(10, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
  grid-auto-rows: 60px;
  gap: 20px;
  border-radius: 16px;
  max-height: 600px;
}

.cell {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid #ccc;
  cursor: pointer;
  isolation: isolate;
}

.cell img,
.cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(0, 0, 0, 0.15), transparent 50%),
    linear-gradient(-45deg, rgba(0, 0, 0, 0.25), transparent 50%);
  mix-blend-mode: multiply;
  opacity: 0.8;
  pointer-events: none;
}

.cell:hover img,
.cell:hover video {
  transform: scale(1.05);
  filter: saturate(1.2);
}

.cell {
  animation: float 12s ease-in-out infinite;
}

.cell:nth-child(odd) {
  animation-delay: -4s;
}

/* @keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
} */

/* DERECHA: PANEL LATERAL */
.gallery-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 8px 16px 0;
}

.gallery-info h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.gallery-info p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Botón "Ver más" */
.see-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.see-more span {
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.see-more:hover {
  background: #222;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.see-more:hover span {
  transform: translateX(3px);
}

/* Grid de íconos */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.icon-card {
  border: none;
  border-radius: 14px;
  padding: 10px;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 0.9rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.icon-card:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  background: #e0e0e0;
}


.icon-card span {
  font-size: 0.75rem;
  color: #333;
}

.icon-card:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}
.icon-card:not(:disabled):hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}


/* Responsive */
@media (max-width: 900px) {
  .gallery-hero {
    flex-direction: column;
  }
  .gallery-info {
    padding: 0 8px 8px;
  }
}

@media (max-width: 768px) {
  .mosaic {
    grid-auto-rows: 40px;
  }
}


.f1 { grid-area: 1 / 1 / 6 / 6; }
.f2 { grid-area: 6 / 1 / 11 / 6; }
.f3 { grid-area: 1 / 6 / 4 / 9; }
.f4 { grid-area: 1 / 9 / 3 / 11; }
.f5 { grid-area: 3 / 9 / 6 / 11; }
.f6 { grid-area: 4 / 6 / 7 / 9; }
.f7 { grid-area: 7 / 6 / 9 / 9; }
.f8 { grid-area: 1 / 11 / 2 / 12; }
.f9 { grid-area: 2 / 11 / 3 / 12; }
.f10 { grid-area: 3 / 11 / 6 / 12; }
.f11 { grid-area: 6 / 9 / 9 / 12; }
.f12 { grid-area: 9 / 6 / 11 / 12; }
