/**
 * Footer Styles
 */

 .site-footer {
    background-color: #ffffff !important;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    text-align: center;
    margin-bottom: 2.5rem;
}

.footer-logo-link {
    display: inline-block;
}

.footer-logo-img {
    max-height: 60px;
    width: auto;
}

.footer-logo-link svg {
    max-height: 70px !important;
    height: 70px !important;
    width: auto !important;
    max-width: 200px !important;
}

/* Colore SVG footer - nero - SOLO FILL */


.footer-logo-link .st3 {
    stroke: #000000 !important;
}

.footer-logo-link svg path,
.footer-logo-link svg circle,
.footer-logo-link svg rect,
.footer-logo-link svg polygon,
.footer-logo-link svg ellipse,
.footer-logo-link svg text,
.footer-logo-link svg tspan,
.footer-logo-link svg g {
    fill: #000000 !important;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-column {
    text-align: center;
}

.footer-column-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: normal;
    color: #000000;
    margin: 0 0 1rem 0;
}

.footer-column-text {
    font-family: var(--font-sans) !important;
    font-size: 1.2rem;
    line-height: 1.65;
    color: #000000;
}

.footer-column-text,
.footer-column-text p,
.footer-column-text a,
.footer-column-text li,
.footer-column-text span,
.footer-column-text strong,
.footer-column-text em {
    font-family: var(--font-body) !important;
    font-size: 1.2rem;
    line-height: 1.65;
}

.footer-column-text p {
    display: block;
    margin: 0 0 0.75rem;
}

.footer-column-text p:last-child {
    margin-bottom: 0;
}

/* A capo: br e blocchi uno sotto l’altro */
.footer-column-text br {
    display: block;
    content: "";
    margin: 0;
    line-height: 1.65;
}

.footer-column-text > strong,
.footer-column-text > a,
.footer-column-text > span {
    display: block;
}

.footer-column-text a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 0.15em;
}

.footer-column-text p a,
.footer-column-text li a,
.footer-column-text .footer-social-link {
    display: inline;
}

.footer-column-text .footer-social-link {
    display: inline-flex;
}

.footer-column-text strong {
    font-weight: 700;
}

/* H4 (e altri titoli) nel testo: stesso font delle scritte, non del titolo colonna */
.footer-column-text h1,
.footer-column-text h2,
.footer-column-text h3,
.footer-column-text h4,
.footer-column-text h5,
.footer-column-text h6 {
    font-family: var(--font-sans) !important;
    font-size: 1.2rem !important;
    font-weight: 700;
    font-style: normal;
    line-height: 1.65;
    color: inherit;
    margin: 0 0 0.35rem;
}

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-list li {
    margin: 0 0 0.45rem;
}

.footer-nav-list a {
    text-decoration: none;
}

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

.footer-social-row {
    margin: 0 0 0.75rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-column-text img {
    max-width: 100%;
    height: auto;
}

/* Pulsante Ordina nel footer (sotto Prenota) */
.footer-ordina-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: normal;
    color: #ffffff;
    background-color: #000000;
    border: 2px solid #000000;
    border-radius: 25px;
    text-decoration: none;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.footer-ordina-btn:hover {
    opacity: 0.9;
    color: #ffffff;
    background-color: #222222;
    border-color: #222222;
}

/* Tablet */
@media (max-width: 768px) {
    .site-footer {
        padding: 2.5rem 0 1.5rem;
        margin-top: 3rem;
    }
    
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .footer-logo {
        margin-bottom: 2rem;
    }
    
    .footer-logo-img {
        max-height: 60px;
    }
    
    .footer-logo-link svg {
        max-height: 60px !important;
        height: 60px !important;
        width: auto !important;
        max-width: 200px !important;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-column-title {
        font-size: 1.125rem;
    }
    
    .footer-column-text,
    .footer-column-text p,
    .footer-column-text a,
    .footer-column-text li,
    .footer-column-text h1,
    .footer-column-text h2,
    .footer-column-text h3,
    .footer-column-text h4,
    .footer-column-text h5,
    .footer-column-text h6 {
        font-size: 1.15rem !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .site-footer {
        padding: 2rem 0 1.5rem;
        margin-top: 2rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-logo {
        margin-bottom: 1.5rem;
    }
    
    .footer-logo-img {
        max-height: 50px;
    }
    
    .footer-logo-link svg {
        max-height: 50px !important;
        height: 50px !important;
        width: auto !important;
        max-width: 150px !important;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-column-text,
    .footer-column-text p,
    .footer-column-text a,
    .footer-column-text li,
    .footer-column-text h1,
    .footer-column-text h2,
    .footer-column-text h3,
    .footer-column-text h4,
    .footer-column-text h5,
    .footer-column-text h6 {
        font-size: 1.1rem !important;
    }
}

/* Link Legali Footer */
.footer-legal {
    margin-top: 3rem;
    padding-bottom: 1rem;
    text-align: right;
}

.footer-legal-links {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #000000;
    display: inline;
}

.footer-legal-links a {
    color: #000000;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline;
}

.footer-legal-links a:hover {
    opacity: 0.7;
    text-decoration: none;
}

.footer-legal-separator {
    margin: 0 0.5rem;
    color: #000000;
    opacity: 0.5;
    display: inline;
}

@media (max-width: 480px) {
    .footer-legal {
        margin-top: 2rem;
        padding-bottom: 1rem;
    }
    
    .footer-legal-links {
        font-size: 0.95rem;
    }
}