/* --- ITA TRIP — Портал путешествий (светлая тема) --- */
:root {
  --color-bg: #014acd;
  --color-surface: #ffffff;
  --color-surface-hover: #f2f0eb;
  --color-accent: #c47b4a;
  --color-accent-soft: rgba(196, 123, 74, 0.12);
  --color-teal: #0d9488;
  --color-teal-soft: rgba(13, 148, 136, 0.1);
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --color-border: rgba(0, 0, 0, 0.08);
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-display: 'Playfair Display', serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.1);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: #fff;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(1, 74, 205, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav a:hover {
  color: #fff;
}

/* Main */
.main {
  flex: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  width: 100%;
}

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 0 3.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #fff;
}

.hero-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  font-weight: 400;
}

/* Section */
.section-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem;
}

.section-intro {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

/* Directions grid — real ticket cards */
.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Ticket card (real ticket look) */
.ticket-card {
  display: block;
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: visible;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: left;
  padding-right: 0;
}

/* Notched right edge (perforation) — circles half inside card */
.ticket-card::before {
  content: '';
  position: absolute;
  right: -5px;
  top: 32%;
  width: 10px;
  height: 10px;
  background: var(--color-bg);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--color-border);
}
.ticket-card::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--color-bg);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--color-border);
}
.ticket-card .ticket-card-footer::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 0;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--color-bg);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--color-border);
}

/* ── Active card ── */
.ticket-card--active {
  border-color: rgba(1, 74, 205, 0.35);
  box-shadow: 0 0 0 1px rgba(1, 74, 205, 0.12), 0 4px 20px rgba(1, 74, 205, 0.1);
}

.ticket-card--active .ticket-card-strip {
  background: linear-gradient(135deg, rgba(1, 74, 205, 0.12) 0%, rgba(13, 148, 136, 0.12) 100%);
}

.ticket-card--active:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(1, 74, 205, 0.25), var(--shadow-hover);
  border-color: rgba(1, 74, 205, 0.5);
}

.ticket-card--active:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ── Inactive card ── */
.ticket-card--inactive {
  cursor: default;
  pointer-events: none;
  opacity: 0.45;
  filter: grayscale(1);
}

.ticket-card--inactive .ticket-card-strip {
  background: linear-gradient(135deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.06) 100%);
}

/* ── "Скоро" badge ── */
.ticket-card-soon {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted, #888);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.08);
}

/* Top strip */
.ticket-card-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  background: linear-gradient(135deg, var(--color-accent-soft) 0%, var(--color-teal-soft) 100%);
  border-bottom: 1px solid var(--color-border);
  border-radius: 18px 18px 0 0;
}

.ticket-card-logo {
  display: flex;
  align-items: center;
}
.ticket-card-logo img {
  height: 26px;
  width: auto;
  display: block;
  object-fit: contain;
}

.ticket-card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

.ticket-card-pass {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

/* Route block: FROM → TO */
.ticket-card-route-block {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 1.15rem 0.9rem;
}

.ticket-card-from,
.ticket-card-to {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ticket-card-to {
  text-align: right;
}

.ticket-card-code {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text);
  line-height: 1.1;
}

.ticket-card-place {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.ticket-card-mid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-card-arrow {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-teal);
}

/* Perforation line */
.ticket-card-perforation {
  margin: 0 1.15rem;
  height: 0;
  border-bottom: 2px dashed var(--color-border);
  opacity: 0.9;
}

/* Footer */
.ticket-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem 0.9rem;
  position: relative;
}

.ticket-card-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.ticket-card-action {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Footer */
.footer {
  padding: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.footer__logo {
  height: 1.1em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* --- Direction detail page --- */
.page-back {
  margin-bottom: 1.5rem;
}

.page-back a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
}

.page-back a:hover {
  color: #fff;
}

/* Full-width direction page layout */
.main.main--full {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.main-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

.direction-content {
  max-width: 1000px;
  width: 100%;
}

.direction-content.direction-content--full {
  max-width: none;
  width: 100%;
}

.direction-content h1,
.main-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.direction-title-logo {
  height: 2rem;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}

@media (min-width: 500px) {
  .direction-title-logo {
    height: 2.25rem;
  }
}

.direction-content .content-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 1.5rem;
  color: var(--color-text);
  line-height: 1.7;
}

/* Full-width blocks layout */
.direction-blocks {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.direction-blocks > * {
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
}

.direction-blocks .camp-hero-v2 {
  margin: 0;
}

.direction-blocks .mech-v2 {
  margin: 0;
}

.direction-blocks .teachers-v2 {
  margin: 0;
}


/* Block 2 — Tasks v2: card grid, modern */
.tasks-v2 {
  background: var(--color-surface);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  contain: layout style;
}

.tasks-v2__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.tasks-v2__header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem 2.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.tasks-v2__chip {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(13, 148, 136, 0.18);
  color: var(--color-teal);
  border: 1px solid rgba(13, 148, 136, 0.35);
  margin-bottom: 1rem;
}

.tasks-v2__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.tasks-v2__subtitle {
  font-size: 1rem;
  color: var(--color-text);
  margin: 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  opacity: 0.75;
}

.tasks-v2__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tasks-v2__card {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tasks-v2__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.tasks-v2__card--wide {
  grid-column: 1 / -1;
}

.tasks-v2__num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(13, 148, 136, 0.15);
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.tasks-v2__emoji {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.tasks-v2__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}

/* ── Mission values grid ── */
.tasks-v2__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.tasks-v2__value {
  padding: 1.75rem 1.5rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tasks-v2__value:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.tasks-v2__value-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  flex-shrink: 0;
}

.tasks-v2__value-icon svg {
  width: 24px;
  height: 24px;
}

.tasks-v2__value-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.01em;
}

.tasks-v2__value-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 700px) {
  .tasks-v2__values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tasks-v2__grid {
    grid-template-columns: 1fr;
  }
  .tasks-v2__card--wide {
    grid-column: 1;
  }
  .tasks-v2 {
    padding: 2.5rem 0;
  }
  .tasks-v2__inner {
    padding: 0 1.25rem;
  }
  .tasks-v2__card {
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .tasks-v2__value {
    padding: 1.25rem 1.25rem;
  }
}

.direction-content .content-block p {
  margin: 0 0 1rem;
}

.direction-content .content-block p:last-child {
  margin-bottom: 0;
}

/* Block 1 — Camp Hero v2: Apple Liquid Glass */
.camp-hero-v2 {
  position: relative;
  overflow: hidden;
  background: #e8f5f0;
  contain: layout style;
}

.camp-hero-v2__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* No overlay — let background show fully */
.camp-hero-v2 .spring-flora::after {
  display: none;
}

/* ── Liquid Glass panel wrapping all content ── */
.camp-hero-v2__inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 8rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* Glass wrapper around text content */
.camp-hero-v2__top {
  margin-bottom: 2rem;
  padding: 2rem 2.25rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.camp-hero-v2__chip {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(13, 148, 136, 0.15);
  color: var(--color-teal);
  border: 1px solid rgba(13, 148, 136, 0.3);
  margin-bottom: 1.25rem;
}

.camp-hero-v2__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 1.1rem;
}

/* ── NEW hero layout ── */
.ch-headline {
  max-width: 700px;
  margin-bottom: 2rem;
  padding: 1.75rem 2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  /* Prevent overflow on narrow screens */
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .ch-headline {
    padding: 1.125rem 1rem;
  }
}

.ch-desc {
  font-size: clamp(0.9rem, 1.8vw, 1.0625rem);
  line-height: 1.75;
  color: rgba(31, 41, 55, 0.75);
  margin: 0.75rem 0 0;
  max-width: 60ch;
}

.ch-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  min-width: 0;
  width: 100%;
}

@media (min-width: 700px) {
  .ch-body {
    grid-template-columns: 1fr 1fr;
  }
}

/* Glass cards */
.ch-card {
  padding: 1.75rem 2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  /* Prevent grid overflow on narrow screens */
  min-width: 0;
  overflow: hidden;
  word-break: break-word;
}

.ch-card__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-teal);
  margin: 0 0 0.875rem;
}

.ch-card__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 1.25rem;
}

.ch-card__text em {
  font-style: normal;
  font-weight: 600;
  color: var(--color-teal);
}

/* Pillars */
.ch-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.ch-pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text);
}

.ch-pillar svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-teal);
  margin-top: 0.15rem;
}

/* Includes list */
.ch-includes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ch-includes li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text);
  padding-left: 1.5rem;
  position: relative;
}

.ch-includes li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
}

/* Location bar */
.ch-location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.875rem;
  color: var(--color-text);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.ch-location__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-teal);
}

.ch-location__text {
  flex: 1;
  min-width: 0;
}

.ch-location__links {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ch-location__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.07);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.18s;
  overflow: hidden;
}

.ch-location__link:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.ch-location__link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .ch-card {
    padding: 1.125rem 1rem;
  }
  .ch-location {
    padding: 0.875rem 1rem;
  }
}

@media (max-width: 600px) {
  .camp-hero-v2__inner {
    padding: 2.5rem 1rem;
  }
  .camp-hero-v2__pillar {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
  }
}

.direction-content .content-block .content-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
}

.direction-content .content-block .content-h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--color-text);
}

.direction-content .content-block .content-h3:first-of-type {
  margin-top: 0;
}

.direction-content .content-block .content-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.direction-content .content-block .content-list li {
  margin-bottom: 0.35rem;
}

/* Tasks list with icons */
.direction-content .content-block .content-tasks {
  list-style: none;
  padding-left: 0;
}

.direction-content .content-block .content-tasks li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.direction-content .content-block .content-tasks li:last-child {
  border-bottom: none;
}

.direction-content .content-block .task-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.08);
}

.direction-content .content-block .task-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.direction-content .content-block .task-text {
  flex: 1;
  line-height: 1.6;
  padding-top: 0.2rem;
}

.direction-content .content-block .content-activities li {
  margin-bottom: 0.5rem;
}

/* Block 3 — Mechanism v2: two-column split, card flow */
/* ====== Block 3 — Механизм: Dark Bento ====== */
.mech-v2 {
  background: #071a13;
  color: #e8f5f2;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow in the background */
.mech-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 30%, rgba(34, 211, 178, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(16, 140, 110, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.mech-v2__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

/* Header */
.mech-v2__hdr {
  text-align: center;
}

.mech-v2__chip {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(34, 211, 178, 0.15);
  color: #22d3b2;
  border: 1px solid rgba(34, 211, 178, 0.3);
  margin-bottom: 1.25rem;
}

.mech-v2__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 auto;
  max-width: 680px;
  line-height: 1.15;
}

/* SDG icons strip */
.mech-v2__sdg-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mech-v2__sdg-icon {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 14px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.mech-v2__sdg-icon:hover {
  transform: translateY(-6px) scale(1.12);
  filter: drop-shadow(0 10px 20px rgba(34, 211, 178, 0.4));
}

/* Bento grid */
.mech-v2__bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

/* Base bento card */
.mech-v2__bcard {
  border-radius: 20px;
  padding: 1.75rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mech-v2__bcard:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 178, 0.25);
}

/* Activities card — top left, teal tint */
.mech-v2__bcard--acts {
  background: rgba(34, 211, 178, 0.08);
}

/* Results card — top right, brighter accent */
.mech-v2__bcard--res {
  background: rgba(34, 211, 178, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

/* Mechanism card — full width, prominent */
.mech-v2__bcard--mech {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(34, 211, 178, 0.12) 0%, rgba(16, 90, 70, 0.2) 100%);
  border-color: rgba(34, 211, 178, 0.2);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

/* Bento card icon */
.mech-v2__bcard-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(34, 211, 178, 0.15);
  color: #22d3b2;
  margin-bottom: 1rem;
}

.mech-v2__bcard--mech .mech-v2__bcard-icon {
  margin-bottom: 0;
  margin-top: 0.2rem;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.mech-v2__bcard-icon svg {
  width: 20px;
  height: 20px;
}

.mech-v2__bcard--mech .mech-v2__bcard-icon svg {
  width: 22px;
  height: 22px;
}

/* Bento card typography */
.mech-v2__bcard-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.mech-v2__bcard--mech .mech-v2__bcard-title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.mech-v2__bcard-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(232, 245, 242, 0.75);
  margin: 0;
}

.mech-v2__bcard-text strong {
  color: #22d3b2;
  font-weight: 600;
}

.mech-v2__bcard-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mech-v2__bcard-list li {
  font-size: 0.9rem;
  color: rgba(232, 245, 242, 0.8);
  line-height: 1.45;
  padding-left: 1.4rem;
  position: relative;
}

.mech-v2__bcard-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22d3b2;
  opacity: 0.8;
}

/* Desktop: mech card inner layout */
.mech-v2__bcard--mech .mech-v2__bcard-body {
  flex: 1;
  min-width: 0;
}

/* Mobile */
@media (max-width: 640px) {
  .mech-v2 {
    padding: 3rem 0;
  }
  .mech-v2__inner {
    padding: 0 1.25rem;
    gap: 2rem;
  }
  .mech-v2__bento {
    grid-template-columns: 1fr;
  }
  .mech-v2__bcard--mech {
    grid-column: 1;
    flex-direction: column;
    gap: 1rem;
  }
  .mech-v2__bcard {
    padding: 1.5rem 1.25rem;
  }
  .mech-v2__sdg-icon {
    width: 72px;
    height: 72px;
  }
}

/* ====== Block — Педагоги (Teachers): photo grid, modern ====== */
.teachers-v2 {
  background: #fff;
  padding: 4.5rem 0;
  position: relative;
}

.teachers-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(196, 123, 74, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.teachers-v2__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.teachers-v2__header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 1.5rem 1rem 1.25rem;
  transition: box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .teachers-v2__header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}


.teachers-v2__chip {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(13, 148, 136, 0.1);
  color: var(--color-teal);
  border: 1px solid rgba(13, 148, 136, 0.2);
  margin-bottom: 1rem;
}

.teachers-v2__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.teachers-v2__subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Uniform grid: all cards same size, name under own photo */
/* Carousel wrapper — break out of inner padding to full section width */
.teachers-v2__carousel {
  position: relative;
  margin-left: -2rem;
  margin-right: -2rem;
}

.teachers-v2__grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 0.5rem 2rem 1.25rem;
  list-style: none;
  margin: 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.teachers-v2__grid::-webkit-scrollbar {
  display: none;
}

/* Nav arrows */
.teachers-v2__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.teachers-v2__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
  flex-shrink: 0;
}

.teachers-v2__nav-btn:hover {
  background: #f3f4f6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
  transform: scale(1.07);
}

.teachers-v2__nav-btn:active {
  transform: scale(0.95);
}

.teachers-v2__nav-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.teachers-v2__nav-counter {
  font-size: 0.8125rem;
  color: #9ca3af;
  font-weight: 500;
  min-width: 48px;
  text-align: center;
}

.teachers-v2__card {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f8fafb;
  border: 1px solid rgba(0, 0, 0, 0.06);
  flex: 0 0 180px;
  scroll-snap-align: start;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.teachers-v2__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.teachers-v2__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
}

.teachers-v2__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.teachers-v2__card:hover .teachers-v2__photo {
  transform: scale(1.05);
}

.teachers-v2__photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.teachers-v2__card:hover .teachers-v2__photo-wrap::after {
  opacity: 1;
}

.teachers-v2__info {
  padding: 1rem 1.25rem;
  flex: 1;
  min-height: 0;
}

.teachers-v2__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.teachers-v2__role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.45;
}

@media (min-width: 640px) {
  .teachers-v2__card {
    flex: 0 0 200px;
  }
}

@media (max-width: 600px) {
  .teachers-v2 {
    padding: 2.5rem 0;
  }
  .teachers-v2__inner {
    padding: 0 1.25rem;
  }
  .teachers-v2__carousel {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
  }
  .teachers-v2__grid {
    padding: 0.5rem 1rem 1.25rem;
    gap: 0.75rem;
  }
  .teachers-v2__card {
    flex: 0 0 150px;
  }
  .teachers-v2__info {
    padding: 1rem 1.25rem;
  }
}

/* ====== Block 4 — Schedule v2: clean tabs, white ====== */
/* ====== Block — Расписание (Schedule) ====== */
.sched-v2 {
  background: #f8fafc;
  padding: 4.5rem 0;
}

.sched-v2__inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sched-v2__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.sched-v2__chip {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: var(--color-accent);
  color: #fff;
  margin-bottom: 1rem;
}

.sched-v2__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0;
}

/* Two-column grid */
.sched-v2__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* Day column */
.sched-v2__col {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  background: #fff;
}

/* Day header */
.sched-v2__day-hdr {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1rem;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 2;
}

.sched-v2__day-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--color-teal);
  color: #fff;
  font-size: 1.375rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.sched-v2__day-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sched-v2__day-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.sched-v2__day-date {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Scrollable container — 5 cards visible */
.sched-v2__scroll {
  overflow-y: auto;
  max-height: 405px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 148, 136, 0.3) transparent;
  /* Bottom fade hint */
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.sched-v2__scroll::-webkit-scrollbar {
  width: 4px;
}
.sched-v2__scroll::-webkit-scrollbar-track {
  background: transparent;
}
.sched-v2__scroll::-webkit-scrollbar-thumb {
  background: rgba(13, 148, 136, 0.35);
  border-radius: 4px;
}

/* Row cards */
.sched-v2__row {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.18s ease, box-shadow 0.18s ease;
  flex-shrink: 0;
}

.sched-v2__row:hover {
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
}

.sched-v2__row--highlight {
  background: rgba(13, 148, 136, 0.05);
  border-left: 3px solid var(--color-teal);
}

.sched-v2__row--highlight:hover {
  background: rgba(13, 148, 136, 0.09);
}

.sched-v2__row time {
  flex-shrink: 0;
  min-width: 5.5rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: rgba(13, 148, 136, 0.1);
  color: var(--color-teal);
  text-align: center;
  white-space: nowrap;
  line-height: 1.6;
  align-self: flex-start;
}

.sched-v2__row > div {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.sched-v2__row strong {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
  margin-bottom: 0.1rem;
}

.sched-v2__loc {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  margin-right: 0.25rem;
  margin-top: 0.2rem;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(13, 148, 136, 0.1);
  color: var(--color-teal);
  white-space: nowrap;
}

.sched-v2__sub {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.sched-v2__sub li {
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--color-text-muted);
}

/* Mobile */
@media (max-width: 700px) {
  .sched-v2__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .sched-v2__scroll {
    max-height: 350px;
  }
}

@media (max-width: 480px) {
  .sched-v2 {
    padding: 2.5rem 0;
  }
  .sched-v2__inner {
    padding: 0 1rem;
  }
  .sched-v2__day-hdr {
    padding: 1rem 1.125rem 0.875rem;
  }
  .sched-v2__scroll {
    padding: 0.5rem;
    max-height: 320px;
  }
  .sched-v2__row time {
    min-width: auto;
  }
  .main-inner {
    padding: 1.5rem 1rem 0;
  }
}


@media (max-width: 660px) {
  .directions-grid {
    grid-template-columns: 1fr;
  }
  .ticket-card-code {
    font-size: 1.2rem;
  }
}

/* ====== Spring Flora — sakura branch image + falling petals ====== */
.spring-flora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Sakura branch images — left and right corners */
.spring-sakura {
  position: absolute;
  width: clamp(200px, 45vw, 480px);
  height: auto;
  opacity: 0;
  animation: sakuraFadeIn 2s ease-out forwards;
}
.spring-sakura--left {
  top: -10px;
  left: -20px;
  animation-delay: 0.2s;
}
.spring-sakura--right {
  top: -10px;
  right: -20px;
  transform: scaleX(-1);
  animation-delay: 0.5s;
}

/* Video background */
.spring-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  opacity: 0.75;
  will-change: transform;
  transform: translateZ(0);
}

/* Full background variant — overrides base .spring-sakura */
.spring-sakura--bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  animation-delay: 0.2s;
  transform: none !important;
}

/* Falling petals */
.spring-petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
}

.spring-petal {
  position: absolute;
  display: block;
  opacity: 0;
  top: -10%;
  background: radial-gradient(ellipse at 30% 30%, #fce4ec, #f48fb1);
  clip-path: path('M5 0 C7.5 0, 10 3, 10 5 C10 8, 7 10, 5 10 C3 10, 0 8, 0 5 C0 3, 2.5 0, 5 0 Z');
  animation: petalDrift ease-in-out infinite;
  will-change: transform, opacity;
}

.spring-petal--1 {
  width: 12px; height: 14px;
  left: 8%;
  animation-duration: 9s;
  animation-delay: 3s;
  background: radial-gradient(ellipse at 30% 30%, #fff5f7, #f9b7c4);
}
.spring-petal--2 {
  width: 10px; height: 12px;
  left: 22%;
  animation-duration: 11s;
  animation-delay: 5s;
  background: radial-gradient(ellipse at 40% 20%, #fce4ec, #f48fb1);
}
.spring-petal--3 {
  width: 8px; height: 10px;
  left: 40%;
  animation-duration: 10s;
  animation-delay: 4s;
  background: radial-gradient(ellipse at 30% 30%, #fff0f5, #e991b0);
}
.spring-petal--4 {
  width: 11px; height: 13px;
  left: 58%;
  animation-duration: 12s;
  animation-delay: 2s;
  background: radial-gradient(ellipse at 30% 30%, #fff5f7, #f9b7c4);
}
.spring-petal--5 {
  width: 9px; height: 11px;
  left: 75%;
  animation-duration: 9.5s;
  animation-delay: 6s;
  background: radial-gradient(ellipse at 40% 20%, #fce4ec, #f48fb1);
}
.spring-petal--6 {
  width: 10px; height: 12px;
  left: 88%;
  animation-duration: 10.5s;
  animation-delay: 3.5s;
  background: radial-gradient(ellipse at 30% 30%, #fff0f5, #e991b0);
}
.spring-petal--7 {
  width: 7px; height: 9px;
  left: 50%;
  animation-duration: 8s;
  animation-delay: 7s;
  background: radial-gradient(ellipse at 30% 30%, #fff5f7, #f9b7c4);
}
.spring-petal--8 {
  width: 11px; height: 13px;
  left: 33%;
  animation-duration: 11.5s;
  animation-delay: 1.5s;
  background: radial-gradient(ellipse at 40% 20%, #fce4ec, #f48fb1);
}

/* Keyframes */
@keyframes sakuraFadeIn {
  0%   { opacity: 0; }
  100% { opacity: 0.7; }
}
.spring-sakura--right {
  animation-name: sakuraFadeInFlip;
}
@keyframes sakuraFadeInFlip {
  0%   { opacity: 0; transform: scaleX(-1) scale(0.95); }
  100% { opacity: 0.7; transform: scaleX(-1) scale(1); }
}

@keyframes petalDrift {
  0% {
    opacity: 0;
    transform: translateX(0px) translateY(0px) rotate(0deg);
  }
  8% {
    opacity: 0.7;
  }
  25% {
    transform: translateX(30px) translateY(25vh) rotate(90deg);
  }
  50% {
    transform: translateX(-20px) translateY(55vh) rotate(200deg);
    opacity: 0.6;
  }
  75% {
    transform: translateX(40px) translateY(85vh) rotate(290deg);
    opacity: 0.4;
  }
  100% {
    opacity: 0;
    transform: translateX(60px) translateY(116vh) rotate(400deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spring-sakura { opacity: 0.5 !important; animation: none !important; }
  .spring-petal { display: none; }
}

/* ── Mobile: more opaque glass panels ── */
@media (max-width: 767px) {
  .camp-hero-v2__top,
  .camp-hero-v2__bottom {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(255, 255, 255, 0.8);
  }
  .camp-hero-v2__pillar {
    background: rgba(255, 255, 255, 0.96);
  }
  .tasks-v2__header {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(255, 255, 255, 0.8);
  }
  .tasks-v2__card {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(255, 255, 255, 0.8);
  }
  .tasks-v2__value {
    background: rgba(255, 255, 255, 0.93);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
}

/* ── Liquid Glass: blur only on desktop (avoids mobile GPU lag) ── */
@media (min-width: 768px) {
  .camp-hero-v2__top {
    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  .camp-hero-v2__bottom {
    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  .camp-hero-v2__pillar {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
  }
  .tasks-v2__header {
    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  .tasks-v2__card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }
  .tasks-v2__card:hover {
    background: rgba(255, 255, 255, 0.65);
  }
}

/* ── Mobile performance: kill video + all animations in tasks-v2 ── */
@media (max-width: 767px) {
  /* Stop video rendering entirely on mobile */
  .spring-video-bg {
    display: none !important;
  }

  /* Kill all petal animations on mobile */
  .spring-petal {
    display: none !important;
    animation: none !important;
  }

  /* Fallback static gradient for tasks-v2 background */
  .tasks-v2 .spring-flora {
    background: linear-gradient(160deg, #0d4f45 0%, #1a6b5e 50%, #0e3d38 100%);
  }

  /* Stronger containment on mobile */
  .tasks-v2 {
    contain: layout style paint;
  }
}

@media (max-width: 600px) {
  .spring-sakura {
    width: clamp(140px, 42vw, 240px);
  }
}

/* ══════════════════════════════════════════
   Language Picker Popup
══════════════════════════════════════════ */
.lang-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 20, 60, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: langFadeIn 0.3s ease;
}

.lang-overlay.lang-overlay--hidden {
  animation: langFadeOut 0.25s ease forwards;
}

@keyframes langFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes langFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; pointer-events: none; }
}

.lang-card {
  background: #fff;
  border-radius: 28px;
  padding: 1.5rem 2rem 2rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  animation: langSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes langSlideUp {
  from { transform: translateY(32px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.lang-card__logo {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
}

.lang-card__headline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.02em;
}

.lang-card__sub {
  font-size: 0.9rem;
  color: var(--color-text-muted, #888);
  margin: 0 0 2rem;
}

.lang-card__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.lang-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  border-radius: 16px;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  font-family: inherit;
}

.lang-btn:hover {
  border-color: var(--color-blue, #014acd);
  background: rgba(1, 74, 205, 0.05);
  transform: translateY(-2px);
}

.lang-btn__flag {
  width: 48px;
  height: auto;
  border-radius: 6px;
  display: block;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.lang-btn__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Language switcher in header */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.lang-switch__btn {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-switch__btn:hover,
.lang-switch__btn--active {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.lang-switch__sep {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
}

/* ══════════════════════════════════════════
   Registration block
══════════════════════════════════════════ */
.reg-v2 {
  background: linear-gradient(135deg, #0a2e7a 0%, #014acd 60%, #0e6abf 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.reg-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,255,255,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.reg-v2__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.reg-v2__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.reg-v2__chip {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 1rem;
}

.reg-v2__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 0.6rem;
}

.reg-v2__subtitle {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.5;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.reg-v2__form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 2rem;
}

.reg-v2__fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 0.75rem;
  align-items: stretch;
}

.reg-v2__input {
  width: 100%;
  height: 52px;
  padding: 0 1rem;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.9375rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.reg-v2__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.reg-v2__input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.18);
}

.reg-v2__select-wrap {
  position: relative;
}

.reg-v2__select-wrap::after {
  content: '▾';
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  font-size: 0.75rem;
}

.reg-v2__select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2rem;
}

.reg-v2__select option {
  background: #0a2e7a;
  color: #fff;
}

.reg-v2__btn {
  height: 52px;
  padding: 0 1.75rem;
  border-radius: 12px;
  border: none;
  background: #00c073;
  color: #fff;
  font-size: 0.9375rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 192, 115, 0.4);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.reg-v2__btn:hover:not(:disabled) {
  background: #00a862;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 192, 115, 0.5);
}

.reg-v2__btn:active:not(:disabled) {
  transform: translateY(0);
}

.reg-v2__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.reg-v2__btn strong {
  font-weight: 700;
}

.reg-v2__error {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #ffb3b3;
  min-height: 1.2em;
  text-align: center;
}

.reg-v2__hint {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.reg-v2__hint-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
}

.reg-v2__hint p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.reg-v2__hint strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.reg-v2__hint-logo {
  height: 1em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Honeypot — полностью скрыто от людей, боты заполняют */
.reg-v2__honey {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

.reg-v2__closed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem 2rem;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: 1.25rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}
.reg-v2__closed-icon {
  width: 3rem;
  height: 3rem;
  opacity: 0.6;
  flex-shrink: 0;
}
.reg-v2__closed-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.reg-v2__closed-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .reg-v2__fields {
    grid-template-columns: 1fr 1fr;
  }
  .reg-v2__select-wrap {
    grid-column: 1 / -1;
  }
  .reg-v2__btn {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .reg-v2__fields {
    grid-template-columns: 1fr;
  }
  .reg-v2__select-wrap {
    grid-column: 1;
  }
  .reg-v2__form {
    padding: 1.25rem;
  }
  .reg-v2 {
    padding: 3rem 0;
  }
}

/* ── Убрать залипание на мобильном ── */
@media (max-width: 767px) {
  .teachers-v2__header {
    position: static;
    background: #fff;
    box-shadow: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .sched-v2__tabs {
    position: static;
  }
}

/* ═══════════════════════════════════════════
   Mobile bottom navigation
   ═══════════════════════════════════════════ */
.mob-nav {
  display: none;
}

@media (max-width: 767px) {
  .mob-nav {
    position: fixed;
    bottom: 12px;
    left: 16px;
    right: 16px;
    z-index: 200;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overflow: hidden;
  }

  .mob-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 2px 7px;
    border: none;
    background: none;
    cursor: pointer;
    color: #aab4c0;
    font-family: inherit;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.015em;
    line-height: 1.1;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease, transform 0.18s ease;
    outline: none;
  }

  .mob-nav__item:active {
    transform: scale(0.9);
  }

  .mob-nav__item--active {
    color: #374151;
  }

  .mob-nav__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.38;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .mob-nav__item--active .mob-nav__icon {
    transform: translateY(-2px);
    opacity: 1;
  }

  /* Unique color per icon */
  .mob-nav__item:nth-child(1) .mob-nav__icon { color: #f97316; }
  .mob-nav__item:nth-child(2) .mob-nav__icon { color: #22c55e; }
  .mob-nav__item:nth-child(3) .mob-nav__icon { color: #3b82f6; }
  .mob-nav__item:nth-child(4) .mob-nav__icon { color: #ec4899; }
  .mob-nav__item:nth-child(5) .mob-nav__icon { color: #8b5cf6; }
  .mob-nav__item:nth-child(6) .mob-nav__icon { color: #0ea5b0; }

  /* Active dot indicator */
  .mob-nav__item--active::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    margin-top: 1px;
    opacity: 1;
    transition: opacity 0.2s;
  }

  .mob-nav__item::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: transparent;
    margin-top: 1px;
  }

  /* Hide label text from after-dot trick: use span */
  .mob-nav__label {
    display: block;
  }

  /* Extra bottom padding so last section content isn't hidden */
  .direction-blocks {
    padding-bottom: 76px;
  }
}
