/* ================================================
   RISTORANTE TEMPLATE — Pellico3-inspired elegant
   ================================================ */

/* === Variables === */
:root {
    --accent: #1a1a1a;
    --text: #1a1a1a;
    --text-light: #666;
    --text-muted: #999;
    --bg: #fff;
    --bg-alt: #f7f6f3;
    --border: #e5e3de;
    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Montserrat', -apple-system, system-ui, sans-serif;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 900px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: var(--text); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.6; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* === Layout === */
.container-narrow, .container { max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem; }

/* === Scroll Animations === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================
   TOPBAR & HAMBURGER MENU
   (Pellico3-style fullscreen)
   ============================= */

.topbar {
    position: relative;
    z-index: 100;
    background: var(--bg);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    position: relative;
}

.topbar__brand {
    text-align: center;
    text-decoration: none;
    color: var(--text);
}

.brand-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    line-height: 1.2;
}

.brand-sub {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.topbar__logo {
    height: 60px;
    width: auto;
}

/* === Hamburger Toggle (Pellico3 X animation) === */
.menu-toggle {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
}

.menu-toggle__icon {
    width: 28px;
    height: 18px;
    position: relative;
}

.menu-toggle__icon span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text);
    position: absolute;
    left: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle__icon span:nth-child(1) { top: 0; }
.menu-toggle__icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle__icon span:nth-child(3) { top: 50%; transform: translateY(-50%); opacity: 0; }
.menu-toggle__icon span:nth-child(4) { bottom: 0; }

/* X animation when open */
.menu-toggle.active .menu-toggle__icon span:nth-child(1) {
    top: 50%; transform: translateY(-50%) rotate(45deg);
}
.menu-toggle.active .menu-toggle__icon span:nth-child(2) {
    opacity: 0; transform: translateY(-50%) translateX(-10px);
}
.menu-toggle.active .menu-toggle__icon span:nth-child(3) {
    opacity: 0;
}
.menu-toggle.active .menu-toggle__icon span:nth-child(4) {
    bottom: 50%; transform: translateY(50%) rotate(-45deg);
}

/* === Navigation Overlay (fullscreen white) === */
.nav-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.nav-overlay__inner {
    text-align: center;
}

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

.nav-overlay__list li {
    margin: 0.5rem 0;
}

.nav-overlay__list li::after {
    content: '•';
    display: block;
    color: var(--text-muted);
    font-size: 0.5rem;
    margin: 0.5rem 0;
}

.nav-overlay__list li:last-child::after {
    display: none;
}

.nav-overlay__list a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.3s;
    padding: 0.5rem 1rem;
    display: inline-block;
}

.nav-overlay__list a:hover {
    opacity: 0.5;
}

/* Staggered animation for menu items — Pellico3 style (marcata) */
.nav-overlay__list li {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When overlay NOT open, reset instantly */
.nav-overlay:not(.open) .nav-overlay__list li {
    transition: none;
}

.nav-overlay.open .nav-overlay__list li {
    opacity: 1;
    transform: translateY(0);
}
.nav-overlay.open .nav-overlay__list li:nth-child(1) { transition-delay: 0.12s; }
.nav-overlay.open .nav-overlay__list li:nth-child(2) { transition-delay: 0.22s; }
.nav-overlay.open .nav-overlay__list li:nth-child(3) { transition-delay: 0.32s; }
.nav-overlay.open .nav-overlay__list li:nth-child(4) { transition-delay: 0.42s; }
.nav-overlay.open .nav-overlay__list li:nth-child(5) { transition-delay: 0.52s; }
.nav-overlay.open .nav-overlay__list li:nth-child(6) { transition-delay: 0.62s; }
.nav-overlay.open .nav-overlay__list li:nth-child(7) { transition-delay: 0.72s; }
.nav-overlay.open .nav-overlay__list li:nth-child(8) { transition-delay: 0.82s; }

/* =============================
   HERO
   ============================= */

.hero {
    width: 100%;
    height: 85vh;
    min-height: 500px;
    background-color: #2a2a2a;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero__cta {
    padding: 0 3rem 3rem 0;
}

.btn-cta {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text);
    background: var(--bg);
    padding: 1rem 2.5rem;
    border: none;
    text-decoration: none;
    transition: all var(--transition);
}

.btn-cta:hover {
    background: var(--text);
    color: var(--bg);
    opacity: 1;
}

/* =============================
   SECTIONS
   ============================= */

.section-heading {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
    text-align: center;
}

/* Intro */
.section-intro {
    padding: 6rem 0;
}

.intro-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.intro-title {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.intro-text {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.intro-quote {
    border: none;
    padding: 0;
    margin: 2rem auto 0;
    max-width: 600px;
}

.intro-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Gallery strip */
.section-gallery {
    padding: 0;
}

.gallery-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.gallery-figure {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-figure:hover img {
    transform: scale(1.03);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-alt);
}

/* Features / Services */
.section-features {
    padding: 6rem 2.5rem;
    background: var(--bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.feature-desc {
    font-size: 0.85rem;
    line-height: 1.9;
    color: var(--text-light);
}

/* Split layout (about with image) */
.section-split {
    padding: 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.split-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3.5rem;
}

.split-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.split-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.value-item {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
}

.link-arrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
    border-bottom: 1px solid var(--text);
    padding-bottom: 2px;
    display: inline-block;
}

.link-arrow:hover {
    opacity: 0.5;
}

.split-image {
    margin: 0;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team */
.section-team {
    padding: 6rem 2.5rem;
}

.team-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.team-photo {
    margin: 0 0 1rem;
    overflow: hidden;
    aspect-ratio: 3/4;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.5s;
}

.team-photo:hover img {
    filter: grayscale(0%);
}

.team-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.05em;
}

/* Location */
.section-location {
    padding: 5rem 2.5rem;
    text-align: center;
    background: var(--bg-alt);
}

.location-details p {
    font-size: 0.9rem;
    line-height: 2;
    color: var(--text-light);
    padding: 0 1rem;
}

.location-details a {
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

/* CTA */
.section-cta {
    padding: 5rem 2.5rem;
    text-align: center;
}

/* =============================
   PAGE HEADER (inner pages)
   ============================= */

.page-header {
    padding: 8rem 2.5rem 3rem;
    text-align: center;
    background: var(--bg-alt);
}

.page-header h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.page-header .subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* =============================
   FOOTER
   ============================= */

.site-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 3rem 0 0;
}

.footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.8;
}

.footer__info strong {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.footer__info a {
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.footer__social {
    display: flex;
    gap: 1.5rem;
}

.footer__social a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
}

.footer__bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer__bottom a {
    color: var(--text-muted);
}

.footer-vat {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* =============================
   WHATSAPP FAB
   ============================= */

.whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform var(--transition);
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* =============================
   CONTACT FORM (contatti page)
   ============================= */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--text);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-feedback {
    display: none;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    text-align: center;
}

.form-feedback.success { color: #2d7d46; background: #e8f5e9; }
.form-feedback.error { color: #c62828; background: #fce4ec; }

/* =============================
   RESPONSIVE
   ============================= */

@media (max-width: 768px) {
    .container-narrow, .container {
        padding: 0 1.5rem;
    }

    .brand-name {
        font-size: 1.6rem;
        letter-spacing: 0.12em;
    }

    .topbar__inner {
        padding: 1.2rem 1.5rem;
    }

    .menu-toggle {
        left: 1.5rem;
    }

    .hero {
        height: 70vh;
    }

    .hero__cta {
        padding: 0 1.5rem 2.5rem;
        width: 100%;
        text-align: center;
    }

    .btn-cta {
        padding: 1rem 2.5rem;
        font-size: 0.7rem;
        width: 100%;
        max-width: 280px;
    }

    .intro-title {
        font-size: 1.6rem;
    }

    .intro-text {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .intro-quote p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .section-intro {
        padding: 3.5rem 1.5rem;
    }

    .gallery-strip {
        grid-template-columns: 1fr;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .split-text {
        padding: 2.5rem 1.5rem;
        order: 2;
    }

    .split-image {
        order: 1;
        aspect-ratio: 16/9;
    }

    .section-heading {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .section-features {
        padding: 3.5rem 1.5rem;
    }

    .features-grid {
        gap: 2rem;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .team-list {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .team-photo {
        max-width: 220px;
    }

    .section-team {
        padding: 3.5rem 1.5rem;
    }

    .section-location {
        padding: 3.5rem 1.5rem;
    }

    .location-details p {
        padding: 0;
    }

    .section-cta {
        padding: 3rem 1.5rem;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
        padding: 0 1.5rem 2rem;
    }

    .footer__social {
        justify-content: center;
    }

    .page-header {
        padding: 6rem 1.5rem 2rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .nav-overlay__list a {
        font-size: 0.8rem;
        padding: 0.6rem 1.5rem;
    }

    .page-content {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container-narrow, .container {
        padding: 0 1.25rem;
    }

    .brand-name {
        font-size: 1.3rem;
        letter-spacing: 0.1em;
    }

    .brand-sub {
        font-size: 0.55rem;
    }

    .topbar__inner {
        padding: 1rem 1.25rem;
    }

    .menu-toggle {
        left: 1.25rem;
    }

    .hero {
        height: 60vh;
    }

    .intro-title {
        font-size: 1.3rem;
    }

    .intro-text {
        font-size: 0.85rem;
    }

    .section-intro {
        padding: 3rem 1.25rem;
    }

    .section-features {
        padding: 3rem 1.25rem;
    }

    .section-team {
        padding: 3rem 1.25rem;
    }

    .section-location {
        padding: 3rem 1.25rem;
    }

    .section-cta {
        padding: 2.5rem 1.25rem;
    }

    .page-header {
        padding: 5rem 1.25rem 2rem;
    }

    .split-text {
        padding: 2rem 1.25rem;
    }

    .footer__inner {
        padding: 0 1.25rem 1.5rem;
    }

    .footer__info {
        font-size: 0.75rem;
    }
}

/* === Page content styling === */
.page-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-content h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    margin: 2.5rem 0 1rem;
}

.page-content h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    margin: 2rem 0 0.75rem;
}

.page-content p {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Services page grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
}

.service-icon {
    display: inline-flex;
    color: var(--text);
    margin-bottom: 1rem;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.85rem;
    line-height: 1.9;
    color: var(--text-light);
}

/* About page */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-desc {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.value-tag {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    color: var(--text-light);
}

/* Locations grid */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.location-card {
    padding: 2rem;
    border: 1px solid var(--border);
    text-align: center;
}

.location-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.location-address {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.location-detail {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

/* Team page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.team-card {
    text-align: center;
}

.team-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 3/4;
    max-width: 280px;
    margin: 0 auto 1rem;
    background: var(--bg-alt);
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .about-preview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* === Anti-overflow: prevent horizontal scroll on mobile (charts, tables, etc.) === */
html { overflow-x: hidden; }
main { overflow-x: hidden; max-width: 100vw; }
canvas { max-width: 100% !important; height: auto !important; }
table { max-width: 100%; overflow-x: auto; display: block; }
iframe { max-width: 100%; }
img { max-width: 100%; height: auto; }
pre, code { max-width: 100%; overflow-x: auto; word-wrap: break-word; }
.chart-container, [class*="chart"] { max-width: 100%; overflow: hidden; }


/* === Responsive overrides for AI-generated inline styles === */
@media (max-width: 768px) {
    [style*="grid-template-columns: repeat(3"],[style*="grid-template-columns:repeat(3"],
    [style*="grid-template-columns: repeat(4"],[style*="grid-template-columns:repeat(4"] {
        grid-template-columns: 1fr !important;
    }
    [style*="padding:36px 32px"],[style*="padding: 36px 32px"],
    [style*="padding:32px"],[style*="padding: 32px"] {
        padding: 16px 12px !important;
    }
    [style*="padding:24px 28px"],[style*="padding: 24px 28px"] {
        padding: 16px 14px !important;
    }
    [style*="font-size:2.5rem"],[style*="font-size: 2.5rem"] { font-size: 1.6rem !important; }
    [style*="font-size:2.2rem"],[style*="font-size: 2.2rem"] { font-size: 1.4rem !important; }
    [style*="font-size:1.6rem"],[style*="font-size: 1.6rem"] { font-size: 1.2rem !important; }
    [style*="display:flex"],[style*="display: flex"] { flex-wrap: wrap !important; }
    table { display: block !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; max-width: 100% !important; }
    div[style*="max-width:1200px"],div[style*="max-width: 1200px"] { padding-left: 16px !important; padding-right: 16px !important; }
    canvas { max-width: 100% !important; height: auto !important; }
}


/* ===== Menu del Ristorante ===== */
.section-menu { padding: 5rem 0; }
.menu-categories { display: flex; flex-direction: column; gap: 3rem; }
.menu-category-title { font-size: 1.4rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--primary, #1a1a1a); display: inline-block; }
.menu-category-desc { color: #666; font-style: italic; margin-bottom: 1.5rem; font-size: 0.95rem; }
.menu-items { display: flex; flex-direction: column; gap: 1rem; }
.menu-item { display: flex; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); transition: background 0.2s; }
.menu-item:hover { background: rgba(0,0,0,0.015); }
.menu-item-image { width: 70px; height: 70px; border-radius: 8px; overflow: hidden; flex-shrink: 0; margin: 0; }
.menu-item-image img { width: 100%; height: 100%; object-fit: cover; }
.menu-item-info { flex: 1; min-width: 0; }
.menu-item-header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.menu-item-name { font-weight: 500; font-size: 1.05rem; }
.menu-item-price { font-weight: 600; white-space: nowrap; color: var(--primary, #1a1a1a); }
.menu-item-desc { color: #777; font-size: 0.88rem; margin-top: 0.25rem; line-height: 1.4; }
/* ===== Recensioni ===== */
.section-reviews { padding: 5rem 0; background: rgba(0,0,0,0.02); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.review-card { background: #fff; padding: 2rem; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 0.75rem; }
.review-stars { font-size: 1.2rem; letter-spacing: 0.1em; }
.star-filled { color: #f5a623; }
.star-empty { color: #ddd; }
.review-text { font-style: italic; line-height: 1.6; color: #444; margin: 0; padding: 0; border: none; quotes: none; }
.review-author { font-size: 0.9rem; color: #888; font-style: normal; }
@media (max-width: 600px) { .menu-item-image { width: 56px; height: 56px; } .reviews-grid { grid-template-columns: 1fr; } }
