/* Поступашкин — дизайн-система (Sky variant) */

:root {
  --bg: #eef6ff;
  --bg-2: #f7fbff;
  --card: #ffffff;
  --line: #dbeafe;
  --ink: #0f2942;
  --ink-2: #475569;
  --ink-3: #94a3b8;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --blue-soft: #dbeafe;
  --yellow: #fcd34d;
  --yellow-bright: #f59e0b;
  --pink: #fbcfe8;
  --green: #34d399;
  --green-deep: #059669;
  --red: #ef4444;
  --shadow: 0 2px 4px rgba(15, 41, 66, 0.04), 0 12px 28px rgba(15, 41, 66, 0.06);
  --shadow-lg: 0 4px 8px rgba(15, 41, 66, 0.05), 0 20px 48px rgba(15, 41, 66, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 800px 400px at 10% 0%, #dbeafe 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 90% 0%, #fef3c7 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Навигация ──────────────────────────── */
.nav {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 246, 255, 0.85);
  backdrop-filter: blur(10px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  font-size: 22px;
}
.logo-cat {
  width: 44px; height: 44px;
  background: var(--yellow);
  border-radius: 14px;
  display: flex; align-items: end; justify-content: center;
  overflow: hidden;
  transform: rotate(-4deg);
  box-shadow: 0 4px 0 var(--yellow-bright);
}
.logo-cat img { width: 56px; margin-bottom: -3px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

/* ─── Кнопки ─────────────────────────────── */
.btn {
  background: var(--yellow);
  color: var(--ink);
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 0 var(--yellow-bright);
  transition: transform .1s, box-shadow .1s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--yellow-bright); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--yellow-bright); }
.btn-blue { background: var(--blue); color: white; box-shadow: 0 4px 0 var(--blue-deep); }
.btn-blue:hover { box-shadow: 0 6px 0 var(--blue-deep); }
.btn-white { background: white; color: var(--ink); box-shadow: 0 4px 0 var(--blue-soft); }
.btn-white:hover { box-shadow: 0 6px 0 var(--blue-soft); }

/* ─── Hero ───────────────────────────────── */
.hero {
  padding: 40px 0 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 2px solid var(--blue-soft);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 24px;
}
.eyebrow .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 { font-size: clamp(36px, 6vw, 64px); margin-bottom: 24px; }
.hero h1 .blue { color: var(--blue); }
.hero h1 .stroke {
  background: var(--yellow);
  padding: 0 8px;
  display: inline-block;
  transform: rotate(-2deg);
  border-radius: 8px;
}
.hero .lead { font-size: 18px; color: var(--ink-2); max-width: 540px; margin-bottom: 32px; font-weight: 500; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-actions .small { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; font-weight: 600; }

/* hero image card */
.hero-image { position: relative; text-align: center; }
.hero-image .bg-card {
  background: var(--card);
  border-radius: 32px;
  padding: 40px 32px 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-image .bg-card::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: var(--yellow);
  border-radius: 50%;
  top: -60px; left: -80px;
  opacity: .3;
  filter: blur(40px);
}
.hero-image .bg-card::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  background: var(--blue);
  border-radius: 50%;
  bottom: -60px; right: -60px;
  opacity: .15;
  filter: blur(40px);
}
.hero-image img { position: relative; max-width: 100%; filter: drop-shadow(0 16px 32px rgba(15, 41, 66, 0.18)); }
.float-card {
  position: absolute;
  background: var(--card);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.float-card .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.fc-1 { top: 8%; left: -8%; transform: rotate(-4deg); }
.fc-1 .icon { background: var(--blue-soft); }
.fc-2 { top: 55%; right: -6%; transform: rotate(3deg); }
.fc-2 .icon { background: #fef3c7; }
.fc-3 { bottom: 8%; left: -4%; transform: rotate(2deg); }
.fc-3 .icon { background: #fce7f3; }
.float-card .small { font-size: 11px; color: var(--ink-3); font-weight: 600; margin-top: 2px; }

/* ─── Trust strip ────────────────────────── */
.trust-strip {
  margin-top: 56px;
  background: var(--card);
  border-radius: 24px;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--shadow);
}
.trust-item { text-align: center; }
.trust-num { font-size: 36px; font-weight: 900; color: var(--blue); line-height: 1; letter-spacing: -0.03em; }
.trust-label { font-size: 13px; color: var(--ink-2); margin-top: 6px; font-weight: 600; }
.trust-divider { width: 1px; background: var(--line); }

/* ─── Section ────────────────────────────── */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .tag {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(28px, 4.5vw, 44px); margin-bottom: 12px; }
.section-head h2 em { font-style: normal; color: var(--blue); }
.section-head p { color: var(--ink-2); font-size: 17px; max-width: 580px; margin: 0 auto; font-weight: 500; }

/* ─── Tools ──────────────────────────────── */
.tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tool-card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .25s;
  cursor: pointer;
  border-top: 6px solid;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.tool-card:hover { transform: translateY(-8px); }
.tool-card.c1 { border-color: var(--blue); }
.tool-card.c2 { border-color: var(--yellow-bright); }
.tool-card.c3 { border-color: #ec4899; }
.tool-card.c4 { border-color: #10b981; }
.tool-card .img-wrap {
  height: 140px;
  display: flex; align-items: end; justify-content: center;
  margin-bottom: 16px;
}
.tool-card img { max-height: 100%; max-width: 100%; }
.tool-card h3 { font-size: 19px; margin-bottom: 8px; }
.tool-card p { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin-bottom: 16px; font-weight: 500; flex: 1; }
.tool-link { color: var(--blue); font-weight: 800; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* ─── Search panel ───────────────────────── */
.search-panel {
  background: var(--card);
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.search-panel .tag {
  display: inline-block; background: var(--blue-soft); color: var(--blue);
  padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 800; margin-bottom: 16px;
}
.search-panel h3 { font-size: 28px; margin-bottom: 12px; }
.search-panel h3 em { font-style: normal; color: var(--blue); }
.search-panel p { color: var(--ink-2); margin-bottom: 24px; font-size: 15px; font-weight: 500; }
.fields { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 800; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.08em; }
.field input, .field select {
  background: var(--bg-2);
  border: 2px solid var(--blue-soft);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
}
.field input:focus, .field select:focus { border-color: var(--blue); }
.search-result {
  background: var(--bg-2);
  border-radius: 20px;
  padding: 24px;
  border: 2px solid var(--blue-soft);
}
.search-result .count { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; font-weight: 600; }
.search-result .count .b { color: var(--blue); font-weight: 900; }
.uni-card {
  background: white;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  border: 1px solid var(--line);
}
.uni-card .uni-name { font-weight: 700; }
.uni-card .uni-meta { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.uni-card .score { background: var(--green); color: white; padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 800; }
.uni-card.warn .score { background: var(--yellow-bright); }
.uni-card.low .score { background: var(--red); }

/* ─── Directions ─────────────────────────── */
.dir-section {
  background: var(--card);
  border-radius: 32px;
  padding: 48px;
  box-shadow: var(--shadow);
}
.dir-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dir-tile {
  background: var(--bg-2);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: background .15s, transform .15s;
  border: 2px solid transparent;
  text-decoration: none;
  color: inherit;
}
.dir-tile:hover { background: white; border-color: var(--blue-soft); transform: translateY(-4px); }
.dir-icon {
  height: 100px;
  background: white;
  border-radius: 14px;
  display: flex; align-items: end; justify-content: center;
  overflow: hidden;
}
.dir-icon img { max-height: 100%; }
.dir-tile h4 { font-size: 15px; line-height: 1.2; font-weight: 800; }
.dir-tile .meta {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--ink-2); font-weight: 600;
}
.dir-tile .salary { color: var(--green-deep); font-weight: 800; }

/* ─── Steps ──────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--card);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.step-card .num {
  width: 56px; height: 56px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 4px 0 var(--yellow-bright);
}
.step-card h3 { font-size: 19px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--ink-2); font-weight: 500; line-height: 1.5; }

/* ─── CTA ────────────────────────────────── */
.cta {
  background: var(--card);
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  margin: 32px 0;
}
.cta::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: var(--yellow);
  border-radius: 50%;
  top: -200px; right: 30%;
  opacity: .15;
  filter: blur(40px);
}
.cta h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; position: relative; }
.cta h2 em { font-style: normal; color: var(--blue); }
.cta p { color: var(--ink-2); margin-bottom: 24px; font-size: 16px; max-width: 460px; position: relative; font-weight: 500; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.cta-img { text-align: center; position: relative; }
.cta-img img { max-width: 280px; margin: 0 auto; }

/* ─── Footer ─────────────────────────────── */
footer { padding: 40px 0; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--ink-2); text-decoration: none; margin: 0 8px; }
footer a:hover { color: var(--blue); }

/* ─── Stub page ──────────────────────────── */
.stub-page {
  padding: 80px 0;
}
.stub-card {
  background: var(--card);
  border-radius: 32px;
  padding: 64px 48px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}
.stub-card::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: var(--yellow);
  border-radius: 50%;
  top: -120px; left: 50%; transform: translateX(-50%);
  opacity: .2;
  filter: blur(60px);
}
.stub-card img.cat {
  position: relative;
  max-width: 260px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 12px 24px rgba(15, 41, 66, 0.18));
}
.stub-card .badge {
  position: relative;
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stub-card h1 { position: relative; font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.stub-card h1 em { font-style: normal; color: var(--blue); }
.stub-card .lead { position: relative; color: var(--ink-2); font-size: 17px; max-width: 480px; margin: 0 auto 28px; font-weight: 500; line-height: 1.55; }
.stub-card .actions { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.feature-list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-list .item {
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--line);
}
.feature-list .item .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin: 0 auto 12px;
}
.feature-list .item h4 { font-size: 16px; margin-bottom: 4px; }
.feature-list .item p { font-size: 13px; color: var(--ink-2); font-weight: 500; }

/* ─── Mobile ─────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 24px 0 48px; }
  .float-card { display: none; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .tools { grid-template-columns: 1fr 1fr; }
  .search-panel { grid-template-columns: 1fr; padding: 28px; }
  .dir-grid { grid-template-columns: 1fr 1fr; }
  .dir-section { padding: 28px; }
  .steps-row { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: 32px; text-align: center; }
  .cta-actions { justify-content: center; }
  .stub-card { padding: 40px 24px; }
  .feature-list { grid-template-columns: 1fr; }
}
