/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
  --color-bg: #EDE5EF;
  --color-surface: #E6DCE8;
  --color-surface-2: #DDD2E0;
  --color-purple: #8878C8;
  --color-pink: #8878C8;
  --color-text: #1A0F20;
  --color-text-muted: #7A6882;
  --color-border: rgba(136, 120, 200, 0.25);

  --gradient: #8878C8;
  --gradient-45: #8878C8;

  --font: 'Space Grotesk', system-ui, sans-serif;

  --max-width: 1200px;
  --section-padding: 100px;
  --nav-height: 64px;
}

/* ===== СБРОС ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

ul { list-style: none; }

/* ===== УТИЛИТЫ ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
}

.section--alt {
  background-color: var(--color-surface);
}

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 56px;
  color: var(--color-text);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== КНОПКИ ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn--primary:hover {
  box-shadow: 0 6px 32px rgba(139, 92, 246, 0.6);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  border-color: var(--color-purple);
  color: var(--color-purple);
}

/* ===== НАВИГАЦИЯ ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s;
}

.header--scrolled {
  background: rgba(237, 229, 239, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--color-text);
}

/* бургер */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('images/hero.jpg') center / cover no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(237, 229, 239, 0.88) 0%,
    rgba(237, 229, 239, 0.65) 50%,
    rgba(136, 120, 200, 0.12) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.hero__title {
  font-size: min(calc((100vw - 48px) / 8.5), 5.5rem);
  white-space: nowrap;
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  color: var(--color-text);
}

.hero__title-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  color: var(--color-text-muted);
  margin-top: 24px;
  margin-bottom: 48px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-purple), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== О ШКОЛЕ ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about__image::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-45);
  z-index: -1;
  border-radius: 2px;
}

.about__image img {
  transition: transform 0.6s ease;
}

.about__image:hover img {
  transform: scale(1.04);
}

.about__text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.about__text strong {
  color: var(--color-text);
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}

.about__facts li { text-align: center; }

.about__facts strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.about__facts span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.about__tagline {
  margin-top: 24px;
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-purple);
}

/* ===== НАПРАВЛЕНИЯ ===== */
.directions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.direction-card {
  padding: 36px 28px;
  background: var(--color-surface-2);
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}

.direction-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.direction-card:hover::before {
  transform: scaleX(1);
}

.direction-card:hover {
  background: #D6C8DA;
}

.direction-card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.direction-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: var(--color-text);
}

.direction-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.direction-card__level {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== РАСПИСАНИЕ ===== */
.schedule__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
}

.schedule__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.schedule__table th,
.schedule__table td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}

.schedule__table th {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--color-surface-2);
  color: var(--color-text-muted);
}

.schedule__table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
}

.schedule__table td {
  color: var(--color-text-muted);
}

.schedule__table td:not(:first-child):not(:empty) {
  color: var(--color-purple);
  font-weight: 600;
}

.schedule__table tr:last-child td {
  border-bottom: none;
}

.schedule__table tr:hover td {
  background: var(--color-surface-2);
}

.schedule__note {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ===== ЦЕНЫ ===== */
.prices__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.price-card {
  padding: 32px 20px;
  background: var(--color-surface-2);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.price-card--featured {
  background: var(--gradient-45);
  position: relative;
  z-index: 0;
}

.price-card--featured .price-card__title {
  color: rgba(255, 255, 255, 0.75);
  -webkit-text-fill-color: unset;
}

.price-card--featured .price-card__features li {
  color: rgba(255, 255, 255, 0.85);
}

.price-card--featured .price-card__features li::before {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}

.price-card__badge {
  position: absolute;
  top: -1px;
  right: 28px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
}

.price-card__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.price-card__price {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-text);
}

.price-card--featured .price-card__price {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.price-card__old-price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.price-card--featured .price-card__old-price {
  color: rgba(255, 255, 255, 0.6);
}

.price-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card__features li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
}

.price-card__features li::before {
  content: '/';
  position: absolute;
  left: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ===== ГАЛЕРЕЯ ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.gallery__item {
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--color-surface-2);
  position: relative;
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery__item img {
  transition: transform 0.5s ease;
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-45);
  opacity: 0;
  transition: opacity 0.3s;
  mix-blend-mode: multiply;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item:hover::after {
  opacity: 0.3;
}

/* ===== КОНТАКТЫ ===== */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

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

.contact-item__icon {
  font-size: 1.25rem;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.contact-item p, .contact-item a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}

.contact-item a:hover {
  color: var(--color-purple);
}

.contacts__socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.social-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  transition: all 0.2s;
}

.social-link:hover {
  color: var(--color-purple);
  border-color: var(--color-purple);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.2);
}

.contacts__cta p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.contacts__map {
  height: 400px;
  overflow: hidden;
  position: relative;
}

.contacts__map::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border);
  z-index: 1;
  pointer-events: none;
}

.contacts__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contacts__map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  text-align: center;
  gap: 8px;
  border: 1px solid var(--color-border);
}

.contacts__map-placeholder span {
  font-size: 2rem;
}

.contacts__map-placeholder p {
  font-size: 0.875rem;
  max-width: 200px;
}

/* ===== ФУТЕР ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.footer__studio-link,
.footer__back-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer__studio-link:hover,
.footer__back-link:hover {
  color: var(--color-purple);
}

/* ===== ЛИЧНАЯ СТРАНИЦА ===== */
.nav__studio-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.nav__studio-link:hover {
  opacity: 0.75;
}

.personal-hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.personal-hero__bg {
  position: absolute;
  inset: 0;
  background: url('images/hero.jpg') center / cover no-repeat;
}

.personal-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(237, 229, 239, 0.88) 0%,
    rgba(237, 229, 239, 0.65) 50%,
    rgba(136, 120, 200, 0.12) 100%
  );
}

.personal-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.personal-hero__title {
  font-size: min(calc((100vw - 48px) / 4.5), 9rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  color: var(--color-text);
  white-space: nowrap;
}

.personal-hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  color: var(--color-text-muted);
  margin-top: 24px;
  margin-bottom: 40px;
}

.personal-hero__socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* о себе */
.personal-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.personal-about__image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.personal-about__image::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-45);
  z-index: -1;
  border-radius: 2px;
}

.personal-about__image img {
  transition: transform 0.6s ease;
}

.personal-about__image:hover img {
  transform: scale(1.04);
}

.personal-about__text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.personal-about__text strong {
  color: var(--color-text);
}

.inline-link {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  border-bottom: 1px solid var(--color-pink);
}

.personal-about__stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.personal-stat strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.personal-stat span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* чем занимаюсь */
.personal-what__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.what-card {
  padding: 36px 28px;
  background: var(--color-surface-2);
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.what-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.what-card:hover::before {
  transform: scaleX(1);
}

.what-card:hover {
  background: #D6C8DA;
}

.what-card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.what-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: var(--color-text);
}

.what-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.what-card__link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  align-self: flex-start;
}

/* студия CTA */
.studio-cta {
  background: var(--color-bg);
}

.studio-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 64px;
  background: var(--gradient-45);
  border-radius: 4px;
}

.studio-cta__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}

.studio-cta__text .label {
  background: rgba(255,255,255,0.7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.studio-cta__text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
}

.studio-cta .btn--primary {
  background: #fff;
  color: var(--color-purple);
  box-shadow: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.studio-cta .btn--primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* контакты личной страницы */
.personal-contacts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 32px 28px;
  background: var(--color-surface-2);
  transition: background 0.25s, transform 0.2s;
  color: var(--color-text);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card:hover {
  background: #D6C8DA;
}

.contact-card__icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.contact-card strong {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== ЧЕМПИОНАТЫ ===== */
.champ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.champ-card {
  padding: 40px 28px;
  background: var(--color-surface-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.champ-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  transition: width 0.3s;
}

.champ-card--gold::after   { background: linear-gradient(to bottom, #F5C842, #E8A800); }
.champ-card--silver::after { background: linear-gradient(to bottom, #B0B8C8, #8090A0); }
.champ-card--bronze::after { background: linear-gradient(to bottom, #D4845A, #B05A30); }

.champ-card:hover { background: #D6C8DA; }
.champ-card:hover::after { width: 6px; }

.champ-card__place {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.champ-card--gold   .champ-card__place { background: linear-gradient(135deg, #F5C842, #E8A800); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.champ-card--silver .champ-card__place { background: linear-gradient(135deg, #B0B8C8, #8090A0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.champ-card--bronze .champ-card__place { background: linear-gradient(135deg, #D4845A, #B05A30); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.champ-card__name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ===== АРТИСТЫ ===== */
.artist-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2px;
}

.artist-block {
  padding: 48px 40px;
  background: var(--color-surface-2);
}

.artist-block h3 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.artist-names {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.artist-name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.artist-events {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.artist-events li {
  font-size: 0.9375rem;
  color: var(--color-text);
  font-weight: 500;
  padding-left: 20px;
  position: relative;
}

.artist-events li::before {
  content: '/';
  position: absolute;
  left: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ===== ПРЕПОДАВАНИЕ ===== */
.teaching-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.teaching-card {
  padding: 40px 32px;
  background: var(--color-surface-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.25s;
}

.teaching-card:hover {
  background: #D6C8DA;
}

.teaching-card__years {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.teaching-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-top: 4px;
}

.teaching-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.teaching-card--cta {
  background: var(--gradient-45);
}

.teaching-card--cta:hover {
  background: var(--gradient-45);
  filter: brightness(1.05);
}

.teaching-card--cta h3 {
  color: #fff;
}

.teaching-card--cta p {
  color: rgba(255, 255, 255, 0.8);
}

.teaching-card--cta .btn--primary {
  background: #fff;
  color: var(--color-purple);
  box-shadow: none;
  align-self: flex-start;
  margin-top: auto;
}

.teaching-card--cta .btn--primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* адаптив личной страницы */
@media (max-width: 900px) {
  .personal-about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .personal-about__image {
    aspect-ratio: 16/9;
  }

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

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

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

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

  .studio-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
  }
}

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

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

  .personal-about__stats {
    gap: 24px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 8px;
  }
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
  .prices__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root { --section-padding: 72px; }

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

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

  .about__image {
    aspect-ratio: 16/9;
  }

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

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

  .contacts__map {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    font-size: 1.1rem;
  }

  .nav__burger {
    display: flex;
  }

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

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

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

  .gallery__item--wide {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 480px) {
  :root { --section-padding: 56px; }

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

  .gallery__item--wide {
    aspect-ratio: 4/3;
  }
}
