/* REGOLE BASE */
:root {
    --primary: #1A2A1A;
    --primary-dark: #142214;
    --swiper-theme-color: #1A2A1A; /* override blu default Swiper */
    --text-dark: #2c3e50;
    --text-light: #555;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --font-main: 'Courier Prime', monospace;
    --font-script: 'Courier Prime', monospace;
    --border-radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); color: var(--text-dark); line-height: 1.6; background-color: var(--white); overflow-x: clip; }

/* Spazio di respiro globale prima del footer */
main, .main-content { margin-bottom: 80px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; overflow: hidden; }
.section-page { padding: 80px 0; }

/* Gallery Slider */
.section-gallery { padding: 60px 0; }
.gallery-swiper { padding-bottom: 10px; }
.gallery-slide { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; }
.gallery-slide img:hover { transform: scale(1.04); }
.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next { color: white; background: rgba(0,0,0,0.45); width: 42px; height: 42px; border-radius: 50%; transition: background 0.3s; }
.gallery-swiper .swiper-button-prev:hover,
.gallery-swiper .swiper-button-next:hover { background: rgba(0,0,0,0.75); }
.gallery-swiper .swiper-button-prev::after,
.gallery-swiper .swiper-button-next::after { font-size: 0.95rem; font-weight: 900; }
.section-page > .container { max-width: 1100px; }
.bg-light { background-color: #f0f7f4; } /* Tonalità verde acqua molto tenue */

/* NAVBAR */
.navbar { width: 100%; height: 90px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); display: flex; align-items: center; position: sticky; top: 0; background: var(--white); z-index: 1000; left: 0; right: 0; border-bottom: none; transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.3s ease; }
.navbar.nav-up { transform: translateY(-110%); }
.navbar-content { max-width: 1200px; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; width: 100%; margin: 0 auto; }
.logo { display: flex; align-items: center; }
.logo img { height: 65px; width: auto; transition: 0.3s; }

.nav-links { display: flex; gap: 20px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: bold; font-size: 1rem; transition: color 0.3s, border-color 0.3s; border-bottom: 2px solid transparent; padding-bottom: 2px; }
.nav-links a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* Hamburger — nascosto su desktop */
.mobile-menu-toggle { display: none; }
.nav-mobile-logo { display: none; }

/* HERO */
.hero {
    width: 100%;
    height: 480px;
    background-image: var(--hero-bg, url('../img/hero.jpg'));
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 25%;
    margin: 30px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
@media (max-width: 768px) {
    .hero {
        height: 260px;
        margin: 15px 0;
    }
}
.overlay {
    display: none; /* Via l'overlay scuro */
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; display: none; /* Via le scritte centrali */ }
.hero-title { font-size: 4rem; text-shadow: 0 4px 15px rgba(0,0,0,0.5); margin-bottom: 10px; line-height: 1.1; }
.hero-subtitle { font-family: var(--font-main); font-size: 2.2rem; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
/* SECTIONS */
.section-title-wrapper { text-align: center; margin-bottom: 50px; }
.section-title { font-family: 'Inter', sans-serif; font-size: 2.8rem; color: var(--text-dark); margin-bottom: 10px; line-height: 1.1; font-weight: 700; }
.section-subtitle { font-family: var(--font-main); color: var(--text-dark); font-size: 1.6rem; }
.section-separator { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--primary); margin-top: 10px; }
.section-separator span { width: 30px; height: 1px; background: var(--primary); }

/* CARDS */
.wow { visibility: hidden; }
.animated { visibility: visible !important; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.card-icon { background: white; padding: 40px 25px; text-align: center; border-radius: 12px; border: 1px solid #eee; transition: 0.3s; display: flex; flex-direction: column; height: 100%; }
.card-icon:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: var(--primary); }
.card-icon .icon-wrapper { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }
.card-icon p { flex-grow: 1; }
.card-icon .read-more { margin-top: auto; }

/* ROOM CARDS - PREMIUM */
/* Fix blu da selezione testo durante lo swipe */
.room-swiper-main .swiper-wrapper,
.room-swiper-main .swiper-slide,
.room-swiper-thumbs .swiper-wrapper,
.room-swiper-thumbs .swiper-slide {
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
.room-swiper-main .swiper-slide img,
.room-swiper-thumbs .swiper-slide img {
    -webkit-user-drag: none;
    user-drag: none;
}
.room-swiper-main .swiper-slide:focus,
.room-swiper-main .swiper-slide:focus-visible {
    outline: none;
}

.room-card { background: white; border-radius: 16px; overflow: hidden; margin-bottom: 60px; box-shadow: 0 4px 24px rgba(0,0,0,0.07); border: 1px solid #e8e8e8; transition: box-shadow 0.4s; }
.room-card:hover { box-shadow: 0 16px 50px rgba(0,0,0,0.13); }

/* Header nome camera — spana tutta la card */
.room-card-header { padding: 28px 36px 20px; border-bottom: 1px solid #f0f0f0; }
.room-card-header .room-name { font-size: 1.6rem; margin: 0; color: var(--text-dark); }

/* Gallery 16:9 */
.room-gallery-wrap { position: relative; }
.room-swiper-main { aspect-ratio: 16 / 9; width: 100%; }
.room-swiper-main .swiper-wrapper,
.room-swiper-main .swiper-slide { height: 100%; }
.room-swiper-main .swiper-slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; display: block; }

/* Chevron bianchi */
.room-swiper-main .swiper-button-prev,
.room-swiper-main .swiper-button-next { color: white; background: rgba(0,0,0,0.45); width: 42px; height: 42px; border-radius: 50%; transition: background 0.3s; }
.room-swiper-main .swiper-button-prev:hover,
.room-swiper-main .swiper-button-next:hover { background: rgba(0,0,0,0.75); }
.room-swiper-main .swiper-button-prev::after,
.room-swiper-main .swiper-button-next::after { font-size: 0.95rem; font-weight: 900; }

/* Striscia miniature */
.room-swiper-thumbs { padding: 10px 16px; background: #f5f5f5; border-top: 1px solid #eee; }
.room-swiper-thumbs .swiper-slide { width: 80px !important; height: 56px; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: 0.45; transition: opacity 0.3s, border-color 0.3s; border: 2px solid transparent; }
.room-swiper-thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--primary); }
.room-swiper-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Layout principale card */
.room-layout { display: flex; align-items: stretch; }
.room-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.room-info { padding: 30px 36px; }
.room-sidebar { width: 260px; flex-shrink: 0; border-left: 1px solid #eee; display: flex; flex-direction: column; padding: 24px 20px; gap: 16px; background: #fafafa; }

/* Nome camera */
.room-name { font-size: 1.65rem; color: var(--text-dark); margin-bottom: 14px; font-weight: 700; }

/* Descrizione */
.room-desc { color: var(--text-light); line-height: 1.8; margin-bottom: 26px; font-size: 0.95rem; }

/* Amenities - icone quadrate con tooltip */
.amenities-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.amenity { position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: #f5f5f5; border: 1px solid #e0e0e0; border-radius: 6px; cursor: default; transition: background 0.2s, border-color 0.2s; }
.amenity:hover { background: var(--text-dark); border-color: var(--text-dark); }
.amenity i { color: var(--text-dark); font-size: 1.05rem; transition: color 0.2s; }
.amenity:hover i { color: white; }
.amenity::after { content: attr(data-tooltip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--text-dark); color: white; padding: 5px 10px; border-radius: 4px; font-size: 0.72rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; z-index: 10; }
.amenity::before { content: ''; position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--text-dark); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.amenity:hover::after, .amenity:hover::before { opacity: 1; }
.amenity-svg { width: 18px; height: 18px; filter: brightness(0); transition: filter 0.2s; }
.amenity:hover .amenity-svg { filter: brightness(0) invert(1); }

/* Price card elegante */
.price-card { background: #f4f9ee; border: 1px solid #d4e8b0; border-radius: 12px; padding: 22px 18px; }
.price-label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px; color: #1a1a1a; margin-bottom: 16px; font-weight: 700; }
.price-main { display: flex; align-items: baseline; gap: 5px; margin-bottom: 4px; }
.price-from { font-size: 1rem; color: #1a1a1a; font-weight: 600; }
.price-amount { font-size: 2.8rem; font-weight: 700; color: #1a1a1a; line-height: 1; }
.price-unit { display: block; font-size: 1rem; color: #1a1a1a; margin-bottom: 16px; font-weight: 600; }
.price-divider { height: 1px; background: #e0e0e0; margin-bottom: 14px; }
.price-note { font-size: 0.78rem; color: var(--primary); }
.price-note i { margin-right: 5px; }
.price-footer-info { display: flex; flex-direction: column; gap: 8px; }

/* Colonna booking */
.best-rate-badge { display: flex; align-items: center; gap: 6px; background: var(--primary); color: #fff; border-radius: 6px; padding: 6px 10px; font-size: 0.73rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.03em; }
.best-rate-badge i { font-size: 0.85rem; }

.booking-widget-col { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.exclusive-promo-label { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 0.72rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.04em; margin: 0; }
.exclusive-promo-label i { font-size: 0.75rem; }
.room-booking-cta { width: 100%; text-align: center; justify-content: center; gap: 8px; padding: 14px 16px; font-size: 0.95rem; }

/* ===== FOOTER SEPARATOR (INTEGRATED) ===== */
.footer-separator {
    width: 100%;
    line-height: 0;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-98%); /* Posizione di contatto perfetto con il bordo */
    z-index: 10;
    pointer-events: none;
}
.footer-separator img {
    width: 100%;
    height: auto;
    display: block;
}

/* FOOTER */
.footer { background: #1a2a1a; color: #fff; padding: 70px 0 40px; margin-top: 0; position: relative; }

/* 3 colonne: brand | social | newsletter */
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1.7fr;
    gap: 60px;
    padding-bottom: 50px;
}

/* Colonna 1: brand */
.logo-white { height: 60px; width: auto; margin-bottom: 20px; display: block; }
.footer-brand p { color: #aaa; font-size: 0.92rem; line-height: 1.7; max-width: 280px; }

/* Intestazioni colonne social e newsletter */
.footer-social-col h4,
.footer-newsletter h4 {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* Icone social */
.social-icons { display: flex; gap: 12px; flex-wrap: wrap; }
.social-icons a {
    color: #fff;
    background: rgba(255,255,255,0.08);
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.12);
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.social-icons a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }

/* Gallo Agriturismo Lombardia */
.footer-gallo { margin-top: 24px; display: inline-block; background: #fff; border-radius: 10px; padding: 10px 16px; }
.gallo-logo { height: 75px; width: auto; display: block; }

@media (max-width: 768px) {
  .footer-social-col { display: flex; flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-gallo { margin-top: 0; }
}

/* Colonna newsletter */
.footer-newsletter > p { color: #aaa; font-size: 0.87rem; line-height: 1.55; margin-bottom: 16px; }

.newsletter-form { display: flex; flex-direction: column; gap: 14px; }

/* Riga email + bottone */
.newsletter-input-wrapper { display: flex; gap: 8px; }
.newsletter-input-wrapper input[type="email"] {
    flex: 1;
    min-width: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 10px 14px;
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    font-size: 0.87rem;
    outline: none;
    transition: border-color 0.3s;
}
.newsletter-input-wrapper input[type="email"]:focus { border-color: var(--primary); }
.newsletter-input-wrapper input[type="email"]::placeholder { color: #666; }
.newsletter-input-wrapper .btn { flex-shrink: 0; padding: 10px 18px; font-size: calc(0.85rem + 2px); }

/* Checkboxes — fix allineamento */
.newsletter-checks { display: flex; flex-direction: column; gap: 10px; }
.newsletter-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
.newsletter-check input[type="checkbox"] {
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
    margin: 0;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}
.newsletter-check span {
    color: #aaa;
    font-size: 0.83rem;
    line-height: 1.5;
}
.newsletter-check span a { color: #5A7A23; text-decoration: none; }
.newsletter-check span a:hover { text-decoration: underline; }
.newsletter-spam-note { font-size: 0.77rem; color: #666; font-style: italic; }

/* Separatore orizzontale */
.footer-divider { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 28px; }

/* Barra inferiore */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.82rem;
}
/* Riga 1: copyright sinistra + legal destra */
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom .copyright { color: #6f962c; }
.legal-inline { display: flex; align-items: center; }
.legal-inline a { color: #6f962c; text-decoration: none; transition: color 0.3s; }
.legal-inline a:hover { color: #fff; }
.legal-inline .sep { margin: 0 12px; color: #3a3a3a; }

/* Crediti agenzia */
.footer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #fff;
    font-size: 0.78rem;
    flex-wrap: wrap;
    text-align: center;
}
.mywebby-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}
.mywebby-link:hover { color: #6f962c; }
.mywebby-logo {
    height: 16px;
    width: auto;
    vertical-align: middle;
}
.mywebby-link span { font-size: 0.78rem; }

/* Cuore che batte 3 volte */
@keyframes footer-heartbeat {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.55); }
}
.footer-heart {
    color: #6f962c;
    display: inline-block;
    font-size: 0.85rem;
    animation: footer-heartbeat 0.38s ease-in-out 1s 3;
    filter: drop-shadow(0 0 4px rgba(111, 150, 44, 0.6));
}

/* Footer tablet (2 colonne) */
@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: 1 / -1; }
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 35px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    /* nascosto di default */
    opacity: 0;
    transform: translateY(24px) scale(0.7);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.back-to-top:hover  { transform: translateY(-4px) scale(1.1); }
.back-to-top:active { transform: scale(0.9); }

/* Anello SVG progress */
.btt-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.btt-ring-track {
    fill: none;
    stroke: rgba(111, 150, 44, 0.2);
    stroke-width: 3;
}
.btt-ring-fill {
    fill: none;
    stroke: #6f962c;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 131.95;
    stroke-dashoffset: 131.95;
    transition: stroke-dashoffset 0.12s linear;
    filter: drop-shadow(0 0 4px rgba(111, 150, 44, 0.5));
}

/* Cerchio interno */
.btt-core {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    background: #6f962c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 16px rgba(111, 150, 44, 0.5);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.back-to-top:hover .btt-core {
    background: #5a7a23;
    box-shadow: 0 6px 26px rgba(111, 150, 44, 0.75);
}
.btt-core i {
    color: #fff;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}
.back-to-top:hover .btt-core i { transform: translateY(-2px); }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; z-index: 100000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); align-items: center; justify-content: center; pointer-events: none; }
.lightbox.is-open { display: flex; pointer-events: auto; }
.lightbox img { max-width: min(85vw, 900px); max-height: 80vh; border-radius: 4px; box-shadow: 0 0 40px rgba(0,0,0,0.5); }
.close-lightbox { position: absolute; top: 30px; right: 30px; color: white; font-size: 3rem; cursor: pointer; line-height: 1; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 25px; border-radius: 4px; font-weight: bold; text-decoration: none; cursor: pointer; transition: 0.3s; border: none; white-space: nowrap; font-family: var(--font-main); font-size: calc(0.9rem + 2px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: white; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }

/* COOKIE BANNER */
#menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: transparent; z-index: 1800; visibility: hidden; pointer-events: none; }
#menu-overlay.active { visibility: visible; pointer-events: auto; }
body.no-nav-transition .nav-links { transition: none !important; }
.cookie-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; background: white; padding: 25px; z-index: 10000; border-radius: 12px; box-shadow: 0 15px 50px rgba(0,0,0,0.2); transform: translateY(200%); transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1); border: 1px solid #eee; max-width: 900px; margin: 0 auto; color: #333; }
.cookie-banner.show { transform: translateY(0); }
.cookie-close { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #999; }
.cookie-content { display: flex; align-items: center; gap: 20px; text-align: left; }
.cookie-icon img { width: 50px; height: auto; }
.cookie-text h4 { color: var(--text-dark); margin-bottom: 5px; }
.cookie-text p { font-size: 0.85rem; color: #555; line-height: 1.5; margin: 0; }
.cookie-actions { display: flex; gap: 10px; margin-top: 15px; justify-content: flex-end; }
.cookie-settings-panel { display: none; padding: 10px 0; }
.cookie-option { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.switch { position: relative; display: inline-block; width: 40px; height: 20px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 20px; }
.slider:before { position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(20px); }
.cookie-trigger { position: fixed; bottom: 33px; left: 35px; background: var(--primary); color: white; width: 45px; height: 45px; border-radius: 50%; border: none; cursor: pointer; z-index: 9999; box-shadow: 0 4px 15px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: 0.3s; }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }

    /* Navbar mobile — sempre visibile, no scroll-hide */
    .navbar { z-index: 2500; height: 70px; }
    .navbar.nav-up { transform: none; }
    .navbar-content { padding: 0 20px; }
    .logo img { height: 50px; }

    /* ── HAMBURGER ── */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 2100;
        flex-shrink: 0;
        position: relative;
    }
    /* Le 3 barre dentro il bottone */
    .mobile-menu-toggle .bar {
        position: absolute;
        left: 9px; /* (44-26)/2 = 9, centra le barre da 26px nel tap target 44px */
        width: 26px;
        height: 2px;
        background: var(--text-dark);
        border-radius: 2px;
        transform-origin: center center;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity   0.25s ease,
                    background 0.3s ease;
    }
    .mobile-menu-toggle .bar:nth-child(1) { top: calc(50% - 9px); }
    .mobile-menu-toggle .bar:nth-child(2) { top: calc(50% - 1px); }
    .mobile-menu-toggle .bar:nth-child(3) { top: calc(50% + 7px); }

    /* X quando attivo */
    .mobile-menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--primary); }
    .mobile-menu-toggle.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .mobile-menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--primary); }

    /* ── SLIDE PANEL ── */
    .nav-links {
        display: flex;
        flex-direction: column;
        background: #ffffff;
        height: 100vh;
        height: 100dvh;
        position: fixed;
        top: 0; left: 0;
        width: 78%;
        max-width: 300px;
        padding: 0;
        border-right: 1px solid #f0f0f0;
        box-shadow: 4px 0 30px rgba(0,0,0,0.08);
        transform: translateX(-105%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10;
        overflow-y: auto;
    }
    .nav-links.active { transform: translateX(0); }

    /* Striscia verde in cima al panel */
    .nav-links::before {
        content: '';
        display: block;
        height: 4px;
        background: var(--primary);
        flex-shrink: 0;
    }

    /* Spazio sopra per lasciare area sotto la striscia */
    .nav-links li:first-child { margin-top: 16px; }

    /* Voci di menu */
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
    }
    .nav-links li:last-child { border-bottom: none; }

    .nav-links li a {
        display: flex;
        align-items: center;
        padding: 14px 24px;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-dark);
        border-bottom: none !important;       /* fix: elimina underline verde */
        border-left: 3px solid transparent;
        transition: color 0.2s ease, border-left-color 0.2s ease, background 0.2s ease;
    }
    .nav-links li a:hover,
    .nav-links li a:active {
        color: var(--primary);
        border-left-color: var(--primary);
        background: rgba(111, 150, 44, 0.04);
        border-bottom: none !important;
    }

    /* Overlay: z-index 2400 — sotto navbar(2500) ma sopra tutto il resto */
    #menu-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh; background: rgba(0, 0, 0, 0.5); z-index: 2400; opacity: 0; visibility: hidden; transition: opacity 0.4s ease; }
    #menu-overlay.active { opacity: 1; visibility: visible; }

    .lang-switcher-dropdown { position: relative; margin: 0; margin-top: 20px; width: 100%; display: block; border-top: 1px solid #f0f0f0; padding-top: 20px; }
    .lang-switcher-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: white; border: 2px solid #e1e5eb; border-radius: 8px; font-size: 1rem; color: var(--text-dark); cursor: pointer; transition: border-color 0.3s; }
    .lang-switcher-toggle:active { background: #f8f9fa; }
    .lang-switcher-dropdown.open .lang-switcher-toggle i { transform: rotate(180deg); }

    .lang-dropdown-menu { position: static; box-shadow: none; border: none; opacity: 0; visibility: hidden; height: 0; transform: none; padding: 0; margin: 0; transition: all 0.3s ease; overflow: hidden; background: transparent; }
    .lang-switcher-dropdown.open .lang-dropdown-menu { opacity: 1; visibility: visible; height: auto; padding-top: 10px; }
    .lang-dropdown-menu li { border-bottom: none; }
    .lang-dropdown-menu a { display: flex; justify-content: flex-start; align-items: center; padding: 12px 20px; background: transparent; color: var(--text-light); }
    .lang-dropdown-menu a:hover { padding-left: 30px; background: rgba(111, 150, 44, 0.05); }
    .lang-dropdown-menu a.active { color: var(--primary); font-weight: bold; background: rgba(111, 150, 44, 0.1); }

    .room-layout { flex-direction: column; }
    .room-card-header { padding: 18px 20px 12px; }
    .room-info { padding: 20px; }
    .room-sidebar { width: 100%; border-left: none; border-top: 1px solid #eee; flex-direction: column; gap: 12px; padding: 20px; }
    .price-card { flex: none; min-width: unset; width: 100%; padding: 14px 16px; }
    .booking-widget-col { flex: none; min-width: unset; width: 100%; }
    /* Price info su una riga: "Tariffa per notte da €120/notte" */
    .price-label { display: inline; margin-bottom: 0; font-size: 0.72rem; }
    .price-main { display: inline-flex; margin-bottom: 0; vertical-align: middle; gap: 3px; }
    .price-amount { font-size: 1.5rem; }
    .price-unit { display: inline; margin-bottom: 8px; font-size: 0.85rem; }
    .price-divider { margin: 8px 0; }
    /* Colazione + Esclusiva sulla stessa riga */
    .price-footer-info { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px; }
    /* CTA più grande */
    .room-booking-cta { font-size: 1.1rem; padding: 16px; }
    .room-swiper-thumbs .swiper-slide { width: 60px !important; height: 42px; }
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-actions { flex-direction: column; width: 100%; }
    .cookie-actions .btn { width: 100%; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { gap: 14px; }
    .footer-bottom-row { flex-direction: column; text-align: center; align-items: center; }
    .footer-credit { justify-content: center; }
    .legal-inline { justify-content: center; }
    /* Contatti mobile */
    .form-row-2 { grid-template-columns: 1fr; }
    .contact-form-card { padding: 20px; }
    .contact-map-section iframe { height: 300px; }

    /* Nasconde immagine famiglia su Chi Siamo Mobile */
    .intro-image { display: none; }
}

/* ===== FIX OVERFLOW & LAYOUT GLOBALE ===== */

/* Blocca scroll orizzontale a tutti i livelli */
html { overflow-x: clip; }

/* Navbar: width 100% invece di 100vw evita lo shift da scrollbar */
.navbar { width: 100%; }

/* Hero: contenimento immagine di sfondo */
.hero { overflow: hidden; max-width: 100%; }

/* Sezioni: nessun trabocco laterale */
.section { overflow: hidden; }

/* Immagini: mai più larghe del contenitore */
img { max-width: 100%; height: auto; }

/* Contenitore principale: padding di sicurezza su mobile */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 2rem; word-break: break-word; }
}

/* HOME PAGE INTRO */
.intro-flex { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.intro-text { flex: 1; min-width: 300px; }
.intro-text p { margin-bottom: 20px; font-size: 1.1rem; }
.intro-image { flex: 1; min-width: 300px; }
.intro-image img { border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* UTILITIES */
.section-center { text-align: center; }
.section-center h2 { margin-bottom: 20px; color: var(--text-dark); }
.section-center p { margin-bottom: 30px; font-size: 1.2rem; }

/* ===== PAGINA CONTATTI ===== */

/* Messaggio successo */
.contact-success { display: flex; align-items: center; gap: 14px; background: #d4edda; color: #155724; padding: 20px 24px; border-radius: 8px; border: 1px solid #c3e6cb; margin-bottom: 40px; }
.contact-success i { font-size: 1.8rem; flex-shrink: 0; }

/* Layout 2 colonne: recapiti | form */
.contact-top { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.contact-info { flex: 1 1 260px; }
.contact-form-card { flex: 2 1 320px; }

/* Blocchi recapiti */
.contact-info-block { margin-bottom: 36px; }
.contact-info-block h3 { color: var(--text-dark); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid #eee; }

/* Lista dettagli contatto */
.contact-details-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-details-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-details-list li i { color: var(--primary); font-size: 1rem; width: 18px; flex-shrink: 0; margin-top: 3px; }
.contact-details-list li div { display: flex; flex-direction: column; gap: 3px; }
.contact-details-list li strong { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: #aaa; }
.contact-details-list li span, .contact-details-list li a { color: var(--text-dark); text-decoration: none; font-size: 0.95rem; }
.contact-details-list li a:hover { color: var(--primary); }

/* Orari */
.contact-hours-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-hours-list li { font-size: 0.92rem; color: var(--text-light); padding: 8px 12px; border-left: 3px solid var(--primary); background: #f9fdf4; border-radius: 0 4px 4px 0; }

/* Card form */
.contact-form-card { background: white; border-radius: 14px; padding: 42px; box-shadow: 0 6px 40px rgba(0,0,0,0.08); border: 1px solid #eee; }
.contact-form-card h3 { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 28px; }

/* Riga nome + cognome */
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 0.83rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-dark); }

/* Input con icona */
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #ccc; font-size: 0.88rem; pointer-events: none; }
.input-icon input { width: 100%; padding: 11px 12px 11px 38px; border: 1.5px solid #e8e8e8; border-radius: 6px; font-family: inherit; font-size: 0.92rem; color: var(--text-dark); transition: border-color 0.3s, box-shadow 0.3s; outline: none; background: #fafafa; }
.input-icon input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(111,150,44,0.1); background: white; }
.input-icon input:focus + i, .input-icon input:focus ~ i { color: var(--primary); }

/* Textarea */
.contact-form-card textarea { width: 100%; padding: 12px; border: 1.5px solid #e8e8e8; border-radius: 6px; font-family: inherit; font-size: 0.92rem; color: var(--text-dark); resize: vertical; min-height: 120px; transition: border-color 0.3s, box-shadow 0.3s; outline: none; background: #fafafa; }
.contact-form-card textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(111,150,44,0.1); background: white; }

/* Checkbox consensi */
.form-checks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.form-check input[type="checkbox"] { width: 15px; height: 15px; min-width: 15px; margin-top: 2px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0; }
.form-check span { font-size: 0.83rem; color: var(--text-light); line-height: 1.5; }
.form-check span a { color: var(--primary); text-decoration: none; }
.form-check span a:hover { text-decoration: underline; }
.btn-full { width: 100%; }

/* Mappa full width */
.contact-map-section { background: #eef6e2; border-top: 3px solid rgba(111,150,44,0.2); }
.contact-map-section iframe { width: 100%; height: 460px; border: 0; display: block; }

/* ===== TENTATIVO CUSTOMIZZAZIONE BEDDY ===== */
beddy-bar {
    --primary-color: var(--primary) !important;
    --accent-color: var(--primary-dark) !important;
    --btn-bg-color: var(--primary) !important;
    --main-color: var(--primary) !important;
    --beddy-primary: var(--primary) !important;
}

/* Se il widget usa classi standard all'interno di un iframe o shadow DOM */
beddy-bar::part(button) { background-color: var(--primary) !important; }
beddy-bar::part(bar) { border-top: 3px solid var(--primary) !important; }

/* ===== HOME PAGE NUOVA STRUTTURA ===== */
.home-main { overflow-x: hidden; margin-bottom: 80px; }

.section-story { position: relative; }
.vintage-decoration { 
    display: none !important; /* Richiesta cliente: togliere disegnini e foglioline */
}
.vintage-decoration img { width: 100%; height: auto; }

/* Kicker e Titoli coerenti */
.section-kicker { font-family: var(--font-main); color: var(--text-dark); font-size: 2.2rem; margin-bottom: 12px; font-weight: normal; }
.text-primary-script { font-family: var(--font-main); color: var(--text-dark); font-weight: normal; font-size: 2.4rem; vertical-align: middle; }

.section-desc-refined { font-size: 1.1rem; color: var(--text-light); max-width: 800px; margin: 0 auto 50px auto; line-height: 1.4; }

.section-header--center { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 60px; }

/* Sezione Story: Allineamento Testo/Immagine */
.section-story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.section-story__content p { font-size: 1.05rem; margin-bottom: 20px; color: var(--text-light); line-height: 1.8; }
.section-story__content p strong { color: var(--text-dark); font-weight: 700; }

.story-quote { margin: 35px 0; padding: 25px 30px; border-left: 3px solid var(--primary); background: #f9fdf4; border-radius: 0 12px 12px 0; position: relative; }
.story-quote i { color: var(--primary); font-size: 1.2rem; margin-bottom: 10px; display: block; opacity: 0.6; }
.story-quote p { font-family: var(--font-main); font-style: italic; font-size: 1.1rem !important; color: var(--primary-dark) !important; margin-bottom: 0 !important; line-height: 1.6 !important; }

.img-responsive { width: 100%; height: auto; display: block; }
.rounded { border-radius: 12px; }
.shadow { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Decorazioni Avanzate Immagine Story */
.story-image-container { position: relative; padding: 20px; }

/* Cornice Artistica Offset */
.img-offset-frame { 
    display: none !important; /* Richiesta cliente: togliere griglia intorno alla foto */
}

.img-wrapper { position: relative; z-index: 1; transition: transform 0.1s ease-out; }

/* Parallasse allo scroll (gestito via JS per precisione o via CSS se preferito leggero) */
.parallax-img { will-change: transform; }

/* Placeholders Immagini 900x600 Ratio */
.img-placeholder { 
    background: #f0f2f0; 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: #888; 
    border: 2px dashed #cbd5c0; 
    aspect-ratio: 900 / 600; 
    width: 100%;
    position: relative;
    overflow: hidden;
}
.placeholder-info { display: flex; flex-direction: column; gap: 5px; }
.placeholder-info strong { font-size: 1.1rem; color: var(--text-dark); }
.placeholder-info span { font-size: 0.85rem; font-family: monospace; background: rgba(0,0,0,0.05); padding: 2px 8px; border-radius: 4px; }

/* Griglia Servizi */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: var(--white); border-radius: 16px; border: 1px solid #eee; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(111, 150, 44, 0.1); border-color: var(--primary); }
.card-media { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.card-title { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-dark); font-weight: 700; }
.card-text { color: var(--text-light); font-size: 0.95rem; margin-bottom: 25px; flex-grow: 1; line-height: 1.7; }
.card-link { color: var(--primary); text-decoration: none; font-weight: bold; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.2px; transition: 0.3s; display: inline-flex; align-items: center; }
.card-link:hover { color: var(--primary-dark); }
.card-link::after { content: '\2192'; margin-left: 8px; font-size: 1.2rem; transition: transform 0.3s; }
.card-link:hover::after { transform: translateX(5px); }

/* CTA Finale */
.section-cta { text-align: center; }
.section-cta__content { max-width: 900px; margin: 0 auto; }
.section-cta__actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.section-cta__actions .btn { font-size: calc(0.9rem + 2px); }
.section-cta__actions .btn-primary { background: #1A2A1A; }
.section-cta__actions .btn-primary:hover { background: #142214; transform: translateY(-2px); }
.section-cta__actions .btn-primary:active { transform: translateY(0); }

/* ===== SEZIONE MENU TEASER (FULL WIDTH) ===== */
.section-menu-teaser {
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Mantiene il parallasse */
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 0; /* Ridotto il padding per compensare la mancanza di testo */
    min-height: 400px; /* Altezza minima per non farla troppo stretta */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
@media (max-width: 1024px) {
    .section-menu-teaser {
        background-attachment: scroll; /* Su tablet/mobile il parallasse fixed dà sempre problemi e fa zoomare l'immagine. Lo togliamo per vederla bene */
    }
}
.teaser-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.teaser-text { font-size: 1.2rem; margin-bottom: 35px; line-height: 1.6; opacity: 0.9; }
.section-menu-teaser #open-menu-btn { font-size: calc(0.9rem + 2px); }

/* ===== MODAL MENU (CARTA RISO) ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}
.modal-content {
    margin: 5% auto;
    width: 90%;
    max-width: 700px;
    position: relative;
    animation: modalAppear 0.5s ease-out;
}
@keyframes modalAppear {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.close-modal {
    position: absolute;
    top: -40px; right: 0;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.close-modal:hover { color: var(--primary); }

/* Badge ristorante */
.restaurant-badges { display: flex; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.restaurant-badge { display: flex; align-items: center; gap: 8px; background: #f4f9ee; border: 1px solid #d4e8b0; border-radius: 8px; padding: 10px 16px; font-size: 0.85rem; font-weight: 700; color: var(--primary); }
.restaurant-badge i { font-size: 1.1rem; }

/* Menu paper versione pagina intera */
.menu-paper--page { max-width: 1100px; margin: 50px auto 0; }
.menu-paper--page .menu-sections { display: flex; flex-direction: column; gap: 30px; }

/* ================================
   PAGINA PRODOTTI - Catalog layout
   ================================ */
.section-intro-prodotti { text-align: center; }
.prodotti-intro-text { max-width: 680px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; color: #555; }

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.product-row--reverse .product-media { order: 2; }
.product-row--reverse .product-content { order: 1; }

.product-content { display: flex; flex-direction: column; gap: 18px; }

.product-tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    width: fit-content;
}

.product-pairing,
.product-variety {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    line-height: 1.6;
    padding: 12px 16px;
    background: #f4f9ee;
    border-left: 3px solid var(--primary);
    border-radius: 0 6px 6px 0;
}
.product-pairing i,
.product-variety i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }

@media (max-width: 900px) {
    .product-row { grid-template-columns: 1fr; gap: 40px; }
    .product-row--reverse .product-media { order: 0; }
    .product-row--reverse .product-content { order: 0; }
}

.menu-paper {
    background: #fdfcf8;
    padding: 60px 50px;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    border: 1px solid #e8e2d0;
}
#menu-modal .menu-paper { box-shadow: none; }
.menu-paper::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(111, 150, 44, 0.1);
    pointer-events: none;
}

.monthly-menu { max-width: 820px; margin: 0 auto; padding: 10px 0; color: var(--text-dark); }
.monthly-menu--modal { max-width: 680px; }
.monthly-menu__title { text-align: center; font-family: 'Inter', sans-serif; font-size: clamp(1.2rem, 2.2vw, 1.7rem); letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 22px 0; padding-bottom: 12px; border-bottom: 1px solid #c8c8c8; }
.monthly-menu__section-title { font-size: 1.05rem; text-align: center; text-transform: uppercase; letter-spacing: 0.12em; margin: 26px 0 12px 0; color: var(--text-dark); }
.monthly-menu__item { padding: 12px 0; border-bottom: 1px solid #e0e0e0; }
.monthly-menu__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.monthly-menu__name { font-size: 1.02rem; font-weight: 700; }
.monthly-menu__label { font-size: 0.95rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.12em; }
.monthly-menu__price { font-size: 0.98rem; font-weight: 700; white-space: nowrap; }
.monthly-menu__desc { font-size: 0.9rem; margin: 6px 0 0 0; color: var(--text-light); font-style: italic; }
.monthly-menu__note { font-size: 0.85rem; margin: 12px 0 0 0; color: var(--text-light); font-style: italic; text-align: center; }
.monthly-menu__cover { padding: 18px 0 0 0; margin-top: 20px; border-top: 1px solid #c8c8c8; }

@media (max-width: 600px) {
    .monthly-menu { padding: 0; }
    .monthly-menu__row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .monthly-menu__price { align-self: flex-end; }
    .monthly-menu__title { letter-spacing: 0.08em; }
}

.menu-header { text-align: center; margin-bottom: 40px; }
.menu-header h2 { font-family: 'Inter', sans-serif; color: var(--text-dark); font-size: 2rem; margin-bottom: 10px; font-weight: 700; }
.menu-separator { width: 60px; height: 2px; background: var(--primary); margin: 0 auto; opacity: 0.3; }

.menu-group { margin-bottom: 35px; }
.menu-group h3 { font-family: var(--font-script); font-size: 2.2rem; font-weight: normal; color: var(--text-dark); text-transform: none; letter-spacing: normal; text-align: center; border-bottom: 1px solid #eee; padding-bottom: 8px; margin-bottom: 20px; }

.menu-item { margin-bottom: 18px; }
.item-main { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
.item-main span { font-weight: 700; color: var(--text-dark); font-size: 1.05rem; flex: 1; }
.item-main strong { color: var(--primary-dark); font-weight: 700; white-space: nowrap; }
.menu-item p { font-size: 0.85rem; color: #777; margin-top: 4px; font-style: italic; }

.menu-footer { text-align: center; margin-top: 40px; padding-top: 30px; border-top: 1px dashed #ddd; }
.menu-footer p { font-weight: bold; color: var(--text-dark); margin-bottom: 15px; }
.menu-note { display: flex; align-items: center; justify-content: center; gap: 12px; color: #888; max-width: 450px; margin: 0 auto; }
.menu-note i { font-size: 1.2rem; color: var(--primary); opacity: 0.6; }
.menu-note p { font-size: 0.8rem; font-weight: normal; font-style: italic; line-height: 1.4; margin: 0; }

@media (max-width: 600px) {
    .menu-paper { padding: 40px 25px; }
    .menu-header h2 { font-size: 1.5rem; }
    .item-main { flex-direction: column; gap: 2px; }
}

/* Responsive */
@media (max-width: 1024px) {
  .section-story__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .section-story__inner .section-story__media { order: -1; max-width: 700px; margin: 0 auto; width: 100%; }
  
  /* Nasconde immagine famiglia e decorazioni su Tablet e Mobile */
  .intro-image, .vintage-decoration, .img-offset-frame { display: none !important; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  .section-title { font-size: 2rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .section-cta__actions { flex-direction: column; align-items: center; }
  .section-cta__actions .btn { width: 100%; max-width: 350px; }
}

/* ========= STICKY ROOMS NAV (mobile/tablet) ========= */
.rooms-sticky-nav {
  display: none;
}

/* Scroll offset: compensa la navbar sticky superiore */
.room-card {
  scroll-margin-top: 80px;
}

@media (max-width: 900px) {
  .rooms-sticky-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 900;
    background: rgba(18, 22, 14, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transform: translateY(calc(100% + 28px));
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .rooms-sticky-nav.is-visible {
    transform: translateY(0);
  }

  /* Label "Le nostre camere" */
  .rooms-sticky-label {
    text-align: center;
    font-family: var(--font-main);
    font-size: 0.82rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #fff;
    padding: 10px 0 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Riga bottoni */
  .rooms-sticky-buttons {
    display: flex;
  }

  .rooms-sticky-btn {
    flex: 1;
    padding: 13px 6px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
    transition: color 0.2s, background 0.2s, transform 0.12s, box-shadow 0.12s;
    will-change: transform;
  }
  .rooms-sticky-btn:last-child {
    border-right: none;
  }

  /* Camera attiva nell'intersectionObserver */
  .rooms-sticky-btn.active {
    color: #F5C842;
    background: rgba(245, 200, 66, 0.10);
  }

  /* Effetto push tattile */
  .rooms-sticky-btn:hover {
    color: #F5C842;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(2px);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.22);
  }
  .rooms-sticky-btn:active {
    transform: translateY(3px);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.04);
  }
}
/* === LAYOUT ORIZZONTALE CAMERE === */
.room-card-horizontal {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid #e8e8e8;
    transition: box-shadow 0.4s;
}
.room-card-horizontal:hover {
    box-shadow: 0 16px 50px rgba(0,0,0,0.13);
}
.room-horizontal-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    min-height: 420px;
}

/* ── Colonna sinistra ── */
.room-horizontal-info {
    flex: 1;
    min-width: 280px;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
}
.room-horizontal-name {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}
.room-horizontal-desc {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 1.05rem;
    /* niente flex-grow: evita il gap enorme tra testo e amenities */
}
.room-horizontal-actions {
    margin-top: auto;   /* spinge il bottone a filo fondo foto */
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* ── Colonna destra (foto + thumbs overlay) ── */
.room-horizontal-gallery {
    flex: 1.2;
    min-width: 300px;
    height: 420px;      /* altezza fissa → card rettangolare */
    position: relative;
    background: #111;
}
.room-gallery-classic {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Immagine principale */
.room-gallery-classic .room-swiper-main {
    width: 100%;
    height: 100%;
}
.room-gallery-classic .room-swiper-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Chevron bianchi sovrapposti */
.room-swiper-main .swiper-button-prev,
.room-swiper-main .swiper-button-next {
    color: #ffffff !important;
    background: rgba(0,0,0,0.4) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 100;
    cursor: pointer;
    pointer-events: auto;
}
.room-swiper-main .swiper-button-prev:hover,
.room-swiper-main .swiper-button-next:hover {
    background: rgba(0,0,0,0.75) !important;
}
.room-swiper-main .swiper-button-prev::after,
.room-swiper-main .swiper-button-next::after {
    font-size: 1.1rem !important;
    font-weight: 900;
    color: #ffffff !important;
}

/* Striscia thumbnail in overlay sul fondo della foto */
.room-swiper-thumbs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 28px 14px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    border-top: none;
}
.room-swiper-thumbs .swiper-slide {
    width: 72px !important;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.3s, border-color 0.3s;
    border: 2px solid transparent;
    flex-shrink: 0;
}
.room-swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary);
}
.room-swiper-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Pagine legali (Privacy / Cookie Policy) ── */
.legal-page-header {
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}
.legal-page-header h1 {
    font-family: 'Inter', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-dark);
}
@media (max-width: 768px) {
    .legal-page-header { padding: 40px 20px 28px; }
    .legal-page-header h1 { font-size: 1.8rem; }
}

/* ── Mobile ── */
@media (max-width: 900px) {
    .room-horizontal-inner {
        flex-direction: column-reverse;
        min-height: unset;
    }
    .room-horizontal-gallery {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .room-gallery-classic {
        height: 100%;
    }
    .room-horizontal-info {
        padding: 28px 20px;
    }
    .room-horizontal-name {
        font-size: 1.7rem;
    }
    .room-horizontal-actions {
        margin-top: 24px;
    }
    .room-swiper-thumbs .swiper-slide {
        width: 56px !important;
        height: 40px;
    }
}









