﻿/* --- SEZIONE CONTATTI --- */
.contatti-section {
    padding: 140px 20px;
    max-width: 1300px;
    margin: auto;
}

/* --- TITOLO --- */
.contatti-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: #0B7A3E;
    font-weight: 700;
}

/* --- LAYOUT A DUE COLONNE --- */
.two-col,
.contatti-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* --- CARD BIANCA PREMIUM (come in foto) --- */
.contatti-left,
.contatti-right {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

    /* --- TITOLI CARD --- */
    .contatti-left h2,
    .contatti-right h2,
    .contact-left h3,
    .contact-right h3 {
        font-size: 26px;
        color: #0B7A3E;
        margin-bottom: 20px;
    }

    /* --- TESTO --- */
    .contatti-left p,
    .contact-left p {
        font-size: 17px;
        margin-bottom: 12px;
        color: #333;
    }

/* --- MAPPA --- */
.map-box {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

    .map-box iframe {
        width: 100%;
        height: 500px; /* adattato al contenuto */
        border: none;
    }

/* --- FORM --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        width: 100%;
        padding: 14px;
        border: 2px solid #0B7A3E;
        border-radius: 8px;
        background: #ffffffee;
        font-size: 1rem;
        transition: 0.3s;
    }

        .contact-form input:focus,
        .contact-form select:focus,
        .contact-form textarea:focus {
            border-color: #1f4fa8;
            box-shadow: 0 0 8px rgba(31,79,168,0.3);
            outline: none;
        }

    .contact-form textarea {
        height: 160px;
        resize: vertical;
    }

/* --- BOX MOTIVO --- */
.motivo-box {
    margin-top: -10px;
    margin-bottom: 10px;
    padding: 15px;
    background: #f5f8ff;
    border-left: 4px solid #1f4fa8;
    border-radius: 6px;
    font-size: 0.95rem;
    display: none;
}

/* --- BOTTONE --- */
.btn,
.btn-send {
    background: #0B7A3E;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

    .btn:hover,
    .btn-send:hover {
        background: #1f4fa8;
    }

/* --- BOTTONE DISATTIVATO --- */
.disabled-btn {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* --- CAPTCHA CENTRATO --- */
.captcha-container {
    display: flex;
    justify-content: center;
    margin: 10px 0 20px 0;
}

.g-recaptcha {
    transform: scale(0.90);
    transform-origin: center;
    margin: auto;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .two-col,
    .contatti-grid {
        grid-template-columns: 1fr;
    }

    .contatti-section {
        padding-top: 180px;
    }

    .contatti-title {
        font-size: 38px;
        margin-bottom: 40px;
    }
}
