/* ═══════════════════════════════════════════════════════
   DASS TEAM — Premium Dance Studio Landing Page
   Style: Monochromatic (black, white, grey) + accent green/teal
   ═══════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0a0a0a;
  --off-black: #111111;
  --dark: #1a1a1a;
  --dark-mid: #232323;
  --mid: #3a3a3a;
  --grey: #666666;
  --light-grey: #a0a0a0;
  --border: #2a2a2a;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --cream: #eeeeee;

  /* Accent colours (used ONLY for specific UI elements) */
  --accent-green: #4AE54A;
  --accent-teal: #00CED1;
  --accent-blue: #3B9EFF;

  --font-main: 'Inter', system-ui, sans-serif;
  --font-hero: 'Bebas Neue', 'Oswald', 'Inter', sans-serif;

  --nav-h: 72px;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

/* Smooth-anchor offset under fixed navbar */
section[id],
#map {
  scroll-margin-top: var(--nav-h);
}

body {
  font-family: var(--font-main);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--off-black);
}

::-webkit-scrollbar-thumb {
  background: var(--mid);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--grey);
}

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
  user-select: none;
  text-transform: uppercase;
}

.btn-nav {
  padding: 11px 22px;
  background: var(--black);
  color: var(--white);
  border: 1.5px solid var(--white);
  font-size: 0.72rem;
}

.btn-nav:hover {
  background: var(--white);
  color: var(--black);
}

.btn-nav:active {
  transform: scale(0.97);
  background: rgba(255, 255, 255, 0.9);
}

.btn-hero {
  padding: 16px 38px;
  background: var(--white);
  color: var(--black);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.15);
}

.btn-hero:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.25);
}

.btn-hero:active {
  transform: translateY(-1px) scale(0.97);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.15);
}

.btn-card {
  padding: 9px 20px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.68rem;
  backdrop-filter: blur(6px);
}

.btn-card:hover {
  background: var(--white);
  color: var(--black);
}

.btn-card:active {
  transform: scale(0.97);
  background: rgba(255, 255, 255, 0.9);
}

.btn-kids {
  padding: 9px 20px;
  background: var(--accent-teal);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 800;
}

.btn-kids:hover {
  background: #00e5eb;
  transform: translateY(-1px);
}

.btn-kids:active {
  transform: scale(0.97);
  background: #00c9ce;
}

.btn-outline {
  padding: 12px 28px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border);
  font-size: 0.76rem;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:active {
  transform: scale(0.97);
  background: rgba(255, 255, 255, 0.12);
}

.btn-submit {
  width: 100%;
  max-width: 340px;
  padding: 18px 40px;
  font-size: 0.84rem;
}

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.97);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo .logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links li a {
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--light-grey);
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch:hover {
  border-color: var(--grey);
}

.lang-switch .lang-opt {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--grey);
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.lang-switch .lang-opt.active {
  color: var(--accent-green);
}

.lang-switch .lang-divider {
  color: var(--mid);
  font-size: 0.75rem;
  user-select: none;
}

.lang-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lang-toast.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}

.lang-toast-text {
  font-size: 0.9rem;
  color: var(--light-grey);
  white-space: nowrap;
}

.lang-toast-btn {
  background: var(--accent-green);
  color: var(--black);
  border: none;
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.lang-toast-btn:hover {
  transform: scale(1.05);
}

.lang-toast-close {
  background: transparent;
  border: none;
  color: var(--grey);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.lang-toast-close:hover {
  color: var(--white);
}

@media (max-width: 480px) {
  .lang-toast {
    bottom: 12px;
    left: 12px;
    right: 12px;
    transform: none;
    justify-content: space-between;
  }

  .lang-toast.hidden {
    transform: translateY(20px);
  }
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Cinematic gradient simulating dark studio with graffiti wall */
  background:
    radial-gradient(ellipse 60% 90% at 70% 50%,
      rgba(30, 30, 30, 0.4) 0%,
      transparent 60%),
    linear-gradient(135deg,
      #0a0a0a 0%,
      #1a1a1a 30%,
      #2a2a2a 55%,
      #141414 80%,
      #0a0a0a 100%);
  animation: heroBgShift 8s ease-in-out infinite alternate;
}

@keyframes heroBgShift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.15) 100%);
}

/* Decorative textures on hero */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.006) 2px,
      rgba(255, 255, 255, 0.006) 4px);
  pointer-events: none;
}

/* Gradient overlay at bottom for smooth transition */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  z-index: 1;
  background: linear-gradient(to top,
      var(--black) 0%,
      transparent 100%);
  pointer-events: none;
}

/* Hero SVG art layer */
.hero-svg-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Decorative graffiti-style gradient circle (right side) */
.hero-graffiti-circle {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(74, 229, 74, 0.04) 0%,
      rgba(0, 206, 209, 0.06) 40%,
      transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--light-grey);
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hero-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.30);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  transition: color 0.3s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hero-map-link:hover {
  color: rgba(255, 255, 255, 0.65);
}

.hero-map-arrow {
  font-size: 0.75rem;
  display: inline-block;
  transform: rotate(180deg);
  animation: mapArrowBounce 2.2s ease-in-out infinite;
}

@keyframes mapArrowBounce {

  0%,
  100% {
    transform: rotate(180deg) translateY(0);
  }

  50% {
    transform: rotate(180deg) translateY(5px);
  }
}

.hero-title {
  font-family: var(--font-hero);
  font-size: clamp(2.8rem, 7.5vw, 6.4rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
}

.title-accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
  font-size: 1em;
  white-space: nowrap;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 44px;
  max-width: 400px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-nav-arrows {
  position: absolute;
  bottom: 60px;
  right: 80px;
  z-index: 2;
  display: flex;
  gap: 12px;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.04);
}

.hero-arrow:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 60px;
  right: 80px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }

  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* Decorative circles */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.deco-c1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: 5%;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.deco-c2 {
  width: 900px;
  height: 900px;
  top: -350px;
  right: -10%;
  border: 1px solid rgba(255, 255, 255, 0.025);
}

/* ══════════════════════════════════════════
   SECTIONS (SHARED)
   ══════════════════════════════════════════ */
.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 80px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 52px;
}

.section-title {
  font-family: var(--font-hero);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
}

.section-nav {
  display: flex;
  gap: 10px;
}

.sec-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--white);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.sec-arrow:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

/* ══════════════════════════════════════════
   STYLES SECTION — Dance Direction Cards
   ══════════════════════════════════════════ */
.styles-section {
  padding-top: 80px;
  padding-bottom: 100px;
  background: var(--black);
}

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

.style-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  background-color: var(--dark);
  background-image: var(--card-bg, none);
  background-size: cover;
  background-position: center;
}

.style-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.style-card:hover .btn-card {
  background: var(--white);
  color: var(--black);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.45) 45%,
      rgba(0, 0, 0, 0.08) 100%);
}

.card-overlay-teal {
  background: linear-gradient(to top,
      rgba(0, 40, 45, 0.92) 0%,
      rgba(0, 80, 90, 0.4) 50%,
      rgba(0, 0, 0, 0.1) 100%);
}

/* Decorative quarter-circle */
.card-geo {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1;
  transition: var(--transition-slow);
}

.style-card:hover .card-geo {
  top: -40px;
  right: -40px;
  border-color: rgba(255, 255, 255, 0.12);
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.badge-teal {
  background: rgba(0, 206, 209, 0.2);
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-location {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.kids-note {
  color: var(--accent-teal);
}

.card-title {
  font-family: var(--font-hero);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--white);
}

.card-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 8px 0 12px;
  line-height: 1.5;
}

/* Style Details (Accordion) */
.style-details {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.style-card.expanded .style-details {
  display: flex;
}

.style-details-inner {
  max-width: 320px;
  text-align: left;
}

.style-details-inner h4 {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 20px 0 8px;
}

.style-details-inner h4:first-child {
  margin-top: 0;
}

.style-details-inner p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.style-details-inner .btn {
  margin-top: 24px;
}

.style-details-toggle {
  width: 100%;
}

/* Unique gradient fallbacks per card */
.styles-grid .style-card:nth-child(1) {
  background-color: #151515;
}

.styles-grid .style-card:nth-child(2) {
  background-color: #121212;
}

.styles-grid .style-card:nth-child(3) {
  background-color: #0d1a1a;
}

.styles-grid .style-card:nth-child(4) {
  background-color: #181015;
}

.styles-grid .style-card:nth-child(5) {
  background-color: #0f1210;
}

.styles-grid .style-card:nth-child(6) {
  background-color: #131313;
}

/* Light card variant */
.card-light .card-overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(255, 255, 255, 0.02) 100%);
}

/* ══════════════════════════════════════════
   SCHEDULE + PRICES SECTION
   ══════════════════════════════════════════ */
.schedule-prices-section {
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sp-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.sp-grid.sp-grid-full {
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  max-width: 100%;
}

.sp-left .section-title,
.sp-right .section-title {
  margin-bottom: 24px;
}

.sp-left {
  text-align: center;
}

/* Compact price summary (replaces full Ціни block) */
.price-summary {
  background: var(--off-black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.price-summary-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.price-summary-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.price-summary .ps-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.price-summary .ps-value {
  font-family: var(--font-hero);
  font-size: 2.2rem;
  color: var(--accent-green);
  letter-spacing: 0.02em;
}

.price-summary-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* Schedule Filters (Day Tabs) */
.schedule-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  position: relative;
  justify-content: center;
}

.filter-tab {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--light-grey);
  background: var(--dark);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.filter-tab:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-tab.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* Schedule Table */
.schedule-prices-section .schedule-table {
  max-height: 480px;
}

/* Prices Grid */
.prices-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--off-black);
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.12);
}

.price-card-popular {
  border-color: var(--accent-green);
  background: linear-gradient(135deg, rgba(74, 229, 74, 0.08) 0%, var(--off-black) 100%);
  position: relative;
}

.price-badge-popular {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-green);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.price-name {
  font-family: var(--font-hero);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.price-badge {
  font-size: 0.65rem;
  color: var(--accent-green);
  letter-spacing: 0.05em;
}

.price-amount {
  font-family: var(--font-hero);
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.price-features {
  list-style: none;
  margin-bottom: 20px;
}

.price-features li {
  font-size: 0.8rem;
  color: var(--light-grey);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-card .btn {
  width: 100%;
}

/* ══════════════════════════════════════════
   STYLES NAV (CHIPS) — Напрямки
   ══════════════════════════════════════════ */
.styles-nav-section {
  padding-top: 80px;
  padding-bottom: 60px;
}

.styles-nav-section .section-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: -16px;
  margin-bottom: 8px;
}

.style-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}

.style-chip {
  padding: 12px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--off-black);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.style-chip:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(74, 229, 74, 0.06);
  transform: translateY(-2px);
}

.style-chip:active {
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   STYLES BLOCKS — Стилі з креативами
   ══════════════════════════════════════════ */
.styles-blocks-section {
  padding-top: 40px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.style-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  scroll-margin-top: 100px;
}

.style-block:nth-child(even) .style-block-image {
  order: 2;
}

.style-block:nth-child(even) .style-block-content {
  order: 1;
}

.style-block-image {
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: transform var(--transition);
  /* Soft edge fade on all 4 sides for seamless blend */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 5%, #000 95%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 5%, #000 95%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-composite: intersect;
}

.style-block:hover .style-block-image {
  transform: translateY(-4px) scale(1.01);
}

.style-block-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 20px;
}

.style-block-meta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-green);
}

.style-block-title {
  font-family: var(--font-hero);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
}

.style-block-teacher {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 10px;
}

.style-block-teacher i {
  color: var(--accent-green);
}

.style-block-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
}

.style-block-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 16px;
  padding: 20px;
  background: var(--off-black);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.style-block-info>div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.style-block-info span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.style-block-info strong {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 600;
}

.style-block-content .btn {
  align-self: flex-start;
}

/* ══════════════════════════════════════════
   TEAM SECTION (Bento Grid)
   ══════════════════════════════════════════ */
.team-section {
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.team-section .section-title {
  margin-bottom: 36px;
}

/* ── BENTO TEAM GRID ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 320px;
  grid-auto-flow: dense;
  gap: 12px;
}

.teacher-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--off-black);
}

/* Featured card (first one - larger) */
.teacher-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.teacher-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.teacher-photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform var(--transition);
}

.teacher-card:hover .teacher-photo {
  transform: scale(1.03);
}

.teacher-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.4) 30%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.teacher-card:hover .teacher-overlay {
  opacity: 1;
}

.teacher-hover-info {
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.teacher-card:hover .teacher-hover-info {
  transform: translateY(0);
  opacity: 1;
}

.teacher-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.teacher-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  transition: var(--transition);
}

.teacher-social a:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.teacher-schedule-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.teacher-schedule-link:hover {
  background: var(--white);
  color: var(--black);
}

.teacher-info {
  padding: 14px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.teacher-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.teacher-role {
  font-size: 0.72rem;
  color: var(--light-grey);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── TEACHER MODAL ── */
.teacher-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.teacher-modal.active {
  display: flex;
  opacity: 1;
}

.teacher-modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  background: var(--off-black);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.teacher-modal.active .teacher-modal-content {
  transform: scale(1);
}

.teacher-modal-photo {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  filter: grayscale(30%) contrast(1.1);
}

.teacher-modal-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.teacher-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.teacher-modal-close:hover {
  background: var(--white);
  color: var(--black);
}

.teacher-modal-name {
  font-family: var(--font-hero);
  font-size: 2.5rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 4px;
}

.teacher-modal.style-block-meta {
  font-size: 1.2rem;
  color: var(--accent-green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

.teacher-modal-bio {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 32px;
}

.teacher-modal-classes {
  margin-bottom: 32px;
}

.teacher-modal-classes h4 {
  font-size: 0.75rem;
  color: var(--light-grey);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.teacher-class-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.teacher-class-item:last-child {
  border-bottom: none;
}

.teacher-class-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  min-width: 50px;
}

.teacher-class-name {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.teacher-modal .teacher-social {
  margin-top: auto;
}

.teacher-modal .btn {
  margin-top: 24px;
}

/* ══════════════════════════════════════════
   SCHEDULE SECTION
   ══════════════════════════════════════════ */
.schedule-section {
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.schedule-section .section-title {
  margin-bottom: 36px;
}

/* ── SCHEDULE TABLE ── */
.schedule-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 auto 28px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 8px;
}

.schedule-day-header {
  font-family: var(--font-hero);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-green);
  transition: opacity 0.2s ease;
  margin-top: 16px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.schedule-day-header:first-child {
  margin-top: 0;
}

.schedule-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--off-black);
  transition: opacity 0.2s ease;
}

.schedule-row:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--dark);
}

.schedule-row.highlighted {
  border-color: var(--accent-green);
  background: rgba(74, 229, 74, 0.1);
  animation: highlightPulse 0.5s ease;
}

@keyframes highlightPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 229, 74, 0);
  }

  50% {
    box-shadow: 0 0 20px 2px rgba(74, 229, 74, 0.3);
  }
}

.schedule-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  min-width: 100px;
  letter-spacing: 0.05em;
}

.schedule-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.s-tag {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: var(--dark-mid);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
}

.s-tag-accent {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}

.s-tag-teal {
  background: rgba(0, 206, 209, 0.12);
  color: var(--accent-teal);
  border-color: rgba(0, 206, 209, 0.3);
}

.s-tag-purple {
  background: rgba(180, 100, 255, 0.12);
  color: #b464ff;
  border-color: rgba(180, 100, 255, 0.3);
}

.s-tag-blue {
  background: rgba(74, 144, 226, 0.12);
  color: #4a90e2;
  border-color: rgba(74, 144, 226, 0.3);
}

.schedule-cta {
  margin-top: 8px;
}

/* ══════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════ */
.about-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.about-logo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.about-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  animation: rotateDash 20s linear infinite;
}

@keyframes rotateDash {
  to {
    transform: rotate(360deg);
  }
}

.about-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 50%;
}

.about-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 0;
  font-weight: 300;
  max-width: 560px;
}

.about-text-main {
  margin-bottom: 16px;
}

.about-text-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.about-text-extra.expanded {
  max-height: 600px;
  opacity: 1;
}

.about-text-extra .about-text {
  margin-bottom: 16px;
}

.about-text-extra .about-text:last-child {
  margin-bottom: 24px;
}

.about-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--light-grey);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 40px;
}

.about-toggle:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.about-stats li {
  padding: 24px 28px 24px 0;
  border-right: 1px solid var(--border);
}

.about-stats li:first-child {
  padding-left: 0;
}

.about-stats li:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-family: var(--font-hero);
  font-size: 3rem;
  line-height: 1;
  color: var(--white);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--light-grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ══════════════════════════════════════════
   STUDIO GALLERY
   ══════════════════════════════════════════ */
.studio-section {
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.studio-slider-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0 -4px;
}

.studio-slider {
  display: flex;
  gap: 16px;
  transition: transform var(--transition-slow);
  will-change: transform;
}

.studio-slide {
  flex: 0 0 calc(33.333% - 11px);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--dark);
}

.studio-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%) contrast(1.05);
  transition: filter var(--transition-slow), transform var(--transition-slow);
}

.studio-slide:hover img {
  filter: grayscale(30%) contrast(1.1);
  transform: scale(1.04);
}

.studio-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.studio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mid);
  border: none;
  transition: var(--transition);
  cursor: pointer;
}

.studio-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--white);
}

/* ══════════════════════════════════════════
   JOIN / CTA SECTION
   ══════════════════════════════════════════ */
.join-section {
  position: relative;
  overflow: hidden;
  padding: 120px 80px;
  background: var(--off-black);
  border-top: 1px solid var(--border);
}

.join-deco-circle {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  pointer-events: none;
}

.join-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.join-title {
  font-family: var(--font-hero);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.join-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 56px;
  font-weight: 300;
}

.join-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 660px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group select {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder {
  color: var(--grey);
}

.form-group input:focus,
.form-group select:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: var(--dark-mid);
}

.form-group select option {
  background: var(--dark);
  color: var(--white);
}

.join-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 40px;
  border-radius: var(--radius);
  background: rgba(74, 229, 74, 0.08);
  border: 1px solid rgba(74, 229, 74, 0.25);
  color: var(--accent-green);
  font-weight: 600;
  margin-top: 16px;
}

.join-success.visible {
  display: flex;
  animation: fadeInUp 0.5s ease;
}

.join-success i {
  font-size: 1.4rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

/* Toast notification */
.toast-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--off-black);
  border: 1px solid var(--accent-green);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.toast-notification.visible {
  opacity: 1;
  transform: translateX(0);
}

.toast-notification i {
  color: var(--accent-green);
  font-size: 1.2rem;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--light-grey);
  transition: var(--transition);
}

.social-icon:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.footer-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  transition: var(--transition);
}

.footer-logo:hover img {
  transform: scale(1.06);
}

.footer-address {
  font-size: 0.78rem;
  color: var(--light-grey);
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: right;
}

.footer-map {
  width: 100%;
  max-width: 100%;
  margin-top: 16px;
  grid-column: 1 / -1;
  overflow: hidden;
}

.footer-map iframe {
  width: 100% !important;
  max-width: 100%;
  height: 350px;
  border-radius: 12px;
  display: block;
}

.footer-copy {
  text-align: center;
  padding: 18px 80px;
  font-size: 0.7rem;
  color: var(--mid);
  border-top: 1px solid var(--border);
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════
   ENTRANCE ANIMATIONS
   ══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: 0.1s;
}

.fade-up-delay-2 {
  transition-delay: 0.2s;
}

.fade-up-delay-3 {
  transition-delay: 0.3s;
}

.fade-up-delay-4 {
  transition-delay: 0.4s;
}

.fade-up-delay-5 {
  transition-delay: 0.5s;
}

.fade-up-delay-6 {
  transition-delay: 0.6s;
}

/* ══════════════════════════════════════════
   ACCESSIBILITY — Reduced motion
   ══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero-bg,
  .about-logo-wrap::before,
  .scroll-dot {
    animation: none !important;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

/* Large Tablet */
@media (max-width: 1200px) {
  .section {
    padding: 80px 48px;
  }

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

  .hero-nav-arrows {
    left: 48px;
  }

  .hero-scroll-hint {
    right: 48px;
  }

  .join-section {
    padding: 100px 48px;
  }

  .footer-inner {
    padding: 36px 48px;
  }

  .footer-copy {
    padding: 16px 48px;
  }

  .styles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .about-stats li {
    border-right: none;
    padding: 16px 0;
  }

  .about-stats li:nth-child(odd) {
    border-right: 1px solid var(--border);
    padding-right: 20px;
  }
}

/* Tablet */
@media (max-width: 960px) {
  :root {
    --nav-h: 64px;
  }

  .section {
    padding: 60px 32px;
  }

  .hero-section {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 24px);
    padding-bottom: 40px;
  }

  .hero-section::after {
    height: 100px;
    background: linear-gradient(to top, var(--black) 0%, transparent 100%);
  }

  .styles-nav-section {
    padding-top: 32px;
  }

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

  .hero-nav-arrows {
    left: 32px;
    bottom: 40px;
  }

  .hero-scroll-hint {
    right: 32px;
    bottom: 40px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 1001;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    padding: 16px 32px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-burger {
    display: flex;
    padding: 12px;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
  }

  .nav-burger span {
    width: 28px;
    height: 2.5px;
  }

  .btn-nav {
    display: none;
  }

  .styles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sp-grid,
  .sp-grid.sp-grid-full {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .price-summary {
    position: static;
  }

  .style-block {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 600px;
    margin: 0 auto;
  }

  .style-block:nth-child(even) .style-block-image,
  .style-block:nth-child(even) .style-block-content {
    order: unset;
  }

  .style-block-image {
    max-height: 500px;
  }

  .style-block-content {
    padding: 0;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
  }

  .teacher-card.featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-logo-wrap {
    margin: 0 auto;
  }

  .about-text {
    margin: 0 auto 40px;
  }

  .about-stats {
    justify-content: center;
  }

  .studio-slide {
    flex: 0 0 calc(50% - 8px);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .join-section {
    padding: 80px 32px;
  }

  .footer-inner {
    padding: 32px;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    justify-items: center;
  }

  .footer-address {
    text-align: center;
  }

  .footer-copy {
    padding: 14px 32px;
  }
}

/* Mobile */
@media (max-width: 600px) {

  /* Prevent any element from forcing the page wider than the viewport */
  .hero-section,
  .schedule-prices-section,
  .styles-nav-section,
  .styles-blocks-section,
  .team-section,
  .about-section,
  .studio-section,
  .join-section,
  .site-footer {
    overflow-x: hidden;
  }

  /* Allow long Ukrainian button labels to wrap on tiny screens */
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    letter-spacing: 0.06em;
  }

  /* Prevent iOS auto-zoom on focus (font-size must be ≥ 16px) */
  .form-group input,
  .form-group select {
    font-size: 16px;
  }

  /* Ensure sticky price-summary doesn't stick on mobile */
  .price-summary {
    position: static;
    top: auto;
  }

  /* Center CTA buttons across sections on mobile */
  .hero-content {
    text-align: center;
  }

  .hero-badge,
  .hero-content .btn {
    align-self: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .style-block-content {
    align-items: center;
    text-align: center;
  }

  .style-block-content .btn {
    align-self: center;
  }

  .schedule-cta {
    align-self: center;
  }

  .sp-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .sp-grid,
  .sp-grid.sp-grid-full {
    width: 100%;
    min-width: 0;
  }

  .schedule-table {
    width: 100%;
    min-width: 0;
  }

  .schedule-tags {
    flex: 1 1 auto;
    min-width: 0;
  }

  .s-tag {
    white-space: normal;
    word-break: break-word;
  }

  /* About logo: smaller on mobile */
  .about-logo-wrap {
    width: 110px;
    height: 110px;
  }

  .about-logo {
    width: 150px;
    height: 150px;
  }

  .nav-container {
    padding: 0 16px;
    gap: 16px;
  }

  .nav-links {
    padding: 12px 16px 20px;
  }

  .nav-links li a {
    padding: 12px 8px;
    font-size: 1rem;
  }

  /* Hide entire navbar on mobile */
  #navbar {
    display: none;
  }

  /* Hide hero navigation arrows on mobile */
  #heroPrev,
  #heroNext {
    display: none;
  }

  /* Hide hero CTA button on mobile */
  .hero-content .btn-hero {
    display: none;
  }

  .section {
    padding: 48px 20px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 0;
    align-items: flex-start;
    overflow: hidden;
  }

  .hero-section::after {
    height: 80px;
    background: linear-gradient(to top, var(--black) 0%, transparent 100%);
  }

  .styles-nav-section {
    padding-top: 24px !important;
  }

  .hero-content {
    padding: 0 20px;
    margin-top: 0;
  }

  .hero-badge {
    margin-bottom: 16px;
    font-size: 0.65rem;
    padding: 5px 12px;
  }

  .hero-sub {
    margin-bottom: 28px;
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-nav-arrows {
    left: 20px;
    bottom: 16px;
  }

  .hero-scroll-hint {
    display: none;
  }

  .styles-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .style-card {
    aspect-ratio: 16/10;
  }

  .schedule-filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    justify-content: center;
  }

  .schedule-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    padding: 12px 20px;
    font-size: 0.8rem;
    min-height: 44px;
    min-width: 44px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .sp-right .section-title {
    margin-top: 24px;
  }

  .price-card {
    padding: 20px;
  }

  .price-amount {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }

  /* Chips: wrapped grid on mobile */
  .style-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
  }

  .style-chip {
    padding: 9px 14px;
    font-size: 0.78rem;
    border-radius: 100px;
    flex: 0 1 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }

  .styles-nav-section {
    padding-top: 56px;
    padding-bottom: 32px;
  }

  .styles-nav-section .section-sub {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  /* Style blocks on mobile */
  .styles-blocks-section {
    gap: 40px;
    padding-top: 24px;
    padding-bottom: 56px;
  }

  .style-block {
    gap: 20px;
  }

  .style-block-image {
    max-height: none;
    width: 100%;
    margin: 0 auto;
    object-position: center;
  }

  .style-block-content {
    gap: 14px;
  }

  .style-block-title {
    font-size: 1.8rem;
  }

  .style-block-meta {
    font-size: 0.62rem;
  }

  .style-block-desc {
    font-size: 0.88rem;
  }

  .style-block-info {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px;
  }

  .style-block-info>div {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
  }

  .style-block-info>div:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .style-block-info>div:first-child {
    padding-top: 0;
  }

  .style-block-info span {
    font-size: 0.62rem;
  }

  .style-block-info strong {
    font-size: 0.85rem;
  }

  /* Price summary mobile */
  .price-summary {
    padding: 20px 18px;
    gap: 14px;
  }

  .price-summary .ps-value {
    font-size: 1.6rem;
  }

  .price-summary .btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    white-space: normal;
  }

  .price-summary-note {
    font-size: 0.7rem;
  }

  /* Section header — vertical layout on mobile to prevent overlap */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 32px;
  }

  .section-header .section-sub,
  .styles-nav-section .section-sub {
    margin-top: 0;
  }

  /* Section titles smaller on mobile */
  .section-title {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  /* Schedule mobile tweaks */
  .schedule-prices-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .s-tag {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  .schedule-time {
    font-size: 0.85rem;
  }

  .teacher-card.featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  .teacher-modal-content {
    grid-template-columns: 1fr;
    max-height: 95vh;
    overflow-y: auto;
  }

  .teacher-modal-photo {
    aspect-ratio: 16/9;
    max-height: 250px;
  }

  .teacher-modal-body {
    padding: 24px;
  }

  .teacher-modal-name {
    font-size: 1.8rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats li:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .studio-slide {
    flex: 0 0 calc(100% - 0px);
  }

  .footer-inner {
    padding: 24px 20px;
  }

  .footer-copy {
    padding: 12px 20px;
  }

  .join-section {
    padding: 60px 20px;
  }

  /* Decorative circles must not cause horizontal scroll */
  .deco-circle,
  .hero-graffiti-circle,
  .join-deco-circle {
    max-width: 100vw;
  }

  .hero-graffiti-circle {
    width: 380px;
    height: 380px;
    right: -120px;
  }

  .join-deco-circle {
    width: 420px;
    height: 420px;
    right: -180px;
  }

  /* Schedule rows: keep time and tags on the same row but allow wrapping */
  .schedule-row {
    flex-wrap: wrap;
    padding: 12px 14px;
  }

  .schedule-time {
    min-width: auto;
    flex: 0 0 auto;
  }

  /* Hero badge / sub: keep within viewport */
  .hero-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
  }

  .hero-title {
    word-break: break-word;
  }

  /* Buttons inside hero/forms: full-width feel, centered */
  .btn-hero {
    padding: 14px 24px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  /* Toast: don't extend past edge */
  .toast-notification {
    right: 12px;
    left: 12px;
    max-width: calc(100vw - 24px);
  }
}

/* Small phones (≤ 380px) */
@media (max-width: 380px) {
  .section {
    padding: 40px 16px;
  }

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

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-badge {
    font-size: 0.6rem;
    padding: 4px 10px;
    letter-spacing: 0.15em;
  }

  .hero-sub {
    font-size: 0.88rem;
  }

  .btn-hero {
    padding: 12px 18px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    width: 100%;
    max-width: 280px;
  }

  .hero-nav-arrows {
    left: 16px;
    bottom: 12px;
    gap: 8px;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
  }

  .style-block-title {
    font-size: 1.5rem;
  }

  .style-block-desc {
    font-size: 0.82rem;
  }

  .style-block-image {
    width: 100%;
    margin: 0 auto;
  }

  .price-summary .ps-value {
    font-size: 1.4rem;
  }

  .filter-tab {
    padding: 10px 16px;
    font-size: 0.72rem;
  }

  .nav-container {
    padding: 0 12px;
  }

  .nav-logo .logo-img {
    height: 38px;
    width: 38px;
  }

  .footer-inner,
  .footer-copy {
    padding-left: 16px;
    padding-right: 16px;
  }
}