/* --- LAYOUT GENERALE --- */
.container-center {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HERO --- */
.hero {
    background-color: #B52025;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 45vh;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: #fff;
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* --- I 3 BOX SUPERIORI --- */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.info-box {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 50px 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.info-box h3 { font-size: 1.5rem; margin-bottom: 15px; color: #222; }
.info-box p { font-size: 0.95rem; color: #555; line-height: 1.6; margin-bottom: 25px; }

.btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    background: #333;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
}
.btn-link:hover { background: #B52025; }

/* --- BOX DIDATTICA LARGO --- */
.didattica-full {
    width: 100%;
    margin-top: 30px;
    text-align: left;
    padding: 50px;
}

.didattica-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.didattica-text { flex: 1.5; }
.didattica-image { flex: 1; text-align: right; }

.badge-new {
    background: #B52025;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.didattica-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- SEZIONE CONTACT CTA --- */
.contact-cta {
    background-color: #f9f9f9; /* Grigio chiarissimo per dare respiro */
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-cta h2 {
    color: #B52025;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-cta p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

/* Bottone stilizzato come gli altri link ma più evidente */
.btn-cta {
    display: inline-block;
    background-color: #B52025;
    color: white !important;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(181, 32, 37, 0.3);
}

.btn-cta:hover {
    background-color: #8e181c;
    transform: translateY(-3px);
    text-decoration: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .info-boxes { grid-template-columns: 1fr; }
    .didattica-inner { flex-direction: column; text-align: center; }
    .didattica-image { order: -1; }
    .didattica-full { padding: 30px; }
}

