:root {
    --babajola-red: #a92e3a;
    --dark-grey: #4a4a4a;
    --light-grey: #f4f4f4;
    --black: #1a1a1a;
    --white: #ffffff;
}

/* 1. RESET TOTALE */
html,
body {
    margin: 0;
    padding: 0;
    background-color: var(--babajola-red);
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Roboto Condensed', sans-serif;
}

* {
    box-sizing: border-box;
}

/* 2. STRUTTURA */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--babajola-red);
}

/* 3. SELETTORE LINGUA */
.home-lang-selector {

    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--babajola-red);
    width: 100%;
    margin-top: -30px !important;
    padding-top: 40px !important;
    padding-bottom: 12px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
    flex-shrink: 0;
}

/* 4. LAYOUT HOME */
.home-bg {
    background-color: var(--babajola-red);
    color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    padding: 0 30px 40px 30px;
    margin: 0 !important;
    font-family: 'Roboto Condensed', sans-serif;
}

/* 5. LOGO E BOTTONI */
.logo-container {
    width: 100px;
    height: auto;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.logo-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* 6. LINK E BOTTONI */
.lang-link {
    cursor: pointer;
    padding: 0 10px;
    transition: transform 0.2s;
}

.lang-link img {
    width: 35px;
    border-radius: 4px;
    display: block;
}

.lang-link.active img {
    border: 2px solid var(--white);
    transform: scale(1.1);
}

.home-bg h1 {
    margin-top: 20px;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
}

.btn-white {
    background-color: var(--white);
    color: var(--babajola-red);
    padding: 15px 25px;
    border-radius: 0 10px 0 10px;
    text-decoration: none;
    width: 100%;
    max-width: 300px;
    margin-top: 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
}

.titolo {
    margin-bottom: -10px;
    /* Riduce lo spazio sotto il titolo */
}

.faq-link {
    color: var(--white);
    margin-top: 40px;
    font-size: 0.9rem;
}


/* 1. STILE TASTO FLOTTANTE "i" */
.baba-btn {
    top: 250px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999;
}

.baba-i {
    color: #333;
    font-family: serif;
    font-style: italic;
    font-weight: bold;
    font-size: 20px;
    line-height: 1;
}

/* 2. MODAL OVERLAY (Sfondo oscurato) */
.baba-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000 !important;
    padding: 20px;
    box-sizing: border-box;
}

/* 3. CONTENUTO BIANCO DEL MODAL */
.baba-content {
    background: #ffffff;
    width: 100%;
    max-width: 350px;
    max-height: 80vh;
    border-radius: 5px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

/* 4. CORPO DEL MODAL  */
#babaBody {
    padding: 5px 5px 5px 5px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 5. TASTO CHIUDI (X) */
.baba-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #f2f2f2;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    z-index: 10;
}

/* 6. RESPONSIVE: MOBILE */
@media (max-width: 768px) {
    .baba-btn {
        top: 10px;
        right: 80px;
        width: 30px;
        height: 30px;
    }
}

/* 7. SCROLLBAR ESTETICA */
#babaBody::-webkit-scrollbar {
    width: 5px;
}

#babaBody::-webkit-scrollbar-thumb {
    background: #eee;
    border-radius: 10px;
}

.baba-item-title {
    font-weight: 800;
}

.baba-h4 {
    font-size: 18px;
    font-weight: 800;
}

.baba-img-mini {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transform: translateY(6px);
}



.baba-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 20px;
}



#babaBody {
    color: #333;
    padding: 40px 25px 30px 25px;
    overflow-y: auto;
    text-align: left;
}


.baba-section-card {
    background-color: #eee;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(5, 5, 5, 0.02);
}

.baba-section-card p:last-child {
    margin-bottom: 0 !important;
}


.baba-slogan-style { 
        font-size: 0.9rem; 
        display: block; 
        margin-top: 10px; 
        font-weight: normal; 
        opacity: 0.9;
    }