/* Contatti - Solivya */

.hero-contatti {
    background: linear-gradient(135deg, #4c51bf 0%, #6b46c1 50%, #ef476f 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}

.hero-contatti h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 16px;
}

.hero-contatti .hero-subtitle {
    font-size: 18px;
    max-width: 720px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

.section-contatti {
    padding: 70px 0;
    background: #fff;
}

.contatti-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.info-column h2,
.form-column h2 {
    font-size: 26px;
    margin: 0 0 18px;
}

.form-intro {
    color: #555;
    margin: 0 0 22px;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd166, #ef476f);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h3 {
    margin: 0 0 4px;
    font-size: 15px;
    color: #222;
}

.contact-item p,
.contact-item a {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.contact-item a {
    color: #ef476f;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 14px;
}

.newsletter-box {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 22px;
    margin-top: 30px;
}

.newsletter-box h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #222;
}

.newsletter-box p {
    color: #555;
    line-height: 1.5;
    font-size: 14px;
    margin: 0 0 14px;
}

.newsletter-form {
    display: grid;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #ef476f;
    box-shadow: 0 0 0 3px rgba(239, 71, 111, 0.15);
}

.newsletter-form button {
    padding: 10px 16px;
    font-size: 14px;
}

.contatti-form {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 28px;
}

.contatti-form .form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.contatti-form label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.contatti-form input,
.contatti-form textarea {
    padding: 11px 13px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.contatti-form input:focus,
.contatti-form textarea:focus {
    outline: none;
    border-color: #ef476f;
    box-shadow: 0 0 0 3px rgba(239, 71, 111, 0.15);
}

.contatti-form textarea {
    resize: vertical;
    min-height: 140px;
}

.form-hint {
    color: #888;
    font-size: 12px;
    margin-top: 4px;
}

.btn-large {
    padding: 12px 28px;
    font-size: 15px;
    width: 100%;
}

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
}

.section-faq {
    padding: 70px 0;
    background: #f7f7fb;
}

.section-faq h2 {
    text-align: center;
    font-size: 30px;
    margin: 0 0 36px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.faq-item h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #222;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

.faq-item a {
    color: #ef476f;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-contatti h1 {
        font-size: 32px;
    }
    .contatti-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
