:root {
  --blue: #3D35D8;
  --blue-dark: #2a24a0;
  --blue-light: #5a54e8;
  --red: #CC0000;
  --red-dark: #990000;
  --white: #ffffff;
  --off-white: #f4f4f8;
  --text-dark: #111122;
  --text-mid: #444466;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}

.nav-burger {
  display: none;
}

.mobile-menu-close {
  display: none;
}

nav.scrolled {
  background: rgba(10, 10, 30, 0.95);
}

.nav-logo {
  height: 44px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1a1060;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 90% at 20% 40%, #3d35d8 0%, transparent 100%),
    radial-gradient(ellipse 60% 70% at 80% 65%, #cc0000 0%, transparent 100%),
    radial-gradient(ellipse 40% 50% at 55% 15%, #1a1060 0%, transparent 100%);
    /*url('../img/hero-bg.jpg') no-repeat center / cover;*/ /* Наша картинка */

  animation: spot-drift 8s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: none;
}

@keyframes spot-drift {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.06) translate(2%, 3%);
  }
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* animated rings */
.hero-rings {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  animation: ring-breathe 5s ease-in-out infinite;
}

.ring:nth-child(1) {
  width: 500px;
  height: 220px;
  animation-delay: 0s;
  animation-duration: 4s;
}

.ring:nth-child(2) {
  width: 400px;
  height: 400px;
  animation-delay: 0.7s;
  animation-duration: 4.5s;
}

.ring:nth-child(3) {
  width: 580px;
  height: 580px;
  animation-delay: 1.4s;
  animation-duration: 5s;
}

.ring:nth-child(4) {
  width: 780px;
  height: 780px;
  animation-delay: 2.1s;
  animation-duration: 5.5s;
}

.ring:nth-child(5) {
  width: 980px;
  height: 980px;
  animation-delay: 2.8s;
  animation-duration: 6s;
}

@keyframes ring-breathe {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }

  30% {
    opacity: 0.35;
    transform: scale(1);
  }

  70% {
    opacity: 0.35;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  width: 900px;
  max-width: 100vw;
  margin-bottom: 32px;
  filter: brightness(0) invert(1);
  animation: fadeUp 1s ease 0.2s both;
}

.hero-tagline {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(14px, 3vw, 18px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  animation: fadeUp 1s ease 0.35s both;
}

.hero-date {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(32px, 7vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
  animation: fadeUp 1s ease 0.45s both;
}

.hero-location {
  font-size: clamp(15px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 48px;
  animation: fadeUp 1s ease 0.55s both;
}

.hero-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp 1s ease 0.65s both;
}

.badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}

.hero-cta {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 18px 52px;
  border-radius: 6px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(204, 0, 0, 0.4);
  animation: fadeUp 1s ease 0.75s both;
}

.hero-cta:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(204, 0, 0, 0.55);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite 1.5s;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.hero-scroll svg {
  width: 28px;
  opacity: 0.6;
}

/* ── DIVIDER ── */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 48px;
  margin: 0 auto;
  max-width: 1200px;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: var(--blue);
}

.divider-icon {
  color: var(--blue);
  font-size: 22px;
}

/* ── SECTIONS ── */
section {
  padding: 100px 24px;
}

/*.section-label {
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}*/

.section-label /*day-date-big */{
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  /*margin-bottom: 40px;*/
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(26px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-dark);
}

.section-title span {
  color: var(--blue);
}

.program-section-title{
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(26px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-dark);
}

.program-section-title span {
  color: var(--blue);
}

.section-day-title {
  font-size: clamp(38px, 10vw, 72px);
}

/* ── ABOUT ── */
#about {
  background: var(--off-white);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-mid);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.stat-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  border-top: 4px solid var(--blue);
  box-shadow: 0 4px 24px rgba(61, 53, 216, 0.08);
}

.stat-card.red {
  border-top-color: var(--red);
}

.stat-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.stat-card.red .stat-num {
  color: var(--red);
}

.stat-label {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 6px;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  /*box-shadow: 0 24px 80px rgba(61, 53, 216, 0.18);*/
  /*position: relative;*/
}

.about-image img {
  width: 100%;
  display: block;
}

/* .about-image::after — рамка удалена */

/* ── PROGRAM ── */
#program {
  background: var(--white);
}

.program-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.program-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 60px;
}

.program-header-right {
  flex-shrink: 0;
}

.program-title-right {
  text-align: right;
  flex: 1;
  min-width: 0;
  margin: 0;
  align-self: center;
}

.days-tabs {
  display: flex;
  gap: 18px;
  width: fit-content;
  background: var(--off-white);
  border-radius: 14px;
  padding: 18px;
}

.day-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 108px;
  padding: 20px 18px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  color: var(--text-dark);
  transition: all 0.2s;
  border: none;
  background: none;
  line-height: 1;
  gap: 4px;
}

.day-tab-num {
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  font-family: 'Unbounded', sans-serif;
}

.day-tab-month {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.day-tab.active {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(61, 53, 216, 0.35);
}

.day-tab:not(.active):hover {
  background: rgba(61, 53, 216, 0.08);
}

.day-panel {
  display: none;
  animation: fadeUp 0.4s ease both;
  margin-top: 48px;
}

.day-panel.active {
  display: block;
}

.day-genre.red {
  -webkit-text-stroke-color: var(--red);
}

.badge-headliner {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  vertical-align: middle;
  /*margin-left: 10px;*/
  position: relative;
  /*top: -2px;*/
}



.artists-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* ── ARTIST CARD ── */
.artist-card {
  display: grid;
  grid-template-columns: 56px 500px 1fr;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s;
}

.artist-card:hover {
  border-color: rgba(61, 53, 216, 0.35);
  transform: translateY(-2px);
}

.artist-card.red:hover {
  border-color: rgba(204, 0, 0, 0.35);
}

/* Порядковый номер */
.artist-num {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  flex-shrink: 0;
}

.artist-card.red .artist-num {
  background: var(--red);
}

.artist-num span {
  font-family: 'Unbounded', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
}

/* Фото коллектива */
.artist-icon {
  width: 500px;
  height: auto;        /* убираем фиксированную высоту */
  align-self: stretch; /* растягиваемся по высоте карточки (работает в grid) */
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  background: #eeeeff;
}

.artist-card.red .artist-icon {
  background: #fff0f0;
}

/* Когда вставите фото: <img src="..."> внутри .artist-icon */
.artist-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Текст */
.artist-body {
  padding: 24px 28px;
  min-width: 0;
}

.artist-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.35;
  margin-top: 15px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.artist-role {
  font-size: 16px;
  color: var(--text-mid);
  margin-top: 8px;
  line-height: 1.6;
}


.artist-tag span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.artist-tag .tag-blue {
  background: #eeeeff;
  color: var(--blue);
}

.artist-tag .tag-red {
  background: #fff0f0;
  color: var(--red);
}

/* ── Галерея ── */

#gallery { 
  background: var(--off-white); /* #f4f4f8 — как секции #about и #activities */
  padding: 100px 0; 
}
.gallery-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── VENUE ── */
#venue {
  background: var(--blue);
  color: var(--white);
}

.venue-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.venue-left {
  display: flex;
  flex-direction: column;
}

.venue-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.venue-map-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.venue-map-wrapper {
  width: 450px;
  max-width: 100%;
  height: 720px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

#venue .section-label {
  color: rgba(255, 255, 255, 0.6);
}

#venue .section-title {
  color: var(--white);
}

#venue .section-title span {
  color: #a8a4ff;
}

.venue-desc {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.venue-facts {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.venue-fact {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.venue-fact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.venue-fact-icon svg {
  width: 22px;
  height: 22px;
}

.venue-route-btn {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.venue-route-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.venue-route-btn-icon {
  width: 40px;
  height: 40px;
  /*background: rgba(59, 47, 255, 0.1);*/
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.venue-route-btn-text {
  flex-shrink: 0;
}

.venue-route-btn-text strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
}

.venue-route-btn-text span {
  display: block;
  font-size: 14px;
  /*color: #888;*/
  color: var(--blue);
  opacity: 0.6;
  margin-top: 5px;
}

.venue-route-btn-arrow {
  margin-left: 50px;
  font-size: 20px;
  color: #aaa;
  font-weight: 300;
}

.venue-fact-text strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.venue-fact-text span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.venue-map {
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  height: 420px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.venue-map p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  text-align: center;
  padding: 0 32px;
}

.map-link {
  background: var(--white);
  color: var(--blue);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: transform 0.15s;
}

.map-link:hover {
  transform: scale(1.03);
}

/* ── activities ── */
#activities {
  background: var(--off-white);
}

.activities-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.activities-header {
  margin-bottom: 60px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar {
  background: var(--white);
  border-radius: 16px;
  padding: 0;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(61, 53, 216, 0.12);
}

.pillar-icon {
  margin-bottom: 0;
  display: block;
}

.pillar-icon img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
}

.pillar h3,
.pillar p,
.pillar-bar {
  padding-left: 32px;
  padding-right: 32px;
}

.pillar h3 {
  padding-top: 28px;
}

.pillar h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.pillar p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
}

.pillar-bar {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--blue);
  margin: 20px auto 32px;
  font-size: 0;
  color: transparent;
  overflow: hidden;
}

.pillar:nth-child(2) .pillar-bar {
  background: var(--red);
}

.pillar:nth-child(3) .pillar-bar {
  background: var(--blue);
}

/* ── PARTNERS ── */
#partners {
  background: var(--white);
}

.partners-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.partners-inner .section-title {
  margin-bottom: 60px;
}

.partners-group {
  margin-bottom: 56px;
}

.partners-group-title {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 28px;
  font-weight: 600;
}

.partner-logos {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.partner-logos .break-line::before {
  content: "";
  flex-basis: 100%;
  width: 0;
  height: 0;
  margin-bottom: -24px; 
}

.partner-logo {
  background: var(--off-white);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 30px 52px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--text-dark);
  transition: border-color 0.2s;

  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.partner-logo-img {
  height: 150px;
  width: auto;
  max-width: 100%;
  flex-shrink: 1;
  object-fit: contain;

  /*filter: grayscale(100%);
  transition: filter 0.3s ease-in-out;*/
}

.partner-link:hover .partner-logo-img {
  /*filter: grayscale(0%)*/
}

.partner-logo.sber {
  color: #21a038;
}

.partner-logo.lebedyan {
  color: var(--blue);
}

/* ── SOCIAL / FOOTER ── */
footer {
  background: #0a0a1e;
  color: var(--white);
  padding: 80px 24px 48px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 0.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
  width: 100%;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 6px;
}

.social-link {
  border-radius: 8px;
}

.social-link-icon{
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  color: var(--white);
  transition: background 0.2s;
}

.partner-link {
  text-decoration: none;
}

.social-link:hover {
  background: var(--blue);
}

.social-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  /*display: flex;
  justify-content: space-between;
  align-items: center;*/
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ── VENUE MAP desktop/mobile ── */
.venue-map-mobile {
  display: none;
}

/* ── GALLERY SHOW MORE ── */
.gallery-more-items {
  display: none; /* скрыто по умолчанию */
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-more-items.is-expanded {
  display: grid;
}

.gallery-show-more {
  display: flex; /* видно везде */
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 14px 20px;
  background: none;
  border: 2px solid rgba(61, 53, 216, 0.3);
  border-radius: 12px;
  color: var(--text-mid);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: border-color 0.2s, color 0.2s;
}

.gallery-show-more:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.all-caps {
  text-transform: uppercase;
}

/* ── RESPONSIVE ── */

/* Tablet: ≤ 900px */
@media (max-width: 900px) {
  nav {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
  }

  .about-inner,
  .venue-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  section {
    padding: 72px 20px;
  }

  /* Venue map */
  .venue-map-wrapper {
    width: 100%;
    height: 400px;
  }

  /* Artist cards: switch to vertical stacked layout */
  .artist-card {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
  }

  .artist-num {
    grid-row: 1 / 3;
  }

  .artist-icon {
    width: 100%;
    height: 220px;
    grid-column: 2;
  }

  .artist-body {
    grid-column: 2;
    padding: 16px 20px;
  }

  .artist-name {
    font-size: 22px;
  }
}

/* Mobile: ≤ 600px */
@media (max-width: 600px) {
  /* Nav */
  nav {
    padding: 12px 24px;
  }

  .nav-logo {
    height: 36px;
  }

  /* Hamburger button */
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    position: relative;
    z-index: 10000;
  }

  .nav-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Анимация в крестик при открытом меню */
  nav.menu-open .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  nav.menu-open .nav-burger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  nav.menu-open .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Скрываем фон и логотип навбара когда меню открыто */
  nav.menu-open {
    background: transparent !important;
    backdrop-filter: none;
    border-bottom-color: transparent;
  }
  nav.menu-open .nav-logo,
  nav.menu-open a[href="#hero"] {
    visibility: hidden;
  }

  /* Mobile dropdown menu */
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--blue);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 9998;
    list-style: none;
    padding: 0;
    margin: 0;
    /* Плавное появление */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 20px;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.9);
  }

  /* Кнопка закрытия меню — крестик внизу */
  .nav-links-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    color: white;
    font-size: 22px;
    cursor: pointer;
    margin-top: 8px;
    touch-action: manipulation;
  }

  .nav-links-close-btn:hover {
    background: rgba(255,255,255,0.28);
  }

  /* Hero */
  #hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero-logo {
    width: 100%;
    max-width: 340px;
    margin-bottom: 20px;
  }

  .hero-tagline {
    font-size: 12px;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
  }

  .hero-date {
    font-size: clamp(24px, 8.5vw, 52px);
    margin-bottom: 8px;
  }

  .hero-scroll {
    bottom: 24px;
  }

  /* Rings — scale down on mobile */
  .ring:nth-child(2) { width: 260px; height: 260px; }
  .ring:nth-child(3) { width: 360px; height: 360px; }
  .ring:nth-child(4) { width: 460px; height: 460px; }
  .ring:nth-child(5) { width: 560px; height: 560px; }

  /* Sections */
  section {
    padding: 60px 28px;
  }

  .section-title {
    font-size: clamp(18px, 9.5vw, 32px);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .program-section-title {
    font-size: clamp(18px, 6.5vw, 28px);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .section-day-title {
    font-size: clamp(22px, 12.5vw, 44px);
  }

  /* About */
  .about-inner {
    gap: 28px;
  }

  .about-text p {
    font-size: 15px;
  }

  /* Program */
  .program-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }

  .program-header-right {
    width: 100%;
    box-sizing: border-box;
  }

  .program-title-right {
    text-align: left;
    align-self: flex-start;
  }

  .days-tabs {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 8px;
    gap: 6px;
  }

  .day-tab {
    flex: 1;
    padding: 12px 2px;
    font-size: 10px;
    text-align: center;
    min-width: 0;
  }

  .day-tab-num {
    font-size: 26px;
  }

  .day-tab-month {
    font-size: 10px;
  }

  /* Кнопка 18 июля (day-1) активная — красная */
  .day-tab.day-tab-1.active {
    background: var(--red);
    box-shadow: 0 4px 20px rgba(204, 0, 0, 0.35);
  }

  /* Artist cards: fully vertical on mobile */
  .artist-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    border-radius: 10px;
  }

  .artist-num {
    grid-row: unset;
    grid-column: 1;
    height: 40px;
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0 16px;
  }

  .artist-num span {
    font-size: 15px;
  }

  .artist-icon {
    width: 100%;
    height: 200px;
    grid-column: 1;
  }

  .artist-body {
    grid-column: 1;
    padding: 16px;
  }

  .artist-name {
    font-size: 18px;
  }

  .artist-role {
    font-size: 14px;
  }

  /* Activities */
  .activities-header {
    margin-bottom: 36px;
  }

  .pillars {
    gap: 20px;
  }

  /* Venue */
  .venue-inner {
    gap: 32px;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .venue-left,
  .venue-right {
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }

  #venue .section-title {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: clamp(24px, 7vw, 40px);
  }

  .venue-map-wrapper {
    width: 100% !important;
    max-width: 100%;
    height: 320px;
  }

  .venue-desc {
    font-size: 15px;
  }

  .venue-route-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .venue-route-btn-arrow {
    margin-left: auto;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  #gallery {
    padding: 60px 0;
  }

  .gallery-inner {
    padding: 0 28px;
  }

  /* Partners */
  .partner-logos {
    flex-direction: column;
    align-items: stretch;
  }


  .partner-logo {
    text-align: center;
    padding: 16px 20px;
    font-size: 13px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .partner-logo-img {
    height: 80px;
    max-width: 100%;
    width: auto;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .footer-brand {
    grid-column: 1;
    text-align: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .footer-brand .footer-logo {
    max-width: 200px;
    margin: 0 auto 0;
    display: block;
  }

  /* Скрыть навигацию и пустую колонку в мобильном футере */
  .footer-col:empty,
  .footer-col:has(h4) {
    display: none;
  }

  /* Показать только соцсети компактно */
  .footer-col:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .footer-col:last-child h4 {
    text-align: center;
    margin-bottom: 4px;
  }

  .footer-col:last-child > a {
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0;
  }

  .social-links {
    justify-content: center;
  }

  footer {
    padding: 48px 20px 32px;
  }

  .footer-bottom {
    font-size: 11px;
    line-height: 1.8;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  /* Lightbox navigation on mobile */
  #lb-prev, #lb-next {
    font-size: 36px;
  }

  #lb-prev { left: 8px; }
  #lb-next { right: 8px; }

  /* ── CLOSE BUTTON in mobile menu — скрыт, закрытие через бургер ── */
  .mobile-menu-close {
    display: none !important;
  }

  /* ── PILLAR ACCORDION ── */
  .pillar-accordion-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    text-align: left;
    color: inherit;
  }

  .pillar-accordion-btn h3 {
    flex: 1;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
  }

  /* Картинка в body (под спойлером) на мобиле */
  .pillar-body-img {
    display: block;
    width: 100%;
  }

  .pillar-body-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }


  .pillar-chevron {
    display: block;
    font-size: 22px;
    color: var(--blue);
    font-weight: 700;
    transition: transform 0.3s;
    transform: rotate(0deg);
    line-height: 1;
  }

  .pillar.is-open .pillar-chevron {
    transform: rotate(90deg);
  }

  .pillar-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .pillar.is-open .pillar-body {
    max-height: 600px;
  }

  /* Троеточие вместо полоски в мобильном аккордеоне */
  .pillar-bar {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    margin: 0;
    padding: 12px 20px 16px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--blue);
    text-align: center;
  }

  .pillar:nth-child(2) .pillar-bar {
    color: var(--red);
    background: none;
  }

  .pillar:nth-child(3) .pillar-bar {
    color: var(--blue);
    background: none;
  }

  /* Вся карточка кликабельная */
  .pillar {
    cursor: pointer;
  }

  /* Текст внутри спойлера — по левому краю */
  .pillar-body p,
  .pillar-body {
    text-align: left;
  }

  .pillar-accordion-btn .pillar-icon {
    display: none;
  }

  /* ── VENUE MAPS ── */
  .venue-map-desktop {
    display: none;
  }

  .venue-map-mobile {
    display: block;
    width: 100%;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
  }

  .venue-map-mobile iframe {
    width: 100%;
    height: 100%;
  }

  /* ── GALLERY SHOW MORE (mobile override) ── */
  .gallery-more-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-show-more-arrow {
    font-size: 18px;
  }

}
/* ── MENU OVERLAY (mobile close by tap outside) ── */

/* ── BACK TO TOP ── */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(61,53,216,0.35);
  z-index: 500;
  transition: opacity 0.2s, transform 0.2s;
  opacity: 0.88;
  align-items: center;
  justify-content: center;
}
#back-to-top.is-visible {
  display: flex;
}
#back-to-top:hover {
  opacity: 1;
  transform: translateY(-3px);
}

/* ── PILLAR ACCORDION (mobile) ── */.pillar-body-img {
  display: none; /* скрыто на десктопе */
}

.pillar-accordion-btn {
  display: contents; /* on desktop: transparent, layout unchanged */
}

.pillar-chevron {
  display: none;
}

/* ── VENUE MAP — дубликат удалён, правила в медиазапросах выше ── */
