:root {
  --paper: #fbfaf5;
  --ink: #1d2320;
  --muted: #5f6963;
  --line: rgba(29, 35, 32, 0.14);
  --green: #245744;
  --green-soft: #e7efe8;
  --red: #c9253d;
  --blue: #334d68;
  --ochre: #b98232;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(32, 42, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, rgba(36, 87, 68, 0.08), transparent 38%), linear-gradient(315deg, rgba(185, 130, 50, 0.11), transparent 36%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 260px;
}

.brand img:first-child {
  width: 220px;
}

.brand img:last-child {
  width: 170px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.top-nav a {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--green);
  background: var(--green-soft);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 36px;
  padding: clamp(36px, 4.5vw, 66px) clamp(20px, 6vw, 80px) 72px;
  background: #f7f2e8;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, rgba(36, 87, 68, 0.08), transparent 46%), linear-gradient(315deg, rgba(185, 130, 50, 0.14), transparent 40%);
  opacity: 1;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.route-line {
  position: absolute;
  height: 2px;
  background: rgba(51, 77, 104, 0.28);
  transform-origin: left center;
}

.line-a {
  width: 56vw;
  left: 42vw;
  top: 38%;
  transform: rotate(144deg);
}

.line-b {
  width: 38vw;
  left: 58vw;
  top: 58%;
  transform: rotate(18deg);
}

.place-dot {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
}

.place-dot::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(201, 37, 61, 0.12);
}

.dot-perm {
  right: 28%;
  top: 57%;
}

.dot-vilva {
  right: 6%;
  top: 34%;
}

.hero-content {
  max-width: 980px;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin-top: 14px;
  max-width: 18ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 5.4vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-lead {
  max-width: 760px;
  margin-top: 28px;
  color: #38433d;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(36, 87, 68, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.date-panel {
  display: grid;
  gap: 1px;
  background: rgba(29, 35, 32, 0.12);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.date-panel div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.84);
}

.date-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.date-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 1.16rem;
  line-height: 1.35;
}

.organizers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.organizers p {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--white);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.section {
  padding: clamp(54px, 7vw, 96px) clamp(20px, 6vw, 80px);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 56px;
}

.section h2 {
  margin-top: 10px;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.text-stack {
  display: grid;
  gap: 18px;
  color: #35423b;
  font-size: 1.08rem;
  line-height: 1.7;
}

.feature-grid,
.topic-list,
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.timeline-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.feature-grid article,
.topic-list article,
.timeline-grid article,
.contact-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(36, 87, 68, 0.08);
}

.timeline-grid article {
  position: relative;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  box-shadow: none;
}

.timeline-grid article:last-child {
  border-right: 0;
}

.timeline-grid article::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(201, 37, 61, 0.12);
}

.feature-grid span {
  color: var(--ochre);
  font-weight: 900;
  text-transform: uppercase;
}

.feature-grid h3,
.topic-list h3,
.timeline-grid h3 {
  margin-top: 10px;
  font-size: 1.24rem;
}

.section-pair {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.section-pair h3 {
  margin-top: 0;
}

.feature-grid p,
.topic-list p,
.timeline-grid p,
.contact-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.62;
}

.section-head {
  margin-bottom: 28px;
}

.topic-list {
  grid-template-columns: repeat(4, 1fr);
}

.muted-band {
  background: #eef2ee;
  border-block: 1px solid var(--line);
}

.columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  color: #394640;
}

.columns ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.72;
}

.columns li + li {
  margin-top: 10px;
}

.timeline-grid time {
  color: var(--red);
  font-weight: 900;
}

.program {
  background: #eef2ee;
  border-block: 1px solid var(--line);
  scroll-margin-top: 230px;
}

.program-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.program-intro {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.program-day {
  border-top: 1px solid var(--line);
}

.program-day:last-child {
  border-bottom: 1px solid var(--line);
}

.program-day summary {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
}

.program-day summary::-webkit-details-marker { display: none; }
.program-day summary::after { content: "+"; font-size: 28px; text-align: center; }
.program-day[open] summary::after { content: "−"; }
.program-day summary:hover { color: var(--green); }
.program-day summary:focus-visible, .program-download:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.program-date { color: var(--green); font-size: 1.3rem; font-weight: 800; }
.program-date span { display: block; margin-top: 4px; font-size: 0.9rem; font-weight: 400; }
.program-day-title { font-size: 1.1rem; font-weight: 600; line-height: 1.5; }
.program-schedule { padding-bottom: 28px; overflow-wrap: anywhere; }
.program-session { margin: 24px 0 12px; padding: 16px 0; border-bottom: 2px solid var(--green); line-height: 1.6; }
.program-session p:first-child { font-weight: 750; color: var(--green); }
.program-session p + p { margin-top: 6px; }
.program-parallel { padding: 16px 0; color: var(--blue); font-weight: 600; line-height: 1.6; }
.program-event { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.program-event p + p { margin-top: 6px; }
.program-time { color: var(--blue); font-weight: 700; font-variant-numeric: tabular-nums; }

@media (max-width: 680px) {
  .program { scroll-margin-top: 20px; }
  .program-day summary { grid-template-columns: minmax(0, 1fr) 24px; gap: 10px; }
  .program-date { grid-column: 1; }
  .program-date span { display: inline; }
  .program-day-title { grid-column: 1; }
  .program-day summary::after { grid-column: 2; grid-row: 1 / 3; }
  .program-event { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

.registration {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: #fff;
}

.registration-copy {
  position: sticky;
  top: 110px;
}

.registration-copy p:not(.section-kicker) {
  margin: 18px 0;
  color: var(--muted);
  line-height: 1.6;
}

.form-frame {
  min-height: 1000px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #f4f5f2;
}

.form-frame iframe {
  width: 100%;
  height: 1000px;
  border: 0;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 40px;
}

.contact-card a {
  color: var(--green);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-organizers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 800;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .site-header,
  .brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .registration,
  .contacts {
    grid-template-columns: 1fr;
  }

  .date-panel {
    max-width: 560px;
  }

  .topic-list,
  .feature-grid,
  .timeline-grid,
  .organizers,
  .columns {
    grid-template-columns: 1fr;
  }

  .registration-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
  }

  .brand img:first-child {
    width: min(220px, 80vw);
  }

  .brand img:last-child {
    width: min(170px, 72vw);
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .eyebrow {
    display: block;
    max-width: 100%;
    line-height: 1.45;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.15rem, 11.8vw, 3.15rem);
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .dot-perm,
  .dot-vilva,
  .route-line {
    display: none;
  }

  .form-frame,
  .form-frame iframe {
    min-height: 1000px;
    height: 1000px;
  }

  .site-footer {
    flex-direction: column;
  }
}
