:root {
  --violet: #3d3477;
  --violet-2: #5b4fa6;
  --violet-dk: #2a2357;
  --teal: #12928b;
  --green: #8cc63f;
  --gold: #f2c14e;
  --ink: #1f1b3a;
  --text: #3b3758;
  --muted: #706c8c;
  --bg: #fbfaf8;
  --tint: #f3f1f9;
  --card: #ffffff;
  --line: #e6e3ef;
  --ok: #138a5a;
  --err: #c43d4b;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(31, 27, 58, .04), 0 8px 28px rgba(31, 27, 58, .07);
  --shadow-lg: 0 2px 6px rgba(31, 27, 58, .05), 0 24px 60px rgba(31, 27, 58, .12);
  --grad: linear-gradient(120deg, var(--teal), var(--green));
  --serif: 'Lora', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--violet-2); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: 19px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.ic { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 800px; }
.wrap--mid { max-width: 1000px; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 55%, transparent); outline-offset: 2px; }

/* ---------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; font: 700 15px/1.2 var(--sans); color: #fff; background: var(--violet); transition: transform .2s, box-shadow .2s, background .2s; box-shadow: 0 8px 22px -8px rgba(61, 52, 119, .55); white-space: nowrap; }
.btn:hover { background: var(--violet-2); transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(61, 52, 119, .6); }
.btn .ic { width: 18px; height: 18px; }
.btn--ghost { background: transparent; color: var(--violet); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--violet-2); }
.btn--light { background: #fff; color: var(--violet); box-shadow: none; }
.btn--light:hover { background: var(--gold); color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--danger { background: var(--err); box-shadow: none; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--violet); }
.link .ic { transition: transform .2s; }
.link:hover .ic { transform: translateX(4px); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow .ic { width: 18px; height: 18px; }
.eyebrow--light { color: var(--gold); }

/* ---------- Header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 248, .82); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(31, 27, 58, .3); }
.hdr__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.brand img { width: 50px; height: 50px; object-fit: contain; }
.brand__txt { display: flex; flex-direction: column; font-size: 13.5px; line-height: 1.2; }
.brand__txt b { font-weight: 800; }
.brand--light { color: #fff; }
.brand--light img { background: #fff; border-radius: 50%; padding: 3px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a:not(.btn) { padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--text); transition: background .2s, color .2s; }
.nav a:not(.btn):hover { background: var(--tint); color: var(--violet); }
.nav a.is-active { color: var(--violet); background: var(--tint); }
.nav__cta { margin-left: 10px; }
.burger { display: none; margin-left: auto; background: var(--tint); border: 0; width: 46px; height: 46px; border-radius: 50%; color: var(--violet); cursor: pointer; }
.burger .ic { margin: auto; width: 22px; height: 22px; }
.adminbar { background: var(--ink); color: #cfcbe6; font-size: 13px; }
.adminbar .wrap { display: flex; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.adminbar a { color: var(--gold); font-weight: 700; }

/* ---------- Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px 400px at 85% 10%, rgba(140, 198, 63, .16), transparent 70%),
  radial-gradient(700px 500px at 70% 80%, rgba(91, 79, 166, .14), transparent 70%),
  radial-gradient(500px 400px at 5% 0%, rgba(18, 146, 139, .10), transparent 70%); }
.hero__in { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.08; }
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 500; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__visual { position: relative; }
.hero__photo { border-radius: 32px 32px 32px 120px; overflow: hidden; aspect-ratio: 4/4.2; box-shadow: var(--shadow-lg); background: var(--tint); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; left: -28px; top: 28px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 20px; padding: 12px 18px 12px 12px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.hero__badge img { width: 52px; height: 52px; }
.hero__badge b { display: block; color: var(--ink); }
.hero__badge span { font-size: 13px; color: var(--muted); }
.hero__next { position: absolute; right: -16px; bottom: 28px; max-width: 340px; display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .96); padding: 14px 18px 14px 14px; border-radius: 20px; box-shadow: var(--shadow-lg); color: var(--text); transition: transform .2s; }
.hero__next:hover { transform: translateY(-3px); }
.hero__next-date { flex: none; width: 58px; height: 58px; border-radius: 14px; background: var(--violet); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; line-height: 1.1; }
.hero__next-date b { font-size: 22px; }
.hero__next small { display: block; color: var(--teal); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.hero__next b { color: var(--ink); font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Stats */
.stats { padding: 0 0 24px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--violet); border-radius: 28px; color: #fff; padding: 12px; background-image: radial-gradient(500px 200px at 100% 0, rgba(140, 198, 63, .22), transparent), radial-gradient(400px 200px at 0 100%, rgba(18, 146, 139, .3), transparent); }
.stat { padding: 26px 24px; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat:last-child { border: 0; }
.stat b { display: block; font-size: clamp(32px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; color: #fff; }
.stat span { color: #cfcaf0; font-size: 14.5px; line-height: 1.4; display: block; }

/* ---------- Sections */
.sec { padding: 88px 0; }
.sec--first { padding-top: 48px; }
.sec--tint { background: var(--tint); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.sec__head h2 { margin: 0; }
.sec__head--center { flex-direction: column; align-items: center; text-align: center; }
.h-sub { font-size: 24px; margin-bottom: 20px; }

/* ---------- Event cards */
.egrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.ecard { display: flex; gap: 18px; background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); color: var(--text); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.ecard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ecard__date { flex: none; width: 68px; height: 76px; border-radius: 16px; background: var(--tint); color: var(--violet); display: flex; flex-direction: column; align-items: center; justify-content: center; text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.ecard__date b { font-size: 30px; line-height: 1; letter-spacing: -.02em; }
.ecard__body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ecard h3 { margin: 10px 0 10px; font-size: 18px; }
.ecard__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.ecard__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ecard__meta .ic { width: 16px; height: 16px; }
.ecard__foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ecard__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--violet); transition: background .2s, color .2s; flex: none; }
.ecard:hover .ecard__go { background: var(--violet); color: #fff; }
.ecard__go .ic { width: 18px; height: 18px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e9f6f4; color: var(--teal); letter-spacing: .02em; align-self: flex-start; }
.tag--conference, .tag--congress { background: #eeebfa; color: var(--violet-2); }
.tag--seminar, .tag--round-table { background: #fdf4dc; color: #8a6510; }
.pill { display: inline-block; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--muted); }
.pill--ok { background: #e4f5ec; color: var(--ok); }

.empty { display: flex; align-items: center; gap: 20px; background: #fff; border: 1.5px dashed var(--line); border-radius: var(--r); padding: 26px 28px; flex-wrap: wrap; }
.empty > .ic { width: 40px; height: 40px; color: var(--teal); }
.empty > div { flex: 1; min-width: 220px; }
.empty b { color: var(--ink); font-size: 17px; }
.empty p { margin: 4px 0 0; color: var(--muted); }

/* ---------- Directions */
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dirs--4 { grid-template-columns: repeat(4, 1fr); }
.dir { position: relative; background: #fff; border-radius: var(--r); padding: 32px 28px; box-shadow: var(--shadow); overflow: hidden; }
.dir__num { position: absolute; right: 22px; top: 14px; font-size: 54px; font-weight: 800; color: var(--tint); letter-spacing: -.04em; }
.dir__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 22px; position: relative; }
.dir__ic .ic { width: 28px; height: 28px; }
.dir p { color: var(--muted); margin: 0; }

/* ---------- About block */
.about2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about2__img { border-radius: 28px; overflow: hidden; aspect-ratio: 5/4.4; box-shadow: var(--shadow-lg); background: var(--tint); }
.about2__img img { width: 100%; height: 100%; object-fit: cover; }
.quote { margin: 26px 0; padding: 4px 0 4px 24px; border-left: 3px solid; border-image: var(--grad) 1; }
.quote p { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink); line-height: 1.55; }
.quote footer { display: flex; flex-direction: column; font-size: 14px; }
.quote footer b { color: var(--ink); }
.quote footer span { color: var(--muted); }

/* ---------- News cards */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ncard { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); color: var(--text); transition: transform .25s, box-shadow .25s; }
.ncard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ncard__img { aspect-ratio: 16/10; overflow: hidden; background: var(--tint); }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ncard:hover .ncard__img img { transform: scale(1.05); }
.ncard__ph { height: 100%; display: grid; place-items: center; color: var(--violet-2); opacity: .4; }
.ncard__ph .ic { width: 56px; height: 56px; }
.ncard__body { padding: 22px 24px 26px; }
.ncard time, .feature time, .article__date { font-size: 13px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
.ncard h3 { margin: 8px 0 10px; font-size: 18px; line-height: 1.35; }
.ncard p { color: var(--muted); font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feature { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); color: var(--text); margin-bottom: 28px; transition: box-shadow .25s; }
.feature:hover { box-shadow: var(--shadow-lg); }
.feature__img { min-height: 320px; background: var(--tint); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.feature h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 10px 0 14px; }
.feature p { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pager a { min-width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); font-weight: 700; color: var(--text); }
.pager a.is-active { background: var(--violet); color: #fff; }

/* ---------- Join block */
.join { display: grid; grid-template-columns: 1.1fr 1.2fr; gap: 24px 56px; align-items: center; background: var(--violet-dk); border-radius: 32px; padding: 56px; color: #d8d4f0; position: relative; overflow: hidden;
  background-image: radial-gradient(500px 300px at 100% 0, rgba(140, 198, 63, .2), transparent), radial-gradient(500px 300px at 0 100%, rgba(18, 146, 139, .3), transparent); }
.join h2 { color: #fff; }
.join p { margin: 0; }
.join > .btn { grid-column: 1; justify-self: start; }
.steps { list-style: none; padding: 0; margin: 0; grid-row: span 2; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 2px 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 18px 20px; }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; background: var(--gold); color: var(--ink); font-weight: 800; display: grid; place-items: center; }
.steps b { color: #fff; }
.steps span { font-size: 14.5px; }

/* ---------- Page head */
.phead { padding: 48px 0 24px; position: relative; background: radial-gradient(600px 260px at 90% 0, rgba(140, 198, 63, .13), transparent 70%), radial-gradient(600px 260px at 10% 0, rgba(91, 79, 166, .1), transparent 70%); }
.phead h1 { margin-bottom: 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--violet); }

/* ---------- About page */
.mvv { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 20px; }
.mvv__card { background: #fff; border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); }
.mvv__card p { color: var(--muted); margin: 0; }
.mvv__card--accent { background: var(--violet); color: #fff; }
.mvv__card--accent h3 { color: #fff; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--green); color: var(--violet-dk); stroke-width: 2.5; }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 39px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--teal), var(--green), var(--violet-2)); opacity: .5; }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 14px 0; position: relative; }
.timeline__y { justify-self: center; align-self: start; background: #fff; border: 2px solid var(--teal); color: var(--violet); font-weight: 800; padding: 6px 12px; border-radius: 999px; font-size: 14px; position: relative; z-index: 1; }
.timeline li > div { background: #fff; border-radius: var(--r); padding: 22px 26px; box-shadow: var(--shadow); }
.timeline p { margin: 0; color: var(--muted); }

/* ---------- Team */
.chair { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow); }
.chair__ava, .member__ava { display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; letter-spacing: -.02em; }
.chair__ava { width: 200px; height: 200px; font-size: 64px; background: var(--violet); background-image: radial-gradient(circle at 30% 20%, var(--violet-2), var(--violet-dk)); box-shadow: 0 0 0 8px var(--tint); }
.chair h2 { margin-bottom: 6px; }
.chair .quote { margin-bottom: 0; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.member { background: #fff; border-radius: var(--r); padding: 28px 20px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; }
.member__ava { width: 96px; height: 96px; font-size: 30px; margin-bottom: 16px; }
.member__ava.a0 { background: var(--violet-2); } .member__ava.a1 { background: var(--teal); } .member__ava.a2 { background: #6e9e33; } .member__ava.a3 { background: #b88a1b; }
.member b { color: var(--ink); }
.member span { color: var(--muted); font-size: 14px; }

/* ---------- Events list */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 14px; transition: all .2s; }
.chip:hover { border-color: var(--violet-2); color: var(--violet); }
.chip.is-active { background: var(--violet); border-color: var(--violet); color: #fff; }
.archive { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.arow { display: grid; grid-template-columns: 210px 1fr 140px 24px; gap: 20px; align-items: center; padding: 18px 24px; color: var(--text); border-bottom: 1px solid var(--line); transition: background .2s; }
.arow:last-child { border: 0; }
.arow:hover { background: var(--tint); }
.arow__date { font-weight: 700; color: var(--violet); font-size: 14.5px; }
.arow__title { color: var(--ink); font-weight: 600; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.arow__city { color: var(--muted); font-size: 14px; }
.arow .ic { color: var(--muted); }

/* ---------- Event page */
.evhero { position: relative; padding: 48px 0 40px; overflow: hidden; background: radial-gradient(700px 300px at 90% 0, rgba(140, 198, 63, .15), transparent 70%), var(--tint); }
.evhero.has-cover { color: #e6e3f7; background: var(--violet-dk); padding: 64px 0 56px; }
.evhero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: blur(2px) saturate(.8); transform: scale(1.05); }
.mt40 { margin-top: 40px; } .mt48 { margin-top: 48px; } .mt64 { margin-top: 64px; }
.sec__head--gap { margin-top: 72px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials:empty { display: none; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.socials a:hover { background: var(--gold); color: var(--ink); }
.evhero.has-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 35, 87, .3), rgba(42, 35, 87, .9)); }
.evhero .wrap { position: relative; z-index: 1; }
.evhero.has-cover h1, .evhero.has-cover .crumbs a, .evhero.has-cover .crumbs { color: #fff; }
.evhero.has-cover .lead { color: #d5d1ee; }
.evhero h1 { font-size: clamp(28px, 4vw, 46px); max-width: 900px; margin: 14px 0 12px; }
.evlayout { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 32px; }
.facts > div { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: var(--r-sm); padding: 16px; border: 1px solid var(--line); }
.facts .ic { color: var(--teal); width: 22px; height: 22px; margin-top: 2px; }
.facts small { display: block; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.facts b { color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.4; }
.evlinks { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.evside { position: sticky; top: 96px; }
.regcard { background: #fff; border-radius: 24px; padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.regcard h2 { font-size: 26px; margin-bottom: 6px; }
.regcard__help { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.regclosed { text-align: center; padding: 10px 0; }
.regclosed > .ic { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--tint); color: var(--violet); margin: 0 auto 14px; }
.regclosed h2 { font-size: 22px; }
.seats { margin: 14px 0; font-size: 14px; color: var(--muted); }
.seats__bar { height: 8px; border-radius: 99px; background: var(--tint); overflow: hidden; margin-bottom: 6px; }
.seats__bar i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.mobreg { display: none; }

/* ---------- Forms */
.form { display: grid; gap: 16px; margin-top: 18px; }
.fld { display: grid; gap: 7px; }
.fld > span { font-size: 14px; font-weight: 600; color: var(--ink); }
.fld input, .fld textarea, .fld select { width: 100%; font: 500 16px/1.4 var(--sans); color: var(--ink); background: #fbfbfe; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.fld textarea { resize: vertical; min-height: 52px; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--violet-2); background: #fff; box-shadow: 0 0 0 4px rgba(91, 79, 166, .12); }
.fld input::placeholder, .fld textarea::placeholder { color: #aaa6c0; }
.has-err input, .has-err textarea { border-color: var(--err); }
.err { color: var(--err); font-size: 13.5px; font-weight: 600; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--tint); border-radius: var(--r-sm); padding: 4px; gap: 4px; }
.seg button { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; padding: 10px; border-radius: 9px; font: 700 14px var(--sans); color: var(--muted); cursor: pointer; transition: all .2s; }
.seg button .ic { width: 17px; height: 17px; }
.seg button.is-active { background: #fff; color: var(--violet); box-shadow: 0 2px 8px rgba(31, 27, 58, .08); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--violet); margin: 1px 0 0; flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.alert { padding: 12px 16px; border-radius: var(--r-sm); font-weight: 600; font-size: 14.5px; margin: 12px 0; }
.alert--err { background: #fdecee; color: var(--err); }
.alert--ok { background: #e4f5ec; color: var(--ok); }

/* ---------- Thanks */
.thanks { text-align: center; padding: 32px 0; }
.thanks__ic { width: 84px; height: 84px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; margin: 0 auto 24px; box-shadow: 0 16px 40px -12px rgba(18, 146, 139, .6); animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.thanks__ic .ic { width: 42px; height: 42px; stroke-width: 2.4; }
.thanks__ic--muted { background: var(--tint); color: var(--violet); box-shadow: none; }
.thanks .lead { margin: 0 auto 28px; }
.thanks--sm { padding: 16px 0; }
.thanks--sm .thanks__ic { width: 64px; height: 64px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.ticket { display: flex; text-align: left; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); margin: 0 auto 24px; max-width: 620px; overflow: hidden; }
.ticket__main { flex: 1; padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; }
.ticket__main small { color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.ticket__main b { color: var(--ink); font-size: 19px; line-height: 1.3; margin-bottom: 6px; }
.ticket__main span { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14.5px; }
.ticket__main .ic { width: 17px; height: 17px; }
.ticket__code { flex: none; width: 170px; background: var(--violet); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; border-left: 2px dashed rgba(255, 255, 255, .35); padding: 20px; }
.ticket__code small { color: #cfcaf0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.ticket__code b { font-size: 30px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }

/* ---------- Article */
.article { padding: 48px 0 72px; }
.article h1 { font-size: clamp(28px, 3.8vw, 44px); margin: 12px 0 28px; }
.article__cover { margin: 0 0 40px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.article__cover img { width: 100%; max-height: 560px; object-fit: cover; }
.prose { font-size: 17.5px; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: 26px; margin-top: 1.5em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--teal); }
.prose img { border-radius: 14px; margin: 1.4em 0; height: auto; }
.prose blockquote { margin: 1.4em 0; padding: 8px 0 8px 22px; border-left: 3px solid var(--teal); font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 32px 0; }
.gallery__item { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--tint); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.06); }
.share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.share a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.share .ic { width: 17px; height: 17px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 17, 40, .92); display: grid; place-items: center; padding: 20px; cursor: zoom-out; animation: fade .2s; }
.lightbox img { max-height: 90vh; max-width: 92vw; border-radius: 10px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Contacts / join */
.contacts { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contacts__info { display: grid; gap: 12px; }
.cline { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); color: var(--text); }
a.cline:hover { box-shadow: var(--shadow-lg); }
.cline > .ic { width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: var(--tint); color: var(--violet); }
.cline small { display: block; color: var(--muted); font-size: 13px; }
.cline b { color: var(--ink); }
.card { background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); }
.card h2 { font-size: 26px; }
.map { margin-top: 48px; border-radius: 24px; overflow: hidden; height: 380px; box-shadow: var(--shadow); background: var(--tint); }
.map iframe { width: 100%; height: 100%; border: 0; }
.benefits { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.benefits li { display: flex; gap: 16px; background: #fff; padding: 20px; border-radius: var(--r); box-shadow: var(--shadow); }
.benefits .ic { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--grad); color: #fff; }
.benefits b { color: var(--ink); display: block; }
.benefits span { color: var(--muted); font-size: 15px; }

/* ---------- FAQ & docs */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; color: var(--ink); font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .25s; color: var(--teal); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; }
.docs { display: grid; gap: 10px; margin-bottom: 36px; }
.docrow { display: flex; gap: 16px; align-items: center; background: #fff; padding: 18px 22px; border-radius: var(--r); box-shadow: var(--shadow); color: var(--ink); font-weight: 600; }
.docrow > .ic:first-child { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: #fdecee; color: var(--err); }
.docrow span { flex: 1; display: flex; flex-direction: column; }
.docrow small { color: var(--muted); font-weight: 500; }
.docrow:hover { box-shadow: var(--shadow-lg); }

/* ---------- Footer */
.ftr { background: var(--ink); color: #b8b4d2; padding: 72px 0 0; margin-top: 0; font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr 1.1fr; gap: 40px; }
.ftr h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a { color: #d4d0ea; }
.ftr a:hover { color: var(--gold); }
.ftr__about p { margin-top: 18px; }
.ftr__contacts li { display: flex; gap: 10px; align-items: flex-start; }
.ftr__contacts .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--green); }
.ftr__cta { background: rgba(255, 255, 255, .06); border-radius: var(--r); padding: 24px; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 56px; padding: 22px 0; font-size: 13.5px; }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa:hover { transform: scale(1.07); }
.wa .ic { width: 30px; height: 30px; }

/* ---------- Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; transition: none !important; } }

/* ---------- Responsive */
@media (max-width: 1100px) {
  .nav a:not(.btn) { padding: 8px 9px; font-size: 14.5px; }
  .brand__txt { display: none; }
  .evlayout { grid-template-columns: 1fr 380px; gap: 32px; }
}
@media (max-width: 960px) {
  .burger { display: grid; }
  .brand__txt { display: flex; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 16px 20px 24px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(31, 27, 58, .3); transform: translateY(-120%); transition: transform .3s; z-index: -1; max-height: calc(100vh - 76px); overflow: auto; }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 13px 14px; font-size: 17px; }
  .nav__cta { margin: 10px 0 0; }
  .hero__in, .about2, .contacts, .evlayout, .join, .feature { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .dirs, .dirs--4, .mvv { grid-template-columns: 1fr 1fr; }
  .ngrid { grid-template-columns: 1fr 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .evside { position: static; }
  .steps { grid-row: auto; }
  .join > .btn { grid-column: auto; }
  .arow { grid-template-columns: 1fr 24px; gap: 4px 12px; }
  .arow__date, .arow__title, .arow__city { grid-column: 1; }
  .arow .ic { grid-row: 1 / span 3; grid-column: 2; }
  .mobreg { display: flex; position: fixed; left: 16px; right: 88px; bottom: 20px; z-index: 55; height: 58px; border-radius: 999px; background: var(--violet); color: #fff; font-weight: 800; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); }
  .chair { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .chair .quote { text-align: left; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 64px 0; }
  .hdr__in { height: 68px; }
  .nav { inset: 68px 0 auto 0; }
  .brand img { width: 44px; height: 44px; }
  .brand__txt { font-size: 12px; }
  .hero { padding: 32px 0 48px; }
  .hero__badge { left: 10px; top: 10px; }
  .hero__next { right: 10px; left: 10px; bottom: 10px; max-width: none; }
  .dirs, .dirs--4, .mvv, .ngrid, .ftr__grid, .row2 { grid-template-columns: 1fr; }
  .stat { padding: 20px 16px; }
  .join { padding: 32px 22px; border-radius: 24px; }
  .feature__body { padding: 24px; }
  .feature__img { min-height: 200px; }
  .card, .regcard { padding: 24px 20px; }
  .chair { padding: 28px 20px; }
  .chair__ava { width: 140px; height: 140px; font-size: 44px; }
  .ticket { flex-direction: column; }
  .ticket__code { width: auto; border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .35); }
  .timeline::before { left: 29px; }
  .timeline li { grid-template-columns: 60px 1fr; gap: 12px; }
  .timeline__y { padding: 5px 8px; font-size: 13px; }
  .egrid { grid-template-columns: 1fr; }
  .ecard { padding: 18px; gap: 14px; }
  .ecard__date { width: 58px; height: 66px; }
  .map { height: 300px; }
}
