/* static/landings/student/style.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --accent: #f59e0b;
  --text: #1e293b;
  --muted: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(79, 70, 229, 0.10);
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ─── HEADER ─── */
.header {
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.logo span { color: var(--accent); }

nav a {
  margin-left: 2rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
nav a:hover { color: var(--primary); }

.btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: .45rem 1.2rem;
  border-radius: 8px;
  transition: background .2s !important;
}
.btn-nav:hover { background: var(--primary-dark) !important; }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, #eef2ff 0%, #f0fdf4 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}
.hero__inner { max-width: 720px; margin: 0 auto; }
.hero__badge {
  display: inline-block;
  background: #e0e7ff;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(79,70,229,.25); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }

.hero__img {
  margin-top: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 640px;
}

/* ─── STATS ─── */
.stats {
  background: var(--primary);
  color: var(--white);
  padding: 2.5rem 1.5rem;
}
.stats__grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat__number { font-size: 2.4rem; font-weight: 900; }
.stat__label { font-size: .9rem; opacity: .85; margin-top: .2rem; }

/* ─── SERVICES ─── */
.services { padding: 5rem 1.5rem; }
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: .6rem;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}
.services__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(79,70,229,.13); }
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.card__icon img { width: 28px; height: 28px; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* ─── HOW IT WORKS ─── */
.how { background: #f1f5f9; padding: 5rem 1.5rem; }
.steps {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { font-weight: 700; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .9rem; }

/* ─── TESTIMONIALS ─── */
.reviews { padding: 5rem 1.5rem; }
.reviews__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}
.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.review__stars { color: var(--accent); font-size: 1.1rem; margin-bottom: .8rem; }
.review__text { color: var(--muted); font-size: .95rem; margin-bottom: 1.2rem; }
.review__author { display: flex; align-items: center; gap: .8rem; }
.review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #e0e7ff;
}
.review__name { font-weight: 700; font-size: .9rem; }
.review__role { color: var(--muted); font-size: .8rem; }

/* ─── CTA SECTION ─── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  color: var(--white);
  padding: 5rem 1.5rem;
  text-align: center;
}
.cta-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; opacity: .9; margin-bottom: 2rem; }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: #e0e7ff; }

/* ─── FOOTER ─── */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: .9rem;
}
.footer a { color: #94a3b8; text-decoration: underline; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .header__inner nav { display: none; }
  .stats__grid { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 480px) {
  .hero { padding: 3rem 1rem 2.5rem; }
  .btn { width: 100%; text-align: center; }
}

/* ... existing code ... */

/* ─── SEO TEXT ─── */
.seo {
  padding: 4rem 1.5rem;
  background: var(--white);
}
.seo__inner {
  max-width: 860px;
  margin: 0 auto;
}
.seo__inner h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.seo__body {
  position: relative;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.8;
}
.seo__body p + p {
  margin-top: .8rem;
}
.seo__clamp {
  max-height: 96px; /* ~3 строки */
  overflow: hidden;
  transition: max-height .4s ease;
}
.seo__clamp.is-open {
  max-height: 2000px;
}
.seo__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
  transition: opacity .3s;
}
.seo__clamp.is-open + .seo__fade {
  opacity: 0;
}
.seo__toggle {
  margin-top: 1rem;
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.seo__toggle:hover { text-decoration: underline; }
.seo__toggle svg {
  transition: transform .3s;
}
.seo__toggle.is-open svg {
  transform: rotate(180deg);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .header__inner nav { display: none; }
  .stats__grid { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 480px) {
  .hero { padding: 3rem 1rem 2.5rem; }
  .btn { width: 100%; text-align: center; }
}