:root {
  --blue: #0083cb;
  --blue-dark: #006aa5;
  --ink: #1d2033;
  --text: #3d4150;
  --muted: #6b7080;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --line: #e3e6eb;
  --black: #000000;
  --notice: #c62828;
  --radius: 10px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Header ---------- */
.site-header { background: var(--black); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.brand img { height: 64px; width: auto; }
.nav-toggle {
  display: none; background: none; border: 1px solid #444; color: #fff; border-radius: 6px;
  padding: 8px 12px; font: inherit; cursor: pointer;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.main-nav a, .main-nav .dd-btn {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 10px 12px; display: block; background: none; border: 0; font-family: inherit; cursor: pointer;
  line-height: inherit;
}
.main-nav a:hover, .main-nav .dd-btn:hover, .main-nav a[aria-current="page"] { color: var(--blue); }
.main-nav .has-dd { position: relative; }
.main-nav .dd {
  display: none; position: absolute; right: 0; top: 100%; background: #fff; min-width: 290px;
  border-top: 3px solid var(--blue); box-shadow: 0 10px 30px rgba(0,0,0,.2); padding: 6px 0;
}
.main-nav .dd a { color: var(--ink); font-weight: 400; padding: 9px 18px; }
.main-nav .dd a:hover { background: var(--bg-soft); color: var(--blue); }
.main-nav .has-dd:hover .dd, .main-nav .has-dd:focus-within .dd, .main-nav .has-dd.open .dd { display: block; }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #000; padding: 8px 0 16px; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav a, .main-nav .dd-btn { padding: 12px 20px; width: 100%; text-align: left; }
  .main-nav .dd { position: static; box-shadow: none; border: 0; background: #111; min-width: 0; }
  .main-nav .dd a { color: #ddd; padding-left: 36px; }
  .main-nav .has-dd:hover .dd { display: none; }
  .main-nav .has-dd.open .dd, .main-nav .has-dd:focus-within .dd { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  background: #111 center/cover no-repeat;
  padding: clamp(80px, 14vw, 170px) 0 clamp(90px, 14vw, 170px);
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.hero .wrap { position: relative; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.5vw, 3.9rem); font-weight: 700; text-transform: none; }
.hero .sub { font-size: clamp(1rem, 2vw, 1.25rem); opacity: .92; margin: 0; }
.hero-home { min-height: 72vh; display: flex; align-items: center; }
.hero-home .wrap { width: 100%; }
.slides { position: relative; min-height: 13em; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; display: flex; flex-direction: column; justify-content: center; }
.slide.active { opacity: 1; }
.no-js .slide:first-child, .slide:only-child { opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: clamp(50px, 7vw, 90px) 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: #0d0f1a center/cover no-repeat; color: #fff; position: relative; }
.section.dark::before { content: ""; position: absolute; inset: 0; background: rgba(5, 10, 25, .72); }
.section.dark > .wrap { position: relative; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .85rem; margin-bottom: .4em; }
.lead { font-size: 1.1rem; }
.center { text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.top { align-items: start; }
.split img { border-radius: var(--radius); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.btn {
  display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700;
  padding: 12px 26px; border-radius: 30px; letter-spacing: .03em; transition: background .2s;
}
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn.outline { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.btn.outline:hover { background: var(--blue); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

.notice {
  border: 2px solid var(--notice); background: #fff5f5; border-radius: var(--radius);
  padding: 22px 26px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.notice strong { color: var(--notice); font-size: 1.25rem; display: block; }
.notice p { margin: 0; }
.notice .btn { background: var(--notice); }
.notice .btn:hover { background: #a01f1f; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 300; color: #fff; line-height: 1.1; }
.stat .num.icon { font-size: clamp(2rem, 4vw, 3rem); }
.stat h3 { font-weight: 400; font-size: 1.1rem; margin-top: .5em; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }

.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 50px; }
.logos img { max-height: 80px; width: auto; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 4px 18px rgba(20, 30, 60, .05);
}
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.2rem; }
.card p { font-size: .95rem; flex: 1; }
.card .btn { align-self: flex-start; padding: 9px 20px; font-size: .9rem; }

ul.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
ul.ticks li { padding-left: 26px; position: relative; margin-bottom: .35em; }
ul.ticks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }

.locs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.loc { background: #fff; border-left: 4px solid var(--blue); padding: 18px 20px; border-radius: 6px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.loc h3 { margin-bottom: .3em; }
.loc .coords { font-family: Consolas, monospace; font-size: .85rem; color: var(--muted); }
.loc p { margin: .3em 0; font-size: .95rem; }

.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.amen > div { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }

.contact-box { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; }
.contact-box p { margin: .25em 0; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 14px; }
.contact-list .label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.contact-list a { font-size: 1.1rem; font-weight: 600; text-decoration: none; }

.doc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.doc-list a {
  display: flex; gap: 12px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); font-weight: 600; background: #fff;
}
.doc-list a:hover { border-color: var(--blue); color: var(--blue); }
.doc-list .ico { flex: none; width: 34px; height: 40px; border-radius: 4px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery a { display: block; border-radius: 8px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 400 / 284; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { max-width: 94vw; max-height: 86vh; margin: auto; }
.lightbox button { position: fixed; top: 14px; right: 18px; background: #fff; border: 0; border-radius: 50%; width: 40px; height: 40px; font-size: 22px; cursor: pointer; }

.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.videos video { width: 100%; border-radius: var(--radius); background: #000; aspect-ratio: 16 / 9; }

/* News */
.post-list { display: grid; gap: 26px; }
.post-item { display: grid; grid-template-columns: 260px 1fr; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-item img { width: 100%; height: 100%; object-fit: cover; min-height: 190px; }
.post-item .body { padding: 22px 24px 22px 0; }
.post-item h2 { font-size: 1.3rem; }
.post-item h2 a { color: var(--ink); text-decoration: none; }
.post-item h2 a:hover { color: var(--blue); }
.meta { color: var(--muted); font-size: .88rem; margin-bottom: .6em; }
@media (max-width: 700px) { .post-item { grid-template-columns: 1fr; } .post-item .body { padding: 0 20px 20px; } }

.article { max-width: 820px; margin: 0 auto; }
.article h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.article h2 { font-size: 1.45rem; margin-top: 1.6em; }
.article figure { margin: 1.8em 0; }
.article figure img { border-radius: var(--radius); margin: 0 auto; }
.article figcaption { color: var(--muted); font-size: .9rem; text-align: center; margin-top: .6em; font-style: italic; }
.article .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .article .two { grid-template-columns: 1fr; } }
.article blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: #0b0b0b; color: #cfd2d8; padding: 56px 0 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 6px; }
.foot-grid img { height: 90px; width: auto; margin-bottom: 14px; }
.foot-bottom { background: #000; margin-top: 46px; padding: 18px 0; font-size: .85rem; color: #9a9ea8; }
.foot-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }
