/* ============================================
   TENDANCE — Design System
   Palette derived from the logo:
   Navy #2E3166 · Sky #87B2DF · Warm cream
   ============================================ */

:root {
  /* Brand — matches circular Tendance logo exactly */
  --navy: #2E3166;         /* logo background, primary brand */
  --navy-800: #252856;
  --navy-700: #383c77;
  --navy-900: #1a1c40;

  /* Sky blue — the dancing couple in the logo */
  --sky: #87B2DF;
  --sky-600: #6A8FE2;      /* link blue from original site */
  --sky-400: #a8c8ea;
  --sky-100: #e4eef9;

  /* Warm gold accent — retained lightly for trophies/awards only */
  --gold: #C9A961;
  --gold-light: #E1C98C;
  --gold-dark: #9a7f3f;

  --cream: #F4F4F7;        /* alternating section background from original */
  --off-white: #FAFAFA;
  --paper: #ffffff;

  --ink: #2E3166;
  --ink-soft: #444465;
  --ink-muted: #6B6B6B;
  --line: #E4E4EC;
  --line-strong: #c2c2d0;

  /* Typography */
  --display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --text-hero: clamp(2.75rem, 7vw, 5.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container: 1240px;
  --container-narrow: 900px;
  --radius: 6px;
  --radius-lg: 14px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(46, 49, 102, 0.06);
  --shadow: 0 6px 24px rgba(46, 49, 102, 0.10);
  --shadow-lg: 0 18px 60px rgba(46, 49, 102, 0.18);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

/* Typography primitives */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h1 { font-size: var(--text-hero); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--sky);
  display: inline-block;
}
.eyebrow.light { color: var(--gold); }
.eyebrow.light::before { background: var(--gold); }

em, .italic { font-style: italic; }
.serif { font-family: var(--display); }
.accent { color: var(--sky); }

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* ============================================
   TOP UTILITY BAR
   ============================================ */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.vsi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.topbar a { color: inherit; opacity: 0.8; transition: opacity 0.2s; }
.topbar a:hover { opacity: 1; color: var(--gold-light); }
.topbar-right { display: flex; gap: 1.25rem; align-items: center; font-variant-numeric: tabular-nums; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
}
.brand-mark { width: 44px; height: 44px; }

/* Hide only the big "Tendance" wordmark in the top header — the logo already says it.
   The tagline "Šokių mokykla · Klaipėda" stays visible. */
.site-header .brand-text strong { display: none; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.93rem;
  font-weight: 500;
  flex-wrap: nowrap;
}
.main-nav a {
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
}
@media (max-width: 1180px) {
  .main-nav { gap: 1rem; font-size: 0.88rem; }
}
@media (max-width: 1040px) {
  .main-nav { gap: 0.8rem; font-size: 0.85rem; }
}
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: var(--sky);
}

.nav-right { display: flex; align-items: center; gap: 0.75rem; }

/* Google Translate widget - Simple inline layout */
.gt-widget { display: inline-flex; align-items: center; }

/* Re-enable the widget itself (skiptranslate is hidden globally below) */
.gt-widget .skiptranslate.goog-te-gadget { display: inline-block !important; }

.gt-widget .goog-te-gadget {
  font-family: inherit !important;
  font-size: 0 !important;
  color: transparent !important;
  line-height: 1 !important;
}
.gt-widget .goog-te-gadget > span { display: none !important; } /* powered by */

.gt-widget .goog-te-gadget-simple {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem !important;
  border: 1.5px solid var(--navy) !important;
  border-radius: 999px !important;
  background: #fff !important;
  font-family: inherit !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(46, 49, 102, 0.08) !important;
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none !important;
}
.gt-widget .goog-te-gadget-simple:hover {
  background-color: var(--navy) !important;
  color: #fff !important;
}
.gt-widget .goog-te-gadget-simple:hover .goog-te-menu-value span { color: #fff !important; }
.gt-widget .goog-te-gadget-simple:hover .goog-te-gadget-icon { filter: brightness(4); }

.gt-widget .goog-te-gadget-icon {
  margin-right: 0.15rem !important;
  border: none !important;
  background-size: contain !important;
}

.gt-widget .goog-te-menu-value {
  color: var(--navy) !important;
  text-decoration: none !important;
}
.gt-widget .goog-te-menu-value span {
  color: var(--navy) !important;
  font-family: inherit !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.04em;
  border: none !important;
}
.gt-widget .goog-te-menu-value span:nth-child(5) { display: none !important; } /* bullets */

/* Hide Google Translate top banner + tooltips, but keep the widget itself */
.goog-te-banner-frame { display: none !important; }
.skiptranslate:not(.goog-te-gadget):not(.goog-te-menu-frame) { display: none !important; }
body { top: 0 !important; position: static !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style*="background-color"] { background: transparent !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  white-space: nowrap;
  border: 1.5px solid transparent;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--sky);
  color: #fff;
  box-shadow: 0 4px 14px rgba(135, 178, 223, 0.32);
}
.btn-primary:hover { background: var(--sky-600); box-shadow: 0 6px 20px rgba(135, 178, 223, 0.45); }
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-800); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 0;
  padding: 0.6rem 0;
  font-weight: 600;
}
.btn-ghost::after {
  content: "→";
  transition: transform 0.2s;
  display: inline-block;
}
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.menu-toggle svg { width: 22px; height: 22px; color: var(--navy); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: slowZoom 18s ease-out infinite alternate;
}
.hero-media video,
.hero-media .hero-video,
.hero-slide .hero-media video,
.hero-slide .hero-media .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-media--video,
.hero-slide .hero-media--video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-media--video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: none;
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 15, 30, 0.3) 0%, rgba(6, 15, 30, 0.65) 70%, rgba(6, 15, 30, 0.85) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(135, 178, 223, 0.25) 0%, transparent 60%);
  z-index: -1;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  width: 100%;
  position: relative;
}
.hero-content {
  max-width: 780px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.75rem;
}
.hero h1 {
  color: #fff;
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  color: var(--sky-400);
  font-style: italic;
  font-weight: 400;
}
.hero-lede {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
}
.hero-scroll-hint::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: bounceLine 2s ease infinite;
}
@keyframes bounceLine {
  0%, 100% { transform: scaleY(0.6); transform-origin: top; }
  50% { transform: scaleY(1); }
}

/* ============================================
   CAMPS BANNER (big one right after hero)
   ============================================ */
.camps-banner {
  background: linear-gradient(135deg, var(--sky) 0%, var(--navy-800) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.camps-banner::before {
  content: "STOVYKLOS 2026";
  position: absolute;
  top: -2rem;
  right: -3rem;
  font-family: var(--display);
  font-size: 14rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.camps-banner-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.camps-banner h2 { color: #fff; max-width: 620px; }
.camps-banner h2 em { color: var(--gold-light); font-style: italic; }
.camps-banner .lede {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.camps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.camp-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}
.camp-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 175, 55, 0.5);
}
.camp-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}
.camp-card h3 {
  color: #fff;
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}
.camp-card .meta {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  line-height: 1.6;
}
.camp-card .meta strong { color: #fff; }
.camp-card .price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0.5rem 0;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
}
.camp-card .price b {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
}
.camp-card .price small { color: rgba(255,255,255,0.6); font-size: 0.78rem; }
.camp-card a.btn {
  margin-top: auto;
  width: 100%;
  background: #fff;
  color: var(--navy);
}
.camp-card a.btn:hover { background: var(--gold); }
.camp-card.featured {
  background: linear-gradient(180deg, rgba(212,175,55,0.18), rgba(255,255,255,0.05));
  border-color: rgba(212, 175, 55, 0.5);
}
.camp-card-img {
  position: relative;
  margin: -1.75rem -1.5rem 0.5rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: rgba(0,0,0,0.2);
}
.camp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   ABOUT / INTRO BLOCK
   ============================================ */
.about-block {
  background: var(--cream);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.about-image img,
.about-image video,
.about-image .community-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-image::before {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--sky);
  border-radius: 999px;
  z-index: -1;
  opacity: 0.2;
}
.about-content h2 em { color: var(--sky); font-style: italic; }
.about-content p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 1.2rem;
}
.about-content .quote {
  font-family: var(--display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--navy);
  border-left: 3px solid var(--sky);
  padding: 0.3rem 0 0.3rem 1.3rem;
  margin: 1.75rem 0;
  line-height: 1.4;
}
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.about-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  color: var(--navy);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.about-badges span::before {
  content: "✓";
  color: var(--sky);
  font-weight: 800;
}

/* ============================================
   STATS
   ============================================ */
.stats {
  background: var(--navy);
  color: #fff;
  padding: clamp(3rem, 5vw, 5rem) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   DANCES GRID
   ============================================ */
.dances-section { background: var(--off-white); }
.section-head {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head.left { margin: 0 0 3rem; text-align: left; }
.section-head p {
  color: var(--ink-muted);
  font-size: 1.1rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.dances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.dance-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.dance-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-400);
}
.dance-card-img {
  aspect-ratio: 4 / 3;
  background: var(--navy);
  overflow: hidden;
  position: relative;
}
.dance-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.dance-card:hover .dance-card-img img { transform: scale(1.06); }
.dance-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 29, 58, 0.55));
}
.dance-card-img .age {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #fff;
  color: var(--navy);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 2;
}
.dance-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.dance-card h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--navy);
  line-height: 1.15;
}
.dance-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
}
.dance-card .meta-line {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
}
.dance-card .meta-line strong { color: var(--sky); font-weight: 700; }

/* ============================================
   ACHIEVEMENTS
   ============================================ */
.achievements-section {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #fff;
  position: relative;
}
.ach-head h2 { color: #fff; }
.ach-head h2 em { color: var(--gold-light); font-style: italic; }
.ach-head p { color: rgba(255, 255, 255, 0.75); }

.ach-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ach-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ach-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  align-items: flex-start;
  transition: border-color 0.3s, background 0.3s;
}
.ach-item:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.08);
}
.ach-date {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  font-family: var(--display);
}
.ach-date .d { font-size: 1.6rem; font-weight: 600; color: var(--gold-light); line-height: 1; }
.ach-date .m { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 0.25rem; display: block; }
.ach-body h4 { color: #fff; font-family: var(--sans); font-weight: 700; margin-bottom: 0.25rem; font-size: 1.05rem; }
.ach-body p { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; line-height: 1.55; }

.ach-founder {
  position: relative;
  padding: 2rem;
  background: linear-gradient(165deg, rgba(212, 175, 55, 0.15), rgba(135, 178, 223, 0.1));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ach-founder::before {
  content: "★";
  position: absolute;
  top: -1rem;
  right: 0.5rem;
  font-size: 8rem;
  color: rgba(212, 175, 55, 0.12);
  line-height: 1;
}
.ach-founder h3 { color: #fff; margin-bottom: 0.75rem; font-family: var(--display); }
.ach-founder .founder-title { color: var(--gold-light); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.ach-founder p { color: rgba(255, 255, 255, 0.85); line-height: 1.7; }
.ach-founder .medal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--gold-light);
  font-style: italic;
  font-size: 0.92rem;
}

/* ============================================
   TEACHERS CAROUSEL / GRID
   ============================================ */
.teachers-section { background: var(--cream); }
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.teacher-card {
  text-align: left;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
}
.teacher-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.teacher-img {
  aspect-ratio: 4 / 5;
  background: linear-gradient(165deg, var(--navy), var(--navy-700));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--display);
  font-size: 5rem;
  font-weight: 600;
}
.teacher-img .initials {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  color: rgba(255, 255, 255, 0.15);
  font-size: 6rem;
  letter-spacing: -0.04em;
}
.teacher-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10, 29, 58, 0.9), transparent);
}
.teacher-img .badge {
  position: relative;
  z-index: 2;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.teacher-body { padding: 1.25rem; }
.teacher-body h4 {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.teacher-body .role {
  color: var(--sky);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.teacher-body p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ============================================
   SCHEDULE & LOCATIONS
   ============================================ */
.locations-section { background: var(--off-white); }
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.locations-list { display: flex; flex-direction: column; gap: 0.75rem; }
.location-item {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  align-items: flex-start;
  transition: border-color 0.25s, transform 0.25s;
  cursor: pointer;
}
.location-item:hover { border-color: var(--sky); transform: translateX(3px); }
.loc-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
}
.loc-body h4 { font-family: var(--sans); font-weight: 700; margin-bottom: 0.2rem; color: var(--navy); font-size: 1rem; }
.loc-body p { color: var(--ink-muted); font-size: 0.9rem; line-height: 1.5; }

.map-placeholder {
  background: linear-gradient(165deg, #eee 0%, #e5eaf0 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }

/* ============================================
   FACEBOOK FEED MOCKUP
   ============================================ */
.fb-section { background: var(--cream); }
.fb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.fb-post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.fb-post:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.fb-post-head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 1.25rem 0.5rem;
}
.fb-post-head .avatar {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--navy);
  display: grid; place-items: center;
  color: var(--gold-light);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
}
.fb-post-head .who strong { font-size: 0.9rem; color: var(--navy); display: block; }
.fb-post-head .who span { font-size: 0.75rem; color: var(--ink-muted); }
.fb-post-img {
  aspect-ratio: 16/9;
  background: var(--navy);
  overflow: hidden;
}
.fb-post-img img { width: 100%; height: 100%; object-fit: cover; }
.fb-post-body { padding: 1rem 1.25rem; font-size: 0.92rem; line-height: 1.55; color: var(--ink-soft); flex: 1; }
.fb-post-footer {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.82rem;
}
.fb-post-footer a { color: #1877f2; font-weight: 600; }

.fb-follow-card {
  background: linear-gradient(165deg, #1877f2 0%, #0d5cc6 100%);
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  min-height: 100%;
}
.fb-follow-card h3 { color: #fff; font-family: var(--display); }
.fb-follow-card .followers { font-size: 2rem; font-weight: 700; color: #fff; }
.fb-follow-card p { opacity: 0.9; font-size: 0.95rem; }

/* ============================================
   DONATE CTA
   ============================================ */
.donate-section {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.donate-section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 60%);
  z-index: 0;
}
.donate-inner { position: relative; z-index: 1; }
.donate-section h2 { color: #fff; max-width: 700px; margin: 0 auto; text-align: center; }
.donate-section h2 em { color: var(--gold-light); font-style: italic; }
.donate-section > .container > p { text-align: center; max-width: 640px; margin: 1rem auto 3rem; color: rgba(255,255,255,0.75); font-size: 1.05rem; }

.donate-ways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.donate-way {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s, background 0.25s;
}
.donate-way:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.06);
}
.donate-way .num {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.donate-way h3 { color: #fff; font-family: var(--display); margin-bottom: 0.5rem; font-size: 1.3rem; }
.donate-way p { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; line-height: 1.65; }
.donate-way .kbd {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.82rem;
  color: var(--gold-light);
  margin-top: 0.75rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}
.contact-info h3 { font-family: var(--display); margin-bottom: 1.5rem; }
.contact-info .info-row {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.contact-info .info-row:last-child { border-bottom: 0; }
.contact-info .info-row .icon {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: #fff;
  color: var(--sky);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-info .info-row .txt strong { display: block; color: var(--navy); font-size: 0.95rem; }
.contact-info .info-row .txt span { color: var(--ink-muted); font-size: 0.85rem; }

form.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; gap: 1rem; }
.form-row > * { flex: 1; }
.input, .textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(135, 178, 223, 0.12);
}
.textarea { min-height: 140px; resize: vertical; font-family: inherit; }
label.field-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
  display: block;
}
.field { display: flex; flex-direction: column; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 1.5rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { margin-top: 1rem; opacity: 0.65; line-height: 1.65; max-width: 300px; }
.footer-col h5 {
  color: #fff;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col a, .footer-col li {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  padding: 0.3rem 0;
  line-height: 1.4;
  transition: color 0.2s;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col a:hover { color: var(--gold-light); }
.footer-socials { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer-socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s, border-color 0.2s;
  padding: 0;
}
.footer-socials a:hover { background: var(--sky); border-color: var(--sky); color: #fff; }
.footer-socials svg { width: 16px; height: 16px; }

.footer-legal {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--gold-light); }

/* ============================================
   FLOATING MESSENGER BUTTON
   ============================================ */
.messenger-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0084ff, #0068d0);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 132, 255, 0.4);
  z-index: 90;
  transition: transform 0.25s var(--ease);
  animation: pulseFab 2.5s ease infinite;
}
.messenger-fab:hover { transform: scale(1.08); }
.messenger-fab svg { width: 28px; height: 28px; }
@keyframes pulseFab {
  0%, 100% { box-shadow: 0 10px 30px rgba(0, 132, 255, 0.4), 0 0 0 0 rgba(0, 132, 255, 0.5); }
  50% { box-shadow: 0 10px 30px rgba(0, 132, 255, 0.4), 0 0 0 14px rgba(0, 132, 255, 0); }
}

/* ============================================
   MISC / UTILITY
   ============================================ */
.page-hero {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-800) 100%);
  color: #fff;
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(135, 178, 223, 0.2), transparent 65%);
}
.page-hero h1 { color: #fff; max-width: 800px; position: relative; z-index: 1; font-size: clamp(2.25rem, 5vw, 4rem); }
.page-hero h1 em { color: var(--sky-400); font-style: italic; }
.page-hero p { color: rgba(255, 255, 255, 0.8); max-width: 640px; font-size: 1.1rem; line-height: 1.6; margin-top: 1rem; position: relative; z-index: 1; }
.breadcrumbs {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}
.breadcrumbs a:hover { color: var(--gold-light); }

/* Fade-in animations */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-animate].visible { opacity: 1; transform: none; }

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 900px) {
  .main-nav { display: none; }
  /* Кнопка Registruotis видна в шапке и на мобильном */
  .nav-right .btn-primary {
    display: inline-flex;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    order: 0;
  }
  .nav-right .gt-widget { display: inline-flex; order: 1; }
  .nav-right .menu-toggle { order: 2; }
  .gt-widget .goog-te-gadget-simple {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.72rem !important;
  }
  .gt-widget .goog-te-menu-value span { font-size: 0.72rem !important; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 1.5rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--line);
  }
  .main-nav.open a { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: inline-flex; }
  .about-grid, .ach-layout, .locations-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { aspect-ratio: 4 / 3; max-height: 60vh; }
  .stat-item:not(:last-child)::after { display: none; }
  .hero { min-height: 80vh; }
  .hero-scroll-hint { display: none; }
  .topbar-left { gap: 0.5rem; font-size: 0.72rem; }
  .topbar-right { font-size: 0.78rem; gap: 0.75rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .camps-banner::before { display: none; }
  .camps-banner-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .hero-ctas .btn { flex: 1; }
  h1 { line-height: 1.05; }
  .topbar-left .vsi-badge { font-size: 0.65rem; padding: 0.2rem 0.5rem; }
  .topbar-left > span:not(.vsi-badge) { display: none; }
}

/* ============================================
   PAGE-SPECIFIC COMPONENTS
   ============================================ */

/* Why cards (stovyklos) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.why-item {
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sky-400); }
.why-item .why-num {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--sky);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.why-item h4 { font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.why-item p { color: var(--ink-muted); line-height: 1.65; font-size: 0.95rem; }

/* Camp detail (stovyklos listing) */
.camp-details { display: flex; flex-direction: column; gap: 3rem; }
.camp-detail {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.camp-detail:hover { box-shadow: var(--shadow-lg); }
.camp-detail:nth-child(even) { grid-template-columns: 1.3fr 1fr; }
.camp-detail:nth-child(even) .camp-detail-img { order: 2; }
.camp-detail-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy);
  min-height: 380px;
}
.camp-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.camp-detail-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--sky);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.camp-detail-body {
  padding: 2.5rem 2.5rem 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}
.camp-detail:nth-child(even) .camp-detail-body { padding: 2.5rem 0 2.5rem 2.5rem; }
.camp-detail-body h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--navy);
  line-height: 1.15;
}
.camp-detail-desc { color: var(--ink-muted); line-height: 1.65; }
.camp-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.camp-detail-grid > div { display: flex; flex-direction: column; gap: 0.2rem; }
.camp-detail-grid .label, .camp-detail-dates .label, .camp-detail-program .label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-muted);
}
.camp-detail-grid strong { color: var(--navy); font-size: 1.02rem; }
.camp-detail-grid small { color: var(--sky); font-size: 0.75rem; font-weight: 600; margin-top: 2px; }
.camp-detail-dates ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.camp-detail-dates li {
  background: #F4F4F7;
  border: 1.5px solid var(--line);
  padding: 0;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.camp-detail-dates li:hover { background: #E8EEF8; border-color: var(--sky); transform: translateY(-1px); }
.camp-detail-dates .pamaina-link {
  display: inline-block;
  padding: 0.55rem 1rem;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
}
.camp-detail-dates .pamaina-link:hover { color: var(--navy); }
.camp-detail-dates li.is-selected { background: var(--navy); border-color: var(--navy); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(46,49,102,.25); }
.camp-detail-dates li.is-selected .pamaina-link { color: #fff; }
.camp-detail-dates .pamaina-hint { display: block; font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.5rem; font-style: italic; }
.camp-detail-dates .pamaina-hint.is-active { color: var(--navy); font-style: normal; font-weight: 600; }
/* Режим редактора — отключаем ссылки, чтобы можно было редактировать текст дат */
body.tendance-edit-mode .camp-detail-dates .pamaina-link { pointer-events: none; }
.camp-detail-program p { margin-top: 0.35rem; color: var(--ink-soft); line-height: 1.6; font-size: 0.95rem; }
.camp-detail-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }

@media (max-width: 860px) {
  .camp-detail, .camp-detail:nth-child(even) { grid-template-columns: 1fr; gap: 0; }
  .camp-detail:nth-child(even) .camp-detail-img { order: 0; }
  .camp-detail-img { aspect-ratio: 16/10; min-height: 260px; }
  .camp-detail-body, .camp-detail:nth-child(even) .camp-detail-body { padding: 2rem; }
}

/* FAQ (stovyklos) */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.25s;
}
.faq-item[open] { border-color: var(--sky); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--display);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--sky);
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 1rem; color: var(--ink-muted); line-height: 1.7; }

/* Values grid (apie) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.25s, background 0.25s;
}
.value-card:hover { border-color: rgba(212,175,55,0.5); background: rgba(255,255,255,0.08); }
.value-card .value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.value-card h3 { font-family: var(--display); color: #fff; font-size: 1.5rem; margin-bottom: 0.75rem; }
.value-card p { color: rgba(255,255,255,0.78); line-height: 1.65; font-size: 0.95rem; }

/* Founder block (apie) */
.founder-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.founder-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
}
.founder-img img { width: 100%; height: 100%; object-fit: cover; }
.founder-text p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 1rem; font-size: 1.05rem; }
@media (max-width: 860px) {
  .founder-block { grid-template-columns: 1fr; gap: 2rem; }
}

/* Legal grid (apie) */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.legal-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.legal-item .label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.legal-item strong { color: #fff; font-size: 0.95rem; word-break: break-word; }

/* Schedule table (tvarkarastis) */
.schedule-table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
}
.schedule-table th {
  background: var(--navy);
  color: #fff;
  padding: 1rem;
  text-align: left;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--sans);
}
.schedule-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.92rem;
}
.schedule-table tr:last-child td { border-bottom: 0; }
.schedule-table tr:nth-child(even) td { background: var(--cream); }
.schedule-table .time {
  font-family: var(--display);
  font-weight: 600;
  color: var(--sky);
  font-size: 1.05rem;
  white-space: nowrap;
}
.schedule-table .class-name { font-weight: 600; color: var(--navy); }
.class-name-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(46, 49, 102, 0.35);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.class-name-link:hover {
  color: var(--sky, #87B2DF);
  border-bottom-color: var(--sky, #87B2DF);
}
.schedule-table .class-meta { color: var(--ink-muted); font-size: 0.82rem; margin-top: 0.15rem; }
.schedule-table .loc-tag {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0.32rem 0.7rem;
  border-radius: 8px;
  font-size: 0.72rem;
  color: var(--navy);
  font-weight: 600;
  white-space: normal;          /* ПРЯМОУГОЛЬНИК с переносом строк, не обрезает текст */
  line-height: 1.3;
  max-width: 100%;
  word-break: break-word;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.schedule-table .loc-tag:hover {
  background: rgba(135,178,223,.18);
  border-color: var(--sky);
}

/* === Цветные метки стилей танца === */
/* Левая вертикальная полосочка на всех строчках расписания */
.schedule-table tbody tr {
  position: relative;
}
.schedule-table tbody tr td:first-child {
  position: relative;
  border-left: 4px solid var(--style-color, #c8c8d2);
}
.schedule-table tbody tr[data-style] {
  /* Цвет пробросится инлайном или JS-ом в --style-color */
}
/* По умолчанию — серый, но для каждого стиля свой */
.schedule-table tbody tr.style-popdance     td:first-child { border-left-color: #FF6B9D; } /* розовый */
.schedule-table tbody tr.style-sportiniai   td:first-child { border-left-color: #2E3166; } /* navy */
.schedule-table tbody tr.style-break        td:first-child { border-left-color: #FFB627; } /* жёлтый */
.schedule-table tbody tr.style-latino       td:first-child { border-left-color: #E94F37; } /* оранжевый */
.schedule-table tbody tr.style-hiphop       td:first-child { border-left-color: #6C5CE7; } /* фиолетовый */
.schedule-table tbody tr.style-gimnastika   td:first-child { border-left-color: #00B894; } /* зелёный */
.schedule-table tbody tr.style-suaugusieji  td:first-child { border-left-color: #87B2DF; } /* sky */
.schedule-table tbody tr.style-vaikai       td:first-child { border-left-color: #95D5B2; } /* свеже-зелёный */
.schedule-table tbody tr.style-default      td:first-child { border-left-color: #c8c8d2; }

/* Цветная метка-бейдж рядом с названием занятия */
.schedule-table .style-badge {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  background: var(--style-color, #c8c8d2);
}

/* Легенда цветов стилей (под фильтрами) */
.style-legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: -1rem 0 1.5rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
  align-items: center;
  padding: 0 0.5rem;
}
.style-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.style-legend .legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.schedule-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 0.5rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.schedule-filters button {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.schedule-filters button.active, .schedule-filters button:hover { background: var(--navy); color: #fff; }

/* Dance detail page cards */
.dance-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.dance-detail.is-anchor-target {
  animation: anchorPulse 1.6s ease-out 1;
}
@keyframes anchorPulse {
  0%   { box-shadow: 0 0 0 0 rgba(135, 178, 223, .55); }
  60%  { box-shadow: 0 0 0 18px rgba(135, 178, 223, 0); }
  100% { box-shadow: 0 0 0 0 rgba(135, 178, 223, 0); }
}
.dance-detail:last-child { border-bottom: 0; }
.dance-detail:nth-child(even) .dance-detail-img { order: 2; }
.dance-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.dance-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.dance-detail h3 { font-family: var(--display); color: var(--navy); margin-bottom: 1rem; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.dance-detail h3 em { color: var(--sky); font-style: italic; }
.dance-detail p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 1rem; }
.dance-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dance-meta-row .label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; display: block; margin-bottom: 0.2rem; }
.dance-meta-row strong { color: var(--navy); }

@media (max-width: 860px) {
  .dance-detail, .dance-detail:nth-child(even) { grid-template-columns: 1fr; gap: 2rem; }
  .dance-detail:nth-child(even) .dance-detail-img { order: 0; }
}

/* Mokytojai detail grid */
.teachers-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.teacher-detailed {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
}
.teacher-detailed:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.teacher-detailed .photo {
  aspect-ratio: 4/5;
  background: linear-gradient(165deg, var(--navy), var(--navy-700));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.teacher-detailed .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,29,58,0.85));
}
.teacher-detailed .photo .initials {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--display);
  color: rgba(255,255,255,0.2);
  font-size: 6rem;
  font-weight: 600;
}
.teacher-detailed .photo .name-overlay {
  position: relative;
  z-index: 2;
  color: #fff;
}
.teacher-detailed .photo .name-overlay strong {
  font-family: var(--display);
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.15rem;
}
.teacher-detailed .photo .name-overlay span {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
}
.teacher-detailed .info { padding: 1.5rem; }
.teacher-detailed .info p { color: var(--ink-muted); font-size: 0.92rem; line-height: 1.65; margin-bottom: 0.75rem; }
.teacher-detailed .info .badge-list { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.75rem; }
.teacher-detailed .info .badge-list span {
  background: var(--cream);
  color: var(--navy);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid var(--line);
}

/* Donate hero (RU paremti page) — dark banner with split grid */
.donate-hero {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-800) 100%);
  color: #fff;
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.donate-hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(135, 178, 223, 0.2), transparent 65%);
}
.donate-hero .donate-hero-grid {
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 3rem;
  margin-top: 0;
}
.donate-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.2; max-width: 560px; }
.donate-hero h1 em { color: var(--sky-400); font-style: italic; }
.donate-hero .lede-lg { color: rgba(255,255,255,0.82); font-size: 1.05rem; line-height: 1.7; margin-top: 1.25rem; max-width: 560px; }
.donate-hero .eyebrow.light { color: var(--gold-light); }
.donate-hero-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
@media (max-width: 860px) {
  .donate-hero .donate-hero-grid { grid-template-columns: 1fr; }
}

/* Donate grid (paremti page — card grid) */
.donate-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.donate-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.donate-hero-card:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.donate-hero-card h3 { font-family: var(--display); font-size: 1.4rem; color: var(--navy); margin-bottom: 0.5rem; }
.donate-hero-card .num {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--sky);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.donate-hero-card p { color: var(--ink-muted); line-height: 1.65; margin-bottom: 1rem; font-size: 0.95rem; }
.kbd-block {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--navy);
  line-height: 1.6;
  margin-top: 1rem;
  white-space: pre-wrap;
}
.kbd-block strong { color: var(--sky); font-family: inherit; }

/* What support helps with */
.support-impact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.support-impact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
}
.support-impact-item .check {
  flex-shrink: 0;
  color: var(--gold-light);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.support-impact-item p { color: rgba(255,255,255,0.85); line-height: 1.55; font-size: 0.92rem; }


/* ================================================================
   MESSENGER WIDGET — floating chat with quick questions
   ================================================================ */
.msg-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9999; font-family: var(--body); }

.msg-fab {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00B2FF 0%, #006AFF 50%, #0064E1 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,100,225,0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  border: none;
  position: relative;
}
.msg-fab:hover { transform: scale(1.06); box-shadow: 0 6px 20px rgba(0,100,225,0.5); }
.msg-fab svg { width: 28px; height: 28px; }
.msg-fab .pulse {
  position: absolute; top: -2px; right: -2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #FF4757; border: 2px solid #fff;
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.msg-panel {
  position: absolute;
  bottom: 76px; right: 0;
  width: 340px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(46, 49, 102, 0.22);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.msg-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.msg-header {
  background: linear-gradient(135deg, #2E3166 0%, #6A8FE2 100%);
  color: #fff;
  padding: 20px 20px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.msg-header .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.msg-header .avatar img { width: 100%; height: 100%; object-fit: cover; }
.msg-header h4 { margin: 0; font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.msg-header .status { font-size: 0.8rem; opacity: 0.85; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.msg-header .status::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84;
}
.msg-close {
  margin-left: auto;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.msg-close:hover { background: rgba(255,255,255,0.28); }

.msg-body {
  padding: 18px 16px 12px;
  background: #F4F4F7;
  max-height: 340px;
  overflow-y: auto;
}
.msg-greeting {
  background: #fff;
  padding: 12px 14px;
  border-radius: 4px 16px 16px 16px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(46,49,102,0.06);
}
.msg-greeting strong { color: var(--navy); }

.msg-quick-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin: 8px 4px 10px;
  font-weight: 500;
}
.msg-quick-list { display: flex; flex-direction: column; gap: 8px; }
.msg-quick-list button {
  background: #fff;
  border: 1.5px solid #E4E6F0;
  color: var(--navy);
  padding: 11px 14px;
  border-radius: 12px;
  font-family: var(--body);
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  line-height: 1.35;
}
.msg-quick-list button:hover {
  border-color: var(--sky);
  background: #EEF3FB;
  transform: translateX(2px);
}

.msg-footer {
  padding: 12px 16px 14px;
  background: #fff;
  border-top: 1px solid #EEEEF3;
  text-align: center;
}
.msg-footer a {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff;
  background: linear-gradient(135deg, #00B2FF, #006AFF);
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}
.msg-footer a:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,100,225,0.3); }
.msg-footer a svg { width: 16px; height: 16px; }
.msg-footer .or { display: block; font-size: 0.75rem; color: var(--ink-muted); margin-top: 8px; }
.msg-footer .or a { background: none; color: var(--sky-600); padding: 0; font-size: 0.8rem; }
.msg-footer .or a:hover { box-shadow: none; color: var(--navy); text-decoration: underline; }

/* «Копия в буфере» — появляется после выбора быстрого вопроса */
.msg-copied {
  display: flex; align-items: center; gap: 8px;
  margin: 0 -4px 10px; padding: 8px 10px;
  background: #EAF7EE; color: #1E5A2C;
  border: 1px solid #C7E7D0; border-radius: 10px;
  font-size: 0.78rem; font-weight: 500; line-height: 1.3;
  text-align: left;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.msg-copied[hidden] { display: none; }
.msg-copied.show { opacity: 1; transform: translateY(0); }
.msg-copied svg { flex: 0 0 auto; width: 14px; height: 14px; color: #2B8C49; }

/* Выделение выбранного вопроса и пульс на кнопке Messenger */
.msg-quick-list button.is-selected {
  border-color: var(--navy);
  background: linear-gradient(135deg, rgba(135,178,223,0.22), rgba(46,49,102,0.08));
  box-shadow: inset 0 0 0 1px rgba(46,49,102,0.25);
}
@keyframes msgSendPulse {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(0,100,225,0.55); }
  50%  { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0,100,225,0); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(0,100,225,0); }
}
#msgSendBtn.pulse-once { animation: msgSendPulse 0.9s ease-out; }

@media (max-width: 480px) {
  .msg-widget { bottom: 16px; right: 16px; }
  .msg-panel { width: calc(100vw - 32px); right: -8px; }
}

/* ================================================================
   FACEBOOK LIVE EMBED (replaces static cards)
   ================================================================ */
.fb-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 420px);
  gap: 2rem;
  align-items: start;
  justify-content: center;
  margin-top: 2rem;
}
.fb-live-embed {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 36px rgba(46,49,102,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #EEEEF3;
}
.fb-live-embed__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #2E3166 0%, #3a3e7e 100%);
  color: #fff;
}
.fb-live-embed__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 40px;
}
.fb-live-embed__title {
  display: flex; flex-direction: column; line-height: 1.25;
  flex: 1; min-width: 0;
}
.fb-live-embed__title strong {
  font-size: 1rem; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fb-live-embed__title span {
  font-size: 0.78rem; opacity: 0.78;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fb-live-embed__cta {
  background: rgba(255,255,255,0.16);
  color: #fff;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.fb-live-embed__cta:hover { background: rgba(255,255,255,0.28); }
.fb-live-embed__feed {
  position: relative;
  display: block;
  padding: 0;
  background: #fff;
  overflow: hidden;
  /* Маска убирает остаток внутреннего FB-хедера (TENdance + лого), который протекает
     даже при data-hide-cover=true. Высота подобрана опытно. */
  height: 880px;
}
.fb-live-embed .fb-page {
  width: 100% !important;
  max-width: 500px;
  margin: 0 auto;
  /* Сдвигаем плагин вверх, чтобы скрыть его внутренний хедер */
  margin-top: -64px;
  display: block;
}
.fb-live-embed .fb-page > span,
.fb-live-embed iframe {
  width: 100% !important;
  max-width: 500px !important;
  background: #fff;
  display: block;
}

.fb-side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 100px; }

.fb-live-note {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--ink-muted);
  border: 1px solid #EEEEF3;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FF4757;
  box-shadow: 0 0 0 0 rgba(255,71,87,0.6);
  animation: live-pulse 1.6s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,71,87,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(255,71,87,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,71,87,0); }
}

@media (max-width: 900px) {
  .fb-live-grid { grid-template-columns: minmax(0, 500px); justify-content: center; }
  .fb-side { position: static; }
  .fb-live-embed__feed { height: 720px; }
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider { position: relative; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}
.hero-slide .hero-media,
.hero-slide .hero-inner {
  width: 100%;
}
.hero-slide .hero-media {
  position: absolute;
  inset: 0;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 15, 30, 0.3) 0%, rgba(6, 15, 30, 0.65) 70%, rgba(6, 15, 30, 0.85) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(135, 178, 223, 0.25) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.hero-slide .hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}
/* Hide original ::before for slider version */
.hero-slider::before { display: none; }

/* Dots with auto-timer progress */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}
.hero-dots .dot {
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: background 0.3s var(--ease);
}
.hero-dots .dot:hover { background: rgba(255, 255, 255, 0.5); }
.hero-dots .dot .prog {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--sky-400);
  border-radius: 4px;
  transition: width 0.1s linear;
}
.hero-dots .dot.is-active .prog { background: var(--gold); }
.hero-dots .dot.is-paused .prog { transition: none; }

@media (max-width: 700px) {
  .hero-dots { bottom: 5.2rem; }
  .hero-dots .dot { width: 36px; }
}

/* Fix hero slider height to fit viewport */
.hero-slider {
  min-height: 0;
  height: calc(100vh - 134px);
  max-height: 760px;
}
.hero-slider .hero-slide { height: 100%; }
@media (max-width: 700px) {
  .hero-slider { height: calc(100vh - 140px); max-height: none; }
}

/* Hero slider arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0.7;
  transition: opacity 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
  padding: 0;
}
.hero-arrow:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) scale(1.06);
}
.hero-arrow.prev { left: 1.2rem; }
.hero-arrow.next { right: 1.2rem; }
@media (max-width: 700px) {
  .hero-arrow { width: 38px; height: 38px; opacity: 0.85; }
  .hero-arrow.prev { left: 0.6rem; }
  .hero-arrow.next { right: 0.6rem; }
}

/* ========== INTERACTIVE MAP & LOCATIONS ========== */
.location-item{
  cursor:pointer;
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
}
.location-item:hover{ background: rgba(135,178,223,.10); }
.location-item.is-active{
  background: linear-gradient(135deg, rgba(46,49,102,.06), rgba(135,178,223,.16));
  box-shadow: inset 3px 0 0 var(--navy);
}
.location-item.is-active .loc-num{
  background: var(--navy); color: #fff;
}
#tendanceMap{ z-index: 1; }
.map-placeholder{ overflow:hidden; }

/* Фирменный вид карты: лёгкий navy-tint на базовые тайлы. Лейблы отдельным слоем — поэтому они чёткие */
.tendance-map-themed .leaflet-pane.leaflet-basemap-pane{
  filter: hue-rotate(-10deg) saturate(.55) brightness(1.02);
}
.tendance-map-themed .leaflet-control-zoom a{
  background:#fff !important; color:var(--navy) !important; border-color:#e3e5f0 !important;
  font-weight:700;
}
.tendance-map-themed .leaflet-control-zoom a:hover{
  background:var(--navy) !important; color:#fff !important; border-color:var(--navy) !important;
}
.tendance-map-themed .leaflet-control-attribution{
  background:rgba(255,255,255,.85); font:500 11px/1.3 system-ui, sans-serif;
  color:#666; padding:2px 6px; border-radius:6px 0 0 0;
}
.tendance-map-themed .leaflet-popup-content-wrapper{
  border-radius:14px; box-shadow:0 8px 24px rgba(46,49,102,.18);
  background:#fff; color:var(--navy);
}
.tendance-map-themed .leaflet-popup-content{
  font:500 .85rem/1.4 system-ui, sans-serif; margin:10px 14px;
}
.tendance-map-themed .leaflet-popup-content strong{
  color:var(--navy); display:block; margin-bottom:2px; font-weight:700;
}
.tendance-map-themed .leaflet-popup-tip{ background:#fff; }

/* Фирменные маркеры — НЕ перебиваем Leaflet-позиционирование */
.t-marker{ width:28px; height:28px; pointer-events:auto; }
.t-marker .dot{
  position:absolute; left:7px; top:7px;
  width:14px; height:14px; border-radius:50%;
  background: var(--navy); border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(46,49,102,.35);
  box-sizing: border-box;
  transition: transform .25s ease, background .25s ease;
  transform-origin: center center;
}
.t-marker .pulse{
  position:absolute; left:7px; top:7px;
  width:14px; height:14px; border-radius:50%;
  background: var(--sky-600, #87B2DF);
  opacity:0;
  transform-origin: center center;
}
.t-marker.is-active .dot{
  background: #E27D3B;
  transform: scale(1.25);
}
.t-marker.is-active .pulse{
  animation: tmarkPulse 1.8s ease-out infinite;
  background: rgba(226,125,59,.45);
}
@keyframes tmarkPulse{
  0%   { opacity:.55; transform: scale(1); }
  100% { opacity:0;   transform: scale(3.2); }
}

/* Стиль попапа Leaflet под бренд */
.leaflet-popup-content-wrapper{ border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.18); }
.leaflet-popup-content{ margin:.75rem 1rem; font-family: var(--body, system-ui); color: var(--ink, #1a1d3a); }
.leaflet-popup-content strong{ color: var(--navy); font-size:.95rem; }

/* ========== FEEDBACK WIDGET (временная кнопка «Замечания») ========== */
#feedbackWidget{
  position:fixed; left:16px; bottom:16px; z-index: 9998;
}
#fbToggle{
  position: relative;
  display:inline-flex; align-items:center; justify-content:center;
  width:64px; height:64px; padding:0; border-radius:50%;
  background: #E27D3B; color:#fff; border:none;
  box-shadow: 0 8px 22px rgba(226,125,59,.35), 0 2px 6px rgba(0,0,0,.12);
  cursor:pointer; transition: transform .2s ease, box-shadow .2s ease, background .25s ease;
}
#fbToggle:hover{ transform: translateY(-2px) scale(1.04); background:#D56D2B; }
#fbToggle svg{ flex-shrink:0; width:28px; height:28px; display:block; }
#fbToggle span{ display:none; }
#fbToggle .fb-bang{
  position:absolute; top:-4px; right:-4px;
  display:inline-flex; align-items:center; justify-content:center;
  width:24px; height:24px; border-radius:50%;
  background:#fff; color:#E27D3B;
  font: 800 1rem/1 system-ui, sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
#fbToggle{
  animation: fbPulse 2.2s ease-out infinite;
}
@keyframes fbPulse{
  0%,100%{ box-shadow: 0 10px 26px rgba(226,125,59,.40), 0 2px 6px rgba(0,0,0,.14), 0 0 0 0 rgba(226,125,59,.55); }
  50%    { box-shadow: 0 10px 26px rgba(226,125,59,.45), 0 2px 6px rgba(0,0,0,.14), 0 0 0 10px rgba(226,125,59,0); }
}

#fbPanel{
  position:absolute; left:0; bottom:64px;
  width: min(360px, calc(100vw - 32px));
  background:#fff; border-radius:16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.22), 0 4px 12px rgba(0,0,0,.08);
  padding:1.1rem 1.1rem 1.2rem;
  opacity:0; transform: translateY(8px) scale(.98); pointer-events:none;
  transition: opacity .2s ease, transform .25s ease;
}
#fbPanel.open{ opacity:1; transform: translateY(0) scale(1); pointer-events:auto; }
#fbPanel .fb-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:.5rem; }
#fbPanel h4{
  margin:0; font: 700 1rem/1.2 var(--display, Georgia, serif);
  color: var(--navy);
}
#fbPanel h4::before{
  content:"● "; color:#E27D3B; font-size:.8rem; margin-right:.15rem;
}
#fbClose{
  background:transparent; border:none; font-size:1.5rem; line-height:1;
  color: var(--ink-muted, #666); cursor:pointer; padding:.15rem .4rem;
  border-radius:8px; transition: background .2s ease, color .2s ease;
}
#fbClose:hover{ background:#f2f2f5; color: var(--navy); }
.fb-intro{
  font-size:.78rem; color: var(--ink-muted, #666); margin:0 0 .75rem;
  line-height:1.45;
}
#fbForm textarea{
  width:100%; box-sizing:border-box; resize:vertical; min-height:110px;
  padding:.7rem .85rem; border:1px solid #dcdce2; border-radius:10px;
  font: 400 .9rem/1.45 var(--body, system-ui); color: var(--ink, #1a1d3a);
  background:#fbfbfc; transition: border-color .2s ease, background .2s ease;
}
#fbForm textarea:focus{
  outline:none; border-color: var(--navy); background:#fff;
  box-shadow: 0 0 0 3px rgba(46,49,102,.12);
}
.fb-submit{
  margin-top:.7rem; width:100%;
  padding:.75rem 1rem; border:none; border-radius:10px;
  background: var(--navy); color:#fff;
  font: 600 .88rem/1 var(--body, system-ui);
  cursor:pointer; transition: background .25s ease, transform .15s ease;
}
.fb-submit:hover:not(:disabled){ background:#24264f; }
.fb-submit:disabled{ opacity:.6; cursor:wait; }
.fb-success{
  padding:.85rem 1rem; background:#eaf5ec; border:1px solid #c6e3cc;
  color:#2b6a3b; border-radius:10px; font-size:.88rem; line-height:1.45;
}

@media (max-width: 520px){
  #feedbackWidget{ left:12px; bottom:12px; }
  #fbToggle{ width:58px; height:58px; }
  #fbToggle svg{ width:24px; height:24px; }
  #fbPanel{ left: -4px; right: auto; }
}

/* ========== Contact form status ========== */
.cf-status{
  margin-top: .85rem; padding:.75rem .9rem; border-radius: 10px;
  font-size:.9rem; line-height:1.45;
}
.cf-status.ok { background:#eaf5ec; border:1px solid #c6e3cc; color:#2b6a3b; }
.cf-status.err{ background:#fdecec; border:1px solid #f2c5c5; color:#a4272b; }

/* ============ Accessibility (audit 2026-05-24) ============ */
/* Keyboard focus indicators (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--sky, #87B2DF);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip-to-content link (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--ink, #2E3166);
  color: #fff;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { top: 0; }

/* Screen-reader-only utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   LANGUAGE TOGGLE (LT / EN)
   Added 2026-09-13 for the /en/ mirror
   ============================================ */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line, rgba(0,0,0,.15));
  border-radius: 999px;
  padding: 2px;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(4px);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.lang-toggle__link,
.lang-toggle__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink, #111);
  transition: background .18s ease, color .18s ease;
}

.lang-toggle__current {
  background: var(--ink, #111);
  color: #fff;
  cursor: default;
}

.lang-toggle__link:hover,
.lang-toggle__link:focus-visible {
  background: rgba(0,0,0,.06);
  color: var(--ink, #111);
  outline: none;
}

/* Dark hero backgrounds — invert */
.site-header.on-dark .lang-toggle,
.hero-header .lang-toggle {
  border-color: rgba(255,255,255,.35);
  background: rgba(0,0,0,.35);
}
.site-header.on-dark .lang-toggle__link,
.site-header.on-dark .lang-toggle__current {
  color: #fff;
}
.site-header.on-dark .lang-toggle__current {
  background: #fff;
  color: var(--ink, #111);
}

/* Mobile — keep visible next to Register button */
@media (max-width: 900px) {
  .nav-right .lang-toggle {
    order: 0;
    font-size: 0.72rem;
  }
  .nav-right .lang-toggle__link,
  .nav-right .lang-toggle__current {
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
  }
}
