/* COLORI E FONT */
:root {
    --bg-main: #ffffff;
    --bg-alt: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --accent-blue: #5D9BD3;
    --accent-gold-soft: #fdfaf3;
    --border-color: #eeeeee;
    --serif-font: 'Playfair Display', serif;
    --sans-font: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-main); color: var(--text-dark); font-family: var(--sans-font); line-height: 1.6; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 25px; }
.section-padding { padding: 100px 0; }
.bg-light-alt { background-color: var(--bg-alt); }
.bg-gold-subtle { background-color: var(--accent-gold-soft); border-top: 1px solid #f2e9d9; }
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }
.mt-20 { margin-top: 20px; }

/* NAVBAR */
.navbar { padding: 15px 0; background: #fff; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border-color); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.main-logo { height: 55px; width: auto; }
.nav-link { color: var(--text-dark); text-decoration: none; margin-left: 20px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; }

/* HERO */
.hero { padding: 80px 0; background: linear-gradient(135deg, #fff 0%, #f0f6fb 100%); min-height: 85vh; display: flex; align-items: center; }
.hero .container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.hero-brand-img { max-width: 280px; margin-bottom: 25px; }
h1 { font-family: var(--serif-font); font-size: clamp(2.5rem, 5vw, 3.8rem); color: var(--text-dark); margin-bottom: 10px; line-height: 1.1; }
.payoff { color: var(--accent-blue); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 25px; font-size: 0.9rem; }
.hero-text { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 35px; max-width: 600px; }
.opening-tag { font-weight: 700; color: var(--accent-blue); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 10px; }

/* WELCOME BOX HERO */
.welcome-box { background: white; padding: 30px; border-radius: 8px; border-left: 4px solid var(--accent-blue); box-shadow: 0 10px 40px rgba(0,0,0,0.05); margin-bottom: 40px; }
.badge { display: inline-block; background: var(--accent-blue); color: white; padding: 5px 15px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; border-radius: 20px; margin-bottom: 15px; }
.welcome-p { font-size: 1.1rem; color: var(--text-dark); }
.disclaimer-hero { font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; font-style: italic; }

/* PULSANTI (Fix Sovrapposizione) */
.cta-group { display: flex; gap: 25px; align-items: center; flex-wrap: wrap; margin-top: 20px; }

.btn-primary { 
    display: inline-block; /* Fondamentale */
    background: var(--accent-blue); 
    color: white; 
    padding: 18px 40px; 
    text-decoration: none; 
    font-weight: 700; 
    border-radius: 4px; 
    transition: 0.3s; 
    text-align: center;
    border: none;
    cursor: pointer;
    line-height: 1;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(93, 155, 211, 0.4); }

.btn-secondary { color: var(--text-dark); text-decoration: underline; font-weight: 600; padding: 10px 0; }

.btn-outline, .btn-outline-nav { 
    display: inline-block;
    border: 2px solid var(--accent-blue); 
    color: var(--accent-blue); 
    padding: 12px 30px; 
    text-decoration: none; 
    font-weight: 700; 
    border-radius: 4px; 
}

/* CARDS */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.service-card { padding: 40px; background: white; border: 1px solid var(--border-color); }
.service-card h4 { font-family: var(--serif-font); font-size: 1.25rem; margin-bottom: 15px; color: var(--accent-blue); }
.card-wide { grid-column: 1 / -1; }
.disclaimer-text { color: var(--text-muted); font-size: 0.85rem; margin-top: 40px; }

/* CHI SIAMO */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.check-list { list-style: none; margin-top: 30px; }
.check-list li { margin-bottom: 15px; padding-left: 30px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-blue); font-weight: 700; }

/* SETTIMANA BENVENUTO SECTION */
.promo-box { background: white; padding: 60px 40px; border-radius: 12px; box-shadow: 0 15px 50px rgba(0,0,0,0.03); max-width: 900px; margin: 0 auto; }
.large-p { font-size: 1.3rem; margin-bottom: 25px; line-height: 1.4; color: var(--text-dark); }
.promo-box .btn-primary { margin: 15px 0; } /* Spazio intorno al bottone */

/* FAQ */
.max-800 { max-width: 800px; margin: 0 auto; }
.faq-accordion { margin-top: 40px; border-top: 1px solid var(--border-color); }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question { width: 100%; padding: 25px 0; background: none; border: none; text-align: left; font-size: 1.1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { max-height: 0; overflow: hidden; transition: 0.3s ease-out; }
.faq-answer p { padding-bottom: 25px; color: var(--text-muted); }
.faq-item.active .faq-answer { max-height: 300px; }

.faq-footer-cta { margin-top: 70px; padding: 50px; background: #f0f6fb; border-radius: 12px; }
.faq-footer-cta p { font-size: 1.2rem; font-weight: 600; }

/* VISUALS */
.visual-placeholder { background: #f0f0f0; min-height: 400px; width: 100%; border-radius: 8px; }
.hero-abstract-shape { width: 100%; height: 500px; background: #e9f2f9; border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }

/* FOOTER */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--border-color); font-size: 0.95rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 50px; }
.footer h4 { font-family: var(--serif-font); font-size: 1.4rem; margin-bottom: 20px; }
.footer-contacts p { margin-bottom: 10px; }
.footer a { color: var(--accent-blue); font-weight: 600; }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 30px; text-align: center; color: #999; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid-2, .hero .container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .cta-group { justify-content: center; flex-direction: column; width: 100%; }
    .btn-primary { width: 100%; max-width: 350px; }
    .hero-visual, .visual-placeholder-frame { display: none; }
    .footer-grid { flex-direction: column; text-align: center; gap: 40px; }
    .navbar .container { flex-direction: column; gap: 20px; }
    .nav-link { margin: 0 10px; }
}