:root {
  --green: #08b72d;
  --green2: #00d63b;
  --green-dark: #007f28;
  --blue: #203090;
  --blue2: #0b63cf;
  --pink: #ef5b9b;
  --text: #162044;
  --muted: #60708a;
  --bg: #f8fff9;
  --shadow: 0 22px 55px rgba(28, 82, 45, 0.14);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 183, 45, 0.16), transparent 66%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 44px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(32, 48, 144, 0.08);
}
.brand img {
  width: 86px;
  height: 58px;
  object-fit: contain;
  object-position: top;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--blue);
}
.nav a {
  position: relative;
}
.nav a:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--pink));
  transform: scaleX(0);
  transition: 0.25s;
  transform-origin: left;
}
.nav a:hover:after {
  transform: scaleX(1);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  border-radius: 0 24px 0 24px;
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: white;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 15px 34px rgba(0, 183, 45, 0.24);
  border: 0;
  cursor: pointer;
}
.btn-small {
  min-height: 42px;
  padding: 0 22px;
  border-radius: 24px;
  font-size: 12px;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--blue);
  border: 2px solid rgba(32, 48, 144, 0.14);
  box-shadow: 0 12px 28px rgba(32, 48, 144, 0.1);
}
.burger {
  display: none;
  margin-left: auto;
  border: 0;
  background: white;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(32, 48, 144, 0.1);
}
.burger span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--blue);
  margin: 4px auto;
  border-radius: 5px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fbfff9, #eff8ff 52%, #fff5fb);
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(8, 183, 45, 0.12), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(239, 91, 155, 0.12), transparent 22%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  opacity: 0.98;
}
.hero-bg img {
  width: min(980px, 78vw);
  filter: drop-shadow(0 28px 48px rgba(32, 48, 144, 0.12));
  animation: float 7s ease-in-out infinite;
}
.hero-info {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 430px;
  background: rgba(255, 255, 255, 0.82);
  padding: 22px 28px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.hero-info p {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue);
  font-weight: 900;
}
.hero-info h1 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(34px, 6vw, 70px);
  line-height: 1;
}
.hero-info span {
  display: block;
  color: var(--blue);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  margin: 4px 0 18px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.about {
  background: linear-gradient(135deg, #2db84b, #05b437);
  color: white;
  padding: 78px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 900;
  color: #ddffe7;
}
.about h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  margin: 10px 0 18px;
  text-shadow: 5px 5px 0 rgba(32, 48, 144, 0.25);
}
.about p {
  font-size: 20px;
  line-height: 1.55;
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stats div {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 22px;
  text-align: center;
}
.stats b {
  display: block;
  font-size: 48px;
  line-height: 1;
}
.stats span {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
}

.gallery,
.schedule {
  padding: 82px 0;
  background: #fff;
}
.schedule {
  background: linear-gradient(#fff, #eefff2);
}
.section-title span {
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.16em;
}
.section-title h2 {
  margin: 6px 0 28px;
  color: var(--green);
  font-size: clamp(42px, 6vw, 76px);
  font-style: italic;
  text-shadow:
    4px 4px 0 #fff,
    8px 8px 0 rgba(0, 151, 38, 0.12);
}
.carousel {
  position: relative;
}
.track {
  display: flex;
  gap: 22px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 28px;
  scrollbar-width: none;
}
.track::-webkit-scrollbar {
  display: none;
}
.track article {
  flex: 0 0 min(390px, 84vw);
  scroll-snap-align: center;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.car-btn {
  position: absolute;
  top: 43%;
  z-index: 3;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: white;
  font-size: 44px;
  line-height: 1;
  box-shadow: 0 14px 26px rgba(32, 48, 144, 0.18);
  cursor: pointer;
}
.prev {
  left: -18px;
}
.next {
  right: -18px;
}

.tabs {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.tab {
  border: 2px solid rgba(32, 48, 144, 0.16);
  background: white;
  color: var(--blue);
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}
.tab.active {
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: white;
  border-color: transparent;
}

.schedule-panel {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.schedule-panel.active {
  display: grid;
}
.day-card {
  background: white;
  border: 1px solid #bce8c6;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.day-head {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 17px 20px;
  cursor: pointer;
}
.day-num {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  color: var(--green-dark);
  font-size: 26px;
  font-weight: 900;
}
.day-head b {
  display: block;
  font-size: 22px;
  text-transform: uppercase;
}
.day-head small {
  display: block;
  font-weight: 800;
  opacity: 0.9;
}
.day-head i {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border-right: 4px solid white;
  border-bottom: 4px solid white;
  transform: rotate(45deg);
  transition: 0.25s;
}
.day-card.open .day-head i {
  transform: rotate(225deg);
}
.day-body {
  display: none;
  padding: 18px;
}
.day-card.open .day-body {
  display: block;
}
.day-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.event {
  display: grid;
  grid-template-columns: 98px 104px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 14px;
  background: #fbfffc;
  border-left: 4px solid var(--green);
}
.event time {
  font-weight: 900;
  color: var(--pink);
}
.event-kind {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--blue);
  background: #e9efff;
  border-radius: 999px;
  padding: 5px 8px;
  text-align: center;
}
.event p {
  margin: 0;
  line-height: 1.36;
  font-size: 14px;
}
.workshop {
  margin-top: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: white;
  padding: 12px 16px;
  font-weight: 900;
  text-align: center;
}

.footer {
  background: #223393;
  color: white;
  padding: 38px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 28px;
  align-items: center;
}
.footer img {
  width: 110px;
}
.footer p {
  margin: 4px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.65s;
}
.reveal.visible {
  height: min-content;
  opacity: 1;
  transform: none;
}
.reveal.visible.open {
  height: auto;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 68px;
    padding: 0 16px;
  }
  .brand img {
    width: 62px;
    height: 48px;
  }
  .burger {
    display: block;
  }
  .site-header > .btn {
    display: none;
  }
  .nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-radius: 22px;
    padding: 12px;
    box-shadow: var(--shadow);
    margin: 0;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 15px;
    border-bottom: 1px solid #edf4ef;
  }
  .hero {
    min-height: 650px;
    padding-top: 20px;
  }
  .hero-bg img {
    width: min(92vw, 640px);
  }
  .hero-info {
    margin-top: 390px;
    width: calc(100% - 28px);
    padding: 18px;
  }
  .hero-actions {
    display: grid;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .schedule-panel {
    grid-template-columns: 1fr;
  }
  .day-head b {
    font-size: 18px;
  }
  .event {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .event-kind {
    width: max-content;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer img {
    margin: auto;
  }
  .cursor-glow {
    display: none;
  }
}
@media (max-width: 520px) {
  .container {
    width: calc(100% - 24px);
  }
  .hero {
    min-height: 600px;
  }

  .hero-bg {
    place-content: start;
    justify-content: center;
  }

  .hero-info {
    margin-top: 600px;
  }
  .hero-info h1 {
    font-size: 34px;
  }
  .hero-info span {
    font-size: 22px;
  }
  .btn {
    width: 100%;
    padding: 0 18px;
    font-size: 12px;
  }
  .about,
  .gallery,
  .schedule {
    padding: 54px 0;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .section-title h2 {
    font-size: 42px;
  }
  .tab {
    width: 100%;
    text-align: center;
  }
  .day-head {
    padding: 14px;
  }
  .day-num {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
  .day-body {
    padding: 14px;
  }
  .event p {
    font-size: 13.5px;
  }
}
