/* ============================================
   LEVEL — Sky + Violet Palette
   ============================================ */

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

:root {
  /* Core palette */
  --sky:         #38BDF8;
  --sky-dark:    #0ea5e9;
  --sky-deeper:  #0284c7;
  --sky-light:   #e0f5fe;
  --sky-pale:    #f0faff;

  --violet:      #7C3AED;
  --violet-dark: #6d28d9;
  --violet-light:#ede9fe;
  --violet-pale: #f5f3ff;

  --white:       #ffffff;
  --gray-soft:   #E5E7EB;
  --gray-light:  #F9FAFB;
  --gray-mid:    #D1D5DB;
  --gold: #F5C542;

  /* Text */
  --text:        #0f172a;
  --text-mid:    #475569;
  --text-soft:   #94a3b8;
  --text-dim:    #cbd5e1;

  /* Borders */
  --border:      rgba(0,0,0,0.07);
  --border-sky:  rgba(56,189,248,0.2);
  --border-v:    rgba(124,58,237,0.2);

  --radius:    18px;
  --radius-lg: 26px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--sky), var(--violet));
  border-radius: 6px;
}

.container { max-width: 1480px; margin: 0 auto; padding: 0 36px; }

/* ============ SECTION TAGS & TITLES ============ */
.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--violet);
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.2);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900; color: var(--text);
  line-height: 1.1; margin-bottom: 16px;
}

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

.section-sub {
  font-size: 17px; color: var(--text-mid);
  max-width: 520px; line-height: 1.7;
}

.section-head { margin-bottom: 56px; }

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 20px 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gray-soft), 0 4px 24px rgba(15,23,42,0.06);
  padding: 14px 0;
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 42px; font-weight: 900;
  color: var(--text); text-decoration: none; letter-spacing: -0.5px;
}

.nav { display: flex; gap: 4px; }

.nav a {
  font-size: 14px; font-weight: 500;
  color: var(--text-mid); text-decoration: none;
  padding: 8px 16px; border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--sky-dark); background: var(--sky-light); }

.header-cta {
  font-size: 13px; font-weight: 700; color: #fff;
  text-decoration: none;
  background: var(--violet);
  padding: 10px 22px; border-radius: 100px;
  transition: all 0.2s;
  box-shadow: 0 4px 16px var(--violet);
}
.header-cta:hover {
  background: linear-gradient(135deg, var(--sky-dark), var(--sky-deeper));
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(56,189,248,0.45);
}

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: visible;
  background: #ffffff;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-orb { position: absolute; border-radius: 50%; filter: blur(10px); }

.hero-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(56,189,248,0.52) 0%, transparent 70%);
  top: -180px; left: -160px;
}
.hero-orb--2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(124,58,237,0.28) 0%, transparent 55%);
  bottom: -40px; right: 0;
}
.hero-orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(56,189,248,0.22) 0%, transparent 70%);
  top: 30%; left: 42%;
}

.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(56,189,248,0.18) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, black 0%, transparent 100%);
}

.hero .container {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding-top: 100px; padding-bottom: 60px;
}

.hero-content { 
  max-width: 880px; 
  margin-right: 150px;
}

.hero-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--violet);
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.2);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 900; color: var(--text);
  line-height: 1.0; margin-bottom: 24px; letter-spacing: -2px;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--sky), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-sub {
  font-size: 18px; color: var(--text-mid);
  line-height: 1.7; margin-bottom: 40px; max-width: 440px;
}

.hero-actions { display: flex; gap: 14px; margin-bottom: 52px; }

.hero-stats {
  display: flex; gap: 36px;
  padding-top: 32px; border-top: 1px solid var(--gray-soft);
}

.hero-stat__num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700;
  background: linear-gradient(135deg, var(--sky-dark), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 4px;
}

.hero-stat__label { font-size: 12px; color: var(--text-soft); line-height: 1.4; }

/* Hero Visual */
.hero-visual {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  height: 520px;
}

.hero-phone {
  width: 260px; height: 460px; background: #fff;
  border-radius: 36px;
  border: 1.5px solid var(--text-soft);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.9) inset,
    0 40px 80px rgba(15,23,42,0.14),
    0 8px 32px rgba(56,189,248,0.18);
  overflow: hidden; position: relative; z-index: 2;
}

.hero-phone__screen {
  padding: 20px 16px; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, var(--violet-light) 85%, #fff 100%);
}

.hero-phone__chat { 
  display: flex; 
  flex-direction: 
  column; gap: 10px; 
}

.hero-phone__island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 26px;
  background: #000000d0;
  border-radius: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.hero-phone__island::after {
  content: '';
  width: 8px;
  height: 8px;
  background: #1a1a2e;
  border-radius: 50%;
  border: 1px solid #2a2a3e;
}

.chat-bubble {
  padding: 10px 14px; border-radius: 16px;
  font-size: 12px; line-height: 1.5; max-width: 80%;
}

.chat-bubble--left {
  background: var(--gray-light); color: var(--text);
  border-bottom-left-radius: 4px; align-self: flex-start;
  border: 1px solid var(--gray-soft);
}

.chat-bubble--right {
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  color: #fff;
  border-bottom-right-radius: 4px; align-self: flex-end;
}

.chat-typing {
  display: flex; gap: 4px; align-items: center;
  padding: 10px 14px;
  background: var(--gray-light);
  border-radius: 16px; border-bottom-left-radius: 4px;
  width: fit-content; border: 1px solid var(--gray-soft);
}

.chat-typing span {
  width: 6px; height: 6px;
  background: var(--text-soft); border-radius: 50%;
  animation: typingDot 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%,60%,100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.hero-card-float {
  position:absolute;
  background: #fff; border: 1px solid var(--gray-soft);
  border-radius: 14px; padding: 10px 16px;
  font-size: 13px; font-weight: 600; color: var(--text);
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(15,23,42,0.1);

}


.hero-card-float--1 { top: 60px; left: 10px; animation: floatA 3s ease-in-out infinite; }
.hero-card-float--2 { top: 40%; right: 60px; animation: floatB 3.5s ease-in-out infinite; }
.hero-card-float--3 { bottom: 80px; left: -40px; animation: floatA 4s ease-in-out infinite; }

@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; color: var(--text);
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
}

.scroll-arrow {
  width: 20px; height: 30px;
  border: 1.5px solid var(--gray-mid); border-radius: 10px; position: relative;
}
.scroll-arrow::after {
  content: '';
  position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 8px;
  background: var(--text-soft); border-radius: 2px;
  animation: scrollDot 1.5s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 700;
  border-radius: 100px; padding: 14px 28px;
  transition: all 0.25s ease; cursor: pointer; border: none;
}

.btn--primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 4px 16px var(--violet);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky-deeper) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(56,189,248,0.48);
}

.btn--ghost {
  background: transparent; color: var(--text-mid);
  border: 1.5px solid var(--gray-mid);
}
.btn--ghost:hover {
  background: var(--sky-light); border-color: var(--border-sky);
  color: var(--sky-dark); transform: translateY(-2px);
}

.btn--full { width: 100%; margin-top: 8px; }

.btn--cta-white {
  background: #fff; color: var(--sky-dark); font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn--cta-white:hover {
  background: var(--sky-pale); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.btn--cta-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn--cta-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.85); transform: translateY(-2px);
}

/* ============ CONCEPT ============ */
.concept { padding: 120px 0; background: var(--white); position: relative;}

.concept::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--gray-light));
  pointer-events: none;
}

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

.concept-card {
  border-radius: var(--radius-lg); padding: 40px 32px;
  border: 1px solid var(--gray-soft);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}

/* Subtle gradient top stripe */
.concept-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.concept-card:nth-child(1) {
  background: linear-gradient(145deg, #f0faff 0%, #e0f5fe 100%);
}
.concept-card:nth-child(1)::before {
  background: linear-gradient(90deg, var(--sky), var(--sky-dark));
}

.concept-card:nth-child(2) {
  background: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 100%);
}
.concept-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--violet), var(--violet-dark));
}

.concept-card:nth-child(3) {
  background: linear-gradient(145deg, #f0faff 0%, #e8edff 100%);
}
.concept-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--sky), var(--violet));
}

.concept-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(15,23,42,0.09);
}

.concept-card__icon { font-size: 48px; margin-bottom: 20px; display: block; }

.concept-card h3 {
  font-size: 18px; font-weight: 700; color: var(--text);
  margin-bottom: 12px; line-height: 1.3;
}

.concept-card p { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

/* ============ COURSES ============ */
.courses { padding: 120px 0; background: var(--gray-light); position: relative; }

.courses::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}

.course-card {
  background: var(--white); border: 1px solid var(--gray-soft);
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  box-shadow: 0 4px 32px rgba(15,23,42,0.06);
}

.course-card__badge {
  position: absolute; top: 28px; right: 28px;
  background: linear-gradient(135deg, var(--gold), var(--violet-dark));
  color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
}

.course-card__inner { display: grid; grid-template-columns: 1.5fr 1fr; }

.course-main { 
  padding: 48px; 
  border-right: 1px solid var(--gray-soft); 

}

.course-main h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700; color: var(--text);
  margin-bottom: 18px; line-height: 1.2; padding-right: 120px;
}

.course-problem {
  font-size: 18px; color: var(--text-mid);
  font-style: italic; margin-bottom: 36px;
  padding-left: 16px;
  border-left: 2px solid var(--sky);
  line-height: 1.7;
}

.course-outcomes { display: flex; flex-direction: column; gap: 20px; }
.course-outcome { display: flex; gap: 16px; align-items: flex-start; }
.outcome-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.course-outcome strong { display: block; font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.course-outcome p { font-size: 16px; color: var(--text-mid); line-height: 1.5; }

.course-aside {
  padding: 48px;
  background: linear-gradient(160deg, var(--sky-pale) 0%, #eef4ff 100%);
  display: flex; flex-direction: column; gap: 24px;
}

.course-for {
  background: rgba(56,189,248,0.07);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 16px; padding: 24px;
}

.course-for h4 {
  font-size: 12px; font-weight: 700; color: var(--sky-dark);
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px;
}

.course-for ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.course-for ul li {
  font-size: 14px; color: var(--text-mid);
  padding-left: 16px; position: relative; line-height: 1.5;
}
.course-for ul li::before {
  content: '·'; position: absolute; left: 0;
  color: var(--sky-dark); font-weight: 700;
}

.course-results { display: flex; flex-direction: column; gap: 10px; }

.result-item {
  font-size: 14px; color: var(--text);
  padding: 10px 14px; background: var(--white);
  border-radius: 10px; border: 1px solid var(--gray-soft);
}

/* ============ TEAM ============ */
.team { padding: 120px 0; background: var(--white); position: relative;}

.team::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--gray-light));
  pointer-events: none;
}

.teacher-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 28px; }

.teacher-profile {
  background: var(--white); border: 1px solid var(--gray-soft);
  border-radius: var(--radius-lg); padding: 40px 36px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  box-shadow: 0 4px 24px rgba(15,23,42,0.06);
}

.teacher-avatar { position: relative; margin-bottom: 24px; }

.teacher-avatar__inner {
  width: 320px; height: 320px;
  border-radius: 20%;
  border: 2px solid var(--gray-soft);
  position: relative; z-index: 1;
  overflow: hidden;

}

.teacher-avatar__inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top; /* кадрирует на лицо */
}

.teacher-avatar__ring {
  position: absolute; inset: -6px; border-radius: 20%;
  border: 1.5px solid rgba(56,189,248,0.3);
  animation: avatarRing 2.5s ease-in-out infinite;
}

@keyframes avatarRing {
  0%,100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.06); opacity: 1; }
}

.teacher-profile h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 8px;
}

.teacher-role { font-size: 14px; color: var(--text-mid); line-height: 1.5; margin-bottom: 16px; }

.teacher-badge {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--sky-dark);
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.25);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 28px;
}

.teacher-helps { text-align: left; width: 100%; }

.teacher-helps h4 {
  font-size: 14px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-mid); margin-bottom: 14px;
}

.teacher-helps ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.teacher-helps ul li {
  font-size: 16px; color: var(--text-mid);
  padding-left: 20px; position: relative; line-height: 1.5;
}
.teacher-helps ul li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--sky-dark); font-size: 15 px;
}

.teacher-methods {
  background: var(--white); border: 1px solid var(--gray-soft);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: 0 4px 24px rgba(15,23,42,0.06);
}

.teacher-methods h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: 28px;
}

.method-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px; background: var(--gray-light);
  border: 1px solid var(--gray-soft); border-radius: 14px;
  margin-bottom: 14px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.method-card:last-child { margin-bottom: 0; }
.method-card:hover {
  background: var(--sky-light); border-color: rgba(56,189,248,0.3);
  transform: translateX(4px);
}

.method-icon { font-size: 32px; flex-shrink: 0; }
.method-card strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.method-card p { font-size: 14px; color: var(--text-mid); line-height: 1.5; }

/* ============ REVIEWS ============ */
.reviews { padding: 120px 0; background: var(--gray-light); position: relative; }

.reviews::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}

.reviews-track-wrap { overflow: hidden; }

.reviews-track {
  display: flex; gap: 20px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
  background: var(--white); border: 1px solid var(--gray-soft);
  border-radius: var(--radius-lg); padding: 32px;
  flex: 0 0 calc((100% - 40px) / 3);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 16px rgba(15,23,42,0.05);
  position: relative; overflow: hidden;
  min-height: 280px;
}

.review-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--violet));
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.1);
}

.review-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }

.review-card p { font-size: 15px; color: var(--text-mid); line-height: 1.7; flex: 1; }

.review-author {
  font-size: 12px; color: var(--text-soft);
  border-top: 1px solid var(--gray-soft); padding-top: 14px;
}

.reviews-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }

.reviews-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gray-mid); cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.reviews-dot.active {
  background: linear-gradient(90deg, var(--sky), var(--violet));
  width: 20px; border-radius: 3px;
}

/* ============ CONTACTS ============ */
.contacts { padding: 120px 0; background: var(--white); }

.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.contacts-info {
  background: var(--white); border: 1px solid var(--gray-soft);
  border-radius: var(--radius-lg); padding: 48px;
  box-shadow: 0 4px 24px rgba(15,23,42,0.06);
}

.contacts-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 6px;
}
.contacts-info > p { font-size: 14px; color: var(--text-soft); margin-bottom: 36px; }

.contacts-links { display: flex; flex-direction: column; gap: 12px; }

.contact-btn {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; font-size: 14px; font-weight: 600;
  color: var(--text); padding: 14px 18px;
  border-radius: 14px; border: 1px solid var(--gray-soft);
  background: var(--gray-light); transition: all 0.2s;
}
.contact-btn:hover {
  transform: translateX(4px);
  border-color: rgba(56,189,248,0.3);
  background: var(--sky-light);
}

.contact-btn svg { flex-shrink: 0; }
.contact-btn--vk svg   { color: #4a76a8; }
.contact-btn--tg svg   { color: #2aabee; }
.contact-btn--wa svg   { color: #25d366; }
.contact-btn--email svg { color: var(--sky-dark); }

/* CTA card — gradient sky→violet */
.contacts-cta-card {
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet) 40%, var(--violet) 100%);
  border-radius: var(--radius-lg); padding: 48px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 20px;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 40px rgba(56,189,248,0.3), 0 4px 24px rgba(124,58,237,0.2);
}

.cta-glow {
  position: absolute; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  top: -100px; right: -80px; pointer-events: none;
}

.contacts-cta-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 30px; font-weight: 700; color: #fff; position: relative;
}

.contacts-cta-card p {
  font-size: 15px; color: rgba(255,255,255,0.88);
  line-height: 1.7; position: relative;
}

.cta-actions { display: flex; flex-direction: column; gap: 12px; position: relative; }

/* ============ FOOTER ============ */
.footer {
  background: var(--text);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 900;
  background: linear-gradient(135deg, var(--sky), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block; margin-bottom: 16px;
}

.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 240px; white-space: nowrap;}

.footer-nav, .footer-contacts { display: flex; flex-direction: column; gap: 10px; }

.footer-nav h4, .footer-contacts h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 8px;
}

.footer-nav a, .footer-contacts a {
  font-size: 14px; color: rgba(255,255,255,0.48);
  text-decoration: none; transition: color 0.2s;
}
.footer-nav a:hover, .footer-contacts a:hover { color: var(--sky); }

.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.22); }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }
.reveal--delay-4 { transition-delay: 0.48s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-visual { display: none; }
  .concept-grid { grid-template-columns: 1fr 1fr; }
  .concept-card:last-child { grid-column: span 2; }
  .course-card__inner { grid-template-columns: 1fr; }
  .course-main { border-right: none; border-bottom: 1px solid var(--gray-soft); }
  .course-main h3 { padding-right: 0; }
  .teacher-layout { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .container { padding: 0 20px; }
  .concept-grid { grid-template-columns: 1fr; }
  .concept-card:last-child { grid-column: auto; }
  .review-card { flex: 0 0 85%; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
