/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0a0a0a;
  --black-light: #141414;
  --black-card: #1a1a1a;
  --gray-dark: #2a2a2a;
  --gray: #888;
  --gold: #c9a84c;
  --gold-light: #dfc06e;
  --gold-dark: #a8872e;
  --white: #f5f0eb;
  --white-muted: #b8b0a8;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --font-script: 'Great Vibes', cursive;
}

html {
  scroll-behavior: smooth;
  font-size: clamp(15px, 13.5px + 0.4vw, 19px);
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo {
  font-family: var(--font-script);
  font-size: 2.3rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1;
  justify-self: end;
  margin-right: clamp(28px, 3vw, 64px);
}

.brand__my {
  color: #ffffff;
}

.brand__debut {
  color: var(--gold);
}

.nav__list {
  display: flex;
  gap: 24px;
}

.nav__link {
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white-muted);
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--gold);
}

.nav__link:hover::after {
  width: 100%;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1410 50%, #0a0a0a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.03) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(-5%, -5%) scale(1); }
  100% { transform: translate(5%, 5%) scale(1.1); }
}

.hero__slides {
  position: absolute;
  left: 0;
  right: 0;
  top: 140px;
  bottom: 104px;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero__slides::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.32) 45%, rgba(10, 10, 10, 0.58) 100%);
}

.hero__slide {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: max(calc((100vw - 700px) / 2 - 10px), 20vw);
  opacity: 0;
  transform: scale(1);
  transition: opacity 3s ease-in-out, transform 8s linear;
}

.hero__slide.from-right {
  left: auto;
  right: 0;
}

.hero__slide.is-active {
  opacity: 0.4;
  transform: scale(1.1);
}

.hero__slide img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 90%;
  max-height: 86%;
  width: auto;
  height: auto;
  display: block;
}

.hero__slide--flip img {
  transform: scaleX(-1);
}

@media (min-width: 769px) {
  .hero__slide--large {
    width: max(calc((100vw - 700px) * 0.75 - 15px), 30vw);
  }

  .hero__slide--medium {
    width: max(calc((100vw - 700px) * 0.65 - 13px), 26vw);
  }

  .hero__slide--mid-lg {
    width: max(calc((100vw - 700px) * 0.715 - 14.3px), 28.6vw);
  }

  .hero__slide--small {
    width: max(calc((100vw - 700px) * 0.5417 - 10.8px), 21.67vw);
  }

  .hero__slide--xl {
    width: max(calc((100vw - 700px) * 0.8125 - 16.25px), 32.5vw);
  }

  .hero__slide--large.from-left img,
  .hero__slide--small.from-left img {
    left: 0;
    right: auto;
  }

  .hero__slide--mid-lg.from-left img {
    left: -2%;
    right: auto;
  }

  .hero__slide--large.from-right img,
  .hero__slide--xl.from-right img {
    left: auto;
    right: 0;
  }

  .hero__slide--xl.from-right img {
    right: -6%;
  }

  .hero__slide--nudge-left img {
    left: -2%;
  }
}

@media (min-width: 1440px) {
  .hero__slide {
    width: calc((100vw - 1440px) / 2 + 360px);
  }

  .hero__slide--large {
    width: calc((100vw - 1440px) * 0.75 + 540px);
  }

  .hero__slide--medium {
    width: calc((100vw - 1440px) * 0.65 + 468px);
  }

  .hero__slide--mid-lg {
    width: calc((100vw - 1440px) * 0.715 + 514.8px);
  }

  .hero__slide--small {
    width: calc((100vw - 1440px) * 0.5417 + 390px);
  }

  .hero__slide--xl {
    width: calc((100vw - 1440px) * 0.8125 + 585px);
  }
}

@media (max-width: 768px) {
  .hero__slide,
  .hero__slide.from-right {
    left: 0;
    right: auto;
    width: 100%;
    transition: opacity 0.9s ease-in-out, transform 8s linear;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slides {
    display: none;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 28px;
}

.hero__subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.3s;
}

.hero__title {
  font-family: var(--font-script);
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 32px;
  line-height: 1.1;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.6s;
}

.hero__welcome {
  font-size: 1.2rem;
  color: var(--white-muted);
  margin-bottom: 40px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.6s;
}

.hero__welcome strong {
  color: var(--gold);
  font-weight: 500;
}

.hero__benefits {
  max-width: 700px;
  margin: 0 auto 48px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.9s;
}

.hero__benefits-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  text-align: center;
  margin-bottom: 24px;
}

.hero__benefits-list {
  display: grid;
  gap: 14px;
}

.hero__benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--white-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.hero__check {
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.hero__director {
  max-width: 650px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--white-muted);
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.2s;
}

.hero__director strong {
  color: var(--gold-light);
  font-weight: 500;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.5s;
}

.hero__badge {
  background: var(--gold);
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 32px;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(201, 168, 76, 0); }
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero__arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollArrow 2s ease-in-out infinite;
}

@keyframes scrollArrow {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
}

.btn--primary {
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dark);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* ===== Section Common ===== */
.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  text-align: center;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.section__subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 64px;
  letter-spacing: 1px;
}

/* ===== Directions ===== */
.directions {
  background: #1d1d1d;
  padding: 30px 20px 60px;
}

.directions__eyebrow {
  text-align: center;
  color: #c39b5e;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
  margin: 0;
}

.directions__title {
  font-family: var(--font-heading);
  text-align: center;
  color: #fdfdfd;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw + 0.5rem, 2.6rem);
  letter-spacing: 3px;
  margin: 18px 0 0;
}

.directions__divider {
  width: 38px;
  height: 1px;
  background: #5a5a5a;
  margin: 28px auto 32px;
}

.directions__grid {
  max-width: 716px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.direction-card {
  border: 1px solid #3c3c3c;
  padding: 28px 18px;
  text-align: center;
  transition: all 0.4s ease;
}

.direction-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-4px);
}

.direction-card__icon {
  font-size: 34px;
  margin-bottom: 22px;
}

.direction-card__title {
  font-family: var(--font-heading);
  color: #fff;
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 1.5px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.direction-card__text {
  color: #8d8d8d;
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0;
}

/* ===== About ===== */
.about {
  background: var(--black-light);
}

.about__content {
  max-width: 860px;
  margin: 0 auto;
}

.about__paragraph {
  color: var(--white-muted);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 24px;
  text-align: justify;
}

.about__quote {
  margin-top: 48px;
  padding: 36px 40px;
  border-left: 3px solid var(--gold);
  background: rgba(201, 168, 76, 0.04);
  color: var(--white);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.8;
  letter-spacing: 0.5px;
}



/* ===== Schedule ===== */
.schedule {
  background: var(--black-light);
}

/* Main section title */
.schedule__main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw + 0.8rem, 2.4rem);
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
}

/* ===== Pricing Cards ===== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.pricing-card {
  background: var(--black-card);
  border: 1px solid var(--gray-dark);
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-4px);
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

.pricing-card__note {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--white-muted);
  margin-top: -8px;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
}

.pricing-card__btn {
  background: transparent;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 32px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-card__btn:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ===== Schedule List ===== */
.schedule-list {
  background: var(--black-card);
  border: 1px solid var(--gray-dark);
  padding: clamp(28px, 5vw, 48px) clamp(20px, 5vw, 56px);
  max-width: 900px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-dark);
}

.schedule-item--last {
  border-bottom: none;
}

.schedule-item__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.schedule-item__time {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gold);
}

/* ===== Teachers ===== */
.teachers {
  background: var(--black);
}

.teachers__eyebrow {
  font-size: 0.85rem;
  color: var(--gold);
  text-align: center;
  letter-spacing: 4px;
  margin-bottom: 8px;
}

.teachers__description {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--white-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.teachers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.teacher-card {
  text-align: center;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3.5vw, 40px);
  background: var(--black-card);
  border: 1px solid var(--gray-dark);
  transition: all 0.3s ease;
}

.teacher-card--featured {
  border-color: var(--gold-dark);
}

.teacher-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-4px);
}

.teacher-card__photo {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
}

.teacher-card__img {
  width: min(300px, 100%);
  height: auto;
  aspect-ratio: 15 / 19;
  object-fit: cover;
  border: 2px solid var(--gold-dark);
}

.teacher-card__avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--black);
  font-weight: 600;
}

.teacher-card__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 8px;
}

.teacher-card__role {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.teacher-card__bio {
  color: var(--white-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.teacher-card__bio p {
  margin-bottom: 16px;
}

/* Expandable section */
.teacher-card__expandable {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  opacity: 0;
}

.teacher-card__expandable.open {
  max-height: 1200px;
  opacity: 1;
  margin-top: 16px;
}

/* Toggle button */
.teacher-card__toggle {
  background: none;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 8px 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.teacher-card__toggle:hover {
  background: var(--gold);
  color: var(--black);
}

/* Achievements list */
.teacher-card__achievements {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  text-align: left;
}

.teacher-card__achievements li {
  color: var(--white-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.achievement__dot {
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.teacher-card__hobbies {
  margin-top: 24px !important;
  color: var(--white-muted) !important;
  font-style: italic;
  border-left: 2px solid var(--gold-dark);
  padding-left: 16px;
}

.teacher-card__quote {
  color: var(--white-muted);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.8;
  font-style: italic;
  border-left: 2px solid var(--gold-dark);
  padding: 16px 24px;
  margin: 0;
  background: rgba(201, 168, 76, 0.05);
}

/* ===== Gallery ===== */
.gallery {
  background: var(--black-light);
}

.gallery__albums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.album-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-dark);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.album-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.album-card__image {
  position: absolute;
  inset: 0;
  background: var(--black-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-card__placeholder {
  font-size: 4rem;
  opacity: 0.3;
  transition: all 0.4s ease;
}

.album-card__image--cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.album-card:hover .album-card__placeholder {
  opacity: 0.15;
  transform: scale(1.2);
}

.album-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 60%);
}

.album-card__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white);
  text-align: center;
  padding: 0 20px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.album-card:hover .album-card__title {
  color: var(--gold);
}

.album-card__count {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(201, 168, 76, 0.9);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 16px;
  letter-spacing: 1px;
}

/* ===== Gallery Photos Slider ===== */
.gallery__photos {
  margin-top: 80px;
  display: none;
}

.gallery__photos.active {
  display: block;
}

.gallery__photo-header {
  text-align: center;
  margin-bottom: 40px;
}

.gallery__back-btn {
  background: none;
  border: 1px solid var(--gray-dark);
  color: var(--white-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 8px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.gallery__back-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.gallery__photo-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.gallery__photo-counter {
  display: block;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.gallery__current {
  color: var(--gold);
}

/* Slider */
.gallery__slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.gallery__track-wrapper {
  overflow: hidden;
  flex: 1;
}

.gallery__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery__slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery__slide img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border: 1px solid var(--gray-dark);
  user-select: none;
  -webkit-user-drag: none;
}

/* Navigation arrows */
.gallery__nav {
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid var(--gray-dark);
  color: var(--white-muted);
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.gallery__nav:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

/* Dots */
.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.gallery__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery__dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

.gallery__dot:hover {
  background: var(--gold-dark);
}

/* ===== Documents ===== */
.documents {
  background: var(--black-light);
}

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

.doc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 28px;
  background: var(--black-card);
  border: 1px solid var(--gray-dark);
  transition: all 0.3s ease;
}

.doc-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-4px);
}

.doc-card__icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.doc-card__title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.doc-card__desc {
  color: var(--gray);
  font-size: 0.8rem;
}

.doc-card__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.doc-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 9px 20px;
  border: 1px solid var(--gold-dark);
  background: transparent;
  color: var(--white-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.doc-btn--view:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
  color: var(--gold-light);
}

.doc-btn--download {
  background: var(--gold-dark);
  color: #ffffff;
}

.doc-btn--download:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* Document viewer modal */
.doc-viewer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.doc-viewer.open {
  display: block;
}

.doc-viewer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
}

.doc-viewer__dialog {
  position: relative;
  width: min(1000px, calc(100% - 32px));
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  margin: 32px auto;
  background: var(--black-card);
  border: 1px solid var(--gray-dark);
  display: flex;
  flex-direction: column;
}

.doc-viewer__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  padding: 14px 56px 14px 24px;
  border-bottom: 1px solid var(--gray-dark);
}

.doc-viewer__frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #ffffff;
}

.doc-viewer__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: var(--white-muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}

.doc-viewer__close:hover {
  color: var(--gold);
}

/* ===== Contacts ===== */
.contacts {
  background: var(--black-light);
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-item__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item__title {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-item__text {
  color: var(--white-muted);
  font-size: 0.95rem;
}

.contact-item__text a:hover {
  color: var(--gold);
}

.contacts__form {
  background: var(--black-card);
  border: 1px solid var(--gray-dark);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3.5vw, 40px);
}

.contacts__form-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--black-light);
  border: 1px solid var(--gray-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

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

/* Map & rating badge */
.contacts__map {
  margin-top: 56px;
}

.contacts__badge {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.contacts__map-frame {
  width: 100%;
  height: 400px;
  border: 1px solid var(--gray-dark);
  display: block;
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--gray-dark);
  background: var(--black);
}

.footer__inner {
  text-align: center;
}

.footer__logo {
  font-family: var(--font-script);
  font-size: 2.1rem;
  color: #ffffff;
}

.footer__text {
  color: var(--gray);
  margin-top: 8px;
  font-size: 0.9rem;
}

.footer__legal {
  color: var(--gray);
  margin-top: 12px;
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.footer__nav-link {
  color: var(--gray);
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.footer__nav-link:hover {
  color: var(--gold);
}

.footer__socials {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.footer__social {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer__social:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  transform: translateY(-2px);
}

.footer__social img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.footer__copy {
  margin-top: 40px;
  color: var(--gray);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1150px) {
  .header__inner {
    display: flex;
    justify-content: space-between;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--black-light);
    border-left: 1px solid var(--gray-dark);
    padding: 100px 40px 40px;
    transition: right 0.4s ease;
  }

  .nav.open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 24px;
  }

  .burger {
    display: flex;
    z-index: 1001;
  }
}

@media (max-width: 1024px) {
  .gallery__albums {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .directions__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-card:last-child {
    grid-column: span 2;
  }

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

  .contacts__grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 96px;
  }

  .hero__subtitle {
    font-size: 0.75rem;
    letter-spacing: 3px;
  }

  .hero__scroll {
    bottom: 24px;
  }

  .contacts__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contacts__map-frame {
    height: 320px;
  }

  .teachers__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .teacher-card--featured {
    text-align: center;
  }

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

  .album-card__title {
    font-size: 1.25rem;
    padding: 0 14px;
  }

  .album-card__count {
    bottom: 14px;
    font-size: 0.7rem;
    padding: 3px 12px;
  }

  .about__quote {
    padding: 28px 24px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 96px 24px 32px;
  }

  .directions__grid {
    grid-template-columns: 1fr;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .pricing-card:last-child {
    grid-column: auto;
  }

  .schedule-item {
    flex-direction: column;
    gap: 4px;
  }

  .documents__grid {
    grid-template-columns: 1fr;
  }

  .doc-card__actions {
    flex-direction: column;
  }

  .doc-btn {
    width: 100%;
  }

  .gallery__slider {
    gap: 12px;
  }

  .gallery__nav {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .footer__socials {
    gap: 16px;
  }
}

/* Short viewports: keep hero text below the fixed header */
@media (max-height: 700px) and (min-width: 769px) {
  .hero {
    padding-top: 96px;
  }
}

/* Landscape phones with short screens */
@media (max-height: 500px) and (orientation: landscape) {
  .hero__scroll {
    display: none;
  }
}
