* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #1a1a2e;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer .container {
  max-width: none;
  margin: 0;
  padding: 0 80px;
}

/* ===== Header ===== */
.header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 18px 80px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 80px;
  width: auto;
  display: block;
}

.header-desc {
  font-size: 13px;
  line-height: 1.2;
  color: #6b6b8a;
  max-width: 400px;
  font-weight: 600;
  letter-spacing: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-item + .nav-item::before {
  content: '';
  display: block;
  width: 1px;
  height: 12px;
  background: rgba(0, 0, 0, 0.07);
  margin: 0 16px;
  flex-shrink: 0;
}

.nav-link {
  font-size: 11px;
  font-weight: 600;
  color: #022351;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.8px;
  transition: color 0.25s;
  position: relative;
  padding: 2px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #074bb3;
  border-radius: 1px;
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), left 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.nav-link:hover {
  color: #074bb3;
}

.reg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  background: linear-gradient(135deg, #074bb3 0%, #043880 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.25s;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(7, 75, 179, 0.25);
}

.reg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(7, 75, 179, 0.35);
}

.reg-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(7, 75, 179, 0.2);
}

/* ===== Hero ===== */
.about-section {
  position: relative;
  min-height: 580px;
  background: #02244f;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.about-bg-img.active {
  opacity: 1;
}

.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(7, 75, 179, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(2, 35, 81, 0.92) 0%, rgba(2, 35, 81, 0.7) 50%, rgba(2, 35, 81, 0) 100%);
  display: flex;
  align-items: center;
  padding-left: 80px;
}

.about-content {
  max-width: 620px;
  width: 100%;
  color: #ffffff;
}

.about-title {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.about-highlight {
  display: block;
  font-weight: 800;
  font-size: 52px;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.05;
}

.about-rest {
  display: block;
  font-weight: 500;
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.82);
}

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.about-meta-item svg {
  flex-shrink: 0;
  opacity: 0.65;
}

/* ===== Section blocks ===== */
.section-block {
  padding: 96px 0;
  background: #ffffff;
}

.section-block:nth-child(even) {
  background: #f6f7fb;
}

.section-title {
  font-weight: 700;
  font-size: 32px;
  color: #022351;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-text {
  font-size: 15px;
  color: #5a5a7a;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* ===== Cards ===== */
.cards-section {
  background: #ffffff;
  padding: 88px 0;
}

.cards-container {
  padding-left: 80px;
  padding-right: 32px;
}

.cards-row {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.cards-col-main {
  flex: 1;
}

.cards-col-icons {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
}

.card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 0 12px 32px rgba(0, 0, 0, 0.06);
}

.card-featured {
}

.card-title {
  font-weight: 700;
  font-size: 15px;
  color: #074bb3;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.card-title-main {
  font-size: 24px;
  margin-bottom: 24px;
  color: #022351;
  letter-spacing: 0;
}

.card-title-main::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, #074bb3, #4d8dff);
}

.card-featured .card-text {
  font-size: 15px;
  color: #3d3d5c;
  line-height: 1.85;
}

.card-featured .card-text + .card-text {
  margin-top: 18px;
}

.card-text {
  font-size: 14px;
  color: #4a4a6a;
  line-height: 1.8;
}

.card-featured .card-text-lead {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
  color: #022351;
  padding-left: 18px;
  border-left: 3px solid #074bb3;
}

.card-text-bold {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.card-icon-horiz {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 22px;
  text-align: left;
}

.card-icon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(7, 75, 179, 0.06);
  flex-shrink: 0;
}

.card-icon-body {
  flex: 1;
  min-width: 0;
}

.card-subtitle {
  font-weight: 700;
  font-size: 11px;
  color: #074bb3;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}

.card-icon-body .card-text {
  font-size: 12px;
}

/* ===== About Stats ===== */
.about-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 48px;
}

/* ===== Program ===== */
.program-section {
  background: #f6f7fb;
  padding: 88px 0;
}

.program-container {
  padding-left: 80px;
  padding-right: 32px;
}

.program-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.program-col-desc {
  flex: 1.8;
}

.program-col-day {
  flex: 1;
  min-width: 0;
}

.program-col-cta {
  flex: 0.9;
}

.program-desc-card,
.program-day-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 4px 12px rgba(0, 0, 0, 0.02);
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s;
}

.program-desc-card:hover,
.program-day-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04), 0 16px 40px rgba(0, 0, 0, 0.04);
}

.program-title {
  font-weight: 700;
  font-size: 26px;
  color: #022351;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.program-text {
  font-size: 14px;
  color: #4a4a6a;
  line-height: 1.8;
}

.program-day-title {
  font-weight: 700;
  font-size: 18px;
  color: #074bb3;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.program-day-subtitle {
  font-weight: 500;
  font-size: 14px;
  color: #022351;
  margin-bottom: 14px;
}

.program-day-text {
  font-size: 14px;
  color: #4a4a6a;
  line-height: 1.7;
}

.program-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  background: linear-gradient(160deg, #ffffff 0%, #f2f4fa 100%);
  border: 1px solid rgba(7, 75, 179, 0.1);
  border-radius: 20px;
  padding: 36px 24px;
  height: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s, border-color 0.3s;
}

.program-cta-card:hover {
  border-color: #074bb3;
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(7, 75, 179, 0.1), 0 16px 40px rgba(7, 75, 179, 0.06);
}

.program-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(7, 75, 179, 0.06);
  color: #074bb3;
}

.program-cta-label {
  font-weight: 700;
  font-size: 12px;
  color: #074bb3;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.program-cta-note {
  font-size: 13px;
  color: #8a92aa;
  line-height: 1.5;
  text-align: center;
}

/* ===== Experts ===== */
.experts-section {
  background: #ffffff;
  padding: 88px 0;
}

.experts-container {
  padding-left: 80px;
  padding-right: 32px;
}

.experts-title {
  font-weight: 800;
  font-size: 36px;
  color: #022351;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.experts-subtitle {
  font-size: 15px;
  color: #4a4a6a;
  line-height: 1.7;
  margin-bottom: 36px;
}

.experts-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.experts-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  min-width: 0;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.experts-carousel::-webkit-scrollbar {
  display: none;
}

.expert-card {
  flex: 0 0 320px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s;
}

.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04), 0 16px 40px rgba(0, 0, 0, 0.06);
}

.expert-avatar {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(2, 35, 81, 0.12);
}

.expert-name {
  font-weight: 700;
  font-size: 16px;
  color: #022351;
  margin-bottom: 10px;
  line-height: 1.3;
}

.expert-desc {
  font-size: 13px;
  color: #4a4a6a;
  line-height: 1.7;
}

.experts-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  color: #022351;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.experts-arrow:hover {
  border-color: #074bb3;
  box-shadow: 0 4px 16px rgba(7, 75, 179, 0.12);
  transform: translateY(-2px);
}

/* ===== Docs ===== */
.docs-section {
  background: #ffffff;
  padding: 88px 0;
}

.docs-container {
  padding-left: 80px;
  padding-right: 32px;
}

.docs-row {
  display: flex;
  gap: 48px;
  align-items: stretch;
}

.docs-col {
  min-width: 0;
}

.docs-col-left {
  flex: 1;
  display: flex;
}

.docs-left-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.docs-btns {
  flex: 1;
}

.docs-btns .docs-btn:last-child {
  margin-bottom: 0;
}

.docs-col-right {
  display: flex;
  flex: 2;
}

.docs-right-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 100%);
  border: 1px solid rgba(7, 75, 179, 0.12);
  border-radius: 24px;
  padding: 36px 32px;
}

.docs-right-inner .docs-steps {
  flex: 1;
}

.docs-heading {
  font-weight: 700;
  font-size: 28px;
  color: #022351;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

.docs-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  text-decoration: none;
  font-size: 13px;
  color: #1a1a2e;
  line-height: 1.4;
  margin-bottom: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.docs-btn:hover {
  border-color: rgba(7, 75, 179, 0.3);
  box-shadow: 0 4px 20px rgba(7, 75, 179, 0.07), 0 1px 4px rgba(7, 75, 179, 0.03);
  transform: translateY(-2px);
}

.docs-btn svg {
  flex-shrink: 0;
}

.docs-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.docs-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 0;
}

.docs-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #074bb3 0%, #043880 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(2, 35, 81, 0.2);
}

.docs-step-text {
  font-size: 15px;
  color: #2a2a4a;
  line-height: 1.5;
  padding-top: 0;
  max-width: 220px;
}

.docs-reg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 36px;
  width: 100%;
  background: linear-gradient(135deg, #074bb3 0%, #043880 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.25s;
  box-shadow: 0 4px 14px rgba(7, 75, 179, 0.25);
}

.docs-reg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(7, 75, 179, 0.35);
}

.docs-reg-btn:active {
  transform: translateY(0);
}

/* ===== Media ===== */
.media-section {
  padding: 88px 0;
  background: #f6f7fb;
}

.media-container {
  padding-left: 80px;
  padding-right: 32px;
}

.media-heading {
  font-weight: 800;
  font-size: 36px;
  color: #022351;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.media-subtitle {
  font-size: 15px;
  color: #4a4a6a;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}

.media-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.media-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  min-width: 0;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.media-carousel::-webkit-scrollbar {
  display: none;
}

.media-item {
  flex: 0 0 360px;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 4px 12px rgba(0, 0, 0, 0.02);
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.media-item:hover img {
  transform: scale(1.06);
}

.media-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  color: #022351;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.media-arrow:hover {
  border-color: #074bb3;
  box-shadow: 0 4px 16px rgba(7, 75, 179, 0.12);
  transform: translateY(-2px);
}

/* ===== Gallery Lightbox ===== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.active {
  display: flex;
}

.gallery-lightbox-bg {
  position: absolute;
  inset: 0;
  background: rgba(2, 35, 81, 0.92);
}

.gallery-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-full {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-counter {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

.gallery-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.gallery-lightbox-close:hover {
  color: #ffffff;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s, transform 0.25s;
  backdrop-filter: blur(4px);
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) scale(1.08);
}

.gallery-nav-prev {
  left: -60px;
}

.gallery-nav-next {
  right: -60px;
}
.kontakty-section {
  background: #ffffff;
  padding: 56px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.kontakty-container {
  padding-left: 80px;
  padding-right: 32px;
}

.kontakty-title {
  font-weight: 800;
  font-size: 36px;
  color: #022351;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 40px;
}

.kontakty-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 48px;
  gap: 24px;
}

.kontakty-logo {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.25s;
}

.kontakty-logo:hover {
  opacity: 1;
}

.kontakty-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.05);
  margin-bottom: 56px;
}

.kontakty-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.kontakty-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1a1a2e;
  flex: 1;
  min-width: 140px;
  gap: 10px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.012);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s;
}

.kontakty-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
}

.kontakty-stat svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.kontakty-stat-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.kontakty-stat-unit-long {
  font-size: 13px;
  line-height: 1.5;
  max-width: 260px;
}

.kontakty-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.45;
  font-weight: 600;
}

.kontakty-stat-value {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.kontakty-stat-unit {
  font-size: 12px;
  opacity: 0.6;
  font-weight: 500;
}

/* ===== Footer ===== */
.footer {
  background: #022351;
  padding: 32px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 24px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-heading {
  font-weight: 700;
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 0.25s;
}

.footer-logo-link:hover {
  opacity: 1;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  max-width: 340px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.footer-links-contacts {
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  color: #8ab4f8;
  flex-shrink: 0;
  opacity: 0.95;
}

.footer-contact-name {
  font-size: 15px;
  color: #ffffff;
  font-weight: 600;
}

.footer-contact-phone {
  font-size: 16px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.footer-contact-email {
  font-size: 16px;
  color: #8ab4f8;
  font-weight: 700;
}

.footer-contact-hours {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.3px;
}

/* ===== Registration ===== */
.register-page {
  background: #f6f7fb;
  min-height: 100vh;
}

.register-page-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.register-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #074bb3;
  text-decoration: none;
  margin-bottom: 32px;
  transition: opacity 0.25s;
}

.register-back-link:hover {
  opacity: 0.75;
}

.register-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(0, 0, 0, 0.04);
}

.register-title {
  font-weight: 800;
  font-size: 28px;
  color: #022351;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.register-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.register-label {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
}

.register-required {
  color: #e53e3e;
}

.register-input {
  padding: 13px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  color: #1a1a2e;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  background: #ffffff;
}

.register-input:focus {
  border-color: #074bb3;
  box-shadow: 0 0 0 3px rgba(7, 75, 179, 0.08);
}

.register-input.error {
  border-color: #e53e3e;
}

.register-input[type="date"] {
  color-scheme: light;
}

.register-error {
  font-size: 12px;
  color: #e53e3e;
  font-weight: 500;
}

.register-consent-wrap {
  padding-top: 8px;
}

.register-consent-hint {
  font-size: 13px;
  color: #4a4a6a;
  line-height: 1.5;
  margin-bottom: 12px;
}

.register-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid rgba(7, 75, 179, 0.35);
  border-radius: 12px;
  color: #074bb3;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  background: rgba(7, 75, 179, 0.06);
  transition: background 0.25s, border-color 0.25s;
  margin-bottom: 16px;
}

.register-download-btn:hover {
  background: rgba(7, 75, 179, 0.12);
  border-color: #074bb3;
}

.register-file {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
}

.register-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.register-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border: 1px dashed rgba(7, 75, 179, 0.5);
  border-radius: 12px;
  color: #074bb3;
  font-weight: 700;
  font-size: 14px;
  background: #ffffff;
  transition: border-color 0.25s, background 0.25s;
}

.register-file:hover .register-file-btn {
  border-color: #074bb3;
  background: rgba(7, 75, 179, 0.04);
}

.register-file.error .register-file-btn {
  border-color: #e53e3e;
}

.register-file-name {
  font-size: 13px;
  color: #4a4a6a;
  line-height: 1.4;
  word-break: break-all;
}

.reg-btn-lg {
  padding: 16px 40px;
  font-size: 15px;
  justify-content: center;
  width: 100%;
  cursor: pointer;
  border: none;
}

/* ===== Registration Success ===== */
.register-success-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.register-success-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  max-width: 520px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(0, 0, 0, 0.04);
}

.register-success-title {
  font-weight: 800;
  font-size: 26px;
  color: #022351;
  margin: 24px 0 12px;
  letter-spacing: -0.5px;
}

.register-success-text {
  font-size: 14px;
  color: #4a4a6a;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ===== Entry animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* ===== Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #022351;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Mobile nav overlay ===== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 35, 81, 0.97);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 48px 24px;
}

.mobile-nav-overlay.active {
  display: flex;
}

.mobile-nav-overlay .nav-link {
  font-size: 20px;
  color: #ffffff;
  letter-spacing: 1px;
}

.mobile-nav-overlay .nav-link::after {
  display: none;
}

.mobile-nav-overlay .reg-btn {
  margin-top: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .header {
    padding: 12px 24px;
  }

  .about-overlay {
    padding-left: 40px;
  }

  .cards-container,
  .program-container,
  .experts-container,
  .docs-container,
  .media-container,
  .kontakty-container {
    padding-left: 40px;
    padding-right: 24px;
  }

  .footer .container {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 10px 16px;
  }

  .logo-img {
    height: 48px;
  }

  .header-desc {
    display: none;
  }

  .header-nav {
    display: none;
  }

  .reg-btn {
    font-size: 11px;
    padding: 10px 18px;
    gap: 6px;
  }

  .reg-btn svg {
    width: 14px;
    height: 14px;
  }

  .hamburger {
    display: flex;
  }

  .about-section {
    min-height: 280px;
    padding-bottom: 40px;
  }

  .about-overlay {
    padding-left: 0;
    background: linear-gradient(to bottom, rgba(2, 35, 81, 0.2) 0%, rgba(2, 35, 81, 0.88) 55%, rgba(2, 35, 81, 0.96) 100%);
    align-items: flex-end;
    padding: 60px 20px 48px;
  }

  .about-content {
    max-width: 100%;
  }

  .about-highlight {
    font-size: 36px;
    margin-bottom: 8px;
  }

  .about-rest {
    font-size: 16px;
    line-height: 1.3;
  }

  .about-meta-item {
    font-size: 14px;
  }

  .cards-container,
  .program-container,
  .experts-container,
  .docs-container,
  .media-container,
  .kontakty-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cards-section,
  .program-section,
  .experts-section,
  .docs-section,
  .media-section {
    padding: 56px 0;
  }

  .cards-row {
    flex-direction: column;
  }

  .card-featured .card-text {
    font-size: 14px;
  }

  .card-featured .card-text-lead {
    font-size: 15px;
  }

  .about-stats {
    gap: 12px;
    margin-top: 32px;
  }

  .kontakty-stat {
    flex: 1 1 44%;
    min-width: 0;
    padding: 20px 12px;
  }

  .kontakty-stat-value {
    font-size: 28px;
  }

  .program-row {
    flex-direction: column;
    gap: 16px;
  }

  .program-col-desc,
  .program-col-day,
  .program-col-cta {
    flex: none;
  }

  .program-desc-card,
  .program-day-card {
    padding: 28px 24px;
  }

  .program-cta-card {
    padding: 28px 24px;
  }

  .program-title {
    font-size: 22px;
  }

  .experts-title,
  .kontakty-title {
    font-size: 28px;
  }

  .experts-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .expert-card {
    flex: 0 0 min(260px, 82vw);
    padding: 24px 20px;
  }

  .expert-avatar {
    width: 120px;
    height: 120px;
  }

  .expert-name {
    font-size: 14px;
  }

  .expert-desc {
    font-size: 12px;
  }

  .experts-arrow,
  .media-arrow {
    width: 36px;
    height: 36px;
  }

  .docs-row {
    flex-direction: column;
    gap: 24px;
  }

  .docs-right-inner {
    margin-top: 0;
    padding: 28px 24px;
  }

  .docs-heading {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .docs-steps {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }

  .docs-btn {
    padding: 16px 20px;
    font-size: 12px;
  }

  .docs-reg-btn {
    padding: 14px 28px;
    font-size: 14px;
  }

  .media-heading {
    font-size: 28px;
  }

  .media-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .media-item {
    flex: 0 0 min(300px, 85vw);
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .kontakty-section {
    padding: 40px 0;
  }

  .kontakty-logos {
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
  }

  .kontakty-logo {
    height: 56px;
  }

  .footer .container {
    padding: 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo-img {
    height: 56px;
  }

  .footer-logo-text {
    max-width: 280px;
    text-align: center;
    font-size: 15px;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-contact-hours-local {
    display: block;
  }

  .footer-heading {
    font-size: 15px;
  }

  .gallery-lightbox-close {
    top: 8px;
    right: 12px;
    font-size: 32px;
  }

  .gallery-nav-prev {
    left: 8px;
  }

  .gallery-nav-next {
    right: 8px;
  }

  .gallery-nav {
    width: 38px;
    height: 38px;
  }

  .register-card {
    padding: 28px 20px;
  }

  .register-title {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .register-page-wrap {
    padding: 24px 16px 60px;
  }
}

@media (max-width: 480px) {
  .about-highlight {
    font-size: 30px;
  }

  .about-rest {
    font-size: 14px;
  }

  .about-meta-item {
    font-size: 13px;
    gap: 8px;
  }

  .about-stats {
    gap: 8px;
  }

  .kontakty-stat {
    flex: 1 1 100%;
    padding: 18px 12px;
  }

  .kontakty-stat-value {
    font-size: 26px;
  }

  .experts-arrow,
  .media-arrow {
    display: none;
  }

  .experts-carousel,
  .media-carousel {
    scroll-snap-type: x mandatory;
  }

  .expert-card,
  .media-item {
    scroll-snap-align: start;
  }

  .expert-card {
    flex: 0 0 min(240px, 85vw);
    padding: 20px 16px;
  }

  .expert-avatar {
    width: 100px;
    height: 100px;
  }

  .media-item {
    flex: 0 0 min(280px, 88vw);
  }

  .kontakty-logos {
    gap: 12px;
  }

  .kontakty-logo {
    height: 48px;
  }

  .footer {
    padding: 24px 0 16px;
  }

  .footer-contact-phone,
  .footer-contact-email {
    font-size: 14px;
  }

  .footer-contact-name {
    font-size: 13px;
  }
}
