/* =======================================================
   STILE LANDING PAGE ADS (Compatto - Padding Ridotti)
   File: /css/landing-ads.css
   ======================================================= */

:root {
    --bosco-green: #2d462f;
    --bosco-green-overlay: rgba(45, 70, 47, 0.94);
    --bosco-orange: #e87722;
    
    /* Colori */
    --header-beige: #f7dab8; 
    --trust-gray: #f2f2f2; 
    
    --btn-brown: #563c29;
    --btn-brown-hover: #3e2b1d;
    --text-dark: #2f241a;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    margin: 0; padding: 0;
}

/* 1. CUSTOM HEADER */
.landing-header {
    background-color: var(--header-beige);
    padding: 8px 20px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.landing-logo a { display: block; text-decoration: none; line-height: 0; }
.landing-logo img { height: 45px; width: auto; display: block; }

/* Bottone Telefono */
.landing-phone-btn {
    background-color: var(--btn-brown);
    color: #fff; text-decoration: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700; font-size: 0.9rem;
    display: flex; align-items: center; gap: 8px;
    transition: all 0.2s ease; text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.landing-phone-btn:hover {
    background-color: var(--btn-brown-hover);
    transform: translateY(-1px); color: #fff;
}
.landing-phone-btn i { font-size: 1rem; }

/* 2. SUB-HEADER TRUST BAR */
.sub-header-trust {
    background-color: var(--trust-gray);
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 20px;
    font-size: 0.85rem;
    color: #555;
}
.trust-bar-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
}
.trust-pill { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.trust-pill i { font-size: 1rem; color: var(--text-dark); }

/* 3. HERO SECTION (Compatta) */
.landing-hero {
    position: relative;
    /* PADDING RIDOTTO DRASTICAMENTE */
    padding: 40px 20px 50px; 
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
}
.landing-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, var(--bosco-green-overlay) 30%, rgba(45, 70, 47, 0.85) 100%);
    z-index: 1;
}
.landing-hero-content {
    position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; width: 100%;
}

.landing-hero h1 {
    font-size: 2.4rem; /* Font ridotto */
    font-weight: 800; 
    line-height: 1.15; 
    margin-bottom: 10px; /* Meno spazio sotto il titolo */
    max-width: 800px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-transform: none; 
}

.landing-hero p.hero-sub {
    font-size: 1.1rem; opacity: 0.95; max-width: 700px;
    margin-bottom: 20px; /* Meno spazio sotto il sottotitolo */
    font-weight: 400; line-height: 1.4;
}

/* Badges */
.hero-badges-container {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 0;
}
.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px; padding: 6px 16px; /* Badge più sottili */
    display: flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 0.9rem; backdrop-filter: blur(5px);
}
.hero-badge i { color: var(--bosco-orange); }

/* 4. BENEFITS (Padding Ridotto) */
.benefits-section { 
    background-color: #fcf8f3; 
    padding: 40px 20px; /* Ridotto da 60 a 40 */
    text-align: center; 
}
.section-title h2 { font-size: 1.8rem; color: var(--text-dark); font-weight: 800; margin-bottom: 5px; }
.section-title p { color: #666; font-size: 1rem; margin-bottom: 25px; }

.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.benefit-card { 
    background: #fff; 
    padding: 20px; /* Padding interno card ridotto */
    border-radius: 12px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    text-align: left; 
    transition: transform 0.3s; 
}
.benefit-icon { 
    font-size: 1.8rem; 
    margin-bottom: 12px; 
    background: #fff4e6; 
    width: 50px; height: 50px; /* Icona più piccola */
    display: flex; align-items: center; justify-content: center; 
    border-radius: 10px; color: var(--bosco-orange); 
}
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 5px; font-weight: 700; }
.benefit-card p { color: #666; line-height: 1.4; margin-bottom: 10px; font-size: 0.9rem; }
.check-row { font-weight: 600; color: var(--bosco-green); display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }

/* 5. REVIEWS (Padding Ridotto) */
.reviews-section { 
    background-color: #fff; 
    padding: 40px 20px; /* Ridotto da 50 a 40 */
    text-align: center; 
}
.review-card { background: #f9f7f2; border-radius: 16px; padding: 20px; text-align: left; }
.review-stars { color: #f7b500; margin-bottom: 8px; font-size: 0.9rem; }
.review-text { font-style: italic; color: #444; margin-bottom: 12px; line-height: 1.4; font-size: 0.9rem; }
.review-author h4 { margin: 0; font-weight: 700; font-size: 0.95rem; }

/* Banner Garanzia */
.trust-banner { 
    margin-top: 25px; 
    background-color: #f0fdf4; border: 1px solid #dcfce7; 
    border-radius: 12px; padding: 12px 20px; /* Banner più sottile */
    display: inline-flex; gap: 30px; 
}
.trust-item { display: flex; align-items: center; gap: 8px; }
.trust-item i { color: var(--bosco-green); font-size: 1.1rem; }
.trust-text h5 { margin: 0; font-size: 0.9rem; color: var(--bosco-green); }

/* 6. QUESTIONARIO (Padding Ridotto) */
.quiz-section { 
    background-color: var(--bosco-green); 
    padding: 40px 20px; /* Ridotto da 50 a 40 */
    text-align: center; color: #fff; 
}
.quiz-intro h2 { color: #fff; font-size: 1.8rem; margin-bottom: 5px; }
.quiz-intro p { color: rgba(255,255,255,0.9); font-size: 1rem; margin-bottom: 25px; }
.quiz-container-box { 
    background: #fff; max-width: 800px; margin: 0 auto; 
    border-radius: 20px; box-shadow: 0 15px 50px rgba(0,0,0,0.2); 
    padding: 25px; /* Padding interno box ridotto */
    color: var(--text-dark); text-align: left; 
}

/* 7. SUPPORTO */
.support-section { 
    background-color: #223624; color: #fff; 
    padding: 30px 20px; /* Ridotto */
    text-align: center; 
}
.support-grid { display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; }
.support-card { 
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 12px; padding: 12px 20px; /* Card più sottili */
    text-decoration: none; display: flex; align-items: center; gap: 12px; 
}
.support-icon { color: var(--bosco-orange); font-size: 1.2rem; }
.support-value { color: #fff; font-weight: 700; font-size: 0.95rem; display: block; }

/* MOBILE STICKY */
.mobile-sticky-cta { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; padding: 10px; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); z-index: 1000; text-align: center; }
.mobile-sticky-cta a { display: block; background: var(--bosco-orange); color: #fff; font-weight: 700; text-transform: uppercase; padding: 12px; border-radius: 6px; text-decoration: none; font-size: 0.95rem; }

/* MEDIA QUERIES */
@media (max-width: 900px) {
    .sub-header-trust { display: none !important; }
}

@media (max-width: 768px) {
    .landing-header { padding: 8px 15px; }
    .landing-logo img { height: 35px; }
    .landing-phone-btn { padding: 6px 12px; font-size: 0.85rem; }
    
    .landing-hero { text-align: center; justify-content: center; padding: 30px 20px 30px; }
    .landing-hero h1 { font-size: 1.6rem; line-height: 1.2; }
    .hero-badges-container { justify-content: center; gap: 8px; }
    .hero-badge { font-size: 0.8rem; padding: 5px 12px; }
    
    .benefits-grid, .reviews-grid { grid-template-columns: 1fr; }
    .trust-banner { flex-direction: column; width: 100%; align-items: flex-start; gap: 15px; }
    .quiz-container-box { padding: 15px; }
    .support-grid { flex-direction: column; }
    body { padding-bottom: 60px; }
    .mobile-sticky-cta { display: block; }
}