﻿/* CARD GLASS */
.card-glass {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    color: #1f2d3a;
}

.card-glass p {
    color: #2b3b4a;
}

/* BOTTONI */
.btn-primary {
    background: var(--blu-alba);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    display: inline-block;
    transition: 0.2s;
}

    .btn-primary:hover {
        background: var(--blu-scuro);
    }

.btn-secondary {
    background: rgba(255,255,255,0.26);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.38);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    transition: 0.2s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.34);
    border-color: rgba(255,255,255,0.50);
    color: #fff;
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 2000;
    padding: 0 14px;
}

.cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    max-width: 980px;
    margin: 0 auto;
    padding: 16px 18px;
    border: 1px solid rgba(0,80,168,0.12);
}

.cookie-consent__text strong {
    color: var(--blu-scuro);
}

.cookie-consent__text div {
    margin-top: 6px;
    color: #2b3b4a;
    font-weight: 600;
}

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 720px) {
    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .cookie-consent__actions {
        justify-content: center;
    }
}

/* SEZIONI */
.section {
    margin: 80px auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--blu-scuro);
}

.section-title p {
    color: #47607b;
    font-weight: 600;
}
.branch-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.branch-modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.branch-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.branch-btn {
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    background: var(--blu-alba);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
}

    .branch-btn:hover {
        background: var(--blu-scuro);
    }
