/* ─── Reset & tokens ───────────────────────────────────────────────────── */

*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }

:root {
    --burgundy: #5c2018;
    --burgundy-dark: #3d1410;
    --gold: #b8902a;
    --gold-light: #d4af37;
    --cream: #f5efe6;
    --cream-2: #ede4d3;
    --parchment: #fbf7f0;
    --ink: #2a2520;
    --ink-soft: #5a5048;
    --line: #e0d6c5;
    --shadow: 0 12px 40px rgba(60, 40, 20, .12);
    --shadow-sm: 0 4px 16px rgba(60, 40, 20, .08);
    --radius: 4px;
    --maxw: 1180px;
    --maxw-narrow: 760px;
    --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
    --sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--parchment);
    -webkit-font-smoothing: antialiased;
}

img, svg, iframe { max-width: 100%; display: block; }
iframe { border: 0; }
a { color: var(--burgundy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

h1,h2,h3,h4,h5 {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--burgundy-dark);
    line-height: 1.2;
    letter-spacing: .005em;
}

p { margin: 0 0 1em 0; }

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

.skip-link {
    position: absolute; top: -40px; left: 0; background: var(--burgundy);
    color: #fff; padding: 8px 16px; z-index: 9999; transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }


/* ─── Header / Nav ─────────────────────────────────────────────────────── */

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(251, 247, 240, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
}

.brand { display: flex; align-items: center; gap: 14px; color: var(--burgundy-dark); }
.brand:hover { color: var(--burgundy-dark); }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.brand-sub { font-size: 11px; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }

.site-nav ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; align-items: center; gap: 4px;
}
.site-nav a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    color: var(--ink);
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.site-nav a:hover { color: var(--burgundy); }
.site-nav a.active { color: var(--burgundy); border-bottom-color: var(--gold); }

.lang-switch a {
    margin-left: 8px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    width: 36px; height: 36px;
    padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px;
    color: var(--gold);
    background: transparent;
}
.lang-switch a:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

.nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    width: 32px; height: 32px; padding: 0;
    flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--burgundy-dark); transition: transform .3s, opacity .3s;
}
.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: 78vh;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.05);
    animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
    from { transform: scale(1.18); }
    to   { transform: scale(1.04); }
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20, 12, 8, .35) 0%, rgba(20, 12, 8, .68) 100%);
}
.hero-content {
    position: relative;
    text-align: center;
    max-width: 760px;
    padding: 80px 24px;
    animation: fadeUp 1.1s ease-out;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
    font-size: 13px;
    letter-spacing: .35em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--gold-light);
    font-weight: 700;
}
.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    color: #fff;
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: .01em;
}
.hero-lead {
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.55;
    margin-bottom: 36px;
    font-family: var(--serif);
    font-style: italic;
    color: rgba(255, 255, 255, .92);
    max-width: 600px;
    margin-left: auto; margin-right: auto;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,.6));
}
.hero-scroll::after {
    content: ""; position: absolute; left: -3px; bottom: 0;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--gold-light);
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
    0%,100% { transform: translateY(-50px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(0); opacity: 0; }
}


/* ─── Page header (non-hero pages) ─────────────────────────────────────── */

.page-header {
    background: linear-gradient(180deg, var(--cream) 0%, var(--parchment) 100%);
    padding: 88px 0 60px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.page-header .eyebrow {
    font-size: 12px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 14px;
}
.page-header h1 {
    font-size: clamp(40px, 6vw, 64px);
    margin-bottom: 18px;
    font-weight: 500;
}
.page-header .lead {
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0 auto;
}


/* ─── Buttons ──────────────────────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
    line-height: 1;
}
.btn-primary {
    background: var(--burgundy);
    color: #fff;
    border-color: var(--burgundy);
}
.btn-primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .7);
}
.btn-ghost:hover {
    background: #fff;
    color: var(--burgundy);
    border-color: #fff;
}
.page-header + section .btn-ghost,
.prose .btn-ghost {
    color: var(--burgundy);
    border-color: var(--burgundy);
}
.prose .btn-ghost:hover { background: var(--burgundy); color: #fff; }


/* ─── Intro ornament ───────────────────────────────────────────────────── */

.intro {
    padding: 90px 0 40px;
    text-align: center;
}
.ornament {
    color: var(--gold);
    font-size: 28px;
    margin-bottom: 24px;
    letter-spacing: 1em;
}
.intro .lead {
    font-family: var(--serif);
    font-size: clamp(20px, 2.5vw, 26px);
    line-height: 1.6;
    color: var(--ink);
    font-style: italic;
}


/* ─── Cards ────────────────────────────────────────────────────────────── */

.cards { padding: 60px 0 100px; }
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px 32px;
    color: var(--ink);
    transition: transform .3s, box-shadow .3s, border-color .3s;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--burgundy), var(--gold));
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.card:hover::before { transform: scaleX(1); }
.card:hover h3 { color: var(--burgundy); }
.card-icon {
    width: 56px; height: 56px;
    color: var(--gold);
    margin-bottom: 24px;
}
.card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    transition: color .2s;
}
.card p {
    color: var(--ink-soft);
    margin-bottom: 24px;
    flex: 1;
}
.card-arrow {
    color: var(--burgundy);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
}


/* ─── CTA band ─────────────────────────────────────────────────────────── */

.cta-band {
    padding: 90px 0;
    background:
        linear-gradient(135deg, rgba(92, 32, 24, .94), rgba(60, 20, 16, .94)),
        radial-gradient(circle at 30% 50%, rgba(184, 144, 42, .25), transparent 60%);
    color: #fff;
    text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(36px, 5vw, 52px); margin-bottom: 18px; font-weight: 500; }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 580px; margin: 0 auto 28px; font-size: 18px; }
.cta-band .btn-primary { background: var(--gold); border-color: var(--gold); }
.cta-band .btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }


/* ─── Prose pages ──────────────────────────────────────────────────────── */

.prose { padding: 70px 0 100px; }
.prose h3.section-h {
    margin-top: 48px;
    margin-bottom: 18px;
    font-size: 26px;
    color: var(--burgundy);
    position: relative;
    padding-bottom: 12px;
}
.prose h3.section-h::after {
    content: ""; position: absolute; bottom: 0; left: 0;
    width: 60px; height: 2px; background: var(--gold);
}
.prose p { font-size: 17px; line-height: 1.85; color: var(--ink); }
.prose blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    border-left: 3px solid var(--gold);
    background: var(--cream);
    font-family: var(--serif);
    font-size: 19px;
    font-style: italic;
    color: var(--ink-soft);
}
.prose blockquote cite {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    font-style: normal;
    color: var(--burgundy);
}
.elegant-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5em 0;
}
.elegant-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
    line-height: 1.7;
}
.elegant-list li::before {
    content: "❧";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 16px;
}


/* ─── Infos page ───────────────────────────────────────────────────────── */

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}
.info-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 40px 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.info-card h3 { font-size: 24px; margin-bottom: 20px; color: var(--burgundy); }
.info-card address {
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.info-dl { margin-bottom: 32px; }
.info-dl dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--gold);
    font-weight: 700;
    margin-top: 14px;
}
.info-dl dd { margin: 4px 0 0 0; }
.info-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}


/* ─── Donations page ───────────────────────────────────────────────────── */

.dons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.don-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
}
.don-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--burgundy), var(--gold));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 24px;
}
.don-card h3 { font-size: 22px; margin-bottom: 14px; }
.don-card p { color: var(--ink-soft); margin-bottom: 20px; }
.don-card .btn { align-self: flex-start; margin-top: auto; }
.qr-img { border-radius: var(--radius); border: 1px solid var(--line); padding: 8px; background: #fff; }
.warning-box {
    display: flex; gap: 14px;
    padding: 16px;
    background: #fff8e1;
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.warning-box strong {
    color: var(--gold);
    font-size: 22px;
    line-height: 1;
}
.warning-box p { margin: 0; font-size: 15px; }
.don-card address { font-style: normal; line-height: 1.7; margin-top: auto; }


/* ─── Contact form ─────────────────────────────────────────────────────── */

.contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--burgundy);
    font-weight: 700;
}
.field input, .field textarea {
    font-family: var(--sans);
    font-size: 16px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(92, 32, 24, .12);
}
.field textarea { resize: vertical; min-height: 140px; }
.contact-form button { align-self: flex-start; }
.contact-aside {
    background: var(--cream);
    padding: 32px;
    border-radius: var(--radius);
    border-left: 3px solid var(--gold);
}
.contact-aside h3 { font-size: 20px; margin-bottom: 16px; color: var(--burgundy); }
.contact-aside address { font-style: normal; line-height: 1.7; margin-bottom: 16px; }


/* ─── Events partner ───────────────────────────────────────────────────── */

.partner-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px 36px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.partner-name {
    font-family: var(--serif);
    font-size: 32px;
    color: var(--burgundy);
    margin-bottom: 16px;
    font-weight: 600;
}
.partner-contact {
    list-style: none; padding: 0; margin-top: 20px;
    display: flex; flex-direction: column; gap: 6px;
}
.partner-contact a { font-size: 17px; }


/* ─── Footer ───────────────────────────────────────────────────────────── */

.site-footer {
    background: var(--burgundy-dark);
    color: rgba(255, 255, 255, .8);
    padding: 70px 24px 30px;
    margin-top: 80px;
}
.footer-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}
.footer-col h4 {
    color: var(--gold-light);
    font-size: 18px;
    margin-bottom: 18px;
    font-weight: 500;
}
.footer-col p, .footer-col address { font-size: 15px; line-height: 1.7; font-style: normal; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255, 255, 255, .8); }
.footer-col a:hover { color: var(--gold-light); }
.legal-line { font-size: 13px; opacity: .65; margin-top: 14px; }

.footer-bottom {
    max-width: var(--maxw);
    margin: 50px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    text-align: center;
    font-size: 13px;
    opacity: .65;
}


/* ─── Flash messages ──────────────────────────────────────────────────── */

.flash-bar { padding: 16px 24px 0; max-width: var(--maxw); margin: 0 auto; }
.flash {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    font-size: 15px;
}
.flash-success { background: #e8f4ea; color: #2c5e3a; border-left: 3px solid #4a8b5a; }
.flash-error { background: #fbe9e7; color: #7a2620; border-left: 3px solid var(--burgundy); }
.flash-close { background: none; border: none; cursor: pointer; font-size: 22px; color: inherit; opacity: .6; }


/* ─── GDPR banner ──────────────────────────────────────────────────────── */

.gdpr-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 200;
    padding: 18px 22px;
    max-width: 720px;
    margin: 0 auto;
    transform: translateY(120%);
    transition: transform .4s;
}
.gdpr-banner.visible { transform: translateY(0); }
.gdpr-inner {
    display: flex; gap: 18px; align-items: center; justify-content: space-between;
    flex-wrap: wrap;
}
.gdpr-inner strong { display: block; font-family: var(--serif); font-size: 18px; color: var(--burgundy); margin-bottom: 4px; }
.gdpr-inner p { margin: 0; font-size: 14px; color: var(--ink-soft); }


/* ─── Back to top ──────────────────────────────────────────────────────── */

.back-top {
    position: fixed; right: 24px; bottom: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--burgundy);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    box-shadow: var(--shadow);
    opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .25s, background .2s;
    z-index: 90;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--gold); transform: translateY(-3px); }


/* ─── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 880px) {
    .info-grid, .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: fixed; top: 73px; left: 0; right: 0; bottom: 0;
        background: var(--parchment);
        border-top: 1px solid var(--line);
        padding: 24px;
        transform: translateX(100%);
        transition: transform .3s ease;
        overflow-y: auto;
    }
    .site-nav.open { transform: translateX(0); }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav li { border-bottom: 1px solid var(--line); }
    .site-nav a { padding: 14px 8px; border-bottom: none; }
    .site-nav a.active { background: var(--cream); border-bottom: none; }
    .lang-switch { border-bottom: none !important; padding-top: 16px; }
    .lang-switch a { margin-left: 0; width: 44px; height: 44px; }

    .brand-sub { display: none; }
    .brand-name { font-size: 20px; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero { min-height: 70vh; }
}
