/* TWEAKS */
.hero__logo-text {
    display: none!important;
}

/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'Baloo2';
  src: url('../fonts/Baloo2-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Baloo2';
  src: url('../fonts/Baloo2-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}
@font-face {
  font-family: 'Baloo2';
  src: url('../fonts/Baloo2-SemiBold.ttf') format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'Baloo2';
  src: url('../fonts/Baloo2-Medium.ttf') format('truetype');
  font-weight: 500;
}
@font-face {
  font-family: 'Baloo2';
  src: url('../fonts/Baloo2-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-SemiBold.ttf') format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Bleeker';
  src: url('../fonts/BleekerCyrillic.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'CartoonFun';
  src: url('../fonts/CartoonFunCyrillic.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'DaysOne';
  src: url('../fonts/DaysOne-Regular.ttf') format('truetype');
  font-weight: 400;
}

/* ============================================================
    CSS VARIABLES
    ============================================================ */
:root {
  --clr-bg:        #faf8f1;
  --clr-teal:      #3a7d8c;
  --clr-teal-dark: #2a4a52;
  --clr-teal-lt:   #5aadb8;
  --clr-green:     #6aab5e;
  --clr-text:      #2a4a50;
  --clr-white:     #ffffff;

  --clr-card-blue: #d4e6f4;
  --clr-card-yellow: #f5e6a3;

  --font-baloo:   'Baloo2', sans-serif;
  --font-nunito:  'Nunito', sans-serif;
  --font-bleeker: 'Bleeker', sans-serif;
  --font-cartoon: 'CartoonFun', sans-serif;
  --font-daysone: 'DaysOne', sans-serif;

  --header-h: 68px;
  --radius-btn: 40px;

  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-nunito);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Subtle grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--clr-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: var(--header-h);
  animation: slideDown 0.55s var(--ease-smooth) both;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.header__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  transition: opacity 0.2s;
}
.header__brand:hover { opacity: 0.82; }

.header__brand-title {
  font-family: var(--font-baloo);
  font-weight: 700;
  font-size: 20.8px;
  color: var(--clr-teal-dark);
  letter-spacing: 0.01em;
}

.header__brand-sub {
  font-family: var(--font-baloo);
  font-weight: 700;
  font-size: 10.4px;
  color: var(--clr-teal-lt);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  font-family: var(--font-nunito);
  font-weight: 700;
  font-size: 14.4px;
  color: var(--clr-text);
  padding: 6px 12px;
  border-radius: 20px;
  position: relative;
  transition: color 0.25s var(--ease-smooth),
              background 0.25s var(--ease-smooth);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 24px);
  height: 2px;
  background: var(--clr-teal);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-bounce);
}

.nav__link:hover {
  color: var(--clr-teal);
  background: rgba(46,125,138,.07);
}
.nav__link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* CTA Button */
.btn {
  font-family: var(--font-nunito);
  font-weight: 700;
  font-size: 14.4px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s var(--ease-bounce),
              box-shadow 0.22s var(--ease-smooth),
              background 0.22s var(--ease-smooth);
}

.btn--cta {
  background: var(--clr-teal);
  color: var(--clr-white);
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  margin-left: 8px;
  box-shadow: 0 3px 14px rgba(46,125,138,.28);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

/* Subtle shimmer effect */
.btn--cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transition: left 0.5s;
}

.btn--cta:hover::before {
  left: 100%;
}

.btn--cta:hover {
  background: var(--clr-teal-dark);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 7px 22px rgba(46,125,138,.38);
}

.btn--cta:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(46,125,138,.22);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
}
.burger:hover { background: rgba(46,125,138,.1); }
.burger span {
  display: block;
  height: 2.5px;
  background: var(--clr-teal);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s var(--ease-smooth), opacity 0.2s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
    HERO
    ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--header-h);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* Subtle background texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(46,125,138,.05) 1.2px, transparent 1.2px);
  background-size: 42px 42px;
  pointer-events: none;
}

/* Soft gradient overlay for depth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(212,230,244,.35) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 60%, rgba(245,230,163,.25) 0%, transparent 55%);
  pointer-events: none;
}

/* Decorative floating shapes */
.hero__shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__shape--1 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(212,230,244,.4) 0%, transparent 70%);
  top: 15%;
  right: 20%;
  animation: floatShape 12s ease-in-out infinite;
}

.hero__shape--2 {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(245,230,163,.35) 0%, transparent 70%);
  bottom: 25%;
  left: 8%;
  animation: floatShape 10s ease-in-out infinite reverse;
}

.hero__shape--3 {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(90,173,184,.2) 0%, transparent 70%);
  top: 40%;
  left: 25%;
  animation: floatShape 14s ease-in-out infinite 2s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(10px, -15px) scale(1.05); }
  50%      { transform: translate(-5px, 10px) scale(0.95); }
  75%      { transform: translate(8px, 5px) scale(1.02); }
}

/* ---- Logo block ---- */
.hero__logo-block {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  animation: popIn 0.7s 0.2s var(--ease-bounce) both;
}

@keyframes popIn {
  from { transform: scale(0.7) translateY(20px); opacity: 0; }
  to   { transform: scale(1)   translateY(0);    opacity: 1; }
}

.hero__logo-img {
  width: 324px;
  filter: drop-shadow(0 8px 24px rgba(46,125,138,.15));
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 0.92;
}

.hero__logo-line1,
.hero__logo-line2 {
  font-family: var(--font-cartoon);
  color: var(--clr-teal-dark);
  font-size: 96px;
  letter-spacing: 0.01em;
}

/* ---- Floating words ---- */
.hero__word {
  position: absolute;
  font-family: var(--font-bleeker);
  color: var(--clr-teal);
  pointer-events: auto;
  user-select: none;
  opacity: 0;
  z-index: 1;
  cursor: default;
  transition: color 0.3s, transform 0.3s var(--ease-bounce);
}

.hero__word:hover {
  color: var(--clr-teal-dark);
}

/* Animation keyframes */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: var(--from-transform, translateY(18px)); }
  to   { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)); }
}

/* Gentle drift animation after appearing */
@keyframes driftA {
  0%,100% { transform: translate(0,0) rotate(var(--rot, 0deg)); }
  33%      { transform: translate(4px,-6px) rotate(calc(var(--rot, 0deg) + .4deg)); }
  66%      { transform: translate(-3px,4px) rotate(calc(var(--rot, 0deg) - .3deg)); }
}
@keyframes driftB {
  0%,100% { transform: translate(0,0) rotate(var(--rot, 0deg)); }
  40%      { transform: translate(-5px,-4px) rotate(calc(var(--rot, 0deg) - .5deg)); }
  70%      { transform: translate(3px,6px) rotate(calc(var(--rot, 0deg) + .4deg)); }
}

/* Individual word positions & styles - organic scattered layout */
.hero__word--razvivashki {
  top: 14%;
  left: 16%;
  font-size: clamp(28px, 3.5vw, 48px);
  --from-transform: translateX(-30px) rotate(-3deg);
  --rot: -3deg;
  animation:
    fadeSlideIn 0.7s 0.4s var(--ease-bounce) forwards,
    driftA 8s 1.2s ease-in-out infinite;
}

.hero__word--it {
  top: 22%;
  left: 48%;
  transform: translateX(-50%) rotate(2deg);
  font-size: clamp(32px, 4vw, 56px);
  --from-transform: translateY(-24px) rotate(2deg);
  --rot: 2deg;
  animation:
    fadeSlideIn 0.7s 0.6s var(--ease-bounce) forwards,
    driftB 9s 1.4s ease-in-out infinite;
}

.hero__word--tvorchestvo {
  top: 12%;
  right: 10%;
  font-size: clamp(30px, 3.8vw, 52px);
  --from-transform: translateX(30px) rotate(3deg);
  --rot: 3deg;
  animation:
    fadeSlideIn 0.7s 0.8s var(--ease-bounce) forwards,
    driftA 7.5s 1.6s ease-in-out infinite;
}

.hero__word--vstrechi {
  bottom: 26%;
  left: 14%;
  font-size: clamp(26px, 3.2vw, 44px);
  --from-transform: translateX(-24px) rotate(-2deg);
  --rot: -2deg;
  animation:
    fadeSlideIn 0.7s 1s var(--ease-bounce) forwards,
    driftB 8.5s 1.8s ease-in-out infinite;
}

.hero__word--oge {
  bottom: 12%;
  left: 8%;
  font-size: clamp(30px, 3.6vw, 50px);
  --from-transform: translateY(24px) rotate(2deg);
  --rot: 2deg;
  animation:
    fadeSlideIn 0.7s 1.2s var(--ease-bounce) forwards,
    driftA 10s 2s ease-in-out infinite;
}

.hero__word--master {
  bottom: 10%;
  left: 42%;
  font-size: clamp(28px, 3.4vw, 46px);
  --from-transform: translateY(24px) rotate(-1deg);
  --rot: -1deg;
  animation:
    fadeSlideIn 0.7s 1.4s var(--ease-bounce) forwards,
    driftB 7.5s 2.2s ease-in-out infinite;
}

.hero__word--tagline {
  bottom: 20%;
  right: 8%;
  color: var(--clr-teal-dark);
  text-align: right;
  line-height: 1.35;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 42px);
  --from-transform: translateX(24px) rotate(1deg);
  --rot: 1deg;
  animation:
    fadeSlideIn 0.7s 1.6s var(--ease-bounce) forwards,
    driftA 11s 2.4s ease-in-out infinite;
}

.hero__word--tagline em {
  font-style: normal;
  color: var(--clr-teal);
  display: block;
}

/* ============================================================
    WHY US SECTION
    ============================================================ */
.why {
  padding: 100px 0 120px;
  position: relative;
}

.why__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Heading */
.why__heading {
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.why__heading.visible {
  opacity: 1;
  transform: translateY(0);
}

.why__label {
  font-family: var(--font-bleeker);
  font-size: 28px;
  font-weight: 400;
  color: rgba(42, 74, 82, 0.45);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.why__title {
  font-family: var(--font-bleeker);
  font-size: 56px;
  font-weight: 400;
  color: var(--clr-text);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Grid - matching reference layout */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 20px;
}

/* Card 1 spans full width */
.why__card--wide {
  grid-column: 1 / -1;
}

/* Card 5 spans 70%, card 6 spans 30% */
.why__card--wide70 {
  grid-column: 1 / 3;
}

.why__card:nth-child(6) {
  grid-column: 3 / 4;
}

/* Card base */
.why__card {
  position: relative;
  border-radius: 24px;
  padding: 32px 36px 36px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.6s var(--ease-smooth),
              transform 0.6s var(--ease-bounce),
              box-shadow 0.3s var(--ease-smooth);
  box-shadow: 0 4px 20px rgba(0,0,0,.06),
              0 1px 3px rgba(0,0,0,.04);
}

/* Subtle inner top highlight */
.why__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  pointer-events: none;
}

.why__card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.why__card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 40px rgba(0,0,0,.08),
              0 4px 12px rgba(0,0,0,.04);
}

/* Colors - softer, matching reference */
.why__card--blue   { background: var(--clr-card-blue); }
.why__card--yellow { background: var(--clr-card-yellow); }

/* Card body */
.why__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1;
  max-width: 85%;
}

.why__card-headline {
  font-family: var(--font-nunito);
  font-weight: 700;
  font-size: 17px;
  color: var(--clr-teal-dark);
  line-height: 1.3;
}

.why__card-body p {
  font-family: var(--font-nunito);
  font-weight: 400;
  font-size: 16px;
  color: var(--clr-text);
  line-height: 1.6;
}

/* Big decorative number */
.why__card-num {
  font-family: var(--font-cartoon);
  font-size: 88px;
  line-height: 0.8;
  color: rgba(42, 74, 82, 0.1);
  flex-shrink: 0;
  align-self: flex-start;
  user-select: none;
  pointer-events: none;
  transition: color 0.3s, transform 0.3s var(--ease-bounce);
  margin-top: -8px;
  text-shadow: 1px 2px 0 rgba(255,255,255,.3);
}

.why__card:hover .why__card-num {
  color: rgba(42, 74, 82, 0.18);
  transform: scale(1.06) rotate(-3deg);
}

/* Stagger animation delays for cards */
.why__card:nth-child(1) { transition-delay: 0.05s; }
.why__card:nth-child(2) { transition-delay: 0.12s; }
.why__card:nth-child(3) { transition-delay: 0.2s; }
.why__card:nth-child(4) { transition-delay: 0.28s; }
.why__card:nth-child(5) { transition-delay: 0.36s; }
.why__card:nth-child(6) { transition-delay: 0.44s; }

/* ============================================================
    STORY / НАША ИСТОРИЯ SECTION
    ============================================================ */
.story {
  padding: 100px 0 120px;
  position: relative;
}

.story__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

/* Left Column */
.story__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.story__title {
  font-family: var(--font-bleeker);
  font-size: 52px;
  font-weight: 400;
  color: var(--clr-teal-dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Yellow Quote Box */
.story__quote-box {
  border: 3px solid var(--clr-card-yellow);
  border-radius: 32px;
  padding: 40px;
  background: var(--clr-bg);
  display: flex;
  align-items: center;
}

.story__quote {
  font-family: var(--font-daysone);
  font-size: 19px;
  font-weight: 400;
  color: var(--clr-text);
  line-height: 1.5;
}

/* Right Column - Cards */
.story__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.story__card {
  position: relative;
  border-radius: 32px;
  padding: 36px 40px;
  min-height: 140px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s var(--ease-smooth),
              transform 0.6s var(--ease-bounce);
}

.story__card.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Card gradient backgrounds */
.story__card--1 { background: linear-gradient(135deg, #e8f5d6 0%, #d4e9bc 100%); }
.story__card--2 { background: linear-gradient(135deg, #d9e8c8 0%, #c5dbb0 100%); }
.story__card--3 { background: linear-gradient(135deg, #caddb8 0%, #b6d09e 100%); }
.story__card--4 { background: linear-gradient(135deg, #bbd2a8 0%, #a7c590 100%); }

.story__card-num {
  font-family: var(--font-cartoon);
  font-size: 52px;
  line-height: 1;
  color: rgba(42, 74, 82, 0.1);
  position: absolute;
  top: 24px;
  left: 32px;
  user-select: none;
  pointer-events: none;
}

.story__card-text {
  font-family: var(--font-nunito);
  font-size: 18px;
  font-weight: 600;
  color: var(--clr-teal-dark);
  line-height: 1.6;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

/* Stagger animation delays */
.story__card:nth-child(1) { transition-delay: 0.05s; }
.story__card:nth-child(2) { transition-delay: 0.12s; }
.story__card:nth-child(3) { transition-delay: 0.2s; }
.story__card:nth-child(4) { transition-delay: 0.28s; }

/* ============================================================
    SCHEDULE / РАСПИСАНИЕ SECTION
    ============================================================ */
.schedule {
  padding: 80px 0 120px;
  position: relative;
}

.schedule__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.schedule__label {
  font-family: var(--font-bleeker);
  font-size: 24px;
  font-weight: 400;
  color: rgba(42, 74, 82, 0.45);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.schedule__label.visible {
  opacity: 1;
  transform: translateY(0);
}

.schedule__title {
  font-family: var(--font-bleeker);
  font-size: 52px;
  font-weight: 400;
  color: var(--clr-teal-dark);
  line-height: 1.1;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.schedule__title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Week Navigation */
.schedule__week-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.schedule__week-nav.visible {
  opacity: 1;
  transform: translateY(0);
}

.schedule__arrow {
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}

.schedule__arrow:hover {
  background: rgba(46, 125, 138, 0.1);
  transform: scale(1.1);
}

.schedule__arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.schedule__week-range {
  font-family: var(--font-daysone);
  font-size: 24px;
  font-weight: 400;
  color: var(--clr-white);
  background: linear-gradient(135deg, #9b4d8c 0%, #d65db1 100%);
  padding: 16px 48px;
  border-radius: 50px;
  min-width: 280px;
  text-align: center;
}

/* Days Tabs */
.schedule__days {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-smooth) 0.1s, transform 0.6s var(--ease-smooth) 0.1s;
  /* Hide native scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.schedule__days::-webkit-scrollbar {
  display: none;
}

.schedule__days.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Scrollbar Container */
.schedule__days-wrapper {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 16px;
}

/* Custom Scrollbar */
.schedule__scrollbar {
  position: relative;
  height: 6px;
  background: rgba(46, 125, 138, 0.1);
  border-radius: 3px;
  margin-top: 12px;
  cursor: pointer;
}

.schedule__scrollbar-thumb {
  position: absolute;
  height: 100%;
  background: var(--clr-teal);
  border-radius: 3px;
  cursor: grab;
  transition: background 0.2s, transform 0.2s;
  min-width: 60px;
}

.schedule__scrollbar-thumb:hover {
  background: var(--clr-teal-dark);
  transform: scaleY(1.2);
}

.schedule__scrollbar-thumb:active {
  cursor: grabbing;
}

.schedule__day {
  font-family: var(--font-daysone);
  font-size: 24px;
  font-weight: 400;
  padding: 14px 28px;
  border: 2px solid var(--clr-teal);
  border-radius: 50px;
  background: transparent;
  color: var(--clr-teal);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.schedule__day:hover {
  background: rgba(46, 125, 138, 0.1);
}

.schedule__day.active {
  background: var(--clr-teal);
  color: var(--clr-white);
}

/* Day count badge */
.schedule__day-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  background: linear-gradient(135deg, #9b4d8c 0%, #d65db1 100%);
  color: var(--clr-white);
  font-family: var(--font-nunito);
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  margin-left: 4px;
}

.schedule__day.active .schedule__day-count {
  background: var(--clr-white);
  color: var(--clr-teal);
}

/* Schedule Cards */
.schedule__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.schedule-card {
  background: var(--clr-white);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
  border-top: 6px solid var(--clr-teal);
}

.schedule-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.schedule-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}

/* Different colors for different days */
.schedule-card--mon { border-top-color: var(--clr-teal); }
.schedule-card--tue { border-top-color: #9b4d8c; }
.schedule-card--wed { border-top-color: #d4a017; }
.schedule-card--thu { border-top-color: #4a9eac; }
.schedule-card--fri { border-top-color: #e67e22; }
.schedule-card--sat { border-top-color: #27ae60; }
.schedule-card--sun { border-top-color: #e74c3c; }

.schedule-card__date {
  font-family: var(--font-daysone);
  font-size: 18.4px;
  font-weight: 400;
  color: var(--clr-teal);
  margin-bottom: 8px;
}

.schedule-card__date--tue { color: #9b4d8c; }
.schedule-card__date--wed { color: #d4a017; }

.schedule-card__time {
  font-family: var(--font-nunito);
  font-size: 41.6px;
  font-weight: 400;
  color: var(--clr-teal-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.schedule-card__title {
  font-family: var(--font-daysone);
  font-size: 18.4px;
  font-weight: 400;
  color: var(--clr-teal-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.schedule-card__desc {
  font-family: var(--font-nunito);
  font-size: 14.1px;
  font-weight: 400;
  color: var(--clr-teal);
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 63px;
}

.schedule-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.schedule-card__tag {
  font-family: var(--font-nunito);
  font-size: 14.1px;
  font-weight: 400;
  color: var(--clr-text);
}

.schedule-card__link {
  font-family: var(--font-nunito);
  font-size: 14.1px;
  font-weight: 600;
  color: rgba(128, 15, 15, 1);
  text-decoration: underline;
  transition: color 0.2s;
}

.schedule-card__link:hover {
  color: #5b21b6;
}

/* Empty State */
.schedule__empty {
  text-align: center;
  padding: 60px 40px;
  background: var(--clr-card-blue);
  border-radius: 24px;
  font-family: var(--font-daysone);
  font-size: 18px;
  color: var(--clr-teal-dark);
}

/* Stagger animation */
.schedule-card:nth-child(1) { transition-delay: 0.05s; }
.schedule-card:nth-child(2) { transition-delay: 0.1s; }
.schedule-card:nth-child(3) { transition-delay: 0.15s; }

/* ============================================================
    CLASSES / ЗАНЯТИЯ SECTION
    ============================================================ */
.classes {
  padding: 80px 0 120px;
  position: relative;
}

.classes__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Heading */
.classes__heading {
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.classes__heading.visible {
  opacity: 1;
  transform: translateY(0);
}

.classes__label {
  font-family: var(--font-bleeker);
  font-size: 24px;
  font-weight: 400;
  color: rgba(42, 74, 82, 0.45);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.classes__title {
  font-family: var(--font-bleeker);
  font-size: 52px;
  font-weight: 400;
  color: var(--clr-text);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Category Filter Bar */
.classes__filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px 24px;
  background: var(--clr-bg);
  border: 2px solid var(--clr-teal);
  border-radius: 50px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.classes__filter-bar.visible {
  opacity: 1;
  transform: translateY(0);
}

.classes__filter-btn {
  font-family: var(--font-cartoon);
  font-size: 16px;
  font-weight: 400;
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--clr-text);
  transition: all 0.3s var(--ease-bounce);
  white-space: nowrap;
}

.classes__filter-btn:hover {
  transform: translateY(-2px);
}

.classes__filter-btn--prog { background: var(--clr-teal-dark); color: var(--clr-white); }
.classes__filter-btn--creative { background: var(--clr-card-yellow); }
.classes__filter-btn--mini { background: #f5c4e0; }
.classes__filter-btn--other { background: #c4d4a0; }

.classes__filter-btn.active {
  box-shadow: 0 0 0 5px var(--clr-teal-dark);
}

/* Selected Category Name */
.classes__category-name {
  font-family: var(--font-daysone);
  font-size: 42px;
  font-weight: 400;
  color: var(--clr-white);
  text-align: center;
  padding: 18px 40px;
  background: var(--clr-teal-dark);
  border-radius: 50px;
  margin-bottom: 40px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth), background 0.3s;
}

.classes__category-name--yellow {
  background: var(--clr-card-yellow);
  color: var(--clr-teal-dark);
}

.classes__category-name--peach {
  background: #ffd4b8;
  color: var(--clr-teal-dark);
}

.classes__category-name--pink {
  background: #f5c4e0;
  color: var(--clr-teal-dark);
}

.classes__category-name--green {
  background: #d4e4c4;
  color: var(--clr-teal-dark);
}

.classes__category-name--olive {
  background: #c4d4a0;
  color: var(--clr-teal-dark);
}

.classes__category-name--coral {
  background: #ff6b6b;
  color: var(--clr-white);
}

.classes__category-name--pink {
  background: #f5c4e0;
  color: var(--clr-teal-dark);
}

/* Course Cards Grid */
.classes__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Section Title */
.classes__section-title {
  font-family: var(--font-daysone);
  font-size: 42px;
  font-weight: 400;
  text-align: center;
  padding: 18px 40px;
  border-radius: 50px;
  margin-bottom: 20px;
  transition: background 0.3s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  
color: white;
background: var(--clr-text);
}

.classes__section-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Section Description */
.classes__section-description {
  font-family: var(--font-daysone);
  font-size: 20px;
  font-weight: 400;
  color: var(--clr-teal);
  line-height: 1.5;
  margin: 0 auto 28px;
  max-width: 900px;
  text-align: left;
}

.classes__section-title--yellow {
  background: var(--clr-card-yellow);
  color: var(--clr-teal-dark);
}

.classes__section-title--peach {
  background: #ffd4b8;
  color: var(--clr-teal-dark);
}

.classes__section-title--pink {
  background: #f5c4e0;
  color: var(--clr-teal-dark);
}

.classes__section-title--green {
  background: #d4e4c4;
  color: var(--clr-teal-dark);
}

.classes__section-title--olive {
  background: #c4d4a0;
  color: var(--clr-teal-dark);
}

.classes__section-title--coral {
  background: #ff6b6b;
  color: var(--clr-white);
}

.classes__section-title--pink {
  background: #f5c4e0;
  color: var(--clr-teal-dark);
}

/* Section Grid */
.classes__section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 20px;
  align-items: start;
}

/* Course Card */
.course-card {
  background: var(--clr-white);
  border-radius: 24px;
  padding: 24px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s var(--ease-smooth);
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  flex-direction: column;
  height: auto;
}

.course-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for cards */
.classes__section-grid .course-card:nth-child(1) { transition-delay: 0.05s; }
.classes__section-grid .course-card:nth-child(2) { transition-delay: 0.1s; }
.classes__section-grid .course-card:nth-child(3) { transition-delay: 0.15s; }
.classes__section-grid .course-card:nth-child(4) { transition-delay: 0.2s; }
.classes__section-grid .course-card:nth-child(5) { transition-delay: 0.25s; }

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}

/* AI Icon for special card */
.course-card__icon {
  position: absolute;
  top: -16px;
  left: 20px;
  width: 48px;
  height: 48px;
  z-index: 2;
}

.course-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Card Content */
.course-card__title {
  font-family: var(--font-daysone);
  font-size: 22px;
  text-align: center;
  font-weight: 400;
  color: var(--clr-teal-dark);
  margin-bottom: 14px;
  line-height: 1.25;
  min-height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.course-card__meta {
  font-family: var(--font-daysone);
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-text);
  background: var(--clr-card-blue);
  padding: 10px 16px;
  border-radius: 30px;
  text-align: center;
  margin-bottom: 14px;
}

.course-card__description {
  font-family: var(--font-daysone);
  font-size: 17px;
  font-weight: 400;
  color: var(--clr-teal);
  line-height: 1.4;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Card Footer */
.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.course-card__link {
  font-family: var(--font-daysone);
  font-size: 16px;
  color: #7c3aed;
  text-decoration: none;
  transition: color 0.2s;
}

.course-card__link:hover {
  color: #5b21b6;
}

.course-card__link--yellow { color: #d4a017; }
.course-card__link--yellow:hover { color: #b8860b; }
.course-card__link--peach { color: #e67e22; }
.course-card__link--peach:hover { color: #d35400; }
.course-card__link--pink { color: #e91e63; }
.course-card__link--pink:hover { color: #c2185b; }
.course-card__link--green { color: #4caf50; }
.course-card__link--green:hover { color: #388e3c; }

.course-card__link--olive { color: #7a8f3a; }
.course-card__link--olive:hover { color: #5c6f26; }

.course-card__link--coral { color: #ff6b6b; }
.course-card__link--coral:hover { color: #e74c3c; }

.course-card__link--pink { color: #e91e63; }
.course-card__link--pink:hover { color: #c2185b; }

.course-card__badge {
  font-family: var(--font-nunito);
  font-weight: 800;
  font-size: 18px;
  color: var(--clr-white);
  background: var(--clr-teal-dark);
  padding: 10px 18px;
  border-radius: 30px;
  white-space: nowrap;
}

.course-card__badge--yellow {
  background: var(--clr-card-yellow);
  color: var(--clr-teal-dark);
}

.course-card__badge--peach {
  background: #ffd4b8;
  color: var(--clr-teal-dark);
}

.course-card__badge--pink {
  background: #f5c4e0;
  color: var(--clr-teal-dark);
}

.course-card__badge--green {
  background: #d4e4c4;
  color: var(--clr-teal-dark);
}

.course-card__badge--olive {
  background: #c4d4a0;
  color: var(--clr-teal-dark);
}

.course-card__badge--coral {
  background: #ff6b6b;
  color: var(--clr-white);
}

.course-card__badge--pink {
  background: #f5c4e0;
  color: var(--clr-teal-dark);
}

/* ============================================================
    RESPONSIVE — SMALL MOBILE (≤ 400px)
    ============================================================ */
@media (max-width: 900px) {
  .hero__word--razvivashki { top: 10%; left: 6%; font-size: clamp(22px, 4vw, 36px); }
  .hero__word--it          { top: 16%; left: 50%; font-size: clamp(26px, 4.5vw, 42px); }
  .hero__word--tvorchestvo { top: 10%; right: 4%; font-size: clamp(24px, 4vw, 38px); }
  .hero__word--tagline     { right: 4%; bottom: 16%; font-size: clamp(20px, 3.5vw, 32px); }
  .hero__word--vstrechi    { left: 6%; bottom: 18%; font-size: clamp(20px, 3.5vw, 32px); }
  .hero__word--oge         { left: 4%; bottom: 8%; font-size: clamp(24px, 4vw, 38px); }
  .hero__word--master      { left: 40%; bottom: 8%; font-size: clamp(22px, 3.8vw, 34px); }

  .hero__logo-line1,
  .hero__logo-line2 { font-size: clamp(48px, 10vw, 72px); }
  .hero__logo-img   { width: 324px; }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Card 1 still full width */
  .why__card--wide { grid-column: 1 / -1; }
  .why__card--wide70 { grid-column: 1 / -1; }
  .why__card:nth-child(6) { grid-column: auto; }

  .why__title { font-size: 42px; }
  .why__label { font-size: 22px; }

  /* Story section tablet */
  .story__grid { gap: 40px; }
  .story__title { font-size: 38px; }
  .story__quote-box { padding: 28px; min-height: auto; }
  .story__quote { font-size: 16px; }
  .story__card { padding: 28px 32px; min-height: 120px; }
  .story__card-num { font-size: 48px; }
  .story__card-text { font-size: 16px; margin-top: 48px; }

  /* Schedule section tablet */
  .schedule__label { font-size: 20px; }
  .schedule__title { font-size: 40px; }
  .schedule__week-range { font-size: 20px; padding: 14px 36px; }
  .schedule__day { font-size: 20px; padding: 12px 20px; }
  .schedule__scrollbar { height: 5px; }
  .schedule__cards { grid-template-columns: repeat(2, 1fr); }
  .schedule-card__time { font-size: 32px; }

  /* Classes section tablet */
  .classes__title { font-size: 40px; }
  .classes__label { font-size: 20px; }
  .classes__category-name { font-size: 32px; padding: 16px 32px; }
  .classes__section-title { font-size: 32px; padding: 16px 32px; }
  .classes__section-icon { width: 40px; height: 40px; }
  .classes__section-description { font-size: 18px; }
  .classes__filter-bar { padding: 14px 20px; }
  .classes__filter-btn { font-size: 16px; padding: 8px 16px; }
  .classes__section-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .course-card__title { font-size: 22px; min-height: 55px; }
  .course-card__description { font-size: 15px; min-height: 65px; }
  .course-card__link { font-size: 17px; }
  .course-card__badge { font-size: 16px; }
}

/* ============================================================
    RESPONSIVE — MOBILE NAV (≤ 768px)
    ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 56px; }

  .burger { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(250, 248, 241, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid rgba(46,125,138,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease-smooth),
                opacity   0.25s var(--ease-smooth);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav__link {
    display: block;
    width: 100%;
    padding: 10px 8px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .btn--cta {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    padding: 11px 20px;
    font-size: 0.95rem;
  }

  /* ===== HERO MOBILE ===== */
  .hero {
    min-height: 100svh;
    padding: calc(var(--header-h) + 20px) 16px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .hero::before { background-size: 28px 28px; }

  .hero__shape { display: none; }

  /* Mobile: words become static flow elements */
  .hero__word {
    position: static;
    display: inline-block;
    opacity: 0;
    transform: none;
    text-align: center;
    font-size: clamp(1rem, 4.5vw, 1.3rem);
    animation: fadeSlideIn 0.5s var(--ease-bounce) forwards;
  }

  .hero__word--tagline {
    text-align: center;
    font-size: clamp(1.1rem, 5vw, 1.4rem);
  }

  .hero__word--it  { font-size: clamp(1.15rem, 5vw, 1.5rem); }
  .hero__word--oge { font-size: clamp(1.15rem, 5vw, 1.5rem); }

  /* Mobile word containers */
  .hero__mobile-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
    margin-bottom: 16px;
  }

  .hero__mobile-top .hero__word {
    animation-delay: calc(0.3s + var(--i, 0) * 0.08s);
  }

  .hero__logo-block {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
  }

  .hero__logo-img {
    width: 324px;
  }

  .hero__logo-line1,
  .hero__logo-line2 {
    font-size: clamp(2.4rem, 10vw, 4rem);
    text-align: center;
  }

  .hero__mobile-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
    margin-top: 4px;
  }

  .hero__mobile-bottom .hero__word {
    animation-delay: calc(0.6s + var(--i, 0) * 0.08s);
  }

  /* ===== WHY SECTION MOBILE ===== */
  .why {
    padding: 56px 0 72px;
  }

  .why__inner {
    padding: 0 16px;
  }

  .why__title { font-size: 32px; }
  .why__label { font-size: 18px; }
  .why__heading { margin-bottom: 28px; }

  .why__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .why__card--wide { grid-column: 1; }
  .why__card--wide70 { grid-column: 1; }
  .why__card:nth-child(6) { grid-column: 1; }

  .why__card {
    padding: 24px 24px 28px;
    border-radius: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .why__card-body {
    max-width: 100%;
  }

  .why__card-headline {
    font-size: 16px;
  }

  .why__card-body p {
    font-size: 15px;
    line-height: 1.55;
  }

  .why__card-num {
    font-size: 64px;
    align-self: flex-end;
    margin-top: -16px;
  }

  /* Story section mobile */
  .story { padding: 48px 0 64px; }
  .story__inner { padding: 0 16px; }
  .story__grid { grid-template-columns: 1fr; gap: 32px; }
  .story__title { font-size: 28px; }
  .story__quote-box { padding: 24px; border-width: 2px; min-height: auto; }
  .story__quote { font-size: 15px; }
  .story__card { padding: 24px 28px; min-height: 100px; }
  .story__card-num { font-size: 40px; top: 16px; left: 24px; }
  .story__card-text { font-size: 15px; margin-top: 44px; }

  /* Schedule section mobile */
  .schedule { padding: 48px 0 64px; }
  .schedule__inner { padding: 0 16px; }
  .schedule__label { font-size: 16px; }
  .schedule__title { font-size: 28px; margin-bottom: 24px; }
  .schedule__week-nav { gap: 12px; }
  .schedule__arrow { width: 40px; height: 40px; }
  .schedule__week-range { font-size: 18px; padding: 12px 28px; min-width: 220px; }
  .schedule__days-wrapper { margin-bottom: 28px; }
  .schedule__days { gap: 8px; }
  .schedule__day { font-size: 16px; padding: 10px 16px; border-width: 1.5px; }
  .schedule__scrollbar { height: 4px; margin-top: 8px; }
  .schedule__cards { grid-template-columns: 1fr; }
  .schedule-card { padding: 24px; }
  .schedule-card__time { font-size: 28px; }

  /* Classes section mobile */
  .classes { padding: 48px 0 64px; }
  .classes__inner { padding: 0 16px; }
  .classes__title { font-size: 28px; }
  .classes__label { font-size: 16px; }
  .classes__filter-bar {
    padding: 12px 16px;
    gap: 16px;
    border-radius: 25px;
  }
  .classes__filter-btn {
    font-size: 14px;
    padding: 8px 14px;
  }
  .classes__category-name {
    font-size: 24px;
    padding: 14px 24px;
    border-radius: 30px;
    margin-bottom: 32px;
  }
  .classes__section-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .classes__section-title { font-size: 24px; padding: 14px 24px; }
  .classes__section-icon { width: 32px; height: 32px; }
  .classes__section-description { font-size: 16px; margin-bottom: 20px; }
  .course-card { padding: 20px; }
  .course-card__title { font-size: 20px; min-height: auto; }
  .course-card__meta { font-size: 14px; padding: 8px 14px; }
  .course-card__description { font-size: 15px; margin-bottom: 16px; min-height: auto; }
  .course-card__link { font-size: 16px; }
  .course-card__badge { font-size: 15px; padding: 8px 14px; }
  .course-card__icon {
    width: 40px;
    height: 40px;
    top: -14px;
  }
}

/* ============================================================
    RESPONSIVE — SMALL MOBILE (≤ 400px)
    ============================================================ */
@media (max-width: 400px) {
  .header__brand-title { font-size: 17px; }
  .header__brand-sub   { font-size: 9px; }
  .hero__logo-line1,
  .hero__logo-line2   { font-size: 2.2rem; }
  .hero__logo-img     {         width: 70%; }
  .why__title { font-size: 26px; }
  .why__label { font-size: 16px; }
  .why__card { padding: 20px 18px 24px; }
  .why__card-num { font-size: 52px; }

  /* Story section small mobile */
  .story__title { font-size: 24px; }
  .story__quote-box { padding: 20px; }
  .story__quote { font-size: 14px; }
  .story__card { padding: 20px 24px; }
  .story__card-num { font-size: 36px; }
  .story__card-text { font-size: 14px; margin-top: 40px; }

  /* Schedule section small mobile */
  .schedule__label { font-size: 14px; }
  .schedule__title { font-size: 24px; }
  .schedule__week-range { font-size: 16px; padding: 10px 20px; min-width: 180px; }
  .schedule__day { font-size: 14px; padding: 8px 12px; }
  .schedule-card__time { font-size: 24px; }

  /* Classes section small mobile */
  .classes__title { font-size: 24px; }
  .classes__label { font-size: 14px; }
  .classes__category-name { font-size: 20px; padding: 12px 16px; }
  .classes__section-title { font-size: 18px; padding: 12px 16px; }
  .classes__section-icon { width: 28px; height: 28px; }
  .classes__section-description { font-size: 15px; }
  .classes__filter-btn { font-size: 13px; padding: 6px 12px; }
  .course-card__title { font-size: 18px; }
  .course-card__link { font-size: 15px; }
  .course-card__badge { font-size: 14px; }
  .course-card__footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
    CONTACT / ЗАПИСЬ SECTION
    ============================================================ */
.contact {
  padding: 100px 0 120px;
  position: relative;
}

.contact__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left Column */
.contact__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact__title {
  font-family: var(--font-bleeker);
  font-size: 46px;
  font-weight: 400;
  color: #4a7a82;
  line-height: 1.15;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.contact__title.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact__subtitle {
  font-family: var(--font-daysone);
  font-size: 16px;
  font-weight: 400;
  color: #c44444;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.contact__subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA Button */
.contact__cta-btn {
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 24px;
  font-family: var(--font-daysone);
  font-size: 18.07px;
  font-weight: 400;
  color: #4a7a82;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255,255,255,0.1);
  transition: all 0.3s var(--ease-bounce);
  opacity: 0;
  transform: translateY(20px);
  position: relative;
  overflow: hidden;
}

.contact__cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #9b4d8c;
  border-radius: 50px 50px 0 0;
}

.contact__cta-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact__cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255,255,255,0.2);
}

.contact__cta-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact__cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    inset 0 4px 0 0 #9b4d8c,
    0 8px 30px rgba(255,255,255,0.2);
}

/* Social Section */
.contact__social-title {
  font-family: var(--font-bleeker);
  font-size: 48px;
  font-weight: 400;
  color: #4a7a82;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.contact__social-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact__social-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.3s var(--ease-bounce);
  opacity: 0;
  transform: translateY(20px);
  position: relative;
  overflow: hidden;
}

.contact__social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #9b4d8c;
  border-radius: 24px 24px 0 0;
}

.contact__social-link.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact__social-link:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}

.contact__social-text {
  font-family: var(--font-daysone);
  font-size: 23.07px;
  font-weight: 400;
  color: #4a7a82;
}

.contact__social-arrow {
  color: #4a7a82;
  transition: transform 0.3s var(--ease-bounce);
  width: 32px;
  height: 32px;
}

.contact__social-link:hover .contact__social-arrow {
  transform: translate(4px, -4px);
}

.contact__social-link.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact__social-link:hover {
  transform: translateX(8px);
  box-shadow: 
    inset 0 4px 0 0 #9b4d8c,
    0 4px 20px rgba(255,255,255,0.15);
}

.contact__social-text {
  font-family: var(--font-daysone);
  font-size: 18.07px;
  font-weight: 400;
  color: #4a7a82;
}

.contact__social-arrow {
  color: #4a7a82;
  transition: transform 0.3s var(--ease-bounce);
}

.contact__social-link:hover .contact__social-arrow {
  transform: translate(4px, -4px);
}

/* Right Column - Form */
.contact__right {
  position: sticky;
  top: 100px;
}

.contact__form {
  background: #e8f4f8;
  border-radius: 32px;
  padding: 40px 48px;
  border: 3px solid #4a7a82;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.contact__form.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact__form-title {
  font-family: var(--font-daysone);
  font-size: 36px;
  font-weight: 400;
  color: #4a7a82;
  text-align: center;
  margin-bottom: 32px;
}

/* Form Groups */
.contact__form-group {
  margin-bottom: 20px;
}

.contact__form-label {
  display: block;
  font-family: var(--font-daysone);
  font-size: 16px;
  font-weight: 400;
  color: #2a4a50;
  margin-bottom: 8px;
}

.contact__form-input,
.contact__form-textarea {
  width: 100%;
  padding: 16px 20px;
  background: #4a7a82;
  border: none;
  border-radius: 16px;
  font-family: var(--font-daysone);
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  transition: all 0.3s var(--ease-smooth);
}

.contact__form-input::placeholder,
.contact__form-textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

.contact__form-input:focus,
.contact__form-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 122, 130, 0.3);
}

.contact__form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Form Footer */
.contact__form-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Custom Checkbox */
.contact__checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  flex: 1;
}

.contact__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.contact__checkbox-custom {
  width: 24px;
  height: 24px;
  background: #4a7a82;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s var(--ease-smooth);
}

.contact__checkbox-custom::after {
  content: '';
  width: 12px;
  height: 8px;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
  transition: opacity 0.2s;
}

.contact__checkbox:checked + .contact__checkbox-custom::after {
  opacity: 1;
}

.contact__checkbox-text {
  font-family: var(--font-daysone);
  font-size: 14px;
  font-weight: 400;
  color: #2a4a50;
  line-height: 1.4;
}

/* Submit Button */
.contact__submit-btn {
  padding: 14px 28px;
  background: transparent;
  border: 3px solid #c44444;
  border-radius: 50px;
  font-family: var(--font-cartoon);
  font-size: 20px;
  font-weight: 400;
  color: #c44444;
  cursor: pointer;
  transition: all 0.3s var(--ease-bounce);
}

.contact__submit-btn:not(:disabled):hover {
  background: #c44444;
  color: #ffffff;
  transform: scale(1.05);
}

.contact__submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  padding: 20px 28px;
  border-radius: 16px;
  font-family: var(--font-nunito);
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.4s var(--ease-bounce);
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast--success {
  background: linear-gradient(135deg, #6aab5e 0%, #4a8a3e 100%);
  border-left: 4px solid #8bc34a;
}

.toast--error {
  background: linear-gradient(135deg, #c44444 0%, #a33333 100%);
  border-left: 4px solid #ff6b6b;
}

.toast--info {
  background: linear-gradient(135deg, #4a7a82 0%, #3a5a62 100%);
  border-left: 4px solid #5aadb8;
}

.toast__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Stagger animation delays */
.contact__social-link:nth-child(1) { transition-delay: 0.1s; }
.contact__social-link:nth-child(2) { transition-delay: 0.2s; }
.contact__social-link:nth-child(3) { transition-delay: 0.3s; }

/* Contact Section Responsive - Tablet */
@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact__title {
    font-size: 42px;
  }

  .contact__subtitle {
    font-size: 22px;
  }

  .contact__social-title {
    font-size: 36px;
  }

  .contact__right {
    position: static;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .contact__form {
    padding: 32px 36px;
  }

  .contact__form-title {
    font-size: 28px;
  }

  .toast {
    min-width: 280px;
    padding: 16px 20px;
  }
}

/* Contact Section Responsive - Mobile */
@media (max-width: 768px) {
  .contact {
    padding: 60px 0 80px;
  }

  .contact__inner {
    padding: 0 20px;
  }

  .contact__title {
    font-size: 32px;
  }

  .contact__subtitle {
    font-size: 18px;
  }

  .contact__cta-btn {
    padding: 16px 24px;
    font-size: 16px;
  }

  .contact__social-title {
    font-size: 28px;
    margin-top: 24px;
  }

  .contact__social-link {
    padding: 16px 20px;
  }

  .contact__social-text {
    font-size: 15px;
  }

  .contact__form {
    padding: 24px;
    border-radius: 24px;
  }

  .contact__form-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .contact__form-label {
    font-size: 14px;
  }

  .contact__form-input,
  .contact__form-textarea {
    padding: 14px 16px;
    font-size: 15px;
  }

  .contact__form-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .contact__submit-btn {
    width: 100%;
    font-size: 18px;
    padding: 16px 24px;
  }

  .contact__checkbox-text {
    font-size: 13px;
  }

  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .toast {
    min-width: auto;
    width: 100%;
  }
}

/* Contact Section Responsive - Small Mobile */
@media (max-width: 400px) {
  .contact__title {
    font-size: 26px;
  }

  .contact__subtitle {
    font-size: 16px;
  }

  .contact__social-title {
    font-size: 24px;
  }

  .contact__form-title {
    font-size: 20px;
  }

  .contact__submit-btn {
    font-size: 16px;
  }
}

/* ============================================================
    CUSTOM SCROLLBAR FOR MODALS
    ============================================================ */
.course-modal__content::-webkit-scrollbar,
.enroll-modal__content::-webkit-scrollbar {
  width: 8px;
}

.course-modal__content::-webkit-scrollbar-track,
.enroll-modal__content::-webkit-scrollbar-track {
  background: rgba(46, 125, 138, 0.1);
  border-radius: 4px;
}

.course-modal__content::-webkit-scrollbar-thumb,
.enroll-modal__content::-webkit-scrollbar-thumb {
  background: var(--clr-teal);
  border-radius: 4px;
}

.course-modal__content::-webkit-scrollbar-thumb:hover,
.enroll-modal__content::-webkit-scrollbar-thumb:hover {
  background: var(--clr-teal-dark);
}

/* ============================================================
    COURSE MODAL
    ============================================================ */
.course-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth), visibility 0.3s;
}

.course-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.course-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.course-modal__content {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  border: 3px solid #7a9a6a;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s var(--ease-bounce);
  scrollbar-width: thin;
  scrollbar-color: var(--clr-teal) rgba(46, 125, 138, 0.1);
}

.course-modal.active .course-modal__content {
  transform: scale(1) translateY(0);
}

.course-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a7a82;
  transition: color 0.2s, transform 0.2s;
}

.course-modal__close:hover {
  color: #2a4a50;
  transform: rotate(90deg);
}

.course-modal__title {
  font-family: var(--font-cartoon);
  font-weight: 400;
  color: #4a7a82;
  text-align: center;
  margin-bottom: 32px;
  padding: 16px 24px;
  border: 2px solid #7a9a6a;
  border-radius: 16px;
}

.course-modal__info {
  margin-bottom: 32px;
}

.course-modal__row {
  margin-bottom: 16px;
  line-height: 1.6;
}

.course-modal__label {
  font-family: var(--font-daysone);
  font-size: 18px;
  font-weight: 400;
  color: #9b4d8c;
}

.course-modal__value {
  font-family: var(--font-daysone);
  font-size: 18px;
  font-weight: 400;
  color: #4a7a82;
}

.course-modal__list {
  margin-bottom: 32px;
  padding-left: 24px;
}

.course-modal__list li {
  font-family: var(--font-daysone);
  font-size: 16px;
  font-weight: 400;
  color: #4a7a82;
  margin-bottom: 12px;
  line-height: 1.5;
  padding-left: 8px;
}

.course-modal__list li::marker {
  color: #4a7a82;
  font-weight: 700;
}
.course-modal__pricing {
  margin-bottom: 32px;
}

.course-modal__pricing-title {
  font-family: var(--font-daysone);
  font-size: 18px;
  color: #9b4d8c;
  margin-bottom: 16px;
}

.course-modal__pricing-values {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
}

.course-modal__discount {
  font-family: var(--font-nunito);
  font-size: 14px;
  font-weight: 700;
  color: #2a4a50;
  margin-bottom: 4px;
}

.course-modal__price-current {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.course-modal__price-value {
  font-family: var(--font-daysone);
  font-size: 52px;
  font-weight: 700;
  color: #2a4a50;
  line-height: 1;
}

.course-modal__price-currency {
  font-family: var(--font-daysone);
  font-size: 32px;
  color: #2a4a50;
}

.course-modal__price-old {
  font-family: var(--font-daysone);
  font-size: 20px;
  color: #c44444;
  text-decoration: line-through;
}

.course-modal__discount {
  font-family: var(--font-nunito);
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: #4a7a82;
  padding: 4px 8px;
  border-radius: 12px;
  margin-bottom: 4px;
}

.course-modal__price-current {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.course-modal__price-value {
  font-family: var(--font-daysone);
  font-size: 28px;
  font-weight: 700;
  color: #000;
}

.course-modal__price-currency {
  font-family: var(--font-daysone);
  font-size: 20px;
  font-weight: 400;
  color: #000;
}

.course-modal__price-old {
  font-family: var(--font-daysone);
  font-size: 16px;
  font-weight: 400;
  color: tomato;
  text-decoration: line-through;
}

.course-modal__cta {
  display: block;
  width: 100%;
  padding: 20px;
  background: transparent;
  border: 3px solid #9b4d8c;
  border-radius: 16px;
  font-family: var(--font-cartoon);
  font-size: 20px;
  font-weight: 400;
  color: #9b4d8c;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-bounce);
}

.course-modal__cta:hover {
  background: #9b4d8c;
  color: #ffffff;
  transform: scale(1.02);
}

/* ============================================================
    ENROLLMENT FORM MODAL
    ============================================================ */
.enroll-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth), visibility 0.3s;
}

.enroll-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.enroll-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.enroll-modal__content {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  border: 3px solid #4a7a82;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s var(--ease-bounce);
  scrollbar-width: thin;
  scrollbar-color: var(--clr-teal) rgba(46, 125, 138, 0.1);
}

.enroll-modal.active .enroll-modal__content {
  transform: scale(1) translateY(0);
}

.enroll-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a7a82;
  transition: color 0.2s, transform 0.2s;
}

.enroll-modal__close:hover {
  color: #2a4a50;
  transform: rotate(90deg);
}

.enroll-modal__title {
  font-family: var(--font-cartoon);
  font-size: 28px;
  font-weight: 400;
  color: #c44444;
  text-align: center;
  margin-bottom: 24px;
  padding: 16px 24px;
  border: 3px solid #c44444;
  border-radius: 16px;
}

.enroll-modal__course-info {
  margin-bottom: 32px;
}

.enroll-modal__course-row {
  margin-bottom: 12px;
}

.enroll-modal__course-label {
  font-family: var(--font-daysone);
  font-size: 18px;
  font-weight: 400;
  color: #9b4d8c;
}

.enroll-modal__course-value {
  font-family: var(--font-daysone);
  font-size: 18px;
  font-weight: 400;
  color: #4a7a82;
}

/* Form */
.enroll-modal__form-group {
  margin-bottom: 20px;
}

.enroll-modal__form-label {
  display: block;
  font-family: var(--font-daysone);
  font-size: 16px;
  font-weight: 400;
  color: #2a4a50;
  margin-bottom: 8px;
}

.enroll-modal__form-input,
.enroll-modal__form-textarea {
  width: 100%;
  padding: 16px 20px;
  background: #4a7a82;
  border: none;
  border-radius: 16px;
  font-family: var(--font-daysone);
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  transition: all 0.3s var(--ease-smooth);
}

.enroll-modal__form-input::placeholder,
.enroll-modal__form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.enroll-modal__form-input:focus,
.enroll-modal__form-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 122, 130, 0.3);
}

.enroll-modal__form-textarea {
  resize: vertical;
  min-height: 80px;
}

.enroll-modal__form-footer {
  margin-top: 24px;
}

.enroll-modal__checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 24px;
}

.enroll-modal__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.enroll-modal__checkbox-custom {
  width: 24px;
  height: 24px;
  background: #4a7a82;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s var(--ease-smooth);
}

.enroll-modal__checkbox-custom::after {
  content: '';
  width: 12px;
  height: 8px;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
  transition: opacity 0.2s;
}

.enroll-modal__checkbox:checked + .enroll-modal__checkbox-custom::after {
  opacity: 1;
}

.enroll-modal__checkbox-text {
  font-family: var(--font-daysone);
  font-size: 14px;
  font-weight: 400;
  color: #2a4a50;
  line-height: 1.4;
}

.enroll-modal__submit-btn {
  display: block;
  width: 100%;
  padding: 20px;
  background: transparent;
  border: 3px solid #c44444;
  border-radius: 16px;
  font-family: var(--font-cartoon);
  font-size: 20px;
  font-weight: 400;
  color: #c44444;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-bounce);
}

.enroll-modal__submit-btn:not(:disabled):hover {
  background: #c44444;
  color: #ffffff;
  transform: scale(1.02);
}

.enroll-modal__submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  .course-modal,
  .enroll-modal {
    padding: 16px;
  }

  .course-modal__content,
  .enroll-modal__content {
    padding: 24px;
    max-height: 85vh;
  }

  .course-modal__title,
  .enroll-modal__title {
    font-size: 22px;
    padding: 12px 16px;
    margin-bottom: 20px;
  }

  .course-modal__label,
  .course-modal__value,
  .enroll-modal__course-label,
  .enroll-modal__course-value {
    font-size: 15px;
  }

  .course-modal__list li {
    font-size: 14px;
  }

  .course-modal__cta,
  .enroll-modal__submit-btn {
    font-size: 18px;
    padding: 16px;
  }

  .enroll-modal__form-input,
  .enroll-modal__form-textarea {
    padding: 14px 16px;
    font-size: 15px;
  }
}

/* ============================================================
    FOOTER
    ============================================================ */
.footer {
  background: #2a4a50;
  padding: 80px 0 40px;
}

.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer__col--about {
  display: flex;
  align-items: center;
}

.footer__heading {
  font-family: var(--font-baloo);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer__text {
  font-family: var(--font-nunito);
  font-size: 14.1px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  max-width: 320px;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__link {
  font-family: var(--font-nunito);
  font-size: 14.1px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.25s var(--ease-smooth);
}

.footer__link:hover {
  color: #ffffff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__copyright,
.footer__privacy {
  font-family: var(--font-nunito);
  font-size: 13.1px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.footer__privacy {
  text-decoration: none;
  transition: color 0.25s var(--ease-smooth);
}

.footer__privacy:hover {
  color: #ffffff;
}

/* Footer Responsive */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__col--about {
    grid-column: 1 / -1;
  }

  .footer__text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 32px;
  }

  .footer__inner {
    padding: 0 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer__heading {
    margin-bottom: 16px;
  }

  .footer__links {
    gap: 12px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding-top: 32px;
  }
}

/* ============================================================
   MOBILE CONTACT SECTION REORDER
   Add this block to the end of style.css
   (or paste into the existing @media (max-width: 768px) block)
   ============================================================ */

@media (max-width: 768px) {

  /* Switch contact grid to single flex column so we can control order */
  .contact__grid {
    display: flex;
    flex-direction: column;
  }

  /* ── Left column: split into logical order groups ── */

  /* 1. Title + subtitle stay at the top — no change needed,
        they are the first children of .contact__left          */
  .contact__left {
    display: contents; /* dissolve the column; children become
                          direct flex children of .contact__grid */
  }

  /* 2. Title block  → order 1 */
  .contact__title   { order: 1; }

  /* 3. Subtitle     → order 2 */
  .contact__subtitle { order: 2; }

  /* 4. CTA button   → order 3 */
  .contact__cta-btn  { order: 3; }

  /* 5. Form (right column) → order 4 */
  .contact__right    { order: 4; }

  /* 6. Social heading → order 5 */
  .contact__social-title { order: 5; }

  /* 7. Social links  → order 6 */
  .contact__social-links { order: 6; }

  /* 8. Map           → order 7 */
  .contact__map      { order: 7; }

  /* Restore spacing between dissolved children */
  .contact__title,
  .contact__subtitle,
  .contact__cta-btn,
  .contact__right,
  .contact__social-title,
  .contact__social-links,
  .contact__map {
    margin-bottom: 24px;
    width: 100%;
  }

  .contact__map {
    margin-bottom: 0;
    width: 100%;
  }

  /* Fix right column that was position:sticky — flatten it on mobile */
  .contact__right {
    position: static;
    width: 100%;
    max-width: 100%;
  }
}

/* ============================================================
   MOBILE BURGER MENU — SIDE SLIDE
   Добавь этот блок в конец style.css
   ============================================================ */

@media (max-width: 768px) {

  /* ── Burger button ── */
  .burger {
    display: flex;
    z-index: 201;
    position: relative;
    width: 40px;
    height: 40px;
    gap: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6px;
    border-radius: 10px;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
  }

  .burger:hover { background: rgba(46, 125, 138, 0.1); }

  .burger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--clr-teal);
    border-radius: 2px;
    transition:
      transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
      opacity   0.25s ease,
      width     0.3s ease;
    transform-origin: center;
    position: absolute;
  }

  /* Lines at their rest positions */
  .burger span:nth-child(1) { transform: translateY(-7px); }
  .burger span:nth-child(2) { transform: translateY(0); width: 16px; margin-left: -3px; }
  .burger span:nth-child(3) { transform: translateY(7px); }

  /* Open state → X */
  .burger.open span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
    width: 22px;
  }
  .burger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .burger.open span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
    width: 22px;
  }

  /* ── Overlay backdrop ── */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(42, 74, 82, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 92;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* ── Side drawer ── */
  .nav {
    /* reset the old dropdown styles */
    position: fixed;
    top: 55px;
    left: 0;           /* slide in from LEFT */
    bottom: 0;
    width: min(80vw, 300px);
    height: 100dvh;
    background: var(--clr-bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
   padding: 28px 28px 40px;

    border-right: 1px solid rgba(46, 125, 138, 0.12);
    z-index: 200;
    transform: translateX(-100%);
    opacity: 1;          /* opacity controlled by transform now */
    pointer-events: none;
    transition: transform 0.38s cubic-bezier(0.23, 1, 0.32, 1);

    overflow-y: auto;
  }

  .nav.open {
    transform: translateX(0);
    pointer-events: all;
    opacity: 1;
  }

  /* Nav list items slide in with stagger */
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }

  .nav__list li {
    width: 100%;
    opacity: 0;
    transform: translateX(-18px);
    transition:
      opacity  0.3s ease,
      transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  }

  /* When nav is open, stagger the items in */
  .nav.open .nav__list li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.08s; }
  .nav.open .nav__list li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.13s; }
  .nav.open .nav__list li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.18s; }
  .nav.open .nav__list li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.23s; }
  .nav.open .nav__list li:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.28s; }
  .nav.open .nav__list li:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.33s; }

  .nav__link {
    display: block;
    width: 100%;
    padding: 14px 12px;
    font-size: 22px;
    font-family: var(--font-bleeker);
    font-weight: 400;
    color: var(--clr-teal-dark);
    border-radius: 12px;
    letter-spacing: 0.01em;
    border-bottom: 1px solid rgba(46, 125, 138, 0.08);
  }

  .nav__link:hover {
    background: rgba(46, 125, 138, 0.07);
    color: var(--clr-teal);
  }

  .nav__link::after { display: none; } /* remove underline animation */

  /* CTA button inside drawer */
  .btn--cta {
    margin: 24px 0 0;
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: var(--radius-btn);

    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity  0.3s ease 0.35s,
      transform 0.3s cubic-bezier(0.23, 1, 0.32, 1) 0.35s,
      background 0.22s var(--ease-bounce),
      box-shadow 0.22s var(--ease-smooth),
      transform  0.22s var(--ease-bounce);
  }

  .nav.open .btn--cta {
    opacity: 1;
    transform: translateY(0);
  }

  /* Divider between links and CTA */
  .nav__list::after {
    content: '';
    display: block;
    height: 1px;
    background: rgba(46, 125, 138, 0.12);
    margin: 8px 0;
  }

} /* end @media 768px */