@font-face {
    font-family: 'Baloo 2';
    src: url('font-baloo2/baloo2-variablefont-wght.ttf') format('truetype');
    font-weight: 400 800;
    font-display: swap;
}

/* ═══════════════════════════════════════════
   BACKGROUND — FIX BUG #1: rimosso conflitto
   html,body in un unico blocco coerente
═══════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-primary: #5b3a29;
    --text-muted: #50281499;
    --text-secondary: #5a4a3a;
    --border-subtle: rgba(139, 53, 32, .08);
    --border-card: rgba(139, 53, 32, .1);
    --topbar-h: 0;
    --nav-h: 72px;
    --header-h: var(--nav-h);
}

/* ═══════════════════════════════════════════
   BREAKPOINT — GUIDA DISPOSITIVI (max-width)
   ─────────────────────────────────────────────
   > 1200px   Desktop
   ≤ 1200px   Laptop / iPad Pro orizzontale (~1024px)
   ≤ 960px    Tablet (iPad portrait, ~768–1024px)
   ≤ 860px    Tablet sottile / phablet landscape
   ≤ 768px    iPad mini, iPhone Plus/Max orizzontale
   ≤ 640px    Smartphone grande (iPhone 14/15, Galaxy ~390–430px)
   ≤ 560px    Smartphone medio
   ≤ 480px    Smartphone standard (iPhone SE 2/3, ~375px)
   ≤ 400px    Smartphone compatto (iPhone SE 1, ~320px)
═══════════════════════════════════════════ */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: var(--header-h);
    font-size: 100%;
}

/* ── Utilities ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 18px;
    background: #641811;
    color: #fff;
    font-family: 'Baloo 2', sans-serif;
    font-size: 0.875em;
    text-decoration: none;
    border-radius: 6px;
}

.skip-link:focus {
    top: 12px;
}

:focus-visible {
    outline: 2px solid #641811;
    outline-offset: 2px;
}

body {
    background: #ffffff;
    color: #5b3a29;
    font-family: 'Baloo 2', sans-serif;
    font-size: 1em;
    font-weight: 400;
    overflow-x: hidden;
}

/* Base testo: leggermente più grande sotto 768px (tablet / telefono grande) */
@media (max-width: 768px) {
    html {
        font-size: 106.25%;
    }
}

/* Smartphone standard (~375px, iPhone SE 2/3, iPhone 13 mini) */
@media (max-width: 480px) {
    html {
        font-size: 118.75%;
    }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(0, 0, 0, 0.18);
    z-index: 4000;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.scroll-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #8B3520, #e6b880);
    transition: width 0.1s linear;
    box-shadow: 0 0 6px rgba(139, 53, 32, 0.35);
}

/* ═══════════════════════════════════════════
   HERO SLIDESHOW
   FIX BUG #3: rimossi i blocchi duplicati
   (#hero, .hero-grad, .hero-vig, .hero-content
   erano definiti una seconda volta qui sotto —
   ora esistono solo nella sezione HERO)
═══════════════════════════════════════════ */

/* FIX BUG #6: .hero-slide.active viene prima di .prev — ordine logico corretto */
.hero-slide.active {
    opacity: 1;
}

.hero-slide.prev {
    opacity: 0;
    transition: opacity 800ms cubic-bezier(.4, 0, .2, 1);
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
#nav {
    border-bottom: 1px solid transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 44px;


}

#nav.scrolled {
    background: #ffffff;
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .16);
    border-bottom-color: rgba(139, 53, 32, .12);
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    z-index: 2;
    justify-self: start;
    margin-left: 18px;
    transition: transform .25s ease, opacity .25s ease;
}

.nav-logo img {
    width: 118px;
    height: auto;
    display: block;
}

.nav-logo:hover {
    transform: translateY(-1px);
    opacity: .96;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0 18px;
    height: 42px;
    font-family: 'Baloo 2', sans-serif;
    font-size: 0.9375em;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #ffffff;
    text-align: right;
    text-decoration: none;
    transition: color .25s, background .25s, transform .25s, box-shadow .25s, border-color .25s;
    white-space: nowrap;
    position: relative;
    border-radius: 999px;
    border: 1px solid transparent;
}

#nav.scrolled .nav-link {
    color: #A0412A;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
    transform: translateY(-1px);
}

#nav.scrolled .nav-link:hover {
    background: rgba(139, 53, 32, .08);
    border-color: rgba(139, 53, 32, .12);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    cursor: pointer;
    justify-self: end;
    padding: 14px 13px;
    margin-right: -10px;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.burger:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .14);
}

.burger span {
    display: block;
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, .85);
    transition: all .3s;
}

#nav.scrolled .burger span,
#mob.open ~ #nav .burger span {
    background: #641811;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 480;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#mob.open ~ #nav {
    background: #ffffff;
    border-bottom-color: rgba(139, 53, 32, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ═══════════════════════════════════════════
   MOBILE MENU
═══════════════════════════════════════════ */
#mob {
    position: fixed;
    z-index: 490;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
}

.mob-item {
    border-bottom: 1px solid rgba(139, 53, 32, .08);
}

.mob-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 16px 0;
    font-family: 'Baloo 2', sans-serif;
    font-size: 1em;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #A0412A;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: color .2s;
}

.mob-row:hover {
    color: #E07A35;
}

.mob-foot {
    flex-shrink: 0;
    margin-top: 40px;
    padding-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(139, 53, 32, .08);
}

.mob-cta {
    display: block;
    text-align: center;
    padding: 14px;
    background: #E07A35;
    color: #fff;
    font-size: 0.9375em;
    letter-spacing: .22em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .25s;
    cursor: pointer;
}

.mob-cta:hover {
    background: #D46A2A;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
    height: 100vh;
    height: 100svh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56vh;
}

.mid-photo {
    margin-top: var(--header-h);
    height: 50vh;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.mid-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* FIX BUG #3: .hero-grad e .hero-vig ora esistono UNA sola volta */
.hero-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 8, 10, 0) 0%, rgba(0, 0, 0, 0.42) 65%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-vig {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-shimmer {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 60%;
    height: 30%;
    background: radial-gradient(ellipse, rgba(139, 53, 32, .07) 0%, transparent 70%);
    animation: shimmer 6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes shimmer {
    from {
        transform: translateX(-20px) scale(1);
    }

    to {
        transform: translateX(20px) scale(1.1);
    }
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 56vh;
    /* evita CLS */
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s cubic-bezier(.4, 0, .2, 1);
    backface-visibility: hidden;
    min-height: inherit;
}

.hero-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

/* FIX BUG #3: .hero-content ora esiste UNA sola volta */
.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 28px 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    text-align: center;
}

.hero-left {
    opacity: 1;
    animation: none;
    text-align: center;
}


.hero-title {
    font-family: 'Baloo 2', sans-serif;
    font-size: clamp(1.625em, 7vw, 2.0625em);
    line-height: 1.3;
    color: #fff;
    margin: 1px 0 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: clamp(0.1em, 2vw, 0.28em);
    max-width: 100%;
    overflow-wrap: anywhere;
}

.hero-subtitle {
    color: #fff;
    font-family: 'Baloo 2', sans-serif;
    font-size: 1em;
    line-height: 1.4;
    letter-spacing: .16em;
    margin: 0 0 1px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* FIX BUG #2: .hero-ctas ora esiste UNA sola volta */
.hero-ctas {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    pointer-events: auto;
    z-index: 4;
}

.hero-ctas a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 28px;
    border-radius: 4px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.95);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 1em;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.hero-ctas a:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    transform: translateY(-2px);
}

.hero-cta {
    background: #641811;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 9px;
    font-family: 'Baloo 2', sans-serif;
    font-size: 0.9375em;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.hero-cta-primary {
    background: #fcfaf8;
    color: #641811;
    border: 1px solid rgba(100, 24, 17, .14);
}

.hero-cta-ghost {
    background: #fcfaf8;
    color: #641811;
    border: 1px solid rgba(100, 24, 17, .14);
}

.hero-cta:hover {
    transform: translateY(-1px);
}

.hero-eyebrow {
    font-size: 0.9375em;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    display: block;
    font-weight: 600;
}

.hero-scroll {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: hFade .7s ease 1.6s forwards;
}

.hs-line {
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, .15);
    overflow: hidden;
    position: relative;
}

.hs-line::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 100%;
    background: #E07A35;
    animation: hsSc 2s ease infinite;
}

@keyframes hsSc {
    to {
        top: 200%;
    }
}

.hs-txt {
    font-size: 0.75em;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgb(255, 162, 0);
    text-align: center;
}

@keyframes hFade {
    to {
        opacity: 1;
    }
}

/* ═══════════════════════════════════════════
   INTRO SECTION
═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   INSTAGRAM BANNER
═══════════════════════════════════════════ */
.insta-banner {
    height: 50px;
    background: #641811;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 0 52px;
}

.insta-banner-txt {
    font-size: 0.9375em;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #f2e0c0;
    white-space: nowrap;
}

.insta-banner-btn {
    border-radius: 10px;
    font-family: 'Baloo 2', sans-serif;
    font-size: 0.9375em;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #f2e0c0;
    text-decoration: none;
    border: 1px solid #ffa2004d;
    padding: 10px 24px;
    transition: background .25s, border-color .25s;
    white-space: nowrap;
    flex-shrink: 0;
}

.insta-banner-btn:hover {
    background: rgba(242, 224, 192, .1);
    border-color: rgba(242, 224, 192, .6);
}

/* ═══════════════════════════════════════════
   DOVE SIAMO SECTION
═══════════════════════════════════════════ */
.dove-siamo-section {
    padding: 60px 20px;
    background: #fff;
}

.dove-siamo-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.dove-siamo-title {
    font-family: 'Baloo 2', sans-serif;
    font-size: 1.75em;
    color: #641811;
    margin-bottom: 12px;
    font-weight: 500;
}

.dove-siamo-intro {
    font-size: 0.9375em;
    line-height: 1.65;
    color: #444;
    margin-bottom: 32px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.dove-siamo-map {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 32px;
    border-radius: 8px;
    overflow: hidden;
}

.dove-siamo-map img {
    width: 100%;
    height: auto;
    display: block;
}

.dove-siamo-info {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    text-align: center;
}

.dove-siamo-info li {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 0.9375em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8B3520;
    font-weight: 600;
}

.info-value {
    font-size: 0.875em;
    color: #222;
    text-decoration: none;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

a.info-value:hover {
    color: #E07A35;
}

.info-value--plain {
    font-style: normal;
}

@media (max-width: 640px) {
    .dove-siamo-section {
        padding: 48px 16px;
    }

    .dove-siamo-title {
        font-size: 1.5em;
    }

    .dove-siamo-intro {
        font-size: 0.875em;
        margin-bottom: 24px;
    }

    .dove-siamo-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ═══════════════════════════════════════════
   TOAST
═══════════════════════════════════════════ */
#toast {
    position: fixed;
    bottom: 92px;
    right: 28px;
    z-index: 9999;
    background: #7B2D1E;
    color: rgba(242, 224, 192, .96);
    padding: 12px 22px;
    font-size: 1em;
    letter-spacing: .06em;
    transform: translateY(80px);
    opacity: 0;
    transition: all .38s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none;
    border: 1px solid rgba(242, 224, 192, .18);
    box-shadow: 0 10px 34px rgba(0, 0, 0, .22);
}

#toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.rv {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .85s cubic-bezier(.22, .6, .36, 1), transform .85s cubic-bezier(.22, .6, .36, 1);
}

.rv.in {
    opacity: 1;
    transform: translateY(0);
}

.rv-up {
    transform: translateY(40px);
}

.rv-up.in {
    transform: translateY(0);
}

.rv-zoom {
    transform: translateY(40px) scale(.92);
}

.rv-zoom.in {
    transform: translateY(0) scale(1);
}

.rv-d1 {
    transition-delay: .1s;
}

.rv-d2 {
    transition-delay: .2s;
}

.rv-d3 {
    transition-delay: .3s;
}

.rv-d4 {
    transition-delay: .4s;
}

.rv-d5 {
    transition-delay: .5s;
}

.rv-d6 {
    transition-delay: .6s;
}

.rv-d7 {
    transition-delay: .7s;
}

.rv-d8 {
    transition-delay: .8s;
}

.rv-d9 {
    transition-delay: .9s;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .rv,
    .rv-up,
    .rv-zoom {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-shimmer,
    .fab-wa::before {
        animation: none;
    }

    .scroll-progress span,
    .hero-slide.prev,
    .atmo-photo-img,
    .nav-logo,
    .nav-link,
    .hero-cta,
    .gallery__dot {
        transition: none;
    }
}

/* ═══════════════════════════════════════════
   FOOTER — minimal
═══════════════════════════════════════════ */
.footer {
    background: #641811;
    border-top: 1px solid rgba(230, 184, 128, 0.1);
}

.footer-inner {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(22px, 3.5vw, 32px) clamp(16px, 4vw, 28px) clamp(14px, 2.5vw, 20px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2.5vw, 24px);
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-col--brand {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
}

.footer-logo {
    width: 68px;
    height: auto;
    display: block;
    opacity: 0.88;
}

.footer-tagline {
    display: none;
}

.footer-socials {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
}

.footer-social-link {
    width: auto;
    height: auto;
    padding: 2px;
    border: none;
    border-radius: 0;
    color: rgba(247, 240, 228, 0.45);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.footer-social-link:hover {
    color: #e6b880;
    background: none;
    transform: none;
}

.footer-social-link svg {
    width: 15px;
    height: 15px;
}

.footer-heading {
    font-family: 'Baloo 2', sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(230, 184, 128, 0.75);
    margin: 0 0 2px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-list li,
.footer-list address {
    font-size: 0.78rem;
    font-weight: 400;
    font-style: normal;
    color: rgba(247, 240, 228, 0.48);
    line-height: 1.4;
}

.footer-list strong {
    color: rgba(247, 240, 228, 0.72);
    font-weight: 500;
}

.footer-list a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-list a:hover {
    color: rgba(230, 184, 128, 0.9);
}

.footer-bottom {
    border-top: 1px solid rgba(247, 240, 228, 0.06);
}

.footer-bottom p {
    max-width: 920px;
    margin: 0 auto;
    padding: 10px 16px 14px;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    color: rgba(247, 240, 228, 0.28);
    text-align: center;
}

@media (max-width: 860px) {
    .footer-col--brand {
        margin-bottom: 2px;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        gap: 12px 10px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .footer-logo {
        width: 56px;
    }

    .footer-col:not(.footer-col--brand) {
        align-items: flex-start;
        text-align: left;
    }

    .footer-heading {
        font-size: 0.625rem;
        letter-spacing: 0.1em;
    }

    .footer-list li,
    .footer-list address {
        font-size: 0.72rem;
    }

    .footer-bottom p {
        font-size: 0.625rem;
        line-height: 1.45;
        padding: 8px 12px 12px;
    }
}

/* ═══════════════════════════════════════════
   FAB GROUP (telefono · email · whatsapp)
═══════════════════════════════════════════ */
.fab-group {
    position: fixed;
    bottom: max(28px, env(safe-area-inset-bottom, 0px));
    right: max(24px, env(safe-area-inset-right, 0px));
    z-index: 9000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fab-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #2b0000;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    z-index: 1;
}

.fab-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* tooltip a sinistra */
.fab-btn::after {
    content: attr(data-tip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: rgba(20, 20, 20, 0.88);
    color: #fff;
    font-family: 'Baloo 2', sans-serif;
    font-size: 0.9375em;
    font-weight: 500;
    letter-spacing: 0.04em;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fab-btn:hover::after,
.fab-btn:focus-visible::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.fab-btn:hover {
    transform: scale(1.1);
}

/* Telefono — terracotta scuro */
.fab-phone {
background: #c9c9c9;
    box-shadow: 0 4px 14px rgba(100, 24, 17, 0.38);
}
.fab-phone:hover { box-shadow: 0 6px 22px rgba(100, 24, 17, 0.55); }

/* Email — terracotta medio */
.fab-email {
    background: #c9c9c9;
    box-shadow: 0 4px 14px rgba(139, 53, 32, 0.38);
}
.fab-email:hover { box-shadow: 0 6px 22px rgba(139, 53, 32, 0.55); }

/* WhatsApp — arancio brand */
.fab-wa {
    background: #c9c9c9;
    box-shadow: 0 4px 14px rgba(224, 122, 53, 0.38);
}
.fab-wa:hover { box-shadow: 0 6px 22px rgba(224, 122, 53, 0.55); }

/* ═══════════════════════════════════════════
   LOCANDINE
═══════════════════════════════════════════ */
.locandine-section {
    position: relative;
    background-color: #ffffff;
    padding: 60px 24px;
    display: flex;
    justify-content: center;
    overflow-x: auto;
}

.locandine-section::before,
.locandine-section::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 64px;
    pointer-events: none;
    z-index: 1;
}

.locandine-section::before {
    top: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.locandine-section::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.locandine-section p,
.locandine-section h2 {
    text-align: center;
    margin-bottom: 1px;
}

.locandine-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 24px;
    max-width: 900px;
    width: max-content;
    margin: 0 auto;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.locandina-item {
    box-shadow: 10px 20px 40px rgba(0, 0, 0, 0.671);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    cursor: pointer;
    flex: 0 0 320px;
}

.locandina-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.locandina-item img:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .locandine-section {
        overflow-x: hidden;
    }

    .locandine-grid {
        flex-wrap: wrap;
        gap: 12px;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        justify-content: center;
    }

    .locandina-item {
        flex: 1 1 160px;
        max-width: 190px;
        aspect-ratio: 2 / 3;
    }
}

/* ═══════════════════════════════════════════
   LIGHTBOX LOCANDINE
═══════════════════════════════════════════ */
#locLightbox {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgb(31, 30, 30) !important;
    z-index: 9999 !important;
    contain: layout paint !important;
}

#locLightbox[hidden] {
    display: none !important;
}

#locLightbox.open {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#locImg {
    height: 90vh;
    max-width: 90vw;
    object-fit: contain;
    border-radius: 6px;
    opacity: 0;
    transition: opacity .25s ease;
    display: block;
    margin: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media (max-width: 768px) {
    #locImg {
        height: auto;
        width: 92vw;
        max-height: 88vh;
        margin: auto;
    }
}

#locClose {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-size: 1em;
    letter-spacing: .1em;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
}

#locPrev,
#locNext {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    font-size: 3em;
    cursor: pointer;
    padding: 16px;
    line-height: 1;
    opacity: .7;
}

#locPrev {
    left: 16px;
}

#locNext {
    right: 16px;
}

#locCounter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .5);
    font-size: 1em;
    letter-spacing: .1em;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — GLOBAL
   1200 → laptop · 960 → tablet · 768/640/480/400 → smartphone
═══════════════════════════════════════════ */
/* ≤1200px — Laptop, iPad Pro landscape */
@media (max-width: 1200px) {
    #nav {
        padding: 0 18px;
    }

    .nav-link {
        padding: 0 13px;
        font-size: 0.8125em;
        letter-spacing: .15em;
    }

    .hero-content {
        padding: 0 40px 80px;
    }

    .hero-scroll {
        left: 40px;
    }

    .insta-banner {
        gap: 24px;
        padding: 0 32px;
    }

    .insta-banner-txt {
        font-size: 0.875em;
        letter-spacing: .16em;
    }

    .insta-banner-btn {
        font-size: 0.875em;
        padding: 8px 18px;
    }
}

/* ≤960px — Tablet (iPad portrait), navbar mobile */
@media (max-width: 960px) {
    :root {
        --nav-h: 52px;
    }

    #nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: fixed;
        height: var(--nav-h);
        padding: 0 16px;
        grid-template-columns: unset;
        background: rgba(12, 6, 4, 0.55);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    }

    #nav.scrolled,
    #mob.open ~ #nav {
        background: rgba(255, 255, 255, 0.98);
        border-bottom-color: rgba(139, 53, 32, 0.12);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    #nav::before {
        content: '';
        width: 38px;
        height: 38px;
        flex-shrink: 0;
        order: 1;
    }

    .nav-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        justify-self: unset;
        order: 2;
        z-index: 2;
    }

    .nav-logo:hover {
        transform: translate(-50%, -50%);
        opacity: 0.92;
    }

    .nav-logo img {
        width: 72px;
    }

    #nav:not(.scrolled) .nav-logo img {
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
    }

    #nav.scrolled .nav-logo img,
    #mob.open ~ #nav .nav-logo img {
        filter: none;
    }

    .nav-links {
        display: none;
    }

    .burger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        padding: 0;
        margin: 0;
        margin-left: auto;
        order: 3;
        z-index: 3;
        flex-shrink: 0;
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.2);
    }

    #nav.scrolled .burger,
    #mob.open ~ #nav .burger {
        background: rgba(139, 53, 32, 0.08);
        border-color: rgba(139, 53, 32, 0.15);
    }

    #mob {
        visibility: visible;
        inset: 0;
        width: 100%;
        max-width: none;
        min-height: 100dvh;
        padding: calc(var(--header-h) + 16px) 28px 36px;
        background: #ffffff;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: center;
        text-align: center;
        border: none;
        box-shadow: none;
    }

    #mob.open {
        transform: translateY(0);
        pointer-events: all;
    }

    .mob-item {
        width: min(100%, 320px);
        border-bottom-color: rgba(139, 53, 32, 0.1);
    }

    .mob-row {
        justify-content: center;
        padding: 22px 8px;
        font-size: 1em;
        letter-spacing: 0.2em;
    }

    .mob-foot {
        width: min(100%, 320px);
        margin-top: auto;
        padding-top: 28px;
    }

    .mob-cta {
        padding: 16px 12px;
        font-size: 0.9375em;
        letter-spacing: 0.18em;
        border-radius: 8px;
    }

    .hero-content {
        padding: 0 28px 100px;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 0;
        text-align: center;
    }

    .hero-left {
        width: 100%;
        text-align: center;
    }

    .hero-eyebrow {
        justify-content: center;
        font-size: 0.8125em;
        margin-bottom: 14px;
    }

    .hero-eyebrow::before {
        display: none;
    }

    .hero-scroll {
        left: 50%;
        transform: translateX(-50%);
        bottom: 72px;
    }

    .hero-ctas {
        position: static;
        transform: none;
        left: auto;
        top: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: min(100%, 320px);
        max-width: 320px;
        gap: 8px;
        margin: 14px auto 0;
    }

    .hero-ctas a {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 16px;
        font-size: 0.875em;
        letter-spacing: .14em;
    }

    .insta-banner {
        flex-direction: column;
        height: auto;
        min-height: 50px;
        padding: 16px 20px;
        gap: 10px;
        text-align: center;
    }

    .insta-banner-txt {
        white-space: normal;
        line-height: 1.5;
    }
}

/* ≤768px — iPad mini, iPhone landscape */
@media (max-width: 768px) {
    .nav-logo img {
        width: 66px;
    }

    .hero-ctas {
        width: min(100%, 300px);
        max-width: 300px;
        gap: 7px;
        margin: 12px auto 0;
    }

    .hero-ctas a {
        padding: 9px 14px;
        font-size: 0.8125em;
        letter-spacing: .13em;
    }
}

/* ≤640px — Smartphone grande (iPhone 14/15, Galaxy ~390–430px) */
@media (max-width: 640px) {
    #nav {
        padding: 0 14px;
    }

    #mob {
        padding: calc(var(--header-h) + 12px) 20px 28px;
    }

    .hero-content {
        padding: 0 18px 90px;
    }

    .hero-title {
        font-size: 1.875em;
        letter-spacing: .14em;
    }

    .hero-subtitle {
        font-size: 0.875em;
        letter-spacing: .09em;
    }

    .hero-ctas {
        width: min(100%, 260px);
        max-width: 260px;
    }

    .hero-eyebrow {
        font-size: 0.8125em;
        margin-bottom: 12px;
    }

    .hero-scroll {
        bottom: 60px;
    }

    .eyebrow {
        font-size: 0.8125em;
        margin-bottom: 12px;
    }

    .mid-photo {
        height: 40vh;
        min-height: 220px;
    }

    .insta-banner {
        flex-direction: column;
        height: auto;
        padding: 20px 16px;
        gap: 10px;
        text-align: center;
    }

    .insta-banner-txt {
        font-size: 0.8125em;
        letter-spacing: .14em;
        white-space: normal;
    }

    .insta-banner-btn {
        font-size: 0.8125em;
        letter-spacing: .14em;
        padding: 7px 16px;
    }

    .fab-group {
        bottom: 16px;
        right: 14px;
        gap: 6px;
    }

    .fab-btn {
        width: 46px;
        height: 46px;
        padding: 0;
    }

    .fab-btn svg {
        width: 20px;
        height: 20px;
    }

    #toast {
        bottom: 80px;
        right: 20px;
        max-width: calc(100vw - 40px);
    }
}

/* ≤560px — Smartphone medio, navbar più bassa */
@media (max-width: 560px) {
    :root {
        --nav-h: 48px;
    }

    #nav {
        padding: 0 12px;
    }

    .nav-logo img {
        width: 60px;
    }
}

/* ≤480px — Smartphone standard (~375px, iPhone SE 2/3) */
@media (max-width: 480px) {
    #mob {
        padding: calc(var(--header-h) + 10px) 16px 24px;
    }

    .mob-row {
        font-size: 0.875em;
        letter-spacing: .18em;
    }

}

/* ≤400px — Smartphone compatto (~320px, iPhone SE 1) */
@media (max-width: 400px) {
    .hero-content {
        padding: 0 14px 80px;
    }

    .hero-title {
        font-size: 1.625em;
        letter-spacing: .12em;
    }

    .hero-subtitle {
        font-size: 1em;
        letter-spacing: .08em;
    }

    .hero-ctas a {
        padding: 9px 12px;
        font-size: 0.8125em;
    }
}


/* ══ ATMOSPHERE SECTION ══ */
.atmo-section {
    background: #fcfaf8;
    overflow: hidden;
}

/* ── blocco testo sopra ── */
.atmo-text-block {
    max-width: 600px;
    margin: 0 auto;
    padding: clamp(64px, 9vw, 100px) clamp(20px, 5vw, 40px) clamp(44px, 6vw, 60px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.atmo-eyebrow {
    font-family: 'Baloo 2', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #8B3520;
    margin: 0 0 20px;
}

.atmo-title {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-size: 1.75em;
    font-weight: 400;
    font-style: normal;
    line-height: 1.05;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 0.01em;
}

.atmo-rule {
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #641811, transparent);
    margin: 28px auto 26px;
}

.atmo-body {
    font-family: 'Baloo 2', sans-serif;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    font-weight: 400;
    line-height: 1.85;
    color: #444;
    margin: 0 0 14px;
}

.atmo-tagline {
    font-family: 'Baloo 2', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #8B3520;
    letter-spacing: 0.06em;
    margin: 0;
}

/* ── foto sotto ── */
.atmo-photo-wrap {
    width: min(900px, 90%);
    margin: 0 auto clamp(56px, 8vw, 88px);
    overflow: hidden;
    border-radius: 4px;
    box-shadow:
        0 2px 6px rgba(100, 24, 17, 0.06),
        0 24px 60px rgba(0, 0, 0, 0.10);
    position: relative;
}

.atmo-photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(100, 24, 17, 0.08);
    border-radius: 4px;
    pointer-events: none;
}

.atmo-photo-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center 38%;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.atmo-photo-wrap:hover .atmo-photo-img {
    transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
    .atmo-photo-img { transition: none; }
}

@media (max-width: 960px) {
    .atmo-photo-wrap {
        width: 94%;
    }
}

@media (max-width: 768px) {
    .atmo-text-block {
        padding: 52px 20px 36px;
    }

    .atmo-photo-wrap {
        width: 96%;
        margin-bottom: 48px;
        border-radius: 3px;
    }

    .atmo-photo-img {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .atmo-text-block {
        padding: 44px 16px 30px;
    }

    .atmo-title {
        font-size: 2.4rem;
    }

    .atmo-rule {
        margin: 22px auto 20px;
    }

    .atmo-photo-wrap {
        width: 100%;
        border-radius: 0;
        margin-bottom: 0;
    }

    .atmo-photo-wrap::after {
        display: none;
    }

    .atmo-photo-img {
        aspect-ratio: 3 / 2;
    }
}

.gallery {
    width: 100%;
    max-width: 1180px;
    margin: 2.5rem auto;
    padding: 0 clamp(16px, 3vw, 32px);
    box-sizing: border-box;
}

.gallery__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(1rem, 2.5vw, 1.5rem);
}

.gallery__eyebrow {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #8B3520;
    margin: 0 0 10px;
}

.gallery__title {
    font-size: clamp(1.1rem, 2.6vw, 1.4rem);
    font-weight: 600;
    color: #641811;
    margin: 0;
    line-height: 1.2;
}

.gallery__rule {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #641811, transparent);
    margin: 14px auto 0;
}

.gallery__stage {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #2a1810;
    aspect-ratio: 16 / 9;
    width: 100%;
    min-height: clamp(240px, 52vw, 620px);
    box-shadow:
        0 20px 50px rgba(74, 18, 9, 0.12),
        0 3px 12px rgba(16, 16, 16, 0.06);
}

.gallery__slides {
    position: absolute;
    inset: 0;
}

.gallery__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.65s ease, transform 0.85s ease;
}

.gallery__img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.gallery__shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(16, 8, 4, 0.28) 0%,
        transparent 26%,
        transparent 74%,
        rgba(16, 8, 4, 0.38) 100%
    );
}

.gallery__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    height: 3px;
    background: rgba(255, 255, 255, 0.18);
}

.gallery__progress-bar {
    height: 100%;
    width: 16.666%;
    background: linear-gradient(90deg, #8B3520, #e07a35);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: clamp(38px, 4.5vw, 44px);
    height: clamp(38px, 4.5vw, 44px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.gallery__nav svg {
    width: 20px;
    height: 20px;
}

.gallery__nav--prev {
    left: clamp(12px, 2vw, 20px);
}

.gallery__nav--next {
    right: clamp(12px, 2vw, 20px);
}

.gallery__nav:hover {
    background: rgba(139, 53, 32, 0.75);
    border-color: rgba(255, 255, 255, 0.4);
}

.gallery__nav:active {
    transform: translateY(-50%) scale(0.94);
}

.gallery__footer {
    padding-top: clamp(12px, 2vw, 16px);
}

.gallery__controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery__dots {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 9px 18px;
    background: rgba(252, 222, 189, 0.35);
    border: 1px solid rgba(139, 53, 32, 0.12);
    border-radius: 999px;
}

.gallery__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(100, 24, 17, 0.22);
    cursor: pointer;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease;
    flex-shrink: 0;
    border: none;
    padding: 0;
}

.gallery__dot:hover {
    background: rgba(139, 53, 32, 0.45);
}

.gallery__dot.active {
    width: 26px;
    background: linear-gradient(90deg, #641811, #8B3520);
}

.gallery__caption {
    text-align: center;
    font-size: clamp(0.75rem, 1.8vw, 0.85rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #7a5c4a;
    margin: 12px auto 0;
    max-width: 42ch;
    line-height: 1.5;
    min-height: 1.5em;
}

@media (prefers-reduced-motion: reduce) {
    .gallery__img,
    .gallery__progress-bar,
    .gallery__dot,
    .gallery__nav {
        transition: none;
    }

    .gallery__img {
        transform: none;
    }
}

/* ══ SERVIZI — riga orizzontale ══ */
.srv-section {
    background: transparent;
    border-top: 1px solid var(--border-subtle, #e8e0d8);
    border-bottom: 1px solid var(--border-subtle, #e8e0d8);
    padding: clamp(12px, 2vw, 20px) clamp(8px, 2vw, 20px);
}

.srv-grid {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.srv-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0.45rem clamp(0.45rem, 1.1vw, 0.75rem);
    text-align: center;
    position: relative;
    transition: background .2s;
    flex: 0 0 auto;
    min-width: 64px;
}

/* divisore verticale tra item */
.srv-item + .srv-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--border-subtle, #e0dbd4);
}

.srv-item:hover {
    background: rgba(139, 90, 43, .04);
}

.srv-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-card, #d6cfc6);
    border-radius: 50%;
    transition: border-color .2s, background .2s;
}

.srv-item:hover .srv-icon {
    border-color: #8b5a2b;
    background: rgba(139, 90, 43, .06);
}

.srv-icon svg {
    width: 13px;
    height: 13px;
    stroke: var(--text-secondary, #5a4a3a);
    fill: none;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .2s;
}

.srv-item:hover .srv-icon svg {
    stroke: #8b5a2b;
}

.srv-label {
    font-size: 0.625em;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--text-secondary, #5a4a3a);
    font-weight: 600;
    line-height: 1.25;
}

/* ══ RESPONSIVE — GALLERY ══ */
/* ≤768px — Tablet / telefono grande */
@media (max-width: 768px) {
    .gallery {
        margin: 2rem auto;
        padding: 0 16px;
    }

    .gallery__stage {
        border-radius: 12px;
        aspect-ratio: 4 / 3;
        min-height: clamp(220px, 65vw, 420px);
    }

    .gallery__nav {
        width: 36px;
        height: 36px;
    }

    .gallery__nav svg {
        width: 17px;
        height: 17px;
    }

    .gallery__dots {
        gap: 6px;
        padding: 8px 14px;
    }

    .gallery__dot {
        width: 6px;
        height: 6px;
    }

    .gallery__dot.active {
        width: 20px;
    }

    .gallery__caption {
        font-size: 1em;
    }
}

/* ≤480px — Smartphone standard (~375px) */
@media (max-width: 480px) {
    .gallery {
        padding: 0 12px;
        margin: 1.25rem auto;
    }

    .gallery__stage {
        border-radius: 10px;
    }

    .gallery__nav--prev {
        left: 8px;
    }

    .gallery__nav--next {
        right: 8px;
    }

    .gallery__dots {
        gap: 5px;
    }

    .gallery__caption {
        font-size: 0.9375em;
        margin-top: 8px;
    }
}

/* ══ RESPONSIVE — SERVIZI ══ */
/* ≤640px — Smartphone grande, griglia 3×3 compatta */
@media (max-width: 640px) {
    .srv-section {
        padding: 16px 8px;
    }

    .srv-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        justify-items: center;
        align-items: start;
    }

    /* rimuove il divisore verticale nel grid */
    .srv-item + .srv-item::before {
        display: none;
    }

    /* linea sotto ogni riga (tranne le ultime 3) */
    .srv-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 16%;
        right: 16%;
        height: 1px;
        background: var(--border-subtle, #e0dbd4);
    }

    .srv-item:nth-last-child(-n+3)::after {
        display: none;
    }

    /* linea verticale destra su ogni riga, tranne 3°, 6°, 9° */
    .srv-item::before {
        content: '';
        position: absolute;
        right: 0;
        top: 18%;
        bottom: 18%;
        width: 1px;
        background: var(--border-subtle, #e0dbd4);
        display: block;
        left: auto;
        height: auto;
    }

    .srv-item:nth-child(3n)::before {
        display: none;
    }

    .srv-item {
        width: 100%;
        padding: 0.55rem 0.2rem;
        gap: 4px;
        min-width: 0;
    }

    .srv-icon {
        width: 26px;
        height: 26px;
        min-width: 26px;
        min-height: 26px;
    }

    .srv-icon svg {
        width: 12px;
        height: 12px;
    }

    .srv-label {
        font-size: 0.59375em;
        letter-spacing: .05em;
        line-height: 1.22;
    }
}

/* ≤480px — Smartphone standard, stessa scala compatta */
@media (max-width: 480px) {
    .srv-section {
        padding: 14px 6px;
    }

    .srv-item {
        padding: 0.5rem 0.15rem;
    }

    .srv-label {
        font-size: 0.5625em;
        letter-spacing: .04em;
        line-height: 1.2;
    }
}

/* ══ PERFORMANCE — rendering lazy sezioni sotto la piega ══ */
.atmo-section,
.locandine-section,
.gallery,
.srv-section,
.dove-siamo-section,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}