/* ============================================================================
   Footer — ricostruito fedelmente dal tema YOOtheme/UIkit del sito di collaudo
   https://edysma.net/ccparking (templates/yootheme/css/theme.12.css)

   Tutti i valori (colori, spaziature, tipografia, ombre) sono estratti dalle
   regole reali del tema. Gli stili sono scoped sotto .site-footer per non
   interferire con il resto della PWA.
   ============================================================================ */

.site-footer {
    font-family: Manrope, system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.site-footer .sf-container {
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 640px) {
    .site-footer .sf-container {
        padding: 0 20px;
    }
}

@media (min-width: 960px) {
    .site-footer .sf-container {
        padding: 0 40px;
    }
}

/* Sezione "Link utili": container-large (max 1400px, centrato) */
.sf-links .sf-container {
    max-width: 1400px;
}

/* Footer principale: container-expand (larghezza piena) */
.sf-main .sf-container {
    max-width: none;
}

/* ── Sezione scura: "Link utili" (uk-section-primary) ────────────────────── */

.sf-links {
    background: #142348;
    padding: 70px 0;
    box-sizing: border-box;
    display: flow-root;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 26px;
}

.sf-links-title {
    margin: 0 0 20px;
    font-weight: 500;
    font-size: 11px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

.sf-links-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

@media (min-width: 960px) {
    .sf-links-list {
        column-count: 2;
        column-gap: 40px;
    }
}

.sf-links-list li {
    break-inside: avoid;
    line-height: 1.4;
}

/* uk-list-large: spaziatura solo dal 2° elemento in poi */
.sf-links-list li + li {
    margin-top: 14px;
}

.sf-links-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 11px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.1s ease-in-out;
}

.sf-links-list a:hover {
    color: #fff;
}

/* ── Sezione chiara: footer principale (uk-section-muted) ────────────────── */

.sf-main {
    background: #f5f7fc;
    padding: 70px 0 40px;
}

.sf-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 960px) {
    .sf-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }
}

/* Colonna brand */
.sf-brand-title {
    margin: 0 0 16px;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #18233f;
}

.sf-brand p {
    margin: 0 0 16px;
    color: #292929;
    line-height: 1.6;
}

.sf-company {
    font-size: 15px;
    color: #292929;
    line-height: 1.7;
}

.sf-company a {
    color: #292929;
    text-decoration: none;
}

.sf-company a:hover {
    text-decoration: underline;
}

/* Card (uk-card-default) */
.sf-card {
    background: #fff;
    color: #18233f;
    border: 1px solid #e5e5e7;
    border-radius: 10px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.07);
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.sf-card--cta {
    justify-content: center;
}

/* Nav nelle card (uk-nav-primary) */
.sf-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sf-nav a {
    display: block;
    padding: 12px 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    color: #292929;
    text-decoration: none;
    transition: color 0.1s ease-in-out;
}

.sf-nav a:hover {
    color: #6c6d74;
}

/* Bottone "Prenota ora" (uk-button-default) */
.sf-btn {
    display: inline-block;
    align-self: flex-start;
    margin-top: 16px;
    padding: 0 20px;
    font-weight: 800;
    font-size: 16px;
    line-height: 52px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: 2px solid transparent;
    border-radius: 14px;
    background-image: linear-gradient(180deg, #315fcb 0, #244cae 100%);
    background-origin: border-box;
    box-shadow: 0 10px 20px rgba(36, 76, 174, 0.28);
    transition: all 0.1s ease-in-out;
}

.sf-btn:hover {
    color: #fff;
    border-color: #2b4a96;
}

/* Riga inferiore: copyright + torna su */
.sf-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
}

.sf-copyright {
    margin: 0;
    max-width: 80%;
    font-size: 13px;
    line-height: 1.5;
    color: #292929;
}

.sf-copyright a {
    color: #2b4a96;
    text-decoration: none;
}

.sf-copyright a:hover {
    text-decoration: underline;
}

.sf-totop {
    flex-shrink: 0;
    font-size: 24px;
    line-height: 1;
    color: #2b4a96;
    text-decoration: none;
}

.sf-totop:hover {
    color: #244cae;
}
