/* =========================================================
   File: sb-contact.css
   Scopo: Stile Contact Us Premium (Clean Navy System)
   ========================================================= */

/* --- RESET & LAYOUT --- */
.sb-contact-page {
    background-color: var(--sb-bg);
    min-height: 80vh;
}

/* --- HERO SECTION --- */
.sb-contact-hero {
    padding: 60px 0 40px;
    text-align: center;
}
.sb-contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.sb-contact-hero p {
    font-size: 1.1rem;
    color: var(--sb-text);
    line-height: 1.6;
}

/* --- GRID LAYOUT --- */
.sb-contact-grid {
    display: grid;
    gap: 30px;
}

@media (min-width: 900px) {
    .sb-contact-grid {
        grid-template-columns: 3fr 2fr; /* Form largo, Sidebar stretta */
        align-items: start;
    }
}

/* --- FORM CARD (Main) --- */
.sb-contact-form-card {
    padding: 40px !important; /* Override standard card padding */
}

.sb-form-header { margin-bottom: 30px; }
.sb-form-header h2 { font-size: 1.5rem; margin-bottom: 8px; }
.sb-form-header p { color: var(--sb-muted); margin: 0; }

.sb-input-group { margin-bottom: 20px; }
.sb-input-group label {
    font-weight: 600;
    color: var(--sb-dark);
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

/* Inputs are inherited from global style.css, but we refine here */
.sb-contact-form input, 
.sb-contact-form textarea {
    background: #fff;
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    padding: 14px;
    font-size: 1rem;
    width: 100%;
}
.sb-contact-form textarea { resize: vertical; min-height: 120px; }

.sb-contact-form input:focus, 
.sb-contact-form textarea:focus {
    border-color: var(--sb-brand);
    box-shadow: 0 0 0 4px rgba(1, 20, 79, 0.1);
    outline: none;
}

/* Messages */
.sb-error-message {
    background: #fef2f2; color: #ef4444; 
    padding: 15px; border-radius: var(--sb-radius); 
    margin-bottom: 20px; font-weight: 600;
}
.sb-success-message { text-align: center; padding: 40px 20px; }
.sb-icon-check {
    width: 60px; height: 60px; background: #dcfce7; color: #166534;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 30px; margin: 0 auto 20px;
}


/* --- SIDEBAR INFO BOXES --- */
.sb-contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sb-info-box {
    text-align: left;
    padding: 30px !important;
}

.sb-info-icon {
    font-size: 24px; margin-bottom: 16px;
    background: var(--sb-bg); width: 48px; height: 48px;
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
}

.sb-info-box h3 {
    font-size: 1.1rem; margin-bottom: 10px; color: var(--sb-dark);
}
.sb-info-box p {
    font-size: 0.95rem; color: var(--sb-text); margin-bottom: 10px;
}
.sb-info-box address {
    font-style: normal;
    color: var(--sb-text);
    line-height: 1.6;
    font-size: 0.95rem;
}
.sb-link-strong {
    font-weight: 700; color: var(--sb-brand); text-decoration: none;
}
.sb-link-strong:hover { text-decoration: underline; }

.sb-small-note {
    font-size: 0.8rem !important; color: var(--sb-muted) !important; margin-top: 12px !important;
}

/* Footer nascondi quello standard se presente */
.site-footer { display: none; }