/* Pro Caniparola ODV — tema */

:root {
    --color-ink: #2b2620;
    --color-cream: #faf6ef;
    --color-cream-dark: #f0e9db;
    --color-green: #2c4a3b;
    --color-green-dark: #1d3327;
    --color-terracotta: #c56a3b;
    --color-terracotta-dark: #a8532b;
    --color-gold: #c9a227;
    --color-muted: #5c564b;
    --color-border: #e4dcc9;
    --font-serif: 'Fraunces', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(43, 38, 32, 0.08);
    --shadow-hover: 0 14px 32px rgba(43, 38, 32, 0.14);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    /* Testo di base più grande (20px anziché 16px): tutte le misure in rem ne beneficiano,
       richiesto per una migliore leggibilità con un pubblico prevalentemente anziano. */
    font-size: 125%;
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-ink);
    background: var(--color-cream);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 .5em;
    color: var(--color-green-dark);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--color-terracotta-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.wrap-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

/* ── Topbar ── */
.topbar {
    background: var(--color-green-dark);
    color: #e9e2d0;
    font-size: .8rem;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
}

.topbar-email { color: #e9e2d0; font-weight: 500; }
.topbar-email:hover { color: #fff; }

.topbar-social { display: flex; gap: .6rem; }

.topbar-social a {
    color: #e9e2d0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(233, 226, 208, .4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
}

.topbar-social a:hover { background: rgba(233, 226, 208, .15); text-decoration: none; }

.icon-social { width: 13px; height: 13px; fill: currentColor; display: block; }
.icon-social-fallback { font-size: .7rem; font-weight: 700; }

/* ── Header ── */
.site-header {
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-serif);
    color: var(--color-green-dark);
}
.brand:hover { text-decoration: none; }

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.brand-name {
    font-weight: 700;
    line-height: 1.1;
    font-size: 1.05rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.main-nav a {
    position: relative;
    color: var(--color-ink);
    font-weight: 500;
    font-size: .95rem;
    padding: .3rem 0;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.main-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0; right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--color-terracotta);
    transition: right .25s ease;
}
.main-nav a:not(.nav-cta):hover::after,
.main-nav a.active::after { right: 0; }

.main-nav a:hover, .main-nav a.active {
    color: var(--color-green-dark);
    text-decoration: none;
}

.main-nav a.nav-cta {
    background: var(--color-terracotta);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 999px;
    border-bottom: none;
    transition: background .2s ease, transform .2s ease;
}
.main-nav a.nav-cta:hover { background: var(--color-terracotta-dark); transform: translateY(-2px); }

.main-nav-address { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-green-dark); }

/* ── Hero banner ── */
.hero-banner {
    position: relative;
    overflow: hidden;
    background: var(--color-green-dark);
    color: #fff;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video, .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(29, 51, 39, .55) 0%, rgba(29, 51, 39, .72) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 5rem 1.5rem;
    max-width: 760px;
    margin: 0 auto;
}
.hero-banner h1 { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.hero-subtitle { font-size: 1.15rem; color: #f0ede2; margin-bottom: 1.6rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .2); }

@media (max-width: 640px) {
    .hero-banner { min-height: 85vh; }
    .hero-inner { padding: 3rem 1.5rem; }
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-inner > * {
    opacity: 0;
    animation: heroFadeUp .7s ease forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: .05s; }
.hero-inner > *:nth-child(2) { animation-delay: .18s; }
.hero-inner > *:nth-child(3) { animation-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
    .hero-inner > * { animation: none; opacity: 1; }
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: .75rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(43, 38, 32, .14); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn-primary { background: var(--color-terracotta); color: #fff; }
.btn-primary:hover { background: var(--color-terracotta-dark); }

.btn-secondary { background: transparent; color: var(--color-green-dark); border-color: var(--color-green-dark); }
.btn-secondary:hover { background: var(--color-green-dark); color: #fff; }

.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }

.btn-link { font-size: .9rem; color: var(--color-muted); align-self: center; }

/* ── Page header ── */
.page-header { text-align: center; }
.cf-highlight { font-size: 1.1rem; color: var(--color-green-dark); }

/* ── Pagebuilder blocks ── */
.pb-block { margin-bottom: .75rem; }
.pb-heading { text-align: center; }
.pb-paragraph { }
.richtext p:last-child { margin-bottom: 0; }

.pb-image a { display: block; }
.pb-image img, .beauty-detail-cover, .event-detail-cover { border-radius: var(--radius); box-shadow: var(--shadow); }
.pb-image figcaption, .beauty-detail-cover + figcaption { text-align: center; color: var(--color-muted); font-size: .9rem; margin-top: .6rem; }
.beauty-detail-cover-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.beauty-detail-cover-link { display: block; overflow: hidden; border-radius: var(--radius); }
.beauty-detail-cover-link img { transition: transform .4s ease; }
.beauty-detail-cover-link:hover img { transform: scale(1.02); }

.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.pb-quote { border-left: 4px solid var(--color-terracotta); padding-left: 1.5rem; font-family: var(--font-serif); font-size: 1.3rem; font-style: italic; color: var(--color-green-dark); }
.pb-quote cite { display: block; font-size: .9rem; font-style: normal; color: var(--color-muted); margin-top: .5rem; }

.pb-cta { text-align: center; }

/* ── Fila loghi scorrevole ── */
.pb-logos { text-align: center; }

.logos-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logos-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 3.5rem;
    animation: logosScroll 30s linear infinite;
}

.logos-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
}

.logos-item img {
    max-height: 64px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .65;
}

@keyframes logosScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-12.5%); }
}

@media (prefers-reduced-motion: reduce) {
    .logos-track { animation: none; }
    .logos-marquee { overflow-x: auto; }
}

/* ── Box "Dona il tuo 5x1000" ── */
.pb-fivexmille { text-align: center; }

.fivexmille-box {
    background: linear-gradient(135deg, #fbe7d8 0%, var(--color-cream-dark) 100%);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
}

.fivexmille-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-terracotta);
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.fivexmille-box h2 { margin-bottom: .6rem; }
.fivexmille-box p { color: var(--color-muted); }

.fivexmille-cf {
    font-size: 1.05rem;
    color: var(--color-green-dark) !important;
    margin-bottom: 1.4rem;
}
.fivexmille-cf strong { font-family: var(--font-serif); letter-spacing: .03em; }

.section-title { text-align: center; margin-bottom: 2rem; }
.section-cta { text-align: center; margin-top: 2rem; }
.empty-hint { text-align: center; color: var(--color-muted); }
.source-note { text-align: center; color: var(--color-muted); font-size: .8rem; margin-top: 2.5rem; }
.source-note a { color: var(--color-muted); text-decoration: underline; }
.empty-hint-block { text-align: center; color: var(--color-muted); background: var(--color-cream-dark); border-radius: var(--radius); }

/* ── Cards ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
}

.card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .15s ease;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card.reveal { transition: opacity .6s ease, transform .6s ease, box-shadow .15s ease; }

.card-media { position: relative; display: block; aspect-ratio: 4/3; background: var(--color-cream-dark); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--color-border); }
.icon-arch { width: 1em; height: 1em; }

.card-body { padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.card-body h3 { margin-bottom: .3rem; font-size: 1.1rem; }
.card-body h3 a { color: var(--color-green-dark); }
.card-meta { font-size: .85rem; color: var(--color-muted); margin-bottom: .3rem; }
.card-excerpt { font-size: .92rem; color: var(--color-muted); margin-bottom: 0; }

.event-date-badge {
    position: absolute; top: .8rem; left: .8rem;
    background: #fff; border-radius: 10px; padding: .3rem .6rem;
    text-align: center; box-shadow: var(--shadow); line-height: 1.1;
}
.event-date-badge .day { display: block; font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; color: var(--color-terracotta-dark); }
.event-date-badge .month { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted); }

.badge {
    display: inline-block; font-size: .8rem; background: var(--color-cream-dark);
    color: var(--color-green-dark); padding: .3rem .7rem; border-radius: 999px; margin: 0 .4rem .4rem 0;
}
.badge-external { background: #fbe7d8; color: var(--color-terracotta-dark); }
.badge-date { background: var(--color-green-dark); color: #fff; }

.badge-link, .location-link {
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.badge-link:hover { background: var(--color-green-dark); color: #fff; text-decoration: none; }
.location-link { color: inherit; border-bottom: 1px dotted currentColor; }
.location-link:hover { color: var(--color-terracotta-dark); text-decoration: none; }

/* ── Elenco eventi passati (righe compatte) ── */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: .8rem;
    opacity: .85;
    transition: opacity .2s ease, box-shadow .2s ease, transform .15s ease;
}
.event-row:hover { opacity: 1; box-shadow: var(--shadow-hover); transform: translateX(2px); }

.event-row-media {
    flex-shrink: 0;
    width: 140px;
    aspect-ratio: 16/10;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-cream-dark);
    display: block;
}
.event-row-media img { width: 100%; height: 100%; object-fit: cover; }
.event-row-media .card-media-placeholder { font-size: 1.6rem; }

.event-row-body { flex: 1; min-width: 0; }
.event-row-body h3 { margin-bottom: .2rem; font-size: 1.05rem; }
.event-row-body h3 a { color: var(--color-green-dark); }

.event-row-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
    color: var(--color-muted);
    margin-bottom: .3rem;
}
.event-row-date { font-weight: 700; color: var(--color-terracotta-dark); }

.event-row-excerpt {
    font-size: .88rem;
    color: var(--color-muted);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

@media (max-width: 560px) {
    .event-row { align-items: flex-start; }
    .event-row-media { width: 92px; aspect-ratio: 4/3; }
}

/* ── Beauty slider ── */
.beauty-slider {
    display: flex;
    gap: 1.4rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}
.beauty-slider .card { min-width: 280px; max-width: 320px; scroll-snap-align: start; }
.beauty-slider .card-media { aspect-ratio: 3/4; }

/* ── Events toolbar ── */
.events-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 1.5rem;
}

.view-switch { display: flex; gap: .5rem; background: var(--color-cream-dark); border-radius: 999px; padding: .3rem; }
.view-switch a { padding: .5rem 1.1rem; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--color-muted); }
.view-switch a.active { background: var(--color-green-dark); color: #fff; }
.view-switch a:hover { text-decoration: none; }

.date-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    font-size: .9rem;
    background: var(--color-cream-dark);
    padding: .5rem .9rem;
    border-radius: 999px;
}

.date-filter label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--color-muted);
    font-weight: 500;
    white-space: nowrap;
}

.date-filter input[type="date"] {
    height: 2.1rem;
    box-sizing: border-box;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0 .6rem;
    font-family: var(--font-sans);
    background: #fff;
    color: var(--color-ink);
}

.date-filter .btn {
    height: 2.1rem;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

/* ── Agenda week ── */
.agenda-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.agenda-range { font-weight: 600; color: var(--color-green-dark); }

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: .8rem;
}

.agenda-day {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: .8rem;
    min-height: 160px;
}
.agenda-day.is-today { border: 2px solid var(--color-terracotta); }

.agenda-day-head { text-align: center; border-bottom: 1px solid var(--color-border); padding-bottom: .5rem; margin-bottom: .6rem; }
.agenda-day-name { display: block; font-weight: 700; text-transform: uppercase; font-size: .75rem; color: var(--color-muted); }
.agenda-day-num { display: block; font-family: var(--font-serif); font-size: 1.1rem; color: var(--color-green-dark); }

.agenda-day-events { display: flex; flex-direction: column; gap: .5rem; }
.agenda-event { display: block; background: var(--color-cream-dark); border-radius: 8px; padding: .4rem .6rem; font-size: .82rem; }
.agenda-event:hover { background: var(--color-terracotta); color: #fff; text-decoration: none; }
.agenda-event-time { display: block; font-weight: 700; }
.agenda-empty { color: var(--color-border); font-size: .8rem; text-align: center; display: block; }

/* ── Calendario mensile ── */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--color-muted);
    margin-bottom: .6rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: .5rem;
}

.calendar-day {
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    position: relative;
}

.calendar-day.is-outside { background: transparent; box-shadow: none; opacity: .35; }
.calendar-day.is-today { border: 2px solid var(--color-terracotta); }
.calendar-day { transition: transform .15s ease, box-shadow .15s ease; }
.calendar-day.reveal { transition: opacity .5s ease, transform .5s ease, box-shadow .15s ease; }
.calendar-day:not(.is-outside):hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.calendar-day-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    transition: background .15s ease;
}
.calendar-day-link:hover { background: var(--color-cream-dark); text-decoration: none; }

.calendar-day-num { font-family: var(--font-serif); font-size: 1.05rem; color: var(--color-green-dark); }
.is-outside .calendar-day-num { color: var(--color-muted); }

.calendar-day-dots { display: flex; gap: .25rem; }
.calendar-day-dots .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--color-terracotta);
    display: inline-block;
    animation: dotPulse 2.4s ease-in-out infinite;
}
.calendar-day-dots .dot:nth-child(2) { animation-delay: .3s; }
.calendar-day-dots .dot:nth-child(3) { animation-delay: .6s; }

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: .6; }
}

@media (max-width: 640px) {
    .calendar-day-num { font-size: .85rem; }
    .calendar-weekdays { font-size: .68rem; }
}

/* ── Detail pages ── */
.breadcrumb { font-size: .9rem; }
.event-detail-meta, .album-detail-meta { margin: 1rem 0; }

.album-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.album-media-item img, .album-media-item video { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.album-video-grid .album-media-item { aspect-ratio: 16/9; }
.album-video-grid video { aspect-ratio: 16/9; }

.event-album + .event-album { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--color-border); }

.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.pagination a { padding: .5rem .9rem; border-radius: 8px; background: #fff; box-shadow: var(--shadow); font-weight: 600; }
.pagination a.active { background: var(--color-green-dark); color: #fff; }

/* ── Lightbox ── */
[data-lightbox] { cursor: zoom-in; }

body.lightbox-open { overflow: hidden; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(20, 17, 13, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    animation: lightboxFadeIn .2s ease;
}

.lightbox[hidden] {
    display: none;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-figure {
    margin: 0;
    max-width: min(90vw, 1100px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-figure img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.lightbox-figure figcaption {
    color: #f0ede2;
    text-align: center;
    font-size: .9rem;
    margin-top: 1rem;
}
.lightbox-figure figcaption:empty { display: none; }

.lightbox-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, .12);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .25); }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .12);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s ease;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, .25); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 640px) {
    .lightbox { padding: 4.5rem 1rem 1.5rem; }
    .lightbox-nav { width: 40px; height: 40px; font-size: 1.1rem; }
    .lightbox-prev { left: .4rem; }
    .lightbox-next { right: .4rem; }
}

/* ── Footer ── */
.site-footer { background: var(--color-green-dark); color: #d8e0d9; margin-top: 4rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; gap: .8rem; max-width: 320px; }
.footer-brand strong { color: #fff; font-family: var(--font-serif); font-size: 1.1rem; }
.footer-brand p { font-size: .85rem; color: #b9c4ba; margin: 0; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a, .footer-social a, .footer-contact > a { color: #d8e0d9; font-size: .9rem; }
.footer-social { display: flex; flex-direction: column; gap: .5rem; }
.footer-social-link { display: inline-flex; align-items: center; gap: .5rem; }
.footer-social-link .icon-social { width: 15px; height: 15px; }
.footer-contact { display: flex; flex-direction: column; gap: .8rem; }
.footer-contact > a { font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 1.2rem; font-size: .8rem; color: #9fac9f; }

/* ── Responsive ── */
@media (max-width: 860px) {
    .main-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--color-cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid var(--color-border);
        display: none;
        gap: 1rem;
    }
    .main-nav.is-open { display: flex; }
    .nav-toggle { display: flex; }
    .main-nav-address {
        display: block;
        margin-top: .5rem;
        padding-top: 1rem;
        border-top: 1px solid var(--color-border);
        color: var(--color-muted);
        font-size: .9rem;
    }
    .agenda-grid { grid-template-columns: repeat(2, 1fr); }
    .topbar-tagline { display: none; }
}

@media (max-width: 480px) {
    .agenda-grid { grid-template-columns: 1fr; }
}
