/* KORSUN Music School — premium styles (Logic Pro palette) */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background-color: #000000;
  font-weight: 300;
  line-height: 1.7;
}

::selection {
  background: rgba(124, 185, 154, 0.35);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #1C1C1E; }
::-webkit-scrollbar-thumb { background: #3A3A3C; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #7CB99A; }

/* ===== Логотип: белый, Cormorant Bold, uppercase ===== */
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1;
}

.logo-text-footer {
  font-size: 18px;
}

/* ===== Разделители секций ===== */
.section-divider {
  height: 1px;
  background: #3A3A3C;
  max-width: 100%;
}

/* ===== Sticky header: чёрный + blur(20px) ===== */
#site-header {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#site-header.scrolled {
  background-color: rgba(0, 0, 0, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

/* ===== Кнопки CTA (премиум): без скруглений, uppercase ===== */
.btn-cta {
  display: inline-block;
  background: #7CB99A;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 40px;
  border-radius: 2px;
  text-align: center;
  transition: background-color .3s ease, box-shadow .3s ease;
}

.btn-cta:hover {
  background: #C4956A;
  box-shadow: 0 0 30px rgba(196, 149, 106, 0.25);
}

/* Кнопка в карточке (акцентная — Продвинутый) */
.btn-cta-card {
  display: block;
  background: #7CB99A;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 20px;
  border-radius: 2px;
  text-align: center;
  transition: background-color .3s ease;
}

.btn-cta-card:hover { background: #C4956A; }

/* Контурные кнопки карточек */
.btn-outline-card {
  display: block;
  border: 1px solid #3A3A3C;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 15px 20px;
  border-radius: 2px;
  text-align: center;
  transition: border-color .3s ease, color .3s ease;
}

.btn-outline-card:hover {
  border-color: #C4956A;
  color: #C4956A;
}

.btn-outline-card.btn-orange {
  border-color: rgba(196, 149, 106, 0.5);
  color: #C4956A;
}

.btn-outline-card.btn-orange:hover {
  background: #C4956A;
  color: #000000;
  border-color: #C4956A;
}

/* Кнопка «Записаться» в навигации: контурная зелёная */
.btn-outline {
  display: inline-block;
  border: 1px solid #7CB99A;
  color: #7CB99A;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 24px;
  border-radius: 2px;
  transition: background-color .3s ease, color .3s ease;
}

.btn-outline:hover {
  background: #7CB99A;
  color: #000000;
}

.btn-outline-sm { padding: 8px 16px; }

/* ===== Переключатель валюты ===== */
#currency-switcher .cur-btn {
  color: #8E8E93;
  background: transparent;
}

#currency-switcher .cur-btn.active {
  background: #7CB99A;
  color: #000000;
  font-weight: 600;
}

#currency-switcher .cur-btn:not(.active):hover {
  color: #FFFFFF;
}

/* ===== Цены в карточках ===== */
.price-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1.1;
  white-space: nowrap;
}

.price-strike {
  font-size: 22px;
  color: #8E8E93;
  text-decoration: line-through;
  font-weight: 300;
  margin-left: 6px;
  vertical-align: middle;
}

.price-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #8E8E93;
  margin-top: 4px;
}

/* ===== Аккордеон направлений ===== */
.acc-item {
  border-bottom: 1px solid #2C2C2E;
}

.acc-header {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 72px;
  padding: 0 24px;
  background: #1C1C1E;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color .3s ease;
}

.acc-header:hover {
  background: #2C2C2E;
}

.acc-icon {
  color: #C4956A;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.acc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: #FFFFFF;
  flex: 1;
  line-height: 1.3;
}

.acc-toggle {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #7CB99A;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  transition: transform .35s ease-in-out;
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease-in-out;
  background: #141414;
  border-left: 2px solid transparent;
}

.acc-item.open .acc-body {
  border-left-color: #C4956A;
}

.acc-content {
  padding: 24px 32px 32px;
}

@media (max-width: 640px) {
  .acc-header { padding: 0 16px; gap: 14px; }
  .acc-content { padding: 16px; }
  .acc-title { font-size: 19px; }
}

.acc-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: #C4956A;
  margin-bottom: 16px;
  line-height: 1.4;
}

.acc-text {
  color: #8E8E93;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
}

.acc-text p { margin-bottom: 14px; }

.acc-text ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.acc-text ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.acc-text ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #7CB99A;
  font-size: 12px;
}

.acc-btn {
  display: inline-block;
  margin-top: 10px;
  border: 1px solid #7CB99A;
  color: #7CB99A;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 24px;
  border-radius: 2px;
  transition: background-color .3s ease, color .3s ease;
}

.acc-btn:hover {
  background: #7CB99A;
  color: #000000;
}

/* ===== Подписи способов оплаты ===== */
.payment-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8E8E93;
}

/* ===== Статистика «26 / 500+ / 2» ===== */
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: #7CB99A;
  line-height: 1;
}

@media (min-width: 768px) {
  .stat-number { font-size: 64px; }
}

.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8E8E93;
  margin-top: 10px;
  line-height: 1.5;
}

/* ===== Форма: только нижняя граница ===== */
.form-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8E8E93;
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #3A3A3C;
  border-radius: 0;
  padding: 10px 2px 12px;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  transition: border-color .3s ease;
  outline: none;
}

.form-input::placeholder {
  color: rgba(142, 142, 147, 0.5);
}

.form-input:focus {
  border-bottom-color: #7CB99A;
}

/* ===== Hero: фоновый паттерн нотных линий ===== */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 22px,
    #FFFFFF 22px,
    #FFFFFF 23px,
    transparent 23px,
    transparent 30px,
    #FFFFFF 30px,
    #FFFFFF 31px,
    transparent 31px,
    transparent 38px,
    #FFFFFF 38px,
    #FFFFFF 39px,
    transparent 39px,
    transparent 46px,
    #FFFFFF 46px,
    #FFFFFF 47px,
    transparent 47px,
    transparent 54px,
    #FFFFFF 54px,
    #FFFFFF 55px,
    transparent 55px,
    transparent 140px
  );
}

/* Hero glow — декоративный фиолетовый + зелёный */
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background:
    radial-gradient(circle at 70% 30%, rgba(155, 127, 182, 0.10) 0%, transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(124, 185, 154, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* ===== Footer цитата ===== */
.footer-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: #8E8E93;
  letter-spacing: 0.02em;
}

/* ===== Анимации ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Steps connector line */
.steps-line {
  position: absolute;
  top: 32px;
  left: 16.6%;
  right: 16.6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 149, 106, 0.5), transparent);
  z-index: 0;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up, .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}
