/* ==========================================================================
   1. REINICIO BASE Y FUENTE GENERAL
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    font-weight: lighter;
}

p {
    line-height: 1.5;
}

html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    color: white;
    background: #0b1020;
    min-height: 100vh;
}

/* Espaciador superior */
.spazio {
    height: 80px;
    width: 100%;
    display: block;
}

/* ==========================================================================
   2. BANNER INFORMATIVO (DISCLAIMER ATTENZIONE)
   ========================================================================== */
.disclaimer {
    background-color: yellow;
    position: fixed;
    width: 100%;
    height: 50px;
    z-index: 1000;
    display: flex;
}

.disclaimer p {
    font-size: 60%;
    color: black;
    text-align: center;
    background-color: yellow;
    margin: auto;
}
/* ==========================================================================
   3. BARRA DE NAVEGACIÓN (HEADER Y NAV)
   ========================================================================== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 200px;
    background: rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 999;
}

.logo {
    margin-top: 50px !important;
}

.logo img,
nav .logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 50px !important;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

.nav-links .btn-contattaci {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-contattaci {
    padding: 6px 22px;
    background: linear-gradient(to right, #59A08E, #2C82C9);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    border: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.btn-contattaci:hover {
    opacity: 0.85;
}

.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* ==========================================================================
   4. CONTENEDOR DE COOKIE POLICY Y WIDGET IUBENDA
   ========================================================================== */
.container {
    width: min(100%, 900px);
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 50px);
    padding-block: 40px;
    border-radius: 12px;
}

h1,
h2 {
    text-align: left;
    color: #ffffff;
    margin-bottom: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 20px;
    margin-top: 40px;
}

p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

b {
    color: #8cf5ff;
}

ul {
    max-width: 900px;
    margin: 10px auto 20px auto;
    padding-left: 40px;
}

li {
    margin-bottom: 8px;
}

a {
    color: #8cf5ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Estilos para el iframe/embed de Iubenda */
.iubenda-ibcontainer {
    background: transparent !important;
    color: #ffffff !important;
}

.iubenda-embed {
    display: block;
    width: 100%;
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */

.site-footer {
    background-color: #10182f;
    color: rgba(255, 255, 255, 0.9);
    padding: 40px 0;
    font-size: 14px;
    text-align: center;
    margin-top: 80px;
    width: 100%;
}

.site-footer .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer p {
    text-align: center !important;
    margin-bottom: 12px !important;
    line-height: 1.5;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.site-footer a {
    color: #ffffff !important;
    text-decoration: none;
    margin: 0 5px;
}

.site-footer a:hover {
    text-decoration: underline;
}


/* ==========================================================================
   6. RESPONSIVE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .container {
        padding-inline: 36px;
        padding-block: 40px;
    }

    nav {
        padding: 15px 0px;
        flex-wrap: wrap;
    }

    .nav-links {
        gap: 25px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 19px;
    }

    p,
    ul,
    li {
        font-size: 16px;
        line-height: 1.75;
    }
}

@media (max-width: 768px) {
    body,
    html {
        overflow-x: hidden !important;
        margin: 0;
        padding: 0;
    }

    .container {
        padding-inline: 22px;
        padding-block: 35px;
    }

    nav {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0px !important;
        background: rgba(0, 0, 0, 0.8);
        padding-left: 20px !important;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        position: absolute;
        top: 75px;
        right: 0;
        width: 100%;
        padding: 20px;
        gap: 15px;
        z-index: 1000;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: block;
        margin-top: 50px !important;
        margin-right: 40px;
    }

    .logo {
        margin-top: 50px !important;
    }

    h1 {
        font-size: 22px;
        line-height: 1.3;
    }

    h2 {
        font-size: 18px;
        line-height: 1.4;
    }

    p,
    ul,
    li {
        font-size: 15px;
        line-height: 1.7;
    }

    ul {
        padding-left: 25px;
    }
}

