/* --- 1. VARIABILI & SETUP --- */
:root {
    --brand-orange: #f37021;
    --brand-dark: #333333;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    --light-bg: #f8f9fa;
    --radius-std: 15px; /* Arrotondamento standard */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--brand-dark);
    background-color: #fff;
    overflow-x: hidden; /* Evita scroll orizzontale indesiderato */
}

h1, h2, h3, h4, h5 {
    font-weight: 700; /* Bold deciso per i titoli */
}

/* --- 2. HEADER --- */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Leggera ombreggiatura sotto il menu */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* --- 3. HERO SECTION (Immagine grande) --- */
.hero-img {
    width: 100%;
    height: 60vh; /* Occupa il 60% dell'altezza schermo */
    min-height: 400px;
    object-fit: cover; /* Taglia l'immagine senza deformarla */
    border-bottom: 5px solid var(--brand-orange); /* Linea di chiusura arancione */
}

/* --- 4. SEZIONE ARANCIONE (Icone) --- */
.bg-orange {
    background: linear-gradient(135deg, #f37021 0%, #ff8c42 100%); /* Gradiente leggero per dare profondità */
    color: white;
    box-shadow: 0 10px 30px rgba(243, 112, 33, 0.3);
}

.icon-circle {
    background: rgba(255, 255, 255, 0.2); /* Cerchio semitrasparente dietro l'icona */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    backdrop-filter: blur(5px);
}

/* --- 5. PULSANTI --- */
.btn-custom-green {
    background-color: var(--whatsapp-green);
    color: white;
    font-weight: 700;
    border: none;
    padding: 15px 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-custom-green:hover {
    background-color: var(--whatsapp-dark);
    color: white;
    transform: translateY(-3px); /* Si alza leggermente */
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

/* Animazione Pulsante "Battito" */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.pulse-animation {
    animation: pulse-green 2s infinite;
}

/* --- 6. CARDS & STEPS --- */
.step-circle {
    width: 50px;
    height: 50px;
    background: var(--brand-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 4px solid white;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.step-box {
    background: white;
    border: 2px solid var(--brand-orange);
    border-radius: var(--radius-std);
    padding: 20px;
    font-weight: 600;
    transition: transform 0.3s;
}

.step-box:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- 7. MODAL (Form di contatto) --- */
.modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: var(--brand-orange);
    color: white;
    border-bottom: none;
}

.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ced4da;
    background-color: #f8f9fa;
}

.form-control:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 0.25rem rgba(243, 112, 33, 0.25);
    background-color: #fff;
}

/* --- 8. FOOTER --- */
footer {
    background-color: #f1f1f1;
    border-top: 1px solid #ddd;
}