/* My Frien — palette e font allineati al menu digitale reale già in uso
   (myfrien.com/menu): oro/crema, font Outfit, card arrotondate. */

/* Font Outfit (licenza OFL) servito dal sito stesso: nessuna richiesta a Google, quindi nessun
   dato del visitatore inviato a terzi. Variabile: copre tutti i pesi da 300 a 800. */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('/assets/fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('/assets/fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --color-bg: #fdf8e4;
    --color-surface: #ffffff;
    --color-text: #2c3e50;
    --color-text-muted: #7a8694;
    --color-primary: #b8860b;
    --color-primary-dark: #96700a;
    --color-accent: #1f2937;
    --color-sand: #f5ecc8;
    --color-border: rgba(44, 62, 80, 0.1);
    --color-discount: #d32f2f;
    --radius: 18px;
    --radius-sm: 12px;
    --max-width: 1100px;
    --shadow: 0 4px 18px rgba(44, 62, 80, 0.08);

    /* Ritocco delle foto: colori più vivi e luce più pulita. Per regolarlo cambia questi
       valori (più alto = effetto più forte); per toglierlo scrivi: none */
    --photo-filter: saturate(1.15) contrast(1.06) brightness(1.04);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}

a {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    display: block;
}

/* Foto del locale (menu, galleria, home, eventi): stesso ritocco per tutte. Cambia solo
   come si vedono a schermo, i file restano quelli originali. Non tocca logo e segnaposto. */
.menu-item__thumb:not(.menu-item__thumb--placeholder),
.gallery-item img,
.home-gallery__item img,
.event-card img {
    filter: var(--photo-filter);
}

.section {
    padding: 2.5rem 1.25rem 3rem;
}

@media (min-width: 800px) {
    .section {
        padding: 3.5rem 1.25rem 4rem;
    }
}

.section__inner,
.site-header__inner,
.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.intro-text {
    color: var(--color-text-muted);
    max-width: 60ch;
    margin-bottom: 1.75rem;
}

.intro-text--centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Pagina centrata (prenotazioni): titolo, introduzione e modulo al centro;
   dentro il modulo etichette e campi restano allineati a sinistra. */
.page-centered {
    text-align: center;
}

.page-centered .intro-text,
.page-centered .form-message,
.page-centered .reservation-form {
    margin-left: auto;
    margin-right: auto;
}

.page-centered .form-message {
    max-width: 560px;
}

.page-centered .reservation-form {
    text-align: left;
}

.page-centered .reservation-form .btn {
    align-self: center;
}

/* --- Offerte (combo) in home --- */

.home-offers {
    padding-top: 0;
}

.home-offers h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.home-offers__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 760px;
    margin: 0 auto 1.75rem;
}

@media (min-width: 620px) {
    .home-offers__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
}

.offer-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    border-top: 4px solid var(--color-primary);
    box-shadow: var(--shadow);
    padding: 1.4rem 1.2rem;
}

.offer-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.offer-card p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin: 0 0 0.8rem;
}

.offer-card__price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
}

/* --- Banner del prossimo evento in home --- */

.home-event {
    padding-top: 0;
    padding-bottom: 0.5rem;
}

.home-event__list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.event-banner {
    display: flex;
    flex-direction: column;
    max-width: 760px;
    margin: 0 auto;
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--radius);
    border-top: 4px solid var(--color-primary);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-decoration: none;
}

.event-banner__img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.event-banner__text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.2rem 1.2rem;
    text-align: left;
}

.event-banner__label {
    color: #f0c24a;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.event-banner__title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
}

.event-banner__cta {
    margin-top: 0.3rem;
    color: #f0c24a;
    font-weight: 700;
}

@media (min-width: 620px) {
    .event-banner {
        flex-direction: row;
    }

    .event-banner__img {
        width: 46%;
        aspect-ratio: auto;
    }

    .event-banner__text {
        justify-content: center;
        padding: 1.2rem 1.6rem;
    }

    .event-banner__title {
        font-size: 1.35rem;
    }
}
/* --- Ingrandimento foto (lightbox) --- */

/* Pulsanti che avvolgono le foto: nessun aspetto da pulsante, solo cursore a lente */
.menu-item__zoom,
.gallery-item__zoom,
.event-card__zoom,
button.home-gallery__item {
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    font: inherit;
    color: inherit;
}

.menu-item__zoom {
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    line-height: 0;
}

.gallery-item__zoom,
.event-card__zoom,
button.home-gallery__item {
    display: block;
    width: 100%;
}

.menu-item__zoom:focus-visible,
.gallery-item__zoom:focus-visible,
.event-card__zoom:focus-visible,
button.home-gallery__item:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(20, 24, 30, 0.92);
}

.lightbox[hidden] {
    display: none;
}

.lightbox__figure {
    margin: 0;
    max-width: min(92vw, 920px);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

.lightbox__img {
    max-width: 100%;
    max-height: 68vh;
    width: auto;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    filter: var(--photo-filter);
}

.lightbox__caption {
    margin-top: 1rem;
    max-width: 640px;
    text-align: center;
    color: #fff;
}

.lightbox__title {
    margin: 0 0 0.3rem;
    font-size: 1.35rem;
    color: #fff;
}

.lightbox__desc {
    margin: 0 0 0.5rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
}

.lightbox__meta {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #f0c75e;
}

.lightbox__close {
    position: absolute;
    top: 0.75rem;
    right: 0.9rem;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox__nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox__close:hover,
.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 600px) {
    /* Telefono: frecce sotto la foto e non ai lati, per lasciare più spazio all'immagine */
    .lightbox {
        flex-wrap: wrap;
        align-content: center;
    }

    .lightbox__figure {
        order: 1;
        flex: 1 0 100%;
    }

    .lightbox__nav {
        order: 2;
        margin-top: 0.75rem;
    }
}

/* --- Foto della galleria in home --- */

.home-gallery {
    padding-top: 0;
}

.home-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 620px) {
    .home-gallery__grid {
        gap: 1.25rem;
    }
}

.home-gallery__item {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.home-gallery__item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.home-gallery__item:hover img {
    transform: scale(1.04);
}

/* Riga Data / Ora / Persone: etichetta sopra al campo, campo a tutta larghezza */
.reservation-form .form-row label {
    display: block;
}

.reservation-form .form-row input {
    width: 100%;
}

/* --- Header / navigazione --- */

.site-header {
    background: rgba(253, 248, 228, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 30;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1.25rem;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 52px;
    width: auto;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 18px;
    margin: 0 auto;
    background: var(--color-text);
}

.main-nav {
    display: none;
    width: 100%;
}

.main-nav.is-open {
    display: block;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0.75rem 0 0;
}

.main-nav a {
    display: block;
    padding: 0.7rem 0;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--color-border);
}

.main-nav a.is-active {
    color: var(--color-primary);
}

.lang-switch {
    display: flex !important;
    gap: 0.5rem;
    padding-top: 0.9rem !important;
}

.lang-switch li {
    list-style: none;
}

.lang-switch a {
    border: 1px solid var(--color-border) !important;
    border-radius: 999px;
    padding: 0.3rem 0.7rem !important;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.lang-switch a.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary) !important;
    color: #fff;
}

@media (min-width: 800px) {
    .nav-toggle {
        display: none;
    }

    .main-nav {
        display: flex !important;
        align-items: center;
        gap: 2rem;
        width: auto;
    }

    .main-nav ul {
        display: flex;
        gap: 0.5rem;
        padding: 0;
    }

    .main-nav a {
        border-bottom: none;
        padding: 0.5rem 0.9rem;
        border-radius: 999px;
    }

    .main-nav a:hover {
        background: var(--color-sand);
    }

    .main-nav a.is-active {
        background: var(--color-primary);
        color: #fff;
    }
}

/* --- Hero (home) --- */

.hero {
    background: radial-gradient(circle at 30% 20%, #fff6d6 0%, var(--color-bg) 55%);
    text-align: center;
    padding: 3.5rem 1.25rem 3rem;
}

.hero__inner {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.2rem;
    color: var(--color-text);
}

@media (min-width: 600px) {
    .hero h1 {
        font-size: 2.8rem;
    }
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
    transform: scale(0.97);
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 6px 18px rgba(184, 134, 11, 0.35);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
}

.btn--ghost {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-surface);
}

/* --- Menu --- */

.menu-cat-nav {
    position: sticky;
    top: 73px;
    z-index: 20;
    padding: 0.9rem 0;
    margin-bottom: 1rem;
    background: rgba(253, 248, 228, 0.95);
    backdrop-filter: blur(8px);
}

/* Stessa larghezza e stesso margine sinistro del contenuto sotto (titoli, schede):
   il primo pulsante parte dalla stessa linea di "OFFERTE". */
.menu-cat-nav__inner {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    width: min(100% - 2.5rem, var(--max-width));
    margin: 0 auto;
    scrollbar-width: none;
}

.menu-cat-nav__inner::-webkit-scrollbar {
    display: none;
}

.menu-cat-nav a {
    flex-shrink: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
}

/* Categoria che si sta guardando */
.menu-cat-nav a.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.menu-category {
    margin-bottom: 2.25rem;
    scroll-margin-top: 155px;
}

.menu-category h2 {
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.menu-items {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 0.7rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(44, 62, 80, 0.04);
    position: relative;
}

.menu-item__thumb {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.menu-item__thumb--placeholder {
    background: var(--color-sand);
}

.menu-item__text {
    flex-grow: 1;
    min-width: 0;
}

.menu-item__name {
    display: block;
    font-weight: 700;
}

.menu-item__desc {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    margin-top: 0.15rem;
}

.menu-item__price {
    white-space: nowrap;
    font-weight: 800;
    color: var(--color-primary);
    font-size: 1.02rem;
}

.badge-popular {
    display: inline-flex;
    align-items: center;
    margin-left: 0.3rem;
    vertical-align: 0.1em;
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 700;
    color: #96700a;
    background: #fdedb8;
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
}

/* --- Galleria --- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
}

@media (min-width: 620px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.gallery-item {
    margin: 0;
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-item figcaption {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* --- Contatti --- */

.contacts-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 800px) {
    .contacts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.contacts-info {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--color-border);
}

.contacts-where,
.faq {
    margin-top: 2.5rem;
}

.faq__item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.faq__item h3 {
    font-size: 1.05rem;
    margin: 0 0 0.35rem;
}

.faq__item p {
    margin: 0;
    color: var(--color-text-muted);
}

.contacts-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 280px;
}

.contacts-map__placeholder {
    min-height: 280px;
    height: 100%;
    background: var(--color-sand);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--color-text-muted);
}

.contacts-map__placeholder p {
    margin: 0;
    max-width: 32ch;
}

/* --- Eventi --- */

.events-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.event-card {
    flex: 0 1 320px;
    text-align: left;
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.event-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.event-card__body {
    padding: 1.1rem;
}

.event-card__date {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 700;
}

/* --- Fútbol (partite in programma) --- */

.futbol-combo {
    max-width: 560px;
    margin: 0 auto 2rem;
    padding: 1.25rem 1.25rem 1rem;
    background: var(--color-surface);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.futbol-combo__tag {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Combo e "tabla + spritz" affiancati (uno sopra l'altro sul telefono) */
.futbol-combos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1040px;
    margin: 0 auto 2rem;
}

.futbol-combos .futbol-combo {
    flex: 1 1 300px;
    max-width: 500px;
    margin: 0;
}

.futbol-combo__extra {
    margin: 0 0 0.6rem;
    color: var(--color-text-muted);
}

.futbol-combo__text {
    margin: 0.7rem 0 0.4rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.futbol-combo__prices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.75rem;
    list-style: none;
    margin: 0.5rem 0 0.6rem;
    padding: 0;
}

.futbol-combo__prices strong {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.futbol-combo__prices span {
    color: var(--color-text-muted);
}

.futbol-combo small {
    color: var(--color-text-muted);
}

.futbol-days {
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
}

.futbol-day {
    margin-bottom: 1rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.futbol-day__title {
    margin: 0;
    padding: 0.7rem 1rem;
    background: var(--color-accent);
    color: #fff;
    font-size: 1.05rem;
}

.futbol-day--today .futbol-day__title {
    background: var(--color-primary);
}

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

.futbol-match {
    display: grid;
    grid-template-columns: 3.6rem 1fr;
    gap: 0.2rem 0.75rem;
    align-items: center;
    padding: 0.7rem 1rem;
    border-top: 1px solid var(--color-border);
}

.futbol-match:first-child {
    border-top: none;
}

.futbol-match--big {
    background: #fff7dc;
}

.futbol-match__time {
    grid-row: 1 / span 2;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary-dark);
}

.futbol-match__teams {
    grid-column: 2;
    grid-row: 1;
    font-weight: 600;
}

.futbol-match--big .futbol-match__teams {
    font-weight: 700;
}

.futbol-match__star {
    color: var(--color-primary);
}

.futbol-pill {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    padding: 0.12rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.futbol-pill--laliga {
    background: var(--color-accent);
    color: #fff;
}

.futbol-pill--seriea {
    background: #3d72ad;
    color: #fff;
}

.futbol-pill--hyper {
    background: #f0ac1c;
    color: var(--color-accent);
}

.futbol-pill--champions {
    background: #6b4fbb;
    color: #fff;
}

.futbol-pill--nations {
    background: #2e8b6a;
    color: #fff;
}

.futbol-pill--europa {
    background: #e8751a;
    color: #fff;
}

.futbol-note {
    max-width: 60ch;
    margin: 1.25rem auto 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

@media (min-width: 600px) {
    .futbol-match {
        grid-template-columns: 3.8rem 7.6rem 1fr;
    }

    .futbol-match__time {
        grid-row: 1;
    }

    .futbol-pill {
        grid-column: 2;
        grid-row: 1;
    }

    .futbol-match__teams {
        grid-column: 3;
    }
}

/* --- Prenotazioni / form --- */

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-width: 560px;
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.reservation-form label {
    font-weight: 700;
    margin-top: 0.6rem;
}

.reservation-form input,
.reservation-form textarea {
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font: inherit;
    background: #fbfbf6;
}

.reservation-form input:focus,
.reservation-form textarea:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 600px) {
    .form-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.reservation-form .btn {
    margin-top: 1.5rem;
    align-self: flex-start;
    border: none;
    background: var(--color-primary);
    color: #fff;
    cursor: pointer;
}

.field-error {
    color: var(--color-discount);
    font-size: 0.85rem;
}

.form-message {
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.form-message--success {
    background: #e3f3e6;
    color: #245a2c;
}

.form-message--error {
    background: #fbe6e4;
    color: #8a241c;
}

/* Honeypot: nascosto ai visitatori umani, visibile ai bot che leggono l'HTML grezzo */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

/* --- Footer --- */

.site-footer {
    background: var(--color-accent);
    color: #fff;
    margin-top: 3rem;
    border-radius: 28px 28px 0 0;
}

.site-footer__inner {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    padding: 2.75rem 1.25rem;
}

@media (min-width: 800px) {
    .site-footer__inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

.site-footer h3 {
    color: var(--color-primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-footer a {
    color: #fff;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.5rem;
    padding: 0 1.25rem;
    font-size: 0.85rem;
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Pagine legali --- */

.legal-text {
    max-width: 760px;
}

.legal-text h1 {
    margin-bottom: 1rem;
}

.legal-text h2 {
    font-size: 1.15rem;
    margin: 1.8rem 0 0.5rem;
    color: var(--color-primary-dark);
}

.legal-text p,
.legal-text li {
    color: var(--color-text);
}

.legal-text ul {
    padding-left: 1.2rem;
}

.legal-notice {
    background: var(--color-sand);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    font-size: 0.92rem;
}

.legal-date {
    margin-top: 2rem;
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    margin: 0.8rem 0 1rem;
}

.legal-table th,
.legal-table td {
    text-align: left;
    vertical-align: top;
    padding: 0.55rem 0.6rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-table th {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.privacy-check {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-top: 1rem;
    font-weight: 400;
}

.reservation-form .privacy-check {
    font-weight: 400;
}

.reservation-form .privacy-check input {
    width: auto;
    margin-top: 0.3rem;
}

.privacy-info {
    margin: 0.3rem 0 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.site-footer__legal {
    text-align: center;
    padding: 1rem;
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Pagine "Serie A" e "Aperitivo" --- */
.seo-block {
    max-width: 680px;
    margin: 2rem auto 0;
    text-align: left;
}

.seo-block h3 {
    margin: 1.1rem 0 0.25rem;
    font-size: 1.05rem;
}

.seo-block li {
    margin-bottom: 0.4rem;
}

.site-footer__col a {
    display: block;
}
