/* =========================================================================
   Cyclo Lexy — design system (moderne, clair, aéré)
   Marque jaune/rouge/noir utilisée en ACCENTS sur un canevas neutre.
   Typo Outfit (titres) / Inter (texte).
   ========================================================================= */

:root {
  /* Marque */
  --yellow-soft: #FFFBF0;
  --yellow-tint: #FFF6DD;
  --yellow-100:  #FFEFB8;
  --yellow:      #FFD21E;
  --yellow-dark: #E8B500;
  --yellow-deep: #8a6d00;

  --red-tint: #FDEEEC;
  --red:      #E63027;
  --red-dark: #C41E1E;

  --green-600: #15a06b;
  --green-tint:#E7F7F0;
  --amber-600: #c4860a;
  --amber-tint:#FCF2DD;

  /* Neutres */
  --bg:      #f6f6f3;
  --surface: #ffffff;
  --ink:     #17181c;
  --ink-soft:#3b3f46;
  --muted:   #6c7079;
  --line:    #eceef0;
  --line-2:  #e3e5e8;

  /* Effets */
  --radius:    18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(20,22,28,.05);
  --shadow-sm: 0 1px 2px rgba(20,22,28,.04), 0 2px 6px rgba(20,22,28,.05);
  --shadow:    0 6px 20px rgba(20,22,28,.07);
  --shadow-lg: 0 16px 40px rgba(20,22,28,.10);

  --grad-hero: linear-gradient(135deg, #FFE48A 0%, #FFD21E 55%, #FBC417 100%);
  --grad-strip: linear-gradient(90deg, var(--yellow) 0%, #FFB300 60%, var(--red) 100%);
  --grad-dark: linear-gradient(135deg, #23262d 0%, #15171c 100%);
  --grad-red: linear-gradient(135deg, #F0584F 0%, var(--red-dark) 100%);

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg);
  line-height: 1.6; font-size: 15.5px; -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
a { color: var(--red-dark); text-decoration: none; transition: color .15s; }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }
small { font-size: .82rem; }

.container { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: 22px; }
main.container { padding-top: 30px; padding-bottom: 48px; flex: 1; }

/* ----------------------------- Header ----------------------------------- */
/* z-index élevé : doit passer AU-DESSUS des cartes Leaflet (contrôles ~1000). */
.site-header { position: sticky; top: 0; z-index: 1100; background: var(--grad-hero); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad-strip); opacity: .9; }
.nav { display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 8px 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { height: 40px; width: 40px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(20,22,28,.18)); }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; color: var(--ink); }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links .muted { color: var(--ink); font-weight: 600; font-size: .82rem; background: rgba(255,255,255,.6); padding: 6px 13px; border-radius: var(--radius-pill); }

/* Onglets de navigation */
.nav-tabs-bar { background: rgba(255,255,255,.7); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.nav-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 9px 0; }
.nav-tabs a { white-space: nowrap; padding: 7px 13px; border-radius: var(--radius-pill); font-weight: 500; font-size: .88rem; color: var(--ink-soft); background: transparent; border: 1px solid transparent; text-decoration: none; transition: all .15s; }
.nav-tabs a:hover { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }
.nav-tabs a.active { background: var(--ink); color: #fff; }

/* Sous-navigation (back-office / supervision) */
.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 22px; }
.subnav a { padding: 7px 14px; border-radius: var(--radius-pill); font-weight: 500; font-size: .88rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line-2); text-decoration: none; transition: all .15s; }
.subnav a:hover { border-color: var(--ink); color: var(--ink); }
.subnav a.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s;
  line-height: 1.1; white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary, .btn-accent { background: var(--grad-red); color: #fff; box-shadow: 0 2px 8px rgba(230,48,39,.28); }
.btn-primary:hover, .btn-accent:hover { box-shadow: 0 5px 16px rgba(230,48,39,.34); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-dark); color: var(--ink); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-xs); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: rgba(20,22,28,.05); color: var(--ink); }
.btn-sm { padding: 7px 13px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ------------------------------- Badges --------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-body);
  font-weight: 600; font-size: .72rem; letter-spacing: .02em;
  padding: 3px 9px; border-radius: var(--radius-pill);
}
.badge-confirmed { background: var(--green-tint); color: var(--green-600); }
.badge-proposed  { background: var(--amber-tint); color: var(--amber-600); }
.badge-cancelled { background: var(--red-tint); color: var(--red-dark); }
.badge-level     { background: var(--yellow-tint); color: var(--yellow-deep); }

/* -------------------------------- Cards --------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 24px; }

/* --------------------------------- Hero --------------------------------- */
.hero, .page-hero {
  background: var(--grad-hero); color: var(--ink); border-radius: 22px;
  padding: 40px; position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; right: -40px; top: -60px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,.35), transparent 70%); border-radius: 50%;
}
.hero h1 { color: var(--ink); margin-bottom: .3em; }
.hero p { color: var(--ink-soft); font-size: 1.05rem; max-width: 48ch; margin-bottom: 1.6rem; position: relative; }
.page-hero { padding: 30px 36px; margin-bottom: 26px; }
.page-hero .hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; position: relative; }
.page-hero h1 { color: var(--ink); margin: 0 0 .35em; position: relative; }
.page-hero .when { color: var(--ink-soft); font-size: 1rem; margin: 0; position: relative; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; position: relative; }
.hero-chip { display: inline-flex; align-items: center; gap: 7px; background: rgba(23,24,28,.86); color: #fff; font-weight: 600; font-size: .9rem; padding: 7px 13px; border-radius: var(--radius-pill); }
.hero-chip .v { color: var(--yellow); }

/* ------------------------------ Sections -------------------------------- */
.section { margin-top: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.section > h2, .accent-title { position: relative; padding-left: 14px; }
.section > h2::before, .accent-title::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; border-radius: 4px; background: var(--grad-strip); }

/* --------------------------- Grids / layout ----------------------------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }

/* --------------------------- Feature (à la une) -------------------------- */
.feature-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-card .feature-banner { background: var(--grad-hero); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: 8px 18px; }
.feature-card .body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.feature-card h3 { margin: 0; }
.feature-card h3 a { color: var(--ink); }
.gauge { display: flex; flex-direction: column; gap: 5px; }
.gauge-bar { height: 8px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.gauge-bar span { display: block; height: 100%; background: var(--grad-strip); border-radius: 999px; }
.gauge small { color: var(--muted); }

/* ------------------------------ Stat tiles ------------------------------ */
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; text-align: center; }
.stat .icon { font-size: 1.3rem; }
.stat .val { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.stat .lab { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* ------------------------------ Ride card ------------------------------- */
.ride-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .2s; }
.ride-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ride-card .strip { height: 4px; background: var(--grad-strip); }
.ride-card .body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ride-card h3 { margin: 0; }
.ride-card h3 a { color: var(--ink); }
.ride-card h3 a:hover { color: var(--red); }
.ride-meta { color: var(--muted); font-size: .9rem; display: flex; flex-direction: column; gap: 3px; }
.ride-stats { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); color: var(--ink-soft); font-weight: 600; font-size: .82rem; padding: 5px 11px; border-radius: var(--radius-pill); border: 1px solid var(--line); }
.ride-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.rsvp-counts { display: flex; gap: 10px; font-size: .85rem; color: var(--muted); font-weight: 600; }

/* ------------------------------- Weather -------------------------------- */
.weather { background: var(--grad-dark); color: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.weather .top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.weather .emoji { font-size: 2.4rem; line-height: 1; }
.weather .cond { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--yellow); }
.weather .figs { color: rgba(255,255,255,.85); font-size: .92rem; }
.weather strong { color: var(--yellow); }
.advice { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.advice .tip { background: rgba(255,255,255,.08); border-left: 3px solid var(--yellow); border-radius: 8px; padding: 8px 12px; font-size: .9rem; }
.weather .src { display: block; margin-top: 12px; font-size: .76rem; color: rgba(255,255,255,.6); }

/* --------------------------------- Map ---------------------------------- */
#map { width: 100%; height: 440px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.leaflet-container { border-radius: var(--radius); }
.leaflet-tooltip.route-tip { font-family: var(--font-head); font-weight: 700; font-size: .78rem; border: none; box-shadow: var(--shadow-sm); border-radius: 8px; padding: 3px 8px; color: var(--ink); }
.route-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; font-size: .88rem; color: var(--muted); font-weight: 500; }
.route-legend span { display: inline-flex; align-items: center; gap: 7px; }
.route-legend .dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); }
.route-legend .dot-start { background: var(--green-600); }
.route-legend .dot-end { background: var(--red); }
.route-legend .arrow { color: #7a1410; font-style: normal; font-weight: 700; }
.elevation-card { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 14px 16px 6px; }
.elevation-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.elevation-head strong { font-family: var(--font-head); }
.elevation-head span { color: var(--muted); font-size: .84rem; }
.elevation-svg { display: block; width: 100%; height: 120px; }

/* ----------------------------- RSVP control ----------------------------- */
.rsvp-panel { display: flex; flex-direction: column; gap: 16px; }
.rsvp-status { color: var(--muted); margin: 0; }
.rsvp-status strong { color: var(--ink); }
.rsvp-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rsvp-btn { font-family: var(--font-body); font-weight: 600; font-size: .92rem; cursor: pointer; padding: 14px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); transition: all .15s; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rsvp-btn .ic { font-size: 1.35rem; }
.rsvp-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.rsvp-btn.active.going    { background: var(--green-tint); border-color: var(--green-600); color: var(--green-600); }
.rsvp-btn.active.maybe    { background: var(--amber-tint); border-color: var(--amber-600); color: var(--amber-600); }
.rsvp-btn.active.declined { background: var(--red-tint); border-color: var(--red); color: var(--red-dark); }
.tally { display: flex; gap: 18px; flex-wrap: wrap; }
.tally .t { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.tally .n { font-family: var(--font-head); font-size: 1.15rem; }
.participants { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.participants li { padding: 9px 12px; background: var(--bg); border-radius: 10px; font-size: .9rem; }
details > summary { cursor: pointer; color: var(--red-dark); font-weight: 600; }

/* -------------------------------- Forms --------------------------------- */
form p { margin-bottom: 16px; }
label { font-weight: 600; font-size: .88rem; display: block; margin-bottom: 6px; color: var(--ink); }
input, textarea, select {
  width: 100%; font-family: var(--font-body); font-size: .98rem; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--yellow-dark); box-shadow: 0 0 0 3px var(--yellow-100); }
.helptext, .helptext small { color: var(--muted); font-size: .84rem; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--red); }
input[type="file"] { padding: 9px; background: var(--bg); }

/* ------------------------------- Alerts --------------------------------- */
.alert { background: var(--yellow-soft); border: 1px solid var(--yellow-100); border-left: 3px solid var(--yellow-dark); color: var(--ink-soft); padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 500; }

/* --------------------------- Profile banner ----------------------------- */
.profile-banner { background: var(--yellow-soft); border-bottom: 1px solid var(--yellow-100); }
.profile-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.profile-banner span { color: var(--ink-soft); font-weight: 500; }
.profile-banner span strong { color: var(--ink); }
.profile-banner .btn { background: var(--ink); color: #fff; }
.profile-banner .btn:hover { background: #000; color: #fff; }

/* ------------------------------- Reminders ------------------------------ */
.reminders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.reminder { padding: 11px 14px; border-radius: var(--radius-sm); background: var(--bg); border-left: 3px solid var(--muted); display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.reminder.warn { background: var(--red-tint); border-left-color: var(--red); }
.reminder.info { background: var(--yellow-soft); border-left-color: var(--yellow-dark); }
.reminder a { font-weight: 700; text-decoration: none; }

/* ------------------------------- Detail --------------------------------- */
.detail-head { margin-bottom: 8px; }
.detail-head .when { color: var(--muted); font-size: 1rem; }
.backlink { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.backlink:hover { color: var(--ink); }
.desc { font-size: 1.02rem; color: var(--ink-soft); }

/* ------------------------------- Members -------------------------------- */
.member-card { display: flex; align-items: center; gap: 14px; padding: 16px; transition: transform .15s, box-shadow .2s; }
.member-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.member-card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.member-card-body strong { color: var(--ink); }
.member-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.board-card { border-top: 3px solid var(--yellow); }
.avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--line-2); }
.avatar-initials { display: grid; place-items: center; background: var(--ink); color: var(--yellow); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; border-color: transparent; }
.avatar-lg { width: 86px; height: 86px; font-size: 2rem; }
.member-profile-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.info-list { display: grid; gap: 2px; margin: 0; }
.info-list div { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.info-list dt { font-weight: 600; color: var(--muted); min-width: 140px; margin: 0; }
.info-list dd { margin: 0; color: var(--ink); }
.status-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); border-left: 4px solid var(--muted); box-shadow: var(--shadow-xs); }
.status-card .status-ic { font-size: 1.7rem; }
.status-card.ok   { border-left-color: var(--green-600); }
.status-card.warn { border-left-color: var(--amber-600); }
.status-card.ko   { border-left-color: var(--red); }

/* ------------------------------ Comments -------------------------------- */
.comment-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.comment { background: var(--bg); border-radius: var(--radius-sm); padding: 12px 14px; border-left: 3px solid var(--yellow); }
.comment-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.comment-author { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.comment-date { font-size: .8rem; color: var(--muted); }
.comment-body { color: var(--ink-soft); }
.comment-empty { color: var(--muted); font-style: italic; }
.comment-form { display: flex; gap: 10px; align-items: flex-start; }
.comment-form textarea { flex: 1; }
.typing-indicator { margin-top: 10px; color: var(--muted); font-size: .86rem; font-style: italic; }
.typing-dots span { animation: typingblink 1.4s infinite both; }
.typing-dots span:nth-child(2) { animation-delay: .2s; }
.typing-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes typingblink { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }

/* ----------------------------- Stats table ------------------------------ */
.stats-table { width: 100%; border-collapse: collapse; }
.stats-table th, .stats-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.stats-table thead th { font-family: var(--font-head); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--bg); font-weight: 600; }
.stats-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.stats-table .rank { font-size: 1.05rem; width: 48px; text-align: center; }
.stats-table .member { font-weight: 600; }
.stats-table tbody tr:hover { background: var(--yellow-soft); }
.stats-table tbody tr:last-child td { border-bottom: none; }

/* ---------------------------- Questionnaire ----------------------------- */
.qs-list { list-style: none; counter-reset: q; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.qs-item { counter-increment: q; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.qs-q { font-weight: 500; margin-bottom: 10px; }
.qs-q::before { content: counter(q) ". "; font-family: var(--font-head); font-weight: 700; color: var(--red); }
.qs-a ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.qs-a label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; cursor: pointer; margin: 0; }
.qs-err { color: var(--red-dark); font-size: .85rem; margin-top: 6px; }

/* -------------------------------- Login --------------------------------- */
.login-logo { height: 80px; width: 80px; object-fit: contain; margin: 0 auto 8px; display: block; }
.login-box { max-width: 400px; margin: 56px auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); text-align: center; }
.login-box h1 { font-family: var(--font-head); font-size: 1.35rem; margin: 6px 0 18px; }
.login-box form { text-align: left; }

/* ------------------------------- Footer --------------------------------- */
.site-footer { margin-top: auto; padding: 26px 0; color: var(--muted); border-top: 1px solid var(--line); background: transparent; text-align: center; font-size: .88rem; }
.site-footer a { color: var(--red-dark); }

@media (max-width: 640px) {
  .hero, .page-hero { padding: 26px 22px; }
  .rsvp-buttons { grid-template-columns: 1fr; }
  .nav-links .hide-sm { display: none; }
}
