/* ===== OVERLAY ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
  z-index: 9999;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== CONTENEDOR ===== */
.modal-container {
  width: 90%;
  max-width: 1100px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  animation: zoomIn 0.4s ease;
}

/* ===== GRID ===== */
.modal-grid {
  display: flex;
  min-height: 500px;
}

/* ===== IMAGEN ===== */
.modal-image {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* LOGO */
.modal-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #000;
  color: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: bold;
}

/* ===== INFO ===== */
.modal-info {
  width: 50%;
  padding: 50px;
  background: #f8f8f8;
  position: relative;
}

/* patrón hexagonal */
.modal-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#ddd 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
}

/* contenido sobre patrón */
.modal-info * {
  position: relative;
  z-index: 2;
}

.modal-info h2 {
  font-size: 32px;
  font-weight: 800;
}

.modal-info h4 {
  color: #666;
  margin-bottom: 15px;
}

.modal-info p {
  font-size: 14px;
  margin-bottom: 20px;
}

/* ===== LISTA ===== */
.modal-list {
  list-style: none;
  padding: 0;
}

.modal-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.modal-list li::before {
  content: "✔";
  color: orange;
  position: absolute;
  left: 0;
}

/* ===== BOTONES ===== */
.modal-actions {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: #ff6b2c;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
}

.btn-secondary {
  background: #3498db;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
}

/* ===== CERRAR ===== */
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
}

/* ===== ANIMACIÓN ===== */
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .modal-grid {
    flex-direction: column;
  }

  .modal-image,
  .modal-info {
    width: 100%;
  }

  .modal-info {
    padding: 25px;
  }
}