/* ============================================
   LA PETITE BALLERINE — Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&family=Dancing+Script:wght@600&display=swap');

:root {
  --deep:    #130A0E;
  --burg:    #6B2D4A;
  --rose:    #C9A0AA;
  --blush:   #F0D9E0;
  --ivory:   #FDF8F4;
  --gold:    #C8965A;
  --gold2:   #E8C88A;
  --text:    #2A1520;
  --light:   #F7F0F3;
  --shadow:  rgba(107,45,74,0.18);
}

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

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

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--ivory);
  overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--rose); border-radius: 3px; }

/* ============================================
   HEADER & NAV
   ============================================ */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s;
}

header.scrolled {
  background: rgba(19, 10, 14, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.logo-main {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
  color: var(--gold2);
  line-height: 1;
  letter-spacing: 0.02em;
}

.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

nav a:hover { color: var(--gold2); }
nav a:hover::after { transform: scaleX(1); }

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-left: 1rem;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 1rem;
}

.lang-btn {
  background: none;
  border: 1px solid transparent;
  color: rgba(255,255,255,0.55);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.25s;
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--gold2);
  border-color: var(--gold);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold2);
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */

#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/anna_2.jpg') center center / cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

#hero:hover .hero-bg {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(19,10,14,0.75) 0%,
    rgba(107,45,74,0.45) 50%,
    rgba(19,10,14,0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 2rem;
  max-width: 800px;
}

.hero-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-label::before,
.hero-label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 0.3rem;
}

.hero-title em {
  font-style: normal;
  color: var(--gold2);
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  margin: 1.5rem 0 2.5rem;
  letter-spacing: 0.05em;
}

.hero-btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: 1px solid var(--gold);
  color: var(--gold2);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  z-index: -1;
}

.hero-btn:hover { color: var(--deep); }
.hero-btn:hover::before { transform: scaleX(1); }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */

section { padding: 5rem 2rem; }

.container { max-width: 1100px; margin: 0 auto; }

.section-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-tag::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--burg);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-lead {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #5a3a45;
  max-width: 650px;
}

/* ============================================
   ABOUT
   ============================================ */

#about {
  background: var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  box-shadow: 20px 20px 60px var(--shadow);
}

.about-img-accent {
  position: absolute;
  width: 55%;
  bottom: -2rem;
  right: -2rem;
  aspect-ratio: 1;
  object-fit: cover;
  border: 6px solid var(--ivory);
  box-shadow: 10px 10px 40px var(--shadow);
}

.about-badge {
  position: absolute;
  top: 2rem;
  left: -2rem;
  background: var(--burg);
  color: #fff;
  padding: 1.2rem 1.5rem;
  text-align: center;
  box-shadow: 8px 8px 30px var(--shadow);
}

.about-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold2);
}

.about-badge-txt {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--light);
  padding: 1.4rem;
  border-left: 3px solid var(--rose);
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--burg);
  margin-bottom: 0.4rem;
}

.feature-text {
  font-size: 0.78rem;
  line-height: 1.7;
  color: #6a4455;
}

/* ============================================
   TEACHER
   ============================================ */

#teacher {
  background: var(--deep);
  color: #fff;
  padding-bottom: 7rem;
}

#teacher .section-title { color: var(--gold2); }
#teacher .section-lead { color: rgba(255,255,255,0.75); max-width: 100%; }

.teacher-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 5rem;
  align-items: start;
}

.teacher-photo-wrap {
  position: relative;
}

.teacher-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.teacher-photo-frame {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(200,150,90,0.3);
  pointer-events: none;
  z-index: 1;
}

.teacher-photo-frame::before {
  content: '';
  position: absolute;
  top: 12px; left: 12px;
  right: -12px; bottom: -12px;
  border: 1px solid rgba(200,150,90,0.15);
}

.teacher-photo-second {
  position: absolute;
  width: 58%;
  bottom: -3rem;
  right: -3rem;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
  border: 5px solid rgba(19,10,14,1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 2;
}

.teacher-info { padding-top: 1rem; }

.teacher-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: #fff;
  margin: 1rem 0 0.3rem;
}

.teacher-title-role {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.teacher-bio p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}

.teacher-contacts {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}

.contact-line .icon {
  width: 36px;
  height: 36px;
  background: rgba(200,150,90,0.15);
  border: 1px solid rgba(200,150,90,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-line a {
  color: var(--gold2);
  text-decoration: none;
}
.contact-line a:hover { text-decoration: underline; }

/* ============================================
   CLASSES
   ============================================ */

#classes {
  background: var(--light);
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.class-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(107,45,74,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 50px rgba(107,45,74,0.18);
}

.class-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
  transition: filter 0.4s, transform 0.5s;
}

.class-card:hover .class-card-img {
  filter: saturate(1.1);
  transform: scale(1.03);
}

.class-card-img-wrap { overflow: hidden; }

.class-card-body {
  padding: 1.5rem;
  border-top: 3px solid var(--rose);
  transition: border-color 0.3s;
}

.class-card:hover .class-card-body { border-color: var(--gold); }

.class-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  color: var(--rose);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.class-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--burg);
  margin-bottom: 0.8rem;
}

.class-card-text {
  font-size: 0.8rem;
  line-height: 1.75;
  color: #6a4455;
}

/* ============================================
   GALLERY
   ============================================ */

#gallery {
  background: var(--ivory);
  padding-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 8px;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:nth-child(5n+1) { grid-row: span 2; }
.gallery-item:nth-child(7n+2) { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(107,45,74,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(107,45,74,0.4);
}

.gallery-item-overlay svg {
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s;
  color: #fff;
}

.gallery-item:hover .gallery-item-overlay svg {
  opacity: 1;
  transform: scale(1);
}

.gallery-more {
  text-align: center;
  margin-top: 2.5rem;
}

.btn-outline {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border: 1px solid var(--burg);
  color: var(--burg);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  background: none;
}

.btn-outline:hover {
  background: var(--burg);
  color: #fff;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(19,10,14,0.96);
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lb-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 80px rgba(0,0,0,0.5);
}

.lb-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.lb-close:hover { background: var(--burg); border-color: var(--burg); }

.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-prev:hover, .lb-next:hover { background: var(--burg); border-color: var(--burg); }

/* ============================================
   SCHEDULE (РАСПИСАНИЕ)
   ============================================ */

#schedule {
  background: var(--deep);
  color: #fff;
}

#schedule .section-title { color: var(--gold2); }

.schedule-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.schedule-table th {
  background: rgba(200,150,90,0.15);
  border: 1px solid rgba(200,150,90,0.2);
  padding: 0.9rem 1.2rem;
  text-align: left;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold2);
}

.schedule-table td {
  border: 1px solid rgba(255,255,255,0.07);
  padding: 0.85rem 1.2rem;
  color: rgba(255,255,255,0.8);
  transition: background 0.25s;
}

.schedule-table tr:hover td { background: rgba(200,150,90,0.05); }

.schedule-table .day-col {
  color: var(--rose);
  font-weight: 500;
}

.schedule-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(201,160,170,0.15);
  border: 1px solid rgba(201,160,170,0.3);
  border-radius: 2px;
  font-size: 0.7rem;
  color: var(--rose);
}

/* ============================================
   CONTACT
   ============================================ */

#contact {
  background: var(--ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--burg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.contact-info-text strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burg);
  margin-bottom: 4px;
}

.contact-info-text a,
.contact-info-text span {
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  line-height: 1.6;
}

.contact-info-text a:hover { color: var(--burg); }

/* Contact Form */
.contact-form { margin-top: 0; }

.contact-form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--burg);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burg);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(107,45,74,0.25);
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--burg);
  box-shadow: 0 0 0 3px rgba(107,45,74,0.08);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.btn-primary {
  padding: 0.9rem 2.5rem;
  background: var(--burg);
  color: #fff;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--deep);
  transform: translateY(-2px);
}

.form-success {
  display: none;
  padding: 1rem 1.5rem;
  background: rgba(107,45,74,0.08);
  border-left: 3px solid var(--burg);
  font-size: 0.85rem;
  color: var(--burg);
  margin-top: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--deep);
  color: rgba(255,255,255,0.5);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Dancing Script', cursive;
  font-size: 1.4rem;
  color: var(--gold2);
}

.footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold2); }

/* ============================================
   DECORATIVE DIVIDER
   ============================================ */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 1.5rem 0;
  color: var(--rose);
  font-size: 1.2rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rose));
}

.divider::after {
  background: linear-gradient(to left, transparent, var(--rose));
}

/* ============================================
   ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   MOBILE NAV
   ============================================ */

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(19,10,14,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

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

.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-nav a:hover { color: var(--gold2); }

.mobile-nav .lang-switcher {
  border-left: none;
  padding-left: 0;
  margin-top: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 500px; margin: 0 auto; }
  .teacher-grid { grid-template-columns: 1fr; }
  .teacher-photo-wrap { max-width: 400px; }
  .teacher-photo-second { display: none; }
  .classes-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  nav { display: none; }
  .burger { display: flex; }
  .about-badge { left: 1rem; top: 1rem; }
  .about-img-accent { display: none; }
  .classes-grid { grid-template-columns: 1fr; max-width: 420px; margin: 3rem auto 0; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .gallery-item:nth-child(5n+1) { grid-row: span 1; }
  .gallery-item:nth-child(7n+2) { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .schedule-table { font-size: 0.78rem; }
  .schedule-table th, .schedule-table td { padding: 0.6rem 0.8rem; }
}

@media (max-width: 480px) {
  section { padding: 3.5rem 1.2rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-item:nth-child(n) { grid-row: span 1; grid-column: span 1; }
}
