/* =====================================================================
   FLMPC — Design System v3
   Banking-appropriate: bright, trustworthy, green-led (from the wreath
   in the seal), navy reserved for nav/hero/footer only. No stark white —
   surfaces use a soft green-tinted paper tone instead.
   Type: Fraunces (display) + Public Sans (body/UI) + IBM Plex Mono (data)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Public+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  /* Brand — green leads, gold is a secondary accent, navy for nav/hero/footer */
  --green-950: #0a2314;
  --green-900: #123a20;
  --green-800: #1f4a2c;
  --green-700: #275c37;
  --green-600: #2f7a41;   /* primary CTA / accent */
  --green-500: #3d9552;
  --green-300: #9bd4a8;
  --green-100: #e6f3e8;

  --gold-600: #c97d2c;
  --gold-500: #e8a33d;
  --gold-300: #f3c778;

  --navy-950: #081527;
  --navy-900: #0c2038;
  --navy-800: #123055;
  --blue-600: #2e72c9;

  /* Surfaces — soft paper tones, never stark white */
  --paper-0: #f8faf7;     /* main page background */
  --paper-1: #eef4ee;     /* alternate section background */
  --card: #fdfdfb;        /* card surface — off-white, not #fff */
  --card-alt: #f2f6f1;

  --ink-900: #16241c;
  --ink-700: #34473b;
  --ink-600: #566b5c;
  --ink-400: #8a9b8f;
  --line: rgba(22, 36, 28, 0.10);
  --line-strong: rgba(22, 36, 28, 0.18);
  --white: #ffffff;

  /* aliases so inline styles on pages (e.g. background:var(--ivory-100)) keep working */
  --ivory-50: var(--paper-0);
  --ivory-100: var(--paper-1);

  /* Type */
  --font-display: 'Fraunces', serif;
  --font-body: 'Public Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --shadow-soft: 0 24px 60px -24px rgba(15, 35, 22, 0.30);
  --shadow-card: 0 12px 34px -16px rgba(15, 35, 22, 0.16);
  --glow-green: 0 0 0 1px rgba(47,122,65,0.18), 0 18px 40px -18px rgba(47,122,65,0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  color: var(--navy-900);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--green-600); display: inline-block; }

.mono, .rate, .amount { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
section { padding: 100px 0; position: relative; z-index: 1; }
@media (max-width: 768px) { section { padding: 68px 0; } }
p { color: var(--ink-600); line-height: 1.7; }

/* ---------------- Scroll progress bar ---------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--gold-500));
  z-index: 1001; width: 0%;
  transition: width 0.1s linear;
}

/* ---------------- Custom cursor glow (desktop only) ---------------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 380px; height: 380px;
  border-radius: 50%; pointer-events: none; z-index: 2;
  background: radial-gradient(circle, rgba(47,122,65,0.12) 0%, rgba(47,122,65,0) 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: transform;
}
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-600); pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s ease;
}
.cursor-dot.hovering { width: 38px; height: 38px; background: rgba(47,122,65,0.14); border: 1.5px solid var(--green-600); }
@media (hover: none) { .cursor-glow, .cursor-dot { display: none; } }

/* ---------------- Scroll reveal (cinematic: blur + scale + rise) ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.97);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.28s; }
.reveal-delay-4 { transition-delay: 0.38s; }

/* ---------------- Hero entrance choreography (plays on load, not scroll) ---------------- */
.hero-intro > * { opacity: 0; transform: translateY(26px); animation: heroRise 1s var(--ease) forwards; }
.hero-intro > *:nth-child(1) { animation-delay: 0.15s; }
.hero-intro > *:nth-child(2) { animation-delay: 0.32s; }
.hero-intro > *:nth-child(3) { animation-delay: 0.5s; }
.hero-intro > *:nth-child(4) { animation-delay: 0.68s; }
.hero-intro > *:nth-child(5) { animation-delay: 0.84s; }
@keyframes heroRise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero-intro > * { animation: none; opacity: 1; transform: none; } }

/* ---------------- Nav — single line, fixed sizing ---------------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(100deg, rgba(10, 35, 20, 0.94), rgba(8, 26, 16, 0.96));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s ease;
}
.site-nav.scrolled { box-shadow: 0 10px 30px -16px rgba(0,0,0,0.5); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; gap: 20px; flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); flex-shrink: 0; }
.brand img { height: 46px; width: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(155,212,168,0.35); }
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.1; white-space: nowrap; }
.brand-text small { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; color: var(--green-300); font-weight: 500; }

.nav-links {
  display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0;
  flex-wrap: nowrap; flex: 1; justify-content: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.09); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--green-300); border-radius: 2px;
}
.nav-cta { flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.92rem;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-gold { background: linear-gradient(135deg, var(--green-500), var(--green-700)); color: var(--white); box-shadow: 0 10px 24px -8px rgba(47,122,65,0.5); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -8px rgba(47,122,65,0.6); }
.btn-outline-light { border-color: rgba(255,255,255,0.4); color: var(--white); background: rgba(255,255,255,0.04); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-800); transform: translateY(-3px); }
.btn-sm { padding: 8px 18px; font-size: 0.84rem; }

.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; flex-shrink: 0; }

@media (max-width: 1080px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 9px 10px; font-size: 0.92rem; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .site-nav.open .nav-inner { flex-wrap: wrap; }
  .site-nav.open .nav-links { display: flex; flex-direction: column; width: 100%; align-items: stretch; padding: 12px 0; justify-content: flex-start; }
  .site-nav.open .nav-links a { text-align: center; }
  .site-nav.open .nav-cta { display: block; width: 100%; padding: 0 0 16px; text-align: center; }
}

/* ---------------- Hero ---------------- */
.hero {
  background:
    radial-gradient(900px 500px at 88% -8%, rgba(155,212,168,0.16), transparent 60%),
    radial-gradient(700px 500px at 5% 100%, rgba(232,163,61,0.10), transparent 60%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  background-size: 140% 140%, 140% 140%, 100% 100%;
  animation: heroGradientShift 18s ease-in-out infinite alternate;
  color: var(--white);
  padding: 120px 0 130px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
}
@keyframes heroGradientShift {
  0% { background-position: 0% 0%, 100% 100%, 0 0; }
  100% { background-position: 20% 10%, 80% 90%, 0 0; }
}
@media (prefers-reduced-motion: reduce) { .hero { animation: none; } }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 20%, black, transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.hero h1 em { font-style: italic; background: linear-gradient(120deg, var(--green-300), var(--gold-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 480px; line-height: 1.65; }
@media (max-width: 900px) { .hero p.lead { margin: 0 auto; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 900px) { .hero-actions { justify-content: center; } }


.hero-badge-ring { position: relative; width: 100%; max-width: 400px; margin: 0 auto; aspect-ratio: 1 / 1; }
.hero-badge-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.55); animation: float 6s ease-in-out infinite; }
.hero-badge-ring::after { content: ''; position: absolute; inset: -18px; border: 1px dashed rgba(155,212,168,0.4); border-radius: 50%; animation: spin 40s linear infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero-badge-ring img {
    animation: none !important;
  }
}
.stat-row { display: flex; gap: 36px; margin-top: 42px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 900px) { .stat-row { justify-content: center; } }
.stat-row .stat b { display: block; font-family: var(--font-mono); font-size: 1.7rem; color: var(--green-300); }
.stat-row .stat span { font-size: 0.8rem; color: rgba(255,255,255,0.62); }

/* ---------------- Section titles ---------------- */
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }

/* ---------------- Cards: loan products / services ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--glow-green); border-color: rgba(47,122,65,0.35); }
.product-card .ring {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(47,122,65,0.14), rgba(232,163,61,0.14));
  border: 1px solid rgba(47,122,65,0.3);
  font-size: 1.4rem;
}
.product-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.product-card p { color: var(--ink-600); font-size: 0.88rem; margin: 0; }

/* ---------------- Rate / feature panels ---------------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split.reverse { direction: rtl; } .split.reverse > * { direction: ltr; }
.split-media { position: relative; min-height: 320px; background: var(--navy-900); overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.panel:hover .split-media img { transform: scale(1.05); }
.split-body { padding: 44px; }
@media (max-width: 600px) { .split-body { padding: 30px 24px; } }

.feature-list { list-style: none; margin: 20px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
@media (max-width: 560px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; color: var(--ink-900); }
.feature-list li::before {
  content: '✓'; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-600); color: var(--white); font-size: 0.72rem;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}

.rate-rings { display: flex; gap: 28px; flex-wrap: wrap; margin: 24px 0; }
.rate-ring { text-align: center; }
.rate-ring .ring-visual {
  width: 92px; height: 92px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: conic-gradient(var(--green-600) 0% 100%, var(--card-alt) 0% 0%);
  position: relative; margin-bottom: 8px;
}
.rate-ring .ring-visual::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--card); }
.rate-ring .ring-visual span { position: relative; z-index: 1; font-family: var(--font-mono); font-weight: 600; font-size: 0.95rem; color: var(--navy-900); }
.rate-ring label { font-size: 0.76rem; color: var(--ink-600); }

.divider-leaf { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 40px; color: var(--green-600); font-size: 1.2rem; }
.divider-leaf::before, .divider-leaf::after { content: ''; height: 1px; width: 60px; background: var(--line); }

/* ---------------- Values / About ---------------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { background: var(--card-alt); border-radius: var(--radius-md); padding: 32px; border: 1px solid var(--line); transition: transform 0.3s var(--ease); }
.value-card:hover { transform: translateY(-5px); }
.value-card .num { font-family: var(--font-mono); color: var(--green-600); font-size: 0.8rem; font-weight: 600; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-media { position: relative; }
.about-media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4 / 3; }
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-media .badge {
  position: absolute; bottom: -22px; left: -22px; background: var(--card); border-radius: var(--radius-md);
  padding: 16px 20px; box-shadow: var(--shadow-card); display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
}
.about-media .badge b { font-family: var(--font-mono); color: var(--navy-900); font-size: 1.3rem; display: block; }
.about-media .badge span { font-size: 0.72rem; color: var(--ink-600); }
@media (max-width: 500px) { .about-media .badge { left: 12px; bottom: -18px; padding: 10px 14px; } }

blockquote.pull { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--green-700); border-left: 3px solid var(--green-600); padding-left: 20px; margin: 24px 0; }

/* ---------------- Rights & duties tabs ---------------- */
.tab-shell { display: grid; grid-template-columns: 1fr; gap: 24px; }
.tab-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.tab-btn { padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: all 0.25s ease; }
.tab-btn.active { background: var(--green-600); color: var(--white); border-color: var(--green-600); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.right-duty-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 760px; margin: 0 auto; }
@media (max-width: 700px) { .right-duty-grid { grid-template-columns: 1fr; } }
.right-duty-grid .item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 0.94rem; }

/* ---------------- Testimonial ---------------- */
.testi-card { max-width: 720px; margin: 0 auto; text-align: center; }
.testi-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; box-shadow: var(--shadow-card); }
.testi-card p.quote { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--white); line-height: 1.55; }

/* ---------------- Gallery (posts) ---------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--card); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform 0.3s var(--ease); }
.post-card:hover { transform: translateY(-6px); }
.gallery-wrapper { display: grid; gap: 2px; }
.gallery-1 { grid-template-columns: 1fr; } .gallery-2 { grid-template-columns: 1fr 1fr; }
.gallery-3, .gallery-4 { grid-template-columns: 1fr 1fr; } .gallery-5, .gallery-6 { grid-template-columns: repeat(3, 1fr); }
.gallery-wrapper img { width: 100%; height: 150px; object-fit: cover; cursor: pointer; }
.more-overlay { position: relative; }
.more-overlay span { position: absolute; inset: 0; background: rgba(8,21,39,0.65); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; }
.post-content { padding: 18px 20px; }
.post-content .meta { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.06em; }
.post-content h4 { font-size: 1.05rem; margin: 6px 0; }
.post-content p { font-size: 0.9rem; color: var(--ink-600); margin: 0; }
.empty-note { text-align: center; color: var(--ink-400); padding: 40px 0; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.85rem; transition: all 0.2s ease; }
.pagination a:hover { background: var(--navy-900); color: var(--white); }
.pagination a.active { background: var(--green-600); border-color: var(--green-600); color: var(--white); font-weight: 700; }

/* ---------------- Announcement popup ---------------- */
.announce-overlay {
  position: fixed; inset: 0; background: rgba(8,21,39,0.65); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.announce-overlay.show { opacity: 1; pointer-events: auto; }
.announce-modal {
  background: var(--card); border-radius: var(--radius-lg); max-width: 520px; width: 100%;
  box-shadow: 0 40px 90px -20px rgba(0,0,0,0.4); overflow: hidden;
  transform: translateY(24px) scale(0.97); transition: transform 0.4s var(--ease);
}
.announce-overlay.show .announce-modal { transform: translateY(0) scale(1); }
.announce-modal img { width: 100%; max-height: 260px; object-fit: cover; display: block; }
.announce-modal .body { padding: 28px 30px 30px; position: relative; }
.announce-modal .close-x {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(22,36,28,0.06); border: none; cursor: pointer; font-size: 1rem; color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
}
.announce-modal .close-x:hover { background: rgba(22,36,28,0.14); }
.announce-modal h4 { margin-bottom: 10px; }
.announce-modal p { color: var(--ink-600); line-height: 1.6; white-space: pre-line; }

.announcement-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 26px; margin-bottom: 24px; }
.row-align { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.row-align.flex-row-reverse { flex-direction: row-reverse; }
.announcement-img { max-width: 340px; width: 100%; border-radius: var(--radius-sm); object-fit: cover; }
.announcement-content { flex: 1; min-width: 260px; }
.announcement-content .dates { font-family: var(--font-mono); font-size: 0.72rem; color: var(--green-700); margin-bottom: 6px; }

/* ---------------- Footer ---------------- */
.site-footer { background: linear-gradient(175deg, var(--green-950), #071a0f); color: rgba(255,255,255,0.72); padding: 72px 0 24px; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--green-300), var(--gold-300), var(--green-300), transparent); opacity: 0.7; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand img { height: 64px; width: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(155,212,168,0.3); }
.footer-brand b { color: var(--white); font-family: var(--font-display); font-size: 1.3rem; }
.site-footer h5 { color: var(--white); font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: rgba(255,255,255,0.62); font-size: 0.9rem; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--green-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }
.social-dot { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; margin-top: 10px; transition: background 0.2s ease; }
.social-dot:hover { background: var(--green-500); color: var(--white); }

/* ---------------- Misc ---------------- */
.alert-flash { max-width: 720px; margin: 20px auto; padding: 14px 20px; border-radius: var(--radius-sm); font-size: 0.92rem; }
.alert-flash.success { background: rgba(47,122,65,0.10); color: var(--green-700); border: 1px solid rgba(47,122,65,0.28); }
.alert-flash.error { background: rgba(201,54,44,0.1); color: #b3261e; border: 1px solid rgba(201,54,44,0.3); }
