
/* ===== CSS PURO DA QUI IN POI ===== */

body{
    margin:0;
    font-family:Arial,sans-serif;
    color:#222;
    background: #fbf9e4;
}

.site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background: #ffe5cc;
    border-bottom:1px solid rgba(0,0,0,0.08);
}

.hero{
    padding:100px 20px;
    background:transparent;
    text-align:center;
}

.cards{
    padding:80px 20px;
    background:transparent;
}

/* Base responsive per le mattonelle/cards. */
.cards-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap:24px;
    align-items:stretch;
}

.card-item{
    background: #ffe5cc;
    padding:24px;
    border-radius:16px;
}

.faq{
    padding:80px 20px;
    background:transparent;
}

.faq-item{
    background: #ffe5cc;
    padding:22px;
    border-radius:16px;
}

.content p{
    margin:0 0 1em;
    line-height:1.7;
}

.content ul,
.content ol{
    margin:0 0 1em 1.4em;
    padding:0;
}

.content li{
    margin:0 0 .4em;
}

.content a{
    color: #000000;
    text-decoration: underline;
}

.content strong{
    font-weight:700;
}

.content em{
    font-style:italic;
}
.btn{
    display:inline-block;
    padding:14px 20px;
    background: #000000;
    color:#fff;
    text-decoration:none;
    border-radius:10px;
    border:0;
}
.main-nav a.active{
    background: #000000;
    color:#fff;
}
.main-nav a:hover{
    background: #ffe5cc;
    color: #000000;
}
.card-item h3,
.faq-item h3{
    color: #000000;
}

/* =========================================================
   V2 - Card responsive proportion
   Reference artwork size: 305 x 224
   The ratio is preserved; the actual size is fluid.
   ========================================================= */

.cards-grid,
.cards,
.modern-cards {
    width: 100%;
}

.card,
.modern-card {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 305 / 224;
    box-sizing: border-box;
}

.card img,
.modern-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* =========================================================
   WHATSAPP
   ========================================================= */

.whatsapp-button {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25d366;
    color: #fff;

    border-radius: 50%;
    text-decoration: none;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);

    z-index: 1100;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-button svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.whatsapp-button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

@media (max-width: 768px) {
    .whatsapp-button {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1200;

    max-width: 900px;
    margin: 0 auto;

    padding: 20px 22px;

    background: rgba(255,255,255,.97);
    color: #222;

    border: 1px solid rgba(0,0,0,.10);
    border-radius: 16px;

    box-shadow: 0 12px 35px rgba(0,0,0,.18);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}

.cookie-banner-text strong {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
    color: #111827;
}

.cookie-banner-links {
    margin-top: 8px;
}

.cookie-banner-links a {
    color: #2563eb;
    text-decoration: none;
}

.cookie-banner-links a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-actions .btn {
    border: 0;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-actions .btn--ghost {
    background: #f1f5f9;
    color: #334155;
}

@media (max-width: 768px) {

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;

        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .cookie-actions {
        justify-content: stretch;
    }

    .cookie-actions .btn {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none !important;
    }
}
.site-footer {
    margin-top: 40px;
    padding: 50px 20px 35px;
    background: #f7f8fb;
    border-top: 1px solid rgba(0,0,0,.08);
    color: #475569;
    text-align: center;
}

.site-footer__inner {
    max-width: 980px;
    margin: 0 auto;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 22px;
}

.site-footer__brand strong {
    margin-bottom: 6px;
    color: #0f172a;
    font-size: 16px;
}

.site-footer__data,
.site-footer__copyright,
.site-footer__credit,
.site-footer__legal {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.site-footer__credit a,
.site-footer__legal a {
    color: inherit;
    text-decoration: underline;
}

.site-footer__legal {
    margin-top: 18px;
}

.site-footer__legal span {
    margin: 0 6px;
    opacity: .6;
}

.youtube-consent-message {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
    background: #111827;
    color: #fff;
}

.youtube-consent-message strong {
    font-size: 18px;
}

.youtube-consent-message span {
    max-width: 500px;
    font-size: 14px;
    line-height: 1.6;
    color: #d1d5db;
}

.youtube-consent-button {
    margin-top: 6px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-weight: 600;
    cursor: pointer;
}

.youtube-consent-button:hover {
    opacity: .9;
}

.cookie-settings-button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-settings-button:hover {
    opacity: .75;
}