/* ============================================================
   KOICA Dominican Republic Sargassum Project — site styles
   Bright, ocean-inspired theme. Shared by /en and /ko pages.
   ============================================================ */
:root {
  --bg: #f6fbfd;
  --surface: #ffffff;
  --surface-2: #eef6f9;
  --sand: #fbf5e9;
  --ink: #12303f;
  --ink-2: #244a5c;
  --muted: #5b7280;
  --line: #dbe8ee;
  --teal: #0f8ba8;
  --teal-dark: #0b6d85;
  --teal-soft: #d9f0f5;
  --blue: #0a4a8a;
  --blue-soft: #e3edf8;
  --gold: #c9962b;
  --gold-soft: #fdf1d8;
  --green: #2e9e6b;
  --red: #d2503c;
  --shadow: 0 8px 28px rgba(18, 48, 63, 0.08);
  --shadow-sm: 0 2px 10px rgba(18, 48, 63, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --font-en: "Inter", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ko: "Noto Sans KR", "Inter", system-ui, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
  /* Status scale */
  --st0: #b8c7cf;  /* none */
  --st1: #57b894;  /* low */
  --st2: #e5c04a;  /* moderate */
  --st3: #ec8b3c;  /* high */
  --st4: #d2503c;  /* very high */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:lang(ko) body { font-family: var(--font-ko); word-break: keep-all; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 32px); margin: 0 auto; }
.section { padding: 84px 0; }
.section.alt { background: var(--surface-2); }
.section.sand { background: var(--sand); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.section-head { max-width: 860px; margin-bottom: 40px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 60px 0; } }

/* ---------- Header ---------- */
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 200; }
.skip-link:focus { left: 8px; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand .brand-text strong { font-size: .95rem; color: var(--blue); }
.brand .brand-text span { font-size: .72rem; color: var(--muted); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.nav a:hover { background: var(--teal-soft); text-decoration: none; color: var(--teal-dark); }
.lang-switch { display: flex; gap: 2px; margin-left: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang-switch a { padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.lang-switch a.active { background: var(--blue); color: #fff; }
.lang-switch a:hover { text-decoration: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
         padding: 12px 16px 18px; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; }
  .lang-switch { margin: 10px 0 0; align-self: flex-start; }
  .brand .brand-text span { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 640px; display: flex; align-items: center;
  background: url("../img/hero.jpg") center 55% / cover no-repeat;
  color: #fff; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 44, 70, .82) 0%, rgba(10, 74, 138, .62) 45%, rgba(15, 139, 168, .25) 100%);
}
.hero .container { padding: 90px 0; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  padding: 6px 14px 6px 8px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-bottom: 22px; backdrop-filter: blur(6px);
}
.hero .badge img { height: 22px; background: #fff; border-radius: 999px; padding: 3px 8px; }
.hero h1 { color: #fff; max-width: 820px; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero .sub { font-size: 1.15rem; max-width: 720px; color: rgba(255,255,255,.92); margin-bottom: 30px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; transition: .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--blue); }
.btn-primary:hover { background: var(--teal-soft); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 980px; }
.stat { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-sm); padding: 14px 16px; backdrop-filter: blur(8px); }
.stat b { display: block; font-size: 1.45rem; line-height: 1.2; }
.stat span { font-size: .82rem; color: rgba(255,255,255,.85); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } .hero { min-height: 560px; } }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.card h3 { margin-top: 6px; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-dark); font-size: 1.35rem; margin-bottom: 10px; }
.card.gold .icon { background: var(--gold-soft); color: var(--gold); }
.card.blue .icon { background: var(--blue-soft); color: var(--blue); }
.card.green .icon { background: #e1f3ea; color: var(--green); }
.card.red .icon { background: #fbe4e0; color: var(--red); }
.card ul { padding-left: 18px; margin: 0; }
.card li { margin-bottom: 6px; }
.figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.figure.contain img { object-fit: contain; background: #fff; }
.figure figcaption { padding: 12px 16px; font-size: .84rem; color: var(--muted); border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.split.reverse { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 900px) { .split, .split.reverse { grid-template-columns: 1fr; } }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--teal-soft); color: var(--teal-dark); }
.chip.gold { background: var(--gold-soft); color: #8b6414; }
.chip.blue { background: var(--blue-soft); color: var(--blue); }
.chip.grey { background: #edf1f4; color: var(--muted); }
.chip.green { background: #e1f3ea; color: #1f6d49; }

/* ---------- Background: problems ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.gallery .figure img { aspect-ratio: 4 / 3; }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.asis-tobe { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.asis-tobe .arrow { font-size: 1.4rem; color: var(--teal); }
.asis-tobe .box { padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.asis-tobe .box.asis { border-left: 4px solid var(--red); }
.asis-tobe .box.tobe { border-left: 4px solid var(--teal); }
.asis-tobe .box b { display: block; margin-bottom: 4px; }
@media (max-width: 720px) { .asis-tobe { grid-template-columns: 1fr; } .asis-tobe .arrow { transform: rotate(90deg); text-align: center; } }
.impact-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.impact-list .item { text-align: center; padding: 18px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.impact-list .item .em { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.impact-list .item b { display: block; font-size: .95rem; }
.impact-list .item span { font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) { .impact-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .impact-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Objectives: logic tree ---------- */
.logic { display: grid; gap: 14px; }
.logic .row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: stretch; }
.logic .label { background: var(--blue); color: #fff; border-radius: var(--radius-sm); padding: 16px; font-weight: 700; display: flex; flex-direction: column; justify-content: center; }
.logic .label small { font-weight: 500; opacity: .8; font-size: .78rem; }
.logic .row.goal .label { background: var(--blue); }
.logic .row.outcome .label { background: var(--teal-dark); }
.logic .row.outputs .label { background: var(--teal); }
.logic .value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; display: flex; align-items: center; font-weight: 600; }
.logic .outputs .value { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px; font-weight: 500; }
.logic .outputs .value div { background: var(--surface-2); border-radius: 8px; padding: 12px; font-size: .92rem; }
.logic .outputs .value div b { display: block; color: var(--teal-dark); margin-bottom: 4px; font-size: .8rem; letter-spacing: .05em; }
@media (max-width: 800px) { .logic .row { grid-template-columns: 1fr; } .logic .outputs .value { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .logic .outputs .value { grid-template-columns: 1fr; } }
.kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.kpi .card { text-align: center; }
.kpi .card b { display: block; font-size: 1.9rem; color: var(--teal-dark); }
@media (max-width: 720px) { .kpi { grid-template-columns: 1fr; } }

/* ---------- Components ---------- */
.component { position: relative; overflow: hidden; }
.component .num { position: absolute; right: 18px; top: 12px; font-size: 3.2rem; font-weight: 800; color: var(--surface-2); line-height: 1; }
.component .who { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.strategy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.strategy .item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.strategy .item .n { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; }
.strategy .item b { display: block; margin-bottom: 4px; }
.strategy .item p { margin: 0; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 800px) { .strategy { grid-template-columns: 1fr; } }

/* ---------- Timeline (roadmap) ---------- */
.roadmap { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 30px; position: relative; }
.roadmap::before { content: ""; position: absolute; top: 22px; left: 3%; right: 3%; height: 3px; background: linear-gradient(90deg, var(--teal), var(--blue)); border-radius: 3px; z-index: 0; }
.roadmap .year { position: relative; z-index: 1; text-align: center; }
.roadmap .dot { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); color: var(--teal-dark); font-weight: 800; display: grid; place-items: center; margin: 0 auto 12px; font-size: .8rem; }
.roadmap .year.now .dot { background: var(--teal); color: #fff; box-shadow: 0 0 0 6px var(--teal-soft); }
.roadmap .year ul { list-style: none; padding: 0; margin: 0; font-size: .82rem; color: var(--ink-2); text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; min-height: 130px; }
.roadmap .year li { padding-left: 12px; position: relative; margin-bottom: 5px; }
.roadmap .year li::before { content: "•"; position: absolute; left: 0; color: var(--teal); }
@media (max-width: 960px) { .roadmap { grid-template-columns: repeat(3, 1fr); } .roadmap::before { display: none; } }
@media (max-width: 560px) { .roadmap { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Organization ---------- */
.org { display: grid; gap: 14px; }
.org .tier { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: stretch; }
.org .tier-label { background: var(--blue-soft); color: var(--blue); border-radius: var(--radius-sm); padding: 14px; font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; text-align: center; }
.org .tier-body { display: grid; gap: 12px; }
.org .node { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.org .node b { display: block; color: var(--ink); }
.org .node small { color: var(--muted); display: block; margin-top: 2px; }
.org .node ul { margin: 8px 0 0; padding-left: 16px; font-size: .88rem; color: var(--ink-2); }
.org .node.primary { border: 2px solid var(--teal); background: linear-gradient(180deg, #fff, var(--teal-soft)); }
.org .tier-body.cols-3 { grid-template-columns: repeat(3, 1fr); }
.org .tier-body.cols-4 { grid-template-columns: repeat(4, 1fr); }
.org .tier-body.cols-2 { grid-template-columns: repeat(2, 1fr); }
.org .link { text-align: center; color: var(--muted); font-size: .8rem; }
@media (max-width: 900px) { .org .tier { grid-template-columns: 1fr; } .org .tier-body.cols-4, .org .tier-body.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .org .tier-body.cols-4, .org .tier-body.cols-3, .org .tier-body.cols-2 { grid-template-columns: 1fr; } }
.consortium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.consortium .card { display: flex; flex-direction: column; }
.consortium .logo-box { height: 90px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 16px; padding: 12px 24px; }
.consortium .logo-box img { max-height: 56px; width: auto; max-width: 100%; }
.consortium .role { font-size: .8rem; font-weight: 700; color: var(--teal-dark); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) { .consortium { grid-template-columns: 1fr; } }

/* ---------- News & progress ---------- */
.phases { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 26px 0 40px; }
.phase { text-align: center; padding: 16px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-size: .85rem; position: relative; }
.phase .mark { width: 30px; height: 30px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center; font-weight: 800; font-size: .8rem; background: #edf1f4; color: var(--muted); }
.phase.done .mark { background: var(--green); color: #fff; }
.phase.current { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.phase.current .mark { background: var(--teal); color: #fff; }
.phase b { display: block; }
.phase small { color: var(--muted); }
@media (max-width: 900px) { .phases { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .phases { grid-template-columns: repeat(2, 1fr); } }
.news-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .news-layout { grid-template-columns: 1fr; } }
.news-list { display: grid; gap: 14px; }
.news-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.news-item time { font-weight: 700; color: var(--teal-dark); font-size: .9rem; line-height: 1.3; }
.news-item time small { display: block; font-weight: 500; color: var(--muted); }
.news-item h4 { margin: 0 0 4px; font-size: 1.02rem; }
.news-item p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.news-item.upcoming { background: var(--sand); }
@media (max-width: 520px) { .news-item { grid-template-columns: 1fr; } }
.progress-list { display: grid; gap: 14px; }
.progress { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.progress .top { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; margin-bottom: 8px; }
.progress .bar { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--blue)); border-radius: 999px; }

/* ---------- Monitoring ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; font-size: .85rem; color: var(--ink-2); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 6px; vertical-align: -2px; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.st-0 { background: var(--st0); } .st-1 { background: var(--st1); } .st-2 { background: var(--st2); } .st-3 { background: var(--st3); } .st-4 { background: var(--st4); }
.mon-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; align-items: stretch; margin-top: 28px; }
@media (max-width: 960px) { .mon-grid { grid-template-columns: 1fr; } }
#map { height: 520px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); z-index: 1; }
.beach-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.beach-table th, .beach-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.beach-table th { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.beach-table .st { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.beach-table .trend { font-weight: 700; }
.beach-table .trend.up { color: var(--red); } .beach-table .trend.down { color: var(--green); } .beach-table .trend.flat { color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.panel h3 { font-size: 1.05rem; margin-bottom: 4px; }
.panel .sub { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.panel .scroll { overflow: auto; max-height: 440px; }
.charts { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; margin-top: 20px; }
.charts .panel canvas { width: 100% !important; }
.chart-wrap { position: relative; height: 300px; }
.chart-wrap.tall { height: 340px; }
@media (max-width: 960px) { .charts { grid-template-columns: 1fr; } }
.forecast { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.forecast .day { text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 6px; font-size: .82rem; }
.forecast .day b { display: block; font-size: 1.05rem; }
.forecast .day .pill { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; color: #fff; font-size: .72rem; font-weight: 700; }
.notice { display: flex; gap: 12px; background: var(--gold-soft); border: 1px solid #f1dfae; border-radius: var(--radius-sm); padding: 14px 16px; font-size: .88rem; color: #6b4d0c; margin-top: 22px; }
.notice .em { font-size: 1.2rem; line-height: 1; }
.sources { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.sources a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .88rem; color: var(--ink); }
.sources a b { display: block; color: var(--teal-dark); }
.sources a:hover { border-color: var(--teal); text-decoration: none; }
@media (max-width: 900px) { .sources { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sources { grid-template-columns: 1fr; } }
.sat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
@media (max-width: 800px) { .sat-grid { grid-template-columns: 1fr; } }
.leaflet-popup-content { font-family: inherit; font-size: .9rem; }
.leaflet-popup-content b { color: var(--blue); }
.leaflet-container { font: inherit; }

/* ---------- Partners & footer ---------- */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.partners .p { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; place-items: center; gap: 12px; text-align: center; min-height: 160px; }
.partners .p img { max-height: 58px; width: auto; max-width: 85%; }
.partners .p span { font-size: .85rem; color: var(--muted); }
@media (max-width: 800px) { .partners { grid-template-columns: 1fr 1fr; } }
.site-footer { background: #0d2f45; color: rgba(255,255,255,.82); padding: 48px 0 30px; font-size: .9rem; }
.site-footer a { color: #9fdcec; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 18px; font-size: .8rem; color: rgba(255,255,255,.6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { text-decoration: none; background: var(--teal-dark); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
