/* =====================================================================
   Il Tuo Posto — stylesheet principale
   Palette: lilla polvere · salvia chiaro · beige caldo · panna · tortora
   ===================================================================== */

:root {
    --cream:        #FAF6F0;
    --cream-soft:   #FDFBF7;
    --beige:        #E7DBC9;
    --beige-deep:   #DCCDB6;
    --lilac:        #C7B7D8;
    --lilac-deep:   #A98FC4;
    --lilac-ink:    #6E5A86;
    --sage:         #BFD0BA;
    --sage-deep:    #9DB596;
    --sage-ink:     #5E7355;
    --taupe:        #8A7F77;
    --taupe-deep:   #6A615A;
    --ink:          #463F3A;
    --ink-soft:     #5C544E;
    --white:        #ffffff;

    --shadow-sm: 0 2px 10px rgba(70, 63, 58, .06);
    --shadow-md: 0 12px 35px rgba(70, 63, 58, .10);
    --shadow-lg: 0 25px 60px rgba(70, 63, 58, .16);

    --radius-sm: 12px;
    --radius:    20px;
    --radius-lg: 32px;

    --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-sans:  'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --container: 1180px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    font-weight: 400;
    font-size: 1.02rem;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul { list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -.01em;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Bottoni ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .95rem 1.9rem; border-radius: 999px;
    font-family: var(--font-sans); font-weight: 600; font-size: .98rem;
    letter-spacing: .01em; cursor: pointer; border: 1.5px solid transparent;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
    text-align: center;
}
.btn--primary { background: var(--lilac-deep); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--lilac-ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--taupe); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.btn--sage { background: var(--sage-ink); color: #fff; }
.btn--sage:hover { background: #4c5e45; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--beige); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250, 246, 240, .82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(138, 127, 119, .14);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header { -webkit-backdrop-filter: blur(12px); }
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(250, 246, 240, .95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }

.brand { display: flex; align-items: center; gap: .4rem; line-height: 1; color: var(--ink); }
.brand-logo { display: block; color: inherit; }
.brand-logo svg { height: 38px; width: auto; display: block; }
.brand--footer { color: var(--cream); }
.brand--footer .brand-logo svg { height: 46px; }

.main-nav ul { display: flex; align-items: center; gap: .35rem; }
.main-nav a {
    display: inline-block; padding: .55rem .9rem; border-radius: 999px;
    font-weight: 500; font-size: .95rem; color: var(--ink-soft);
}
.main-nav a:hover { color: var(--lilac-ink); }
.main-nav a.is-active { color: var(--lilac-ink); background: rgba(199, 183, 216, .25); }
.nav-cta a { background: var(--sage-ink); color: #fff !important; padding: .6rem 1.2rem; }
.nav-cta a:hover { background: #4c5e45; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 88vh; display: flex; align-items: flex-end;
    color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(70,63,58,.15) 0%, rgba(70,63,58,.1) 40%, rgba(70,63,58,.72) 100%);
}
.hero__inner { padding: 0 0 6vh; max-width: 760px; }
.hero__kicker { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 600; opacity: .92; margin-bottom: 1.2rem; }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 500; color: #fff; line-height: 1.05; margin-bottom: 1.3rem; text-wrap: balance; }
.hero__text { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 580px; opacity: .96; margin-bottom: 2.2rem; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero--inner { min-height: 52vh; }
.hero--inner .hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* Hero senza immagine: sfondo elegante a tinta del brand (nessun placeholder) */
.hero--plain { background: linear-gradient(150deg, var(--lilac) 0%, var(--lilac-deep) 55%, var(--lilac-ink) 100%); }
.hero--plain::after { background: linear-gradient(180deg, rgba(70,63,58,0) 0%, rgba(70,63,58,.12) 100%); }
.hero--plain.hero--inner { min-height: 42vh; }

/* ---------- Sezioni ---------- */
section { position: relative; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--cream { background: var(--cream); }
.section--soft  { background: var(--cream-soft); }
.section--beige { background: var(--beige); }
.section--lilac { background: linear-gradient(160deg, #EFE8F2 0%, #E9E0EE 100%); }
.section--sage  { background: linear-gradient(160deg, #E6EDE3 0%, #DCE7D8 100%); }

.section-head { max-width: 680px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-block; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .2em; font-size: .76rem; font-weight: 700; color: var(--lilac-deep); margin-bottom: 1rem; }
.section--sage .eyebrow { color: var(--sage-ink); }
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1rem; text-wrap: balance; }
.section-lead { font-size: 1.12rem; color: var(--ink-soft); font-weight: 300; }

.lead { font-size: 1.18rem; color: var(--ink-soft); font-weight: 300; }
.prose p { margin-bottom: 1.2rem; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Home: intro split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split__body h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1.2rem; }

/* ---------- Griglia foto / mosaico ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.mosaic figure { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic figure:nth-child(4n+1) { grid-column: span 2; grid-row: span 2; }
.mosaic figcaption {
    position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.2rem .9rem; color: #fff;
    font-size: .92rem; background: linear-gradient(transparent, rgba(70,63,58,.65));
    opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.mosaic figure:hover figcaption { opacity: 1; transform: none; }

/* ---------- Card generiche ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--beige); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.6rem 1.5rem 1.8rem; }
.card__body h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.card__body p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Blocchi testo (Il tuo posto / Collabora) ---------- */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
    background: var(--cream-soft); border: 1px solid rgba(138,127,119,.12);
    border-radius: var(--radius); padding: 2rem 1.8rem;
}
.feature h3 { font-size: 1.35rem; margin-bottom: .7rem; color: var(--lilac-ink); }
.section--sage .feature h3 { color: var(--sage-ink); }
.feature p { color: var(--ink-soft); font-size: .98rem; }

.story { display: grid; gap: clamp(2rem, 5vw, 3.5rem); max-width: 760px; margin: 0 auto; }
.story__block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .9rem; }
.story__block p { color: var(--ink-soft); font-size: 1.08rem; font-weight: 300; }

/* ---------- Eventi ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.8rem; }
.filter-btn {
    padding: .55rem 1.3rem; border-radius: 999px; border: 1.5px solid rgba(138,127,119,.3);
    background: transparent; color: var(--ink-soft); font-family: var(--font-sans); font-weight: 600;
    font-size: .9rem; cursor: pointer; transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--lilac-deep); color: var(--lilac-ink); }
.filter-btn.active { background: var(--lilac-deep); border-color: var(--lilac-deep); color: #fff; }

.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.event-card {
    display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); overflow: hidden; cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.event-card:focus-visible { outline: 3px solid var(--lilac-deep); outline-offset: 2px; }
.event-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--beige); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.event-card:hover .event-card__media img { transform: scale(1.05); }
.event-card__media--plain { background: linear-gradient(155deg, var(--lilac) 0%, var(--lilac-deep) 100%); aspect-ratio: 16/7; }
.event-card__badge {
    position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.94);
    color: var(--lilac-ink); border-radius: 14px; padding: .5rem .7rem; text-align: center;
    box-shadow: var(--shadow-sm); line-height: 1; min-width: 54px;
}
.event-card__badge .day { display: block; font-family: var(--font-serif); font-size: 1.5rem; }
.event-card__badge .mon { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; font-weight: 700; margin-top: .2rem; }
.event-card__body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.event-card__cat { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--sage-ink); margin-bottom: .4rem; }
.event-card__body h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.event-card__time { font-size: .85rem; color: var(--taupe); margin-bottom: .5rem; }
.event-card__desc { color: var(--ink-soft); font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.event-card__price { margin-top: .7rem; font-weight: 700; color: var(--lilac-ink); font-size: .95rem; }
.event-card__actions { display: flex; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.btn--sm { padding: .55rem 1.1rem; font-size: .88rem; }
.empty-state { text-align: center; color: var(--taupe); padding: 3rem 0; font-size: 1.05rem; }

/* ---------- Modale evento ---------- */
.modal-lock { overflow: hidden; }
.evt-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.evt-modal.open { display: block; }
.evt-modal__backdrop { position: absolute; inset: 0; background: rgba(46,42,40,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fade .25s var(--ease); }
.evt-modal__panel {
    position: relative; max-width: 560px; width: calc(100% - 2rem); max-height: 90vh; overflow-y: auto;
    margin: 5vh auto; background: var(--cream-soft); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); animation: pop .3s var(--ease);
}
.evt-modal__close {
    position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer;
    box-shadow: var(--shadow-sm); transition: background .2s;
}
.evt-modal__close:hover { background: #fff; }
.evt-modal__media { aspect-ratio: 16/10; overflow: hidden; background: var(--beige); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.evt-modal__media img { width: 100%; height: 100%; object-fit: cover; }
.evt-modal__content { padding: clamp(1.4rem, 4vw, 2.2rem); }
.evt-modal__content h3 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: .6rem; }
.evt-modal__meta { color: var(--taupe); font-size: .95rem; margin-bottom: .5rem; }
.evt-modal__price { font-weight: 700; color: var(--lilac-ink); font-size: 1.05rem; margin-bottom: 1rem; }
.evt-modal__desc { color: var(--ink-soft); margin-bottom: 1.6rem; }
.evt-reg { border-top: 1px solid rgba(138,127,119,.18); padding-top: 1.4rem; }
.evt-reg h4 { font-size: 1.2rem; margin-bottom: 1rem; }
.evt-reg-row { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; }
.evt-modal .field { margin-bottom: 1rem; }
.evt-modal .field label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .35rem; }
.evt-modal .field input {
    width: 100%; padding: .8rem .9rem; border: 1.5px solid rgba(138,127,119,.28); border-radius: var(--radius-sm);
    font-family: var(--font-sans); font-size: 1rem; background: #fff; color: var(--ink);
}
.evt-modal .field input:focus { outline: none; border-color: var(--lilac-deep); box-shadow: 0 0 0 4px rgba(169,143,196,.18); }
.evt-reg-fb { margin-bottom: 1rem; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Galleria ---------- */
.gallery-grid { columns: 3; column-gap: 16px; }
.gallery-grid figure { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.gallery-grid img { width: 100%; transition: transform .6s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption { position: absolute; inset: auto 0 0 0; padding: 1.2rem 1rem .8rem; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(70,63,58,.6)); opacity: 0; transition: opacity .3s; }
.gallery-grid figure:hover figcaption { opacity: 1; }

.ig-banner { text-align: center; margin-top: 3rem; }
.ig-banner a { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--lilac-ink); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(160deg, var(--lilac-deep), var(--lilac-ink)); color: #fff; text-align: center; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem); box-shadow: var(--shadow-md); }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.cta-band p { opacity: .95; max-width: 540px; margin: 0 auto 2rem; font-weight: 300; }
.cta-band--sage { background: linear-gradient(160deg, var(--sage-deep), var(--sage-ink)); }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; margin-bottom: 2rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; background: var(--cream-soft); border: 1px solid rgba(138,127,119,.14); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.contact-card__ic { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); color: #fff; }
.contact-card__ic svg { width: 26px; height: 26px; display: block; }
.contact-card--wa .contact-card__ic { background: #25D366; }
.contact-card--ig .contact-card__ic { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.contact-card h4 { font-family: var(--font-sans); font-weight: 700; font-size: .95rem; margin-bottom: .15rem; }
.contact-card span { color: var(--ink-soft); font-size: .92rem; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16/10; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Form ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(1.8rem, 4vw, 2.8rem); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .45rem; color: var(--ink); }
.field input, .field textarea, .field select {
    width: 100%; padding: .85rem 1rem; border: 1.5px solid rgba(138,127,119,.28);
    border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
    background: var(--cream-soft); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--lilac-deep); box-shadow: 0 0 0 4px rgba(169,143,196,.18); background: #fff;
}
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: .88rem; color: var(--taupe); margin-top: 1rem; }
.form-feedback { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-size: .95rem; display: none; }
.form-feedback.ok { display: block; background: #E6EDE3; color: var(--sage-ink); }
.form-feedback.err { display: block; background: #F6E2E0; color: #9c4b42; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(250,246,240,.78); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(250,246,240,.12); }
.footer-brand p { margin-top: 1rem; max-width: 320px; font-weight: 300; font-size: .96rem; }
.footer-col h4 { color: var(--cream); font-family: var(--font-sans); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a:hover { color: var(--lilac); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; font-size: .85rem; color: rgba(250,246,240,.55); flex-wrap: wrap; gap: .6rem; }
.footer-bottom a:hover { color: var(--lilac); }

/* ---------- Animazioni reveal ----------
   Il contenuto è visibile di default; l'animazione si attiva solo con JS
   (classe .js sull'<html>), così senza JavaScript nulla resta nascosto. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive: tablet ---------- */
@media (max-width: 980px) {
    .split { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
    .cards, .feature-list { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .mosaic { grid-auto-rows: 180px; }
    .gallery-grid { columns: 2; }
}

/* ---------- Responsive: mobile ---------- */
@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; inset: 76px 0 auto 0; background: var(--cream-soft);
        border-bottom: 1px solid rgba(138,127,119,.14); box-shadow: var(--shadow-md);
        max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
    }
    .main-nav.open { max-height: 80vh; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 24px 1.6rem; }
    .main-nav a { padding: .85rem .6rem; border-radius: 10px; font-size: 1.05rem; }
    .nav-cta { margin-top: .6rem; }
    .nav-cta a { display: block; text-align: center; }

    .hero { min-height: 80vh; }
    .hero__actions .btn { flex: 1 1 auto; }
    .cards, .feature-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .mosaic figure:nth-child(4n+1) { grid-column: span 2; grid-row: span 1; }
    .gallery-grid { columns: 1; }
    .event-card { flex-direction: row; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
    .container { padding: 0 18px; }
    .event-card__date { flex-basis: 76px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
