/* VARIABLES */
:root {
  --primary: #0f172a; /* Темный синий */
  --accent: #2dd4bf; /* Тиффани/Мятный */
  --accent-dark: #14b8a6;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #334155;
  --text-light: #64748b;
  --border: #e2e8f0;
  --radius: 20px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05);

  --font-head: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 800px;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.text-accent {
  color: var(--accent-dark);
}
.center {
  text-align: center;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 15px 0;
}
.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
}
.nav-menu {
  display: flex;
  gap: 30px;
}
.nav-menu a {
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-menu a:hover {
  color: var(--accent-dark);
}
.nav-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* HERO */
.hero-section {
  padding: 140px 0 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 25px;
}
.dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-desc {
  font-size: 1.15rem;
  max-width: 500px;
  margin-bottom: 35px;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.hero-footer {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.hf-item {
  display: flex;
  flex-direction: column;
}
.hf-item strong {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--primary);
}
.hf-item span {
  font-size: 0.85rem;
  color: var(--text-light);
}
.hf-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* HERO VISUAL */
.bento-card-main {
  position: relative;
  border-radius: 30px;
}
.bento-card-main img {
  border-radius: 30px;
  box-shadow: 20px 20px 0 var(--accent);
}
.float-ui {
  position: absolute;
  background: #fff;
  padding: 12px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.ui-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ui-icon.accent {
  background: var(--accent);
  color: var(--primary);
}
.ui-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.ui-text strong {
  font-size: 0.9rem;
  color: var(--primary);
}
.ui-text span {
  font-size: 0.75rem;
  color: var(--text-light);
}

.ui-top {
  top: 40px;
  left: -30px;
}
.ui-bottom {
  bottom: 40px;
  right: -30px;
}

/* PARTNERS (Static) */
.section-partners {
  padding: 40px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.partners-label {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 25px;
}
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  opacity: 0.6;
}
.partner-item {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  text-transform: uppercase;
}

/* MANIFESTO */
.section-manifesto {
  padding: 100px 0;
}
.manifesto-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
.man-title h2 {
  font-size: 3rem;
}
.man-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.man-content .lead {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 500;
}

/* BENTO FEATURES */
.bg-soft {
  background: #f1f5f9;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bento-box {
  background: #fff;
  padding: 30px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.box-large {
  grid-column: span 2;
  background: #fff;
}
.box-wide {
  grid-column: span 3;
  background: var(--accent);
  color: var(--primary);
}
.box-dark {
  background: var(--primary);
}
.light-text h3,
.light-text p {
  color: #fff;
}

.box-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-page);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wide-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.wide-inner p {
  color: rgba(15, 23, 42, 0.8);
}
.icon-circle {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* TRACKS */
.section-tracks {
  padding: 100px 0;
}
.section-head {
  margin-bottom: 60px;
  margin-top: 60px;
}
.section-faq {
  margin-bottom: 100px;
}
.tracks-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.track-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 35px;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.track-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.track-card.active {
  border-color: var(--primary);
  background: #fff;
}
.tc-label {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
}
.tc-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.tc-header i {
  width: 32px;
  height: 32px;
  color: var(--accent-dark);
}
.tc-list li {
  font-weight: 500;
  margin-bottom: 10px;
  padding-left: 15px;
  position: relative;
  font-size: 0.9rem;
}
.tc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 25px;
  border-bottom: 2px solid transparent;
}
.link-arrow:hover {
  border-bottom-color: var(--accent);
}

/* METHODOLOGY */
.section-method {
  padding: 100px 0;
  background: #fff;
}
.method-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.step {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.step-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-dark);
  min-width: 40px;
}
.method-img img {
  border-radius: 24px;
}

/* CAMPUS */
.campus-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  height: 400px;
}
.campus-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.campus-card:hover img {
  transform: scale(1.03);
}
.cc-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, #0f172a, transparent);
  padding: 40px;
  color: #fff;
}
.cc-overlay h3 {
  color: #fff;
  margin-bottom: 5px;
}
.cc-overlay p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 15px;
}
.faq-item summary {
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  color: var(--primary);
}
.faq-content {
  padding-bottom: 20px;
  color: var(--text-light);
}

/* FORM */
.apply-box {
  background: #fff;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.apply-text {
  padding: 50px;
  background: var(--primary);
  color: #fff;
}
.apply-text h2 {
  color: #fff;
}
.apply-text p {
  color: rgba(255, 255, 255, 0.7);
}
.apply-benefits {
  margin-top: 30px;
}
.apply-benefits li {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  color: #fff;
}
.apply-benefits i {
  color: var(--accent);
}

.vertical-form {
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-page);
  font-size: 1rem;
}
.form-agree {
  font-size: 0.85rem;
  display: flex;
  gap: 10px;
}
.form-agree a {
  text-decoration: underline;
  color: var(--primary);
}

/* FOOTER */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 80px 0 20px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.f-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}
.f-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
}
.f-col a,
.f-col p {
  display: block;
  color: var(--text-light);
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.f-col a:hover {
  color: var(--primary);
}
.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* MOBILE DRAWER */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.mobile-drawer.active {
  transform: translateX(0);
}
.drawer-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.drawer-nav {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand-icon svg {
  width: 50px;
  height: 50px;
}
.drawer-nav a {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}
.mobile-cta {
  margin-top: 20px;
  text-align: center;
  background-color: var(--accent);
}

/* COOKIE */
.cookie-bar {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background: var(--primary);
  color: #fff;
  padding: 20px;
  border-radius: 16px;
  display: none;
  flex-direction: column;
  gap: 15px;
  z-index: 5000;
  box-shadow: var(--shadow-lg);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .nav-menu,
  .nav-actions .btn {
    display: none;
  }
  .ui-bottom {
    right: 20px;
  }
  .menu-toggle {
    display: block;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-footer {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 40px;
  }

  .manifesto-layout {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .box-large,
  .box-wide {
    grid-column: span 1;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
  .method-img {
    order: -1;
  }

  .apply-box {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  .tracks-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

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

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}
