:root {
  --green: #a3b17c;
  --cream: #ede8d9;
  --ink: #343330;
  --muted: #57594e;
  --line: #737569;
  --display: 'Arial Narrow', 'Franklin Gothic Medium', 'Trebuchet MS', sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Arial, sans-serif; line-height: 1.6; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #52663c; outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--ink); position: sticky;
top: 0;
z-index: 1000;
background: var(--cream);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: .12em; text-transform: uppercase; }
.brand small { font-size: 10px; letter-spacing: .4em; margin-top: 7px; text-align: center; }
.nav { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.nav a { text-decoration: none; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; border-bottom: 1px solid transparent; padding-block: 7px; }
.nav a:hover, .nav a[aria-current='page'] { border-color: currentColor; }
.hero { background: var(--green); padding: 24px; border-bottom: 1px solid var(--ink); }
.hero-frame { position: relative; min-height: 475px; border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: -6px; padding: 64px 24px 50px; display: grid; place-items: center; text-align: center; }
.hero-content { max-width: 780px; }
.eyebrow { margin: 0; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; font-size: 11px; }
.mountains { display: block; width: min(184px, 60%); height: auto; margin: 20px auto 8px; }
h1 { font-family: var(--display); font-weight: 900; font-size: clamp(54px, 12vw, 140px); text-transform: uppercase; letter-spacing: .035em; line-height: .93; margin: 0; }
.cafe { font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 4vw, 36px); letter-spacing: .43em; font-weight: 800; margin: 14px 0 25px; display: flex; justify-content: center; align-items: center; gap: 20px; padding-left: .43em; }
.cafe::before, .cafe::after { content: ''; height: 1px; background: currentColor; width: clamp(22px, 8vw, 90px); }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.6vw, 26px); margin: 0 0 25px; }
.actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.button { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 24px; border: 1px solid var(--ink); background: var(--ink); color: var(--cream); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; transition: background .2s, color .2s; }
.button:hover { background: var(--cream); color: var(--ink); }
.button.outline { background: transparent; color: var(--ink); }
.button.outline:hover { background: var(--ink); color: var(--cream); }
.discover { padding-block: 52px 62px; }
.section-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 23px; }
.section-heading::after { content: ''; height: 1px; background: var(--line); flex: 1; }
h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(25px, 4vw, 38px); line-height: 1.1; margin: 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--ink); padding: 26px; text-decoration: none; transition: background .2s; min-height: 190px; }
.tile:nth-child(2) { background: var(--green); }
.tile:hover { background: #e6e9d3; }
.tile-top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 28px; }
.tile-top svg { width: 28px; height: 28px; }
.tile-number { font-size: 11px; letter-spacing: .15em; }
.tile h3 { font-family: var(--display); font-size: 28px; text-transform: uppercase; letter-spacing: .05em; line-height: 1.15; margin: 0 0 5px; }
.tile p { color: var(--muted); margin: 0; font-size: 14px; }
.tile .arrow { margin-top: auto; padding-top: 18px; font-size: 20px; line-height: 1; }
.site-footer { border-top: 1px solid var(--ink); padding-block: 24px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-name { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.page-head { padding-block: 55px; background: var(--green); border-bottom: 1px solid var(--ink); }
.page-head h1 { font-size: clamp(44px, 9vw, 90px); margin-top: 15px; overflow-wrap: anywhere; }
.page-body { padding-block: 45px 70px; min-height: 45vh; }
.notice { max-width: 700px; border: 1px solid var(--line); padding: 25px; }
.notice h2 { font-size: 26px; }
.notice p { color: var(--muted); }
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { flex-direction: column; justify-content: center; padding-block: 20px 13px; gap: 14px; }
  .nav { justify-content: center; gap: 20px; }
  .hero { padding: 12px; }
  .hero-frame { min-height: 420px; padding: 43px 15px 35px; }
  .actions { gap: 9px; }
  .button { padding-inline: 17px; }
  .discover { padding-block: 34px 42px; }
  .tiles { grid-template-columns: 1fr; gap: 12px; }
  .tile { min-height: 160px; padding: 20px; }
  .tile-top { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ORARI DI APERTURA */

.opening-hours {
    padding-block: 50px;
    text-align: center;
}

.hours-list {
    max-width: 450px;
    margin: 25px auto;
    border: 1px solid var(--ink);
    background: var(--green);
    padding: 20px;
}

.hours-list div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.hours-list div:last-child {
    border-bottom: none;
}

.hours-list span:first-child {
    font-weight: 600;
}

.hours-note {
    font-size: 13px;
    font-style: italic;
    max-width: 400px;
    margin: 15px auto;
}

/* ==========================
   FOOTER E SOCIAL NETWORK
   ========================== */

.site-footer {
    background: var(--ink);
    color: var(--cream);
    padding: 45px 0 25px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.footer-inner p {
    color: var(--cream);
    font-size: 14px;
    margin: 0;
}

.footer-inner .footer-name {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-inner a {
    text-decoration: none;
    color: var(--cream);
}

.footer-inner .social-title {
    margin-top: 20px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 12px 0 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--green);
    border-radius: 50%;
    transition: background 0.3s, color 0.3s,
                transform 0.3s;
}

.social-links svg {
    width: 23px;
    height: 23px;
}

.social-links a:hover {
    background: var(--green);
    color: var(--ink);
    transform: translateY(-4px);
}

.footer-bottom {
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 11px;
    opacity: 0.8;
}

/* MENU DIGITALE — sostituisce il precedente blocco CSS del menu */
.menu-subtitle { margin: 12px 0 0; font-style: italic; }
.digital-menu { max-width: 850px; padding-block: 35px 60px; }
.menu-cover { text-align: center; font-size: 14px; margin: 0 0 28px; }
.menu-category { margin: 0 0 40px; }
.menu-category h2 {
    background: var(--green);
    border: 1px solid var(--ink);
    padding: 12px 15px;
    margin: 0 0 14px;
    text-align: center;
    font-size: clamp(20px, 4vw, 26px);
    letter-spacing: .08em;
}
.menu-category h2 small {
    display: block;
    font-size: 11px;
    letter-spacing: .16em;
    margin-top: 6px;
    font-weight: 600;
}
.menu-entry { padding: 10px 5px; }
.menu-item { display: flex; align-items: baseline; gap: 10px; padding: 0; }
.item-name { font-size: 17px; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.item-dots { flex: 1; min-width: 8px; border-bottom: 1px dotted var(--line); }
.item-price { font-size: 16px; font-weight: 700; white-space: nowrap; }
.item-description, .item-english, .item-availability {
    margin: 3px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted, var(--ink));
}
.item-english { font-style: italic; }
.item-availability { font-weight: 600; }
.menu-extra { margin: 16px 5px 0; padding: 14px; border: 1px solid var(--line); font-size: 14px; }
.menu-extra h3 { margin: 0 0 5px; font-size: 15px; }
.menu-extra p { margin: 4px 0; }
.menu-note { border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; text-align: center; }
.menu-note p { margin: 5px 0; }
@media (max-width: 600px) {
    .digital-menu { padding-block: 25px 40px; }
    .menu-category { margin-bottom: 30px; }
    .menu-item { gap: 7px; }
    .item-name, .item-price { font-size: 14px; }
    .item-description, .item-english, .item-availability { font-size: 12px; }
}


/* ==========================
   NAVIGAZIONE RAPIDA MENU
   ========================== */

.menu-jump {
    position: sticky;
    top: 80px;
    z-index: 100;
    background: var(--ink);
    color: var(--cream);
    border-bottom: 2px solid var(--green);
}

.menu-jump-inner {
    display: flex;
    justify-content: center;
    gap: 5px;
    overflow-x: auto;
    padding-block: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--green) var(--ink);
}

.menu-jump a {
    flex-shrink: 0;
    padding: 10px 14px;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.menu-jump a small {
    display: block;
    font-size: 10px;
    font-weight: 400;
}

.menu-jump a:hover,
.menu-jump a:focus-visible {
    background: var(--green);
    color: var(--ink);
}

/* Evita che la barra copra i titoli */

.menu-category {
    scroll-margin-top: 160px;
}

html {
    scroll-behavior: smooth;
}

/* VERSIONE SMARTPHONE */

@media (max-width: 900px) {

    .menu-jump-inner {
        justify-content: flex-start;
        width: 100%;
        padding-inline: 10px;
    }

    .menu-jump a {
        padding: 8px 12px;
        font-size: 12px;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ==========================
   PAGINA ALLERGENI
   ========================== */

.allergen-info {
    max-width: 750px;
    padding-block: 60px;
    text-align: center;
}

.allergen-info p {
    line-height: 1.8;
}

.english-text {
    font-style: italic;
    font-size: 14px;
    opacity: 0.8;
}


.allergen-document {
    background: transparent;
    border: none;
    border-top: 1px solid var(--line);
    margin-top: 35px;
    padding: 25px 0 0;
    font-size: 13px;
    font-style: italic;
}

.document-icon {
    display: block;
    width: 55px;
    height: 55px;
    margin: 0 auto 25px;
    color: var(--ink);
}

/* ==========================
   LA NOSTRA STORIA
   ========================== */

.about {
    max-width: 850px;
    padding-block: 70px;
    text-align: center;
}

.about-eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
}

.about h2 {
    font-size: 38px;
    margin: 0;
}

.about-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px auto 30px;
}

.about-divider::before,
.about-divider::after {
    content: "";
    width: 55px;
    height: 1px;
    background: var(--ink);
}

.about-divider span {
    width: 7px;
    height: 7px;
    background: var(--ink);
    transform: rotate(45deg);
}

.about-text {
    max-width: 650px;
    margin: 0 auto;
}

.about-text p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-welcome {
    font-weight: 700;
    font-style: italic;
}

.about-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 35px 0;
}

.about-icons svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-english {
    max-width: 600px;
    margin: 30px auto 0;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    font-style: italic;
    line-height: 1.8;
    opacity: 0.85;
}

.about-english h3 {
    font-size: 12px;
    font-style: normal;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-english p {
    margin-bottom: 15px;
}

/* VERSIONE SMARTPHONE */

@media (max-width: 600px) {

    .about {
        padding-block: 40px;
    }

    .about h2 {
        font-size: 28px;
    }

    .about-text p {
        font-size: 15px;
    }

    .about-icons {
        gap: 30px;
    }

    .about-english {
        font-size: 13px;
    }

}
.hero-location {
    margin-top: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ==========================
   PULSANTE TORNA IN ALTO
   ========================== */

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 900;

    width: 48px;
    height: 48px;

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

    background: var(--green);
    color: var(--ink);

    border: 1px solid var(--ink);
    border-radius: 50%;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);

    cursor: pointer;
    transition: background 0.25s,
                color 0.25s,
                transform 0.25s;
}

.back-to-top[hidden] {
    display: none;
}

.back-to-top svg {
    width: 23px;
    height: 23px;
}

.back-to-top:hover {
    background: var(--ink);
    color: var(--cream);
    transform: translateY(-4px);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
}

/* SMARTPHONE */

@media (max-width: 600px) {

    .back-to-top {
        bottom: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .back-to-top {
        transition: none;
    }

    .back-to-top:hover {
        transform: none;
    }

}

/* ==========================
   ANIMAZIONI ALLO SCORRIMENTO
   ========================== */

.reveal-pending {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 1s ease,
        transform 1s ease;
}

.reveal-pending.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ACCESSIBILITÀ */

@media (prefers-reduced-motion: reduce) {

    .reveal-pending {
        opacity: 1;
        transform: none;
        transition: none;
    }

}

/* CORREZIONE BARRE DI NAVIGAZIONE */

:root {
    --header-height: 80px;
    --menu-nav-height: 60px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu-jump {
    position: sticky;
    top: var(--header-height);
    z-index: 100;
}

.menu-category {
    scroll-margin-top: calc(
        var(--header-height) +
        var(--menu-nav-height) + 15px
    );
}

/* ==========================
   PRIVACY & COOKIE POLICY
   ========================== */

.privacy-content {
    max-width: 850px;
    padding-block: 50px 70px;
}

.privacy-date {
    font-size: 13px;
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 35px;
}

.privacy-content h2 {
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.privacy-content p,
.privacy-content li {
    font-size: 15px;
    line-height: 1.8;
}

.privacy-content ul {
    padding-left: 25px;
    margin-block: 15px;
}

.privacy-content a {
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.footer-bottom .privacy-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--green);
    font-size: 12px;
    text-decoration: underline;
}

@media (max-width: 600px) {

    .privacy-content {
        padding-block: 30px 40px;
    }

    .privacy-content h2 {
        font-size: 19px;
    }

    .privacy-content p,
    .privacy-content li {
        font-size: 14px;
    }

}

/* ==========================
   GOOGLE MAPS - CLICK TO LOAD
   ========================== */

.map-placeholder {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    gap: 15px;
    border: 1px solid var(--ink);
}

.map-placeholder svg {
    width: 45px;
    height: 45px;
}

.map-placeholder h3 {
    margin: 0;
    font-size: 24px;
}

.map-placeholder p {
    max-width: 420px;
    font-size: 14px;
    line-height: 1.7;
}

.map-placeholder a {
    font-size: 12px;
    text-decoration: underline;
}

.map-button {
    background: var(--ink);
    color: var(--cream);
    border: 1px solid var(--ink);
    padding: 12px 20px;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.map-button:hover {
    background: var(--cream);
    color: var(--ink);
}

#disable-map {
    display: block;
    margin: 10px auto;
}

.map-container [hidden] {
    display: none;
}

@media (max-width: 600px) {

    .map-placeholder {
        min-height: 280px;
        padding: 20px;
    }

}

/* PULSANTE INDICAZIONI STRADALI */

.directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-top: 25px;
    padding: 14px 22px;

    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 4px;

    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.5px;

    transition: background 0.25s ease,
                color 0.25s ease,
                transform 0.25s ease;
}

.directions svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.directions-arrow {
    font-size: 18px;
}

.directions:hover {
    background: var(--ink);
    color: var(--cream);
    text-decoration: none;
    transform: translateY(-2px);
}

.directions:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .directions {
        transition: none;
    }

    .directions:hover {
        transform: none;
    }
}

/* ==========================
   CONSULTAZIONE PDF ALLERGENI
   ========================== */

.allergen-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 35px auto;
}

.allergen-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 16px 25px;

    background: var(--ink);
    color: var(--cream);
    border: 1px solid var(--ink);
    border-radius: 4px;

    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;

    transition: background 0.25s,
                color 0.25s,
                transform 0.25s;
}

.allergen-button small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    margin-top: 4px;
}

.allergen-button svg,
.allergen-download svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.allergen-button:hover {
    background: var(--green);
    color: var(--ink);
    transform: translateY(-2px);
}

.allergen-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink);
    text-decoration: none;
}

.allergen-download:hover {
    text-decoration: underline;
}

.allergen-download svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 600px) {

    .allergen-button {
        max-width: 100%;
        padding: 14px 18px;
        font-size: 14px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .allergen-button {
        transition: none;
    }

    .allergen-button:hover {
        transform: none;
    }

}
