* {
  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;
}

/* ===== 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: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.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: 42px;
  width: auto;
  display: block;
}

.header-desc {
  font-size: 10.5px;
  line-height: 1.5;
  color: #6b6b8a;
  max-width: 260px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.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: url('../img/img1.png') no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

.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: 560px;
  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: 44px;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.05;
}

.about-rest {
  display: block;
  font-weight: 500;
  font-size: 18px;
  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: stretch;
}

.cards-col-main {
  flex: 0 0 300px;
}

.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 {
  height: 100%;
}

.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: 20px;
  color: #022351;
  letter-spacing: 0;
}

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

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

.card-icon-horiz {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  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: 12px;
  color: #074bb3;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}

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

/* ===== 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;
}

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

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

.docs-row {
  display: flex;
  gap: 32px;
  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: 0 0 auto;
  width: 33.33%;
}

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

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

.docs-heading {
  font-weight: 700;
  font-size: 26px;
  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;
}

.docs-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.docs-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #022351;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(2, 35, 81, 0.15);
}

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

.docs-reg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  width: 100%;
  background: linear-gradient(135deg, #074bb3 0%, #043880 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  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-row {
  display: flex;
  gap: 28px;
}

.media-block {
  flex: 1;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
  text-decoration: none;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.45s;
}

.media-block:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(2, 35, 81, 0.18);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(2, 35, 81, 0.85) 0%, rgba(2, 35, 81, 0.55) 55%, rgba(2, 35, 81, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
}

.media-title {
  font-weight: 800;
  font-size: 36px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.media-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  max-width: 360px;
}

/* ===== Sponsors ===== */
.kontakty-section {
  background: #ffffff;
  padding: 96px 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: 56px;
}

.kontakty-logos {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 64px;
  margin-bottom: 64px;
}

.kontakty-logo {
  height: 72px;
  width: auto;
  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: row;
  align-items: center;
  color: #1a1a2e;
  flex: 1;
  min-width: 140px;
  gap: 18px;
  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;
  gap: 1px;
}

.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: 80px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

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

.footer-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

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

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

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

.footer-contact-phone {
  font-size: 14px;
  color: #8ab4f8 !important;
  font-weight: 700;
}

.footer-contact-hours {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

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

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

/* ===== 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;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .header-right {
    width: 100%;
    justify-content: flex-end;
  }

  .header-nav {
    overflow-x: auto;
    padding: 8px 0 4px;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .header-desc {
    display: none;
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 24px;
  }

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