.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease-in-out;
  }
  
  .modal-contenido {
    background-color: var(--color-secundario);
    padding: 30px;
    border-radius: 12px;
    max-width: 90%;
    width: 400px;
    text-align: center;
    position: relative;
    animation: zoomIn 0.3s ease-in-out;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.4);
  }
  
  .modal-contenido img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  
  .cerrar-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
  }
  
  .btn-whatsapp-modal {
    display: inline-block;
    background-color: var(--color-terciario);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .btn-whatsapp-modal:hover {
    transform: scale(1.05);
  }
  
  @keyframes zoomIn {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  