body {
  margin: 0;
  padding: 40px;
  background: #eaeaea;
  font-family: Arial, sans-serif;
}

/* CONTENEDOR */
.galeria-polaroid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* POLAROID */
.polaroid {
  background: #fff;
  padding: 10px 10px 25px;
  width: 220px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  border-radius: 4px;
  transform: rotate(-2deg);
  transition: transform 0.3s;
}

/* TAMAÑOS */
.polaroid.grande { width: 280px; }
.polaroid.chica { width: 180px; }

/* IMAGEN */
.polaroid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* TEXTO */
.polaroid span {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 0.9rem;
}

/* EFECTO SUELTO */
.polaroid:nth-child(even) {
  transform: rotate(2deg);
}

.polaroid:hover {
  transform: scale(1.05) rotate(0deg);
  z-index: 10;
}
/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.modal-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.cerrar {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

/* cursor para indicar click */
.polaroid img {
  cursor: zoom-in;
}
.video-avance {
  max-width: 900px;
  margin: 60px auto;
  text-align: center;
}

.video-avance h2 {
  margin-bottom: 15px;
}

.video-avance video {
  width: 100%;
  max-height: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-descargar {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 22px;
  background: #1f4fd8;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.btn-descargar:hover {
  background: #163aa6;
}

.video-polaroid video {
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
}

.video-polaroid span {
  display: block;
  padding-top: 8px;
  font-size: 14px;
}

.video-polaroid .btn-descargar {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  padding: 6px 12px;
}


