:root {
  --ink: #16161a;
  --muted: #61616b;
  --line: #e7e5e2;
  --paper: #fff;
  --warm: #f6f4f1;
  --red: #e31e24;
  --red-dark: #b80f16;
  --violet: #5c36d9;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 24px 80px rgba(34, 27, 20, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(22, 22, 26, .08);
  background: rgba(255,255,255,.94);
}
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 76px; }
.provider { display: inline-flex; align-items: center; text-decoration: none; }
.header-logo-crop { display: block; width: 175px; height: 48px; overflow: hidden; }
.header-logo-crop img { display: block; width: 945px; height: 48px; max-width: none; }
.contact-link { color: #44444d; font-size: 14px; font-weight: 650; text-underline-offset: 5px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 88px;
  background:
    radial-gradient(circle at 92% 0%, rgba(92,54,217,.16), transparent 30%),
    radial-gradient(circle at 0% 90%, rgba(227,30,36,.09), transparent 26%),
    var(--warm);
}
.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(92,54,217,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(92,54,217,.035), 0 0 0 90px rgba(92,54,217,.025);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .85fr); gap: 68px; align-items: start; }
.hero-copy { max-width: 730px; }
.intro { margin: 0; color: #303038; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; }
.intro + .intro { margin-top: 18px; }
h1 { margin: 38px 0 0; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.04em; }
.course-details { margin-top: 28px; color: #414149; font-size: 17px; }
.course-details p { margin: 0; }
.course-details ul { margin: 13px 0 24px; padding-left: 24px; }
.course-details li { padding-left: 5px; }
.free-note { margin-top: 20px !important; font-weight: 750; color: var(--ink); }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 58px; margin-top: 32px; padding: 15px 28px; color: #fff; background: var(--red); border-radius: 12px; box-shadow: 0 12px 28px rgba(227,30,36,.22); font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.primary-button:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(227,30,36,.28); }
.primary-button:focus-visible, a:focus-visible { outline: 3px solid #2c63ff; outline-offset: 4px; }
.button-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; font-style: italic; }

.summary-card { position: sticky; top: 24px; padding: 34px; color: #fff; background: #19191e; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.card-kicker, .section-label { margin: 0 0 20px; font-size: 13px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.card-kicker { margin-bottom: 32px; color: #bcbcc5; font-size: 12px; }
.summary-card h2 { margin: 0; font-size: 36px; line-height: 1.05; letter-spacing: -.035em; }
.card-subtitle { margin: 12px 0 28px; color: #c9c9d1; font-size: 16px; }
.summary-card dl { margin: 0; border-top: 1px solid #37373f; }
.summary-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid #37373f; }
.summary-card dt { color: #9e9ea8; }
.summary-card dd { margin: 0; text-align: right; font-weight: 700; }
.route { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; }
.route div { min-width: 0; }
.route span { display: grid; place-items: center; width: 28px; height: 28px; color: #fff; background: var(--violet); border-radius: 9px; font-size: 12px; font-weight: 800; }
.route p { margin: 8px 0 0; color: #a9a9b2; font-size: 12px; line-height: 1.35; }
.route strong { color: #fff; }

.contacts { padding: 88px 0; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.section-label { color: var(--red); }
.contacts h2 { max-width: 600px; margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; letter-spacing: -.035em; }
.contacts-grid > div > p:last-child { max-width: 600px; color: var(--muted); }
.contact-card { overflow: hidden; background: var(--warm); border: 1px solid var(--line); border-radius: var(--radius-md); font-style: normal; }
.contact-card a { display: flex; flex-direction: column; gap: 3px; padding: 22px 26px; text-decoration: none; }
.contact-card a + a { border-top: 1px solid var(--line); }
.contact-card a:hover { background: #efede9; }
.contact-card span { color: var(--muted); font-size: 13px; }
.contact-card strong { font-size: clamp(20px, 2.5vw, 26px); letter-spacing: -.02em; }

.organizers { padding: 72px 0 86px; background: #f8f7f5; border-top: 1px solid var(--line); }
.logo-panel { overflow: hidden; margin-top: 26px; padding: 28px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.logo-panel img { display: block; width: 100%; height: auto; }

footer { padding: 28px 0; color: #85858d; background: #19191e; font-size: 12px; }
.footer-inner p { margin: 0; }
.footer-inner p:last-child { text-align: right; }

@media (max-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: none; }
  .summary-card { position: static; }
  .contacts-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 32px, 1160px); }
  .header-inner { min-height: 64px; }
  .header-logo-crop { width: 150px; }
  .contact-link { font-size: 13px; }
  .hero { padding: 46px 0 56px; }
  h1 { margin-top: 30px; font-size: clamp(34px, 11vw, 46px); }
  .intro { font-size: 18px; }
  .course-details { font-size: 16px; }
  .primary-button { width: 100%; gap: 18px; }
  .summary-card { padding: 26px 22px; border-radius: 22px; }
  .summary-card h2 { font-size: 31px; }
  .route { grid-template-columns: 1fr; gap: 14px; }
  .route div { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px; }
  .route p { margin: 0; }
  .contacts, .organizers { padding: 58px 0; }
  .contact-card a { padding: 18px 20px; }
  .logo-panel { padding: 18px 10px; }
  .logo-panel img { width: 150%; max-width: none; transform: translateX(-16.5%); }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-inner p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-button { transition: none; }
}
