/* =========================================================
   GreenKG — Green & Digital University · main stylesheet
   ========================================================= */
:root {
  --ink: #11241d;
  --forest: #0e3b2c;
  --forest-2: #145039;
  --green: #1f7a4d;
  --leaf: #5fae3e;
  --lime: #cfe86f;
  --paper: #f5f3ec;
  --paper-2: #ece9de;
  --card: #ffffff;
  --muted: #59675f;
  --line: #e0dccf;
  --eu: #003399;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(17, 36, 29, .06), 0 10px 30px -12px rgba(17, 36, 29, .18);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--forest); }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.9rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.3rem); }
h3 { font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); }
h1 em, h2 em { font-style: normal; color: var(--leaf); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 8px 14px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font: 600 15.5px/1 var(--font); padding: 15px 22px; border-radius: 999px;
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--green); color: #fff; }
.btn-lime { background: var(--lime); color: var(--forest); }
.btn-lime:hover { background: #fff; color: var(--forest); }
.btn-ghost { border-color: currentColor; color: var(--forest); background: transparent; }
.btn-ghost:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--forest); border-color: #fff; }
.btn-sm { padding: 11px 16px; font-size: 14.5px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1.2 var(--font);
  letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--leaf); border-radius: 2px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(245, 243, 236, .88); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.35); }
.header-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); flex: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font: 700 18px/1.1 var(--display); letter-spacing: -.02em; }
.brand-text small { font-size: 12px; color: var(--muted); margin-top: 3px; max-width: 190px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 9px 12px; border-radius: 999px; text-decoration: none;
  color: var(--ink); font-size: 15px; font-weight: 500; transition: background .15s, color .15s; white-space: nowrap;
}
.main-nav a:hover { background: var(--paper-2); color: var(--forest); }
.main-nav a.active { background: var(--forest); color: #fff; }
.lang-switch { display: flex; background: var(--paper-2); border-radius: 999px; padding: 4px; flex: none; }
.lang-switch a, .lang-mobile a {
  font: 600 12.5px/1 var(--font); letter-spacing: .04em; padding: 8px 10px; border-radius: 999px;
  text-decoration: none; color: var(--muted);
}
.lang-switch a.on { background: #fff; color: var(--forest); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.lang-switch a:hover:not(.on) { color: var(--forest); }
.lang-mobile { display: none; }
.burger {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--forest); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.burger .i-close { display: none; }
.nav-open .burger .i-open { display: none; }
.nav-open .burger .i-close { display: block; }

@media (max-width: 1480px) {
  .brand-text small { display: none; }
  .main-nav a { padding: 9px 10px; font-size: 14.5px; }
}
@media (max-width: 1200px) {
  .burger { display: inline-flex; }
  .lang-switch { margin-left: auto; }
  .burger { margin-left: 0; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 12px 20px 22px;
    box-shadow: 0 24px 40px -20px rgba(0,0,0,.3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .22s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { font-size: 17px; padding: 13px 16px; border-radius: 12px; }
}
@media (max-width: 520px) {
  :root { --header-h: 66px; }
  .lang-switch { display: none; }
  .burger { margin-left: auto; }
  .lang-mobile { display: flex; gap: 8px; margin-top: 14px; padding: 14px 4px 0; border-top: 1px solid var(--line); }
  .lang-mobile a { padding: 11px 18px; background: var(--paper-2); font-size: 14px; }
  .lang-mobile a.on { background: var(--forest); color: #fff; }
  .brand img { width: 40px; height: 40px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); flex-wrap: wrap; }
.sec-head h2 { margin: 0; max-width: 720px; }
.sec-head p { color: var(--muted); max-width: 560px; margin: 12px 0 0; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--leaf); border-radius: 2px; }
.bg-white { background: #fff; }
.bg-forest { background: var(--forest); color: #dfe9e3; }
.bg-forest h2, .bg-forest h3 { color: #fff; }
.bg-forest .eyebrow { color: var(--lime); }
.bg-forest .eyebrow::before, .bg-forest .eyebrow::after { background: var(--lime); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero-lead { font-size: clamp(17px, 1rem + .3vw, 20px); color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-eu { display: flex; align-items: center; gap: 14px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.hero-eu img { width: 190px; border-radius: 6px; background: #fff; padding: 4px 6px; }
.hero-art { position: relative; aspect-ratio: 1 / 1.02; }
.hero-art .ph { position: absolute; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); }
.hero-art .ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .ph-a { inset: 0 22% 26% 0; }
.hero-art .ph-b { inset: 44% 0 0 38%; border: 6px solid var(--paper); }
.hero-art .ph-c {
  position: absolute; right: 2%; top: 6%; width: 34%; aspect-ratio: 1; border-radius: 50%;
  background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); border: 6px solid var(--paper);
}
.hero-art .ph-c img { width: 72%; height: auto; }
.hero-chip {
  position: absolute; left: 4%; bottom: 6%; background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 60%;
}
.hero-chip .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--lime); color: var(--forest); display: grid; place-items: center; flex: none; }
.hero-chip b { font: 600 15px/1.2 var(--display); color: var(--forest); display: block; }
.hero-chip span { font-size: 13px; color: var(--muted); }
.hero-blob { position: absolute; z-index: -1; width: 640px; height: 640px; right: -180px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(207,232,111,.55), rgba(207,232,111,0) 65%); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--forest); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 30px 28px; color: #cfe0d6; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: rgba(255,255,255,.14); }
.stat b { display: block; font: 600 clamp(30px, 2rem + 1vw, 44px)/1 var(--display); color: var(--lime); margin-bottom: 10px; letter-spacing: -.03em; }
.stat span { font-size: 15px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.about-text p { color: #34433b; }
.about-media figure { margin: 0; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-media figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--leaf); }
.mission { margin-top: 28px; background: var(--forest); color: #e3efe8; border-radius: var(--radius); padding: 26px 28px; position: relative; overflow: hidden; }
.mission h3 { color: var(--lime); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font); font-weight: 700; margin-bottom: 8px; }
.mission p { margin: 0; font-size: 16px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 72px); }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .25s, box-shadow .25s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar .pi { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: #e4f1d6; color: var(--green); }
.pillar .pi .ic { width: 26px; height: 26px; }
.pillar:nth-child(2) .pi { background: #dbe9f6; color: #1d5b93; }
.pillar:nth-child(3) .pi { background: #f4ecc9; color: #8a6510; }
.pillar p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- arkan ---------- */
.arkan { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.slider { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/5; background: #0b2a20; box-shadow: var(--shadow); }
.slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease, transform 6s ease; transform: scale(1.06); }
.slider .slide.on { opacity: 1; transform: scale(1); }
.slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.slider::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,30,22,.75), rgba(8,30,22,0) 45%); pointer-events: none; }
.slider-cap { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 2; color: #fff; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.slider-cap b { font: 600 15px/1.3 var(--font); max-width: 60%; opacity: .9; }
.slider-nav { display: flex; gap: 8px; }
.slider-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--forest); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.slider-nav button:hover { background: var(--lime); }
.slider-dots { position: absolute; top: 20px; left: 22px; right: 22px; z-index: 2; display: flex; gap: 6px; }
.slider-dots i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); }
.slider-dots i.on { background: #fff; }
.badge { display: inline-block; background: var(--lime); color: var(--forest); font-weight: 600; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.checks li { display: flex; gap: 16px; }
.checks .ck { width: 40px; height: 40px; border-radius: 50%; background: rgba(207,232,111,.16); color: var(--lime); display: grid; place-items: center; flex: none; }
.checks h3 { font-size: 17px; margin: 2px 0 4px; }
.checks p { margin: 0; color: #b8cdc1; font-size: 15.5px; }

/* ---------- news cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ncard { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; position: relative; }
.ncard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ncard .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.ncard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ncard:hover .thumb img { transform: scale(1.05); }
.ncard .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ncard time { font-size: 13.5px; color: var(--green); font-weight: 600; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ncard time .ic { width: 16px; height: 16px; }
.ncard h3 { font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
.ncard h3 a { color: var(--forest); text-decoration: none; }
.ncard h3 a::after { content: ""; position: absolute; inset: 0; }
.ncard p { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; }
.ncard .more { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--forest); display: inline-flex; align-items: center; gap: 8px; }
.ncard .lang-tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); font: 600 11.5px/1 var(--font); padding: 6px 9px; border-radius: 999px; color: var(--muted); letter-spacing: .05em; }
.ncard.feature { grid-column: 1 / -1; flex-direction: row; }
.ncard.feature .thumb { aspect-ratio: auto; width: 55%; flex: none; }
.ncard.feature .body { padding: clamp(28px, 4vw, 56px); justify-content: center; }
.ncard.feature h3 { font-size: clamp(20px, 1rem + .8vw, 26px); }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; border: 1px solid var(--line); color: var(--forest); background: #fff; font-weight: 600; }
.pager .on { background: var(--forest); color: #fff; border-color: var(--forest); }
.pager a:hover { border-color: var(--forest); }

/* ---------- partners ---------- */
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 12px; text-align: center; transition: border-color .2s, box-shadow .2s; }
.partner:hover { border-color: var(--leaf); box-shadow: var(--shadow); }
.partner img { max-height: 92px; width: auto; max-width: 92%; object-fit: contain; }
.partner span { font-size: 12.5px; line-height: 1.3; color: var(--muted); margin-top: 12px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci { width: 46px; height: 46px; border-radius: 14px; background: rgba(207,232,111,.15); color: var(--lime); display: grid; place-items: center; flex: none; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: var(--lime); }
.contact-list small { display: block; font-size: 13px; color: #9fb8aa; }
.form-card { background: #fff; border-radius: 22px; padding: clamp(24px, 3vw, 38px); color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--forest); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; width: 100%; padding: 13px 16px; border: 1.5px solid var(--line);
  border-radius: 12px; background: #fbfaf6; color: var(--ink); transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute !important; left: -5000px !important; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: 15.5px; }
.alert-ok { background: #e3f3d6; color: #1f5a22; }
.alert-err { background: #fbe2df; color: #8a2016; }

/* ---------- page hero (inner) ---------- */
.page-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(32px, 4vw, 56px); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 900px; }
.page-hero p.lead { color: var(--muted); max-width: 680px; font-size: clamp(16px, 1rem + .25vw, 19px); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }

/* ---------- docs / courses ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 18px; align-items: center; transition: border-color .2s, box-shadow .2s; }
.doc:hover { border-color: var(--leaf); box-shadow: var(--shadow); }
.doc .pdf { width: 56px; height: 66px; border-radius: 10px; background: #fdebe8; color: #c0392b; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 700 11px/1 var(--font); flex: none; gap: 4px; letter-spacing: .05em; }
.doc .pdf .ic { width: 22px; height: 22px; }
.doc .info { flex: 1; min-width: 0; }
.doc h3 { font-size: 16.5px; line-height: 1.35; margin: 0 0 4px; font-family: var(--font); font-weight: 650; letter-spacing: 0; color: var(--ink); }
.doc small { color: var(--muted); font-size: 13.5px; }
.doc .acts { display: flex; gap: 8px; flex: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1.5px solid var(--line); color: var(--forest); background: #fff; text-decoration: none; transition: .2s; }
.icon-btn:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.icon-btn .ic { width: 19px; height: 19px; }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.course .num { font: 600 13px/1 var(--display); color: var(--green); background: #e4f1d6; padding: 8px 12px; border-radius: 999px; align-self: flex-start; }
.course h3 { font-size: 17.5px; margin: 0; line-height: 1.35; }
.course .lvl { font-size: 14px; color: var(--muted); }
.course .acts { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }

/* ---------- conference ---------- */
.conf-hero { background: var(--forest); color: #dbe8e0; border-radius: 28px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.conf-hero h1 { color: #fff; font-size: clamp(1.6rem, 1rem + 2.4vw, 3rem); }
.conf-hero .eyebrow { color: var(--lime); }
.conf-hero .eyebrow::before { background: var(--lime); }
.conf-meta { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); padding: 10px 16px; border-radius: 999px; font-size: 15px; margin-bottom: 20px; color: #fff; }
.conf-logo { background: #fff; border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; padding: 14%; }
.conf-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
.tbl th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #faf9f4; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: #fbfaf5; }
.search-bar { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.search-bar input { flex: 1; min-width: 220px; font: inherit; padding: 13px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.search-bar input:focus { outline: none; border-color: var(--green); }

/* ---------- article ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article-head h1 { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.8rem); }
.article-meta { display: flex; gap: 18px; align-items: center; color: var(--muted); font-size: 15px; margin-bottom: 28px; flex-wrap: wrap; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin: 0 0 36px; box-shadow: var(--shadow); }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.prose { font-size: 18px; line-height: 1.75; color: #22332b; }
.prose p { margin-bottom: 1.15em; }
.notice { background: #fff6d8; border: 1px solid #f0de9a; color: #6d5410; padding: 12px 16px; border-radius: 12px; font-size: 15px; margin-bottom: 24px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.gallery a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: var(--paper-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }
.share { display: flex; gap: 10px; align-items: center; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share a { font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--forest); background: #fff; }
.share a:hover { border-color: var(--forest); }

/* lightbox */
.lb { position: fixed; inset: 0; background: rgba(6,20,15,.94); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.lb.on { display: flex; }
.lb img { max-width: 100%; max-height: 88vh; border-radius: 10px; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb .lb-x { top: 18px; right: 18px; }
.lb .lb-p { left: 18px; top: 50%; transform: translateY(-50%); }
.lb .lb-n { right: 18px; top: 50%; transform: translateY(-50%); }
.lb .lb-c { position: absolute; bottom: 18px; color: #cfe0d6; font-size: 14px; }

/* ---------- seminar ---------- */
.tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.tag { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14.5px; font-weight: 500; color: var(--forest); }
.tag::before { content: "✦ "; color: var(--leaf); }
.prog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.prog { display: flex; gap: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; }
.prog .n { font: 600 30px/1 var(--display); color: var(--lime); flex: none; }
.prog h3 { font-size: 18px; margin-bottom: 6px; }
.prog p { margin: 0; color: #b8cdc1; font-size: 15.5px; }
.result { background: var(--lime); border-radius: 28px; padding: clamp(28px, 5vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.result h2 { margin: 0; }
.result p { margin: 0; color: #2c3d22; font-size: 17.5px; }

/* ---------- 404 / misc ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); }
.center-box { text-align: center; max-width: 640px; margin: 0 auto; }
.big-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: #e4f1d6; color: var(--green); }
.big-ic .ic { width: 34px; height: 34px; }

/* ---------- footer ---------- */
.site-footer { background: #0a2a1f; color: #b4c8bd; padding: 72px 0 0; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr; gap: 48px; padding-bottom: 48px; }
.brand-light { color: #fff; }
.brand-light .brand-text small { color: #9db5a8; display: block; }
.f-mission { margin-top: 20px; max-width: 460px; line-height: 1.7; }
.f-mission strong { color: var(--lime); font-weight: 600; }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.f-links, .f-contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #d7e5dd; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.f-contacts li { display: flex; gap: 12px; align-items: flex-start; }
.f-contacts .ic { color: var(--lime); margin-top: 3px; width: 18px; height: 18px; }
.f-eu { display: flex; gap: 24px; align-items: center; padding: 28px 24px; border-top: 1px solid rgba(255,255,255,.1); }
.f-eu img { width: 210px; background: #fff; border-radius: 8px; padding: 6px 8px; flex: none; }
.f-eu p { margin: 0; font-size: 13px; line-height: 1.6; color: #8fa89b; }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; flex-wrap: wrap; }
.f-lang { display: flex; gap: 14px; }
.f-lang a.on { color: var(--lime); font-weight: 600; }

.to-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; z-index: 40; }
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green); color: #fff; }

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

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .partners { grid-template-columns: repeat(4, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .hero-grid, .about-grid, .arkan, .contact-grid, .conf-hero, .result { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; width: 100%; margin: 8px auto 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .pillars { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid, .prog-list { grid-template-columns: 1fr; }
  .slider { aspect-ratio: 4/4.4; }
  .conf-logo { max-width: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: span 2; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .news-grid, .course-grid { grid-template-columns: 1fr; }
  .ncard.feature { flex-direction: column; }
  .ncard.feature .thumb { width: 100%; aspect-ratio: 16/10; }
  .ncard.feature .body { padding: 22px 24px 24px; }
  .partners { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .partner span { display: none; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .stat { padding: 22px 18px; }
  .stat span { font-size: 14px; }
  .doc { flex-wrap: wrap; }
  .doc .acts { width: 100%; padding-left: 74px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .f-brand { grid-column: auto; }
  .f-eu { flex-direction: column; align-items: flex-start; padding: 24px 16px; }
  .f-bottom { padding: 20px 16px 26px; }
  .hero-chip { max-width: 78%; padding: 10px 14px; }
  .hero-eu { flex-direction: column; align-items: flex-start; gap: 8px; }
  .btn { padding: 14px 18px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .prose { font-size: 17px; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.course .lvl { display: flex; align-items: center; gap: 8px; }
.course .lvl .ic { width: 17px; height: 17px; color: var(--green); }
.doc small { overflow-wrap: anywhere; }
.doc-grid, .news-grid, .course-grid { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.news-grid, .course-grid { --cols: 3; }
@media (max-width: 1060px) { .course-grid { --cols: 2; } }
@media (max-width: 900px) { .news-grid { --cols: 2; } .doc-grid { --cols: 1; } }
@media (max-width: 640px) { .news-grid, .course-grid { --cols: 1; } .hero-blob { display: none; } }
.partners { grid-template-columns: repeat(var(--pc, 6), minmax(0, 1fr)); }
.partner img { min-width: 0; }
@media (max-width: 1060px) { .partners { --pc: 4; } }
@media (max-width: 640px) { .partners { --pc: 3; } .slider-cap b { display: none; } .slider-cap { justify-content: flex-end; } }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 420px) { h1 { font-size: 1.8rem; } .page-hero h1 { font-size: 1.65rem; } }
