/* Variables de color para mantener la consistencia */
:root {
    --primary: #59C406;
    --secondary: #2c3e50;
    --glass: rgba(255, 255, 255, 0.9);
}

/* --- BOTÓN SUBIR (Izquierda) --- */
#scrollTopBtn {
    display: none; 
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--secondary);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#scrollTopBtn:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

/* --- LIGHTBOX / MODAL --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--glass);
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

/* --- FORMULARIO --- */
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form h2 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.contact-form label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--secondary);
}

.contact-form input, 
.contact-form textarea, 
.contact-form select {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.contact-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #459a05;
}