/* LIGHT THEME — светлая финтех цветовая схема */
:root {
  --bg: #f9fafb; /* светлый фон */
  --surface: #ffffff; /* белые панели */
  --bg-muted: #f3f4f6;
  --muted: #6b7280; /* мягкие подписи */
  --text: #1f2937; /* тёмный текст */
  --text-soft: #6b7280;
  --primary: #1e40af; /* глубокий синий как Тулпар */
  --primary-light: #3b82f6; /* светлый синий */
  --primary-soft: rgba(30, 64, 175, 0.08);
  --accent: #10b981; /* зелёный фин-сервис */
  --success: #10b981;
  --danger: #ef4444; /* красный */
  --warning: #f59e0b; /* оранжевый */
  --accent-red: #ef4444;
  --border: rgba(0,0,0,0.08);
  --border-subtle: rgba(0,0,0,0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.1);

  /* Spacing scale (for consistent rhythm) */
  --space-xxs: 6px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
}

/* Utility: centralised container width */
.container{ width:100%; max-width:1200px; margin:0 auto; padding:0 24px; }

*,
*::before,
*::after { box-sizing: border-box; }

html,body{ height:100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, 'Helvetica Neue', Arial;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }
a{ color: var(--primary); text-decoration: none; }
.container{ width:100%; max-width:1100px; margin:0 auto; padding:0 20px; }

/* Header */
.site-header{
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top:0; z-index:50;
  box-shadow: var(--shadow-md);
  width:100%;
  overflow:hidden; /* prevent children overflow */
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:12px 0;
  flex-wrap:nowrap; /* keep header on single line on wide screens */
} 
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
  min-width:0;
}
.logo__text{ min-width:0; overflow:hidden; }
.logo__mark{ flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.logo__img{ width:40px; height:40px; border-radius:8px; flex-shrink:0; object-fit: cover; box-shadow: 0 2px 8px rgba(47, 124, 246, 0.15); }
.logo__title{ font-weight:700; font-size:17px; color:var(--text); display:block; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; max-width:160px; }
.logo__subtitle{ font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:0.08em; display:block; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; max-width:160px; }

/* header actions */
.header__actions{ display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.header__cta{ flex-shrink:0; }

/* prevent nav from forcing line break — allow horizontal scroll */

/* make nav more flexible and avoid overflow */
.nav{ display:flex; gap:14px; align-items:center; flex:1 1 auto; min-width:0; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.nav::-webkit-scrollbar{ height:6px; }
.nav::-webkit-scrollbar-thumb{ background: rgba(0,0,0,0.08); border-radius:99px; }
.nav{ -ms-overflow-style: none; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav__link{ color:var(--muted); padding:8px 0; font-weight:500; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; max-width:160px; display:inline-block; }
.header__cta{ padding:10px 18px; border-radius:12px; font-size:15px; font-weight:700; box-shadow: 0 10px 30px rgba(30,64,175,0.15); display:inline-flex; align-items:center; gap:10px; flex-shrink:1; white-space:nowrap; max-width:220px; overflow:hidden; text-overflow:ellipsis; }

/* Allow buttons to shrink if needed */
.btn{ min-width:0; }

@media (max-width:1100px) {
  .logo__title, .logo__subtitle{ max-width:120px; }
  .nav__link{ max-width:120px; }
}

@media (max-width:900px){
  .grid-3{ grid-template-columns:1fr; }
  .cards-grid{ grid-template-columns:1fr; }
  .hero__inner{ flex-direction:column-reverse; }
  .card-showcase{ width:100%; }

  /* make nav full-width below header and stack links */
  .nav{ display:flex; flex-direction:column; gap:10px; padding:12px 0; width:100%; }
  .nav__link{ display:block; width:100%; max-width:none; white-space:normal; padding:10px 14px; border-radius:8px; color:var(--text); }

  .logo__subtitle{ display:none; }
  .header__inner{ padding:10px 0; }
  .header__actions{ width:100%; justify-content:center; margin-top:8px; }
  .header__cta{ width:100%; max-width:none; padding:10px 12px; font-size:15px; }
}


@media (max-width:900px){
  .header__actions{ gap:8px; }
}

.nav{ display:flex; gap:18px; align-items:center; flex:1 1 auto; min-width:0; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.nav__link{ color:var(--muted); padding:8px 0; font-weight:500; }
.nav__link:hover{ color:var(--text); }

.header__cta{ padding:10px 18px; border-radius:12px; font-size:15px; font-weight:700; box-shadow: 0 10px 30px rgba(30,64,175,0.12); display:inline-flex; align-items:center; gap:10px; }
.header__cta .btn__icon{ width:16px; height:16px; display:inline-block; opacity:0.95; }

/* Make nav links easier to tap */
.nav__link{ padding:10px 6px; border-radius:8px; transition: background 140ms ease, color 120ms ease; }
.nav__link:focus, .nav__link:focus-visible{ outline: none; box-shadow: 0 0 0 4px rgba(30,64,175,0.12); }

/* Footer link pills (moved from subheader) */
.footer__links{ display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }
.footer__links a{ background:transparent; border:1px solid rgba(0,0,0,0.05); color:var(--muted); padding:8px 12px; border-radius:10px; font-weight:600; text-decoration:none; }
.footer__links a:hover{ background: rgba(0,0,0,0.04); color:var(--text); border-color: rgba(0,0,0,0.1); }
@media (max-width:900px){ .footer__links{ flex-direction:column; align-items:stretch; } .footer__links a{ width:100%; text-align:center; } }

/* Mobile: nav links become full-width buttons */
@media (max-width:900px){
  .nav{ padding:14px; }
  .nav__link{ display:block; width:100%; padding:12px 14px; background:transparent; border-radius:10px; color:var(--text); }
  .nav__link:hover{ background: rgba(0,0,0,0.03); }
  .header__cta{ padding:10px 16px; font-size:15px; }
}

/* Buttons & inputs — corporate polish */
.btn{ display:inline-flex; align-items:center; gap:8px; background:linear-gradient(90deg, var(--primary), #2563eb); color:#fff; border:none; padding:12px 18px; border-radius:12px; cursor:pointer; font-weight:700; box-shadow:0 14px 40px rgba(30,64,175,0.15); transition: transform 180ms ease, box-shadow 180ms ease, opacity 160ms ease; }
.btn:hover{ transform:translateY(-3px); box-shadow:0 22px 50px rgba(30,64,175,0.2); }
.btn:active{ transform:translateY(-1px); }
.btn--ghost{ background:transparent; border:2px solid #60a5fa; color:#60a5fa; box-shadow:none; font-weight: 600; }
.btn--small{ padding:8px 12px; font-size:13px; }
.btn--danger{ background:linear-gradient(90deg, #ef4444, #dc2626); box-shadow:0 8px 20px rgba(239,68,68,0.15); }

/* Form elements */
input, textarea, select {
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 120ms ease;
}
input:focus, textarea:focus, select:focus { outline: none; box-shadow: 0 6px 30px rgba(30,64,175,0.12); border-color: var(--primary); transform: translateY(-1px); }
textarea { min-height:100px; resize:vertical; }

/* Section headers */
.section__header h2{ font-size:24px; letter-spacing: -0.01em; color:var(--text); margin-bottom:6px; }
.section__header p{ color:var(--muted); }

/* Cards / features hover */
.feature, .card-type { transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.feature:hover, .card-type:hover{ transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,0.12); border-color: rgba(0,0,0,0.12); }

/* Nav active state */
.nav__link.active{ color:var(--text); font-weight:700; position:relative; }
.nav__link.active::after{ content: ""; position:absolute; left:0; right:0; bottom:-6px; height:3px; background: linear-gradient(90deg, var(--primary), #3f8bff); border-radius:3px; }

/* Footer link pill polish */
.footer__links a{ background:transparent; border:1px solid rgba(0,0,0,0.05); color:var(--muted); padding:8px 12px; border-radius:12px; font-weight:600; text-decoration:none; transition: background 180ms ease, transform 160ms ease, color 160ms ease; }
.footer__links a:hover{ background: rgba(0,0,0,0.04); color:var(--text); transform: translateY(-2px); border-color: rgba(0,0,0,0.1); }
.footer__links a.active{ color:var(--text); background: linear-gradient(90deg, rgba(30,64,175,0.08), rgba(37,99,235,0.06)); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(30,64,175,0.06); }

/* Subtle transitions across the site */
*{ transition: color 160ms ease, background 160ms ease; }

/* Accessibility tweaks */
.nav__link:focus-visible{ outline: none; box-shadow: 0 0 0 5px rgba(30,64,175,0.12); border-radius:8px; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; }
}

/* Hero */
.hero{ 
  padding:80px 0 120px; 
  background: var(--bg);
  position: relative;
  border-bottom: 2px solid rgba(30, 64, 175, 0.15);
  box-shadow: 0 20px 60px rgba(30, 64, 175, 0.06);
}

.hero__inner{ 
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  padding: 48px;
  border: 2px solid rgba(30, 64, 175, 0.12);
  border-radius: 24px;
  background-image: url("/images/logo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(1.2) saturate(1.1);
  overflow: visible;
  z-index: 1;
}

.hero__inner::before {
  display: none;
}

.hero__bg-image {
  display: none;
}
.hero__content{ 
  grid-column: 1;
  grid-row: 1;
  width: fit-content;
  max-width: 420px;
  position: relative;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  background: transparent;
  border-radius: 16px;
}


.eyebrow{ 
  color:var(--muted); 
  font-weight:700; 
  letter-spacing:1.4px; 
  text-transform:uppercase; 
  font-size:12px; 
  margin:0 0 16px;
  position: relative;
  z-index: 2;
}
.hero__title{ 
  font-size:44px; 
  margin:12px 0 10px; 
  color: #ffffff; 
  line-height:1.15; 
  font-weight:800;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.3);
}
.brand-accent{ 
  background: linear-gradient(135deg, #60a5fa, #93c5fd); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  background-clip: text;
  position: relative;
  z-index: 2;
  filter: brightness(1.3);
}
.hero__subtitle{ 
  color: rgba(255, 255, 255, 0.95); 
  font-size:15px;
  max-width:680px; 
  margin:0 0 16px; 
  line-height:1.5;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.4), 0 1px 6px rgba(0, 0, 0, 0.3);
}
.hero__stats{ 
  display:flex; 
  align-items:center; 
  gap:12px; 
  margin:12px 0 16px; 
  font-size:13px; 
  color: #60a5fa;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.25);
}
.hero__stats span{ white-space:nowrap; }
.hero__actions{ 
  display:flex; 
  gap:12px; 
  align-items:center; 
  margin-top:8px;
  position: relative;
  z-index: 2;
}
.btn--primary{ background: linear-gradient(135deg, #3b82f6, #60a5fa); box-shadow: 0 8px 20px rgba(96, 165, 250, 0.4); color: #ffffff; font-weight: 600; }
.btn--primary:hover{ box-shadow: 0 12px 32px rgba(96, 165, 250, 0.6); transform: translateY(-2px); }
.btn--ghost:hover{ background: rgba(96, 165, 250, 0.1); border-color: #93c5fd; }
.hero__aside{ 
  grid-column: 2;
  grid-row: 1;
  width: 320px; 
  position: relative; 
  z-index: 2; 
} 
}

@media (max-width:900px){
  .hero{ padding:40px 0 60px; }
  .hero__inner{ grid-template-columns: 1fr; gap:40px; }
  .hero__title{ font-size:32px; }
  .hero__subtitle{ font-size:15px; }
  .hero__aside{ 
    grid-column: 1;
    grid-row: auto;
    width:100%; 
    max-width:400px; 
  }
}

@media (min-width:1600px){
  .hero{ padding:100px 0 140px; }
  .hero__title{ font-size:60px; }
} 

/* SVG illustrations removed — markup simplified to text labels */
.hero__actions{ display:flex; gap:12px; align-items:center; }

/* Card / Visual */
.card-showcase{ 
  width:380px; 
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.03)); 
  border-radius:24px; 
  padding:24px; 
  border:1px solid rgba(0,0,0,0.08); 
  box-shadow: 0 8px 24px rgba(0,0,0,0.06); 
  backdrop-filter: blur(12px);
}

.card-visual{ 
  border-radius:18px; 
  padding:28px 24px; 
  background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.02)); 
  border:1.5px solid rgba(0,0,0,0.12); 
  margin-bottom:16px; 
  color:var(--text); 
  min-height:200px; 
  display:flex; 
  flex-direction:column; 
  justify-content:space-between;
  box-shadow: 0 20px 48px rgba(0,0,0,0.8);
  position: relative;
  overflow: hidden;
  transition: all 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-visual::before {
  content: '';
  position: absolute;
  top: -80%;
  right: -40%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,64,175,0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

.card-visual:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 28px 64px rgba(0,0,0,0.15);
  border-color: rgba(0,0,0,0.15);
}

.card-visual__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.card-visual__type {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  opacity: 0.7;
}

.card-visual__icon {
  font-size: 28px;
  opacity: 0.6;
  transition: transform 320ms ease;
}

.card-visual:hover .card-visual__icon {
  transform: scale(1.1) rotate(5deg);
}

.card-visual__chip {
  width: 52px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.35), rgba(255, 184, 28, 0.18));
  border: 1.5px solid rgba(255, 215, 0, 0.25);
  box-shadow: inset 0 -2px 8px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(255, 215, 0, 0.15);
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.card-visual__footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-visual__brand {
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  opacity: 0.8;
}

.card-visual__number {
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Courier New', monospace;
}

.card-visual--standard{ 
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.12), rgba(30, 64, 175, 0.06));
  border-color: rgba(30, 64, 175, 0.2);
}

.card-visual--standard::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.4), transparent);
  z-index: 1;
}

.card-visual--school{ 
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.06));
  border-color: rgba(16, 185, 129, 0.2);
}

.card-visual--school::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.4), transparent);
  z-index: 1;
}

.card-visual--pension{ 
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(239, 68, 68, 0.06));
  border-color: rgba(239, 68, 68, 0.2);
}

.card-visual--pension::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.3), transparent);
  z-index: 1;
}

/* Cards stack used in hero aside — design that matches provided mock */
.cards-stack{ display:flex; flex-direction:column; gap:16px; width:300px; }
.card-display{
  position:relative;
  padding:18px 22px;
  border-radius:18px;
  color: #fff;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 18px 40px rgba(2,6,23,0.7);
  display:block;
}
.card-display::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.06));
}
.card-display__label{ position:relative; z-index:1; font-size:12px; font-weight:800; letter-spacing:1px; text-transform:uppercase; color:rgba(255,255,255,0.92); }
.card-display__brand{ position:absolute; right:18px; top:14px; z-index:1; font-size:12px; font-weight:800; opacity:0.95; text-transform:uppercase; }
.card-display__number{ position:relative; z-index:1; margin-top:12px; font-family: 'Courier New', monospace; font-weight:800; letter-spacing:6px; font-size:20px; color:rgba(255,255,255,0.96); }
.card-display__description{ position:relative; z-index:1; margin-top:8px; font-size:13px; color:rgba(255,255,255,0.9); opacity:0.95; }

/* Color variants */
.card-display--standard{ background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%); }
.card-display--school{ background: linear-gradient(180deg, #10b981 0%, #047857 100%); }
.card-display--pension{ background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%); }

/* subtle rounded shadow highlight on lower-left */
.card-display::after{
  content:'';
  position:absolute;
  left:-40px;
  bottom:-40px;
  width:160px;
  height:160px;
  background: radial-gradient(circle at 30% 70%, rgba(0,0,0,0.05), transparent 30%);
  z-index:0;
  pointer-events:none;
}

@media (max-width:900px){
  .cards-stack{ width:100%; }
}

/* Sections */
.section{ padding:48px 0; }
.section__header h2{ margin:0 0 8px; font-size:22px; }
.section__header p{ margin:0 0 18px; color:var(--muted); }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:start; }
.feature{ background:var(--surface); border:1px solid var(--border); padding:20px; border-radius:12px; box-shadow:var(--shadow-md); }

@media (min-width:1400px){
  .section{ padding:64px 0; }
}

@media (max-width:900px){
  .grid-3{ gap:18px; }
} 
.feature__icon{ width:44px; height:44px; border-radius:8px; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }
/* SVG removed from feature icons — using numeric labels */
.feature__icon--blue{ background: linear-gradient(180deg, rgba(30,64,175,0.16), rgba(37,99,235,0.12)); }
.feature__icon--green{ background: linear-gradient(180deg, rgba(16,185,129,0.16), rgba(5,150,105,0.08)); }
.feature__icon--red{ background: linear-gradient(180deg, rgba(239,68,68,0.14), rgba(220,38,38,0.08)); }

.cards-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.card-type{ background:var(--surface); border:1px solid var(--border); padding:18px; border-radius:12px; box-shadow: var(--shadow-md); }
.card-type__badge{ font-weight:700; color:var(--primary); display:inline-block; margin-bottom:6px; }

/* Forms */
.apply-form{ 
  background: var(--surface); 
  padding: 24px; 
  border-radius: 12px; 
  border: 1px solid var(--border); 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  max-width: 720px;
}
.apply-form__field{ 
  margin-bottom: 16px; 
  display: flex; 
  flex-direction: column; 
  gap: 8px; 
}
.apply-form__field label{ 
  font-size: 13px; 
  color: var(--muted); 
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.apply-form__field input, 
.apply-form__field textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  transition: all 0.2s ease;
}
.apply-form__field input:focus, 
.apply-form__field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(47, 124, 246, 0.05);
  box-shadow: 0 0 0 3px rgba(47, 124, 246, 0.1);
}
.apply-form__field input::placeholder, 
.apply-form__field textarea::placeholder{ 
  color: rgba(167, 178, 217, 0.45); 
}
.apply-form__buttons{ display:flex; gap:12px; align-items:center; margin-top:10px; }

/* Vacancies page */
.vacancies-page {
  padding: 80px 0 120px;
}
.vacancies-page .section__header {
  margin-bottom: 40px;
}
.vacancies-page .section__header h2 {
  font-size: 44px;
  margin-bottom: 12px;
}
.vacancies-page .section__header p {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 600px;
}
.vacancies-list {
  margin-bottom: 40px;
}

/* Job card */
.job-card{ 
  background: var(--surface); 
  padding: 28px; 
  border-radius: 12px; 
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.job-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(47, 124, 246, 0.15);
}
.job-card__header{ 
  display: flex; 
  gap: 12px; 
  align-items: center; 
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.job-card__header h3 { margin: 0; color: var(--text); }
.job-badge{ 
  background: linear-gradient(135deg, rgba(30,64,175,0.15), rgba(37,99,235,0.1)); 
  color: var(--primary); 
  padding: 6px 12px; 
  border-radius: 20px; 
  font-weight: 700; 
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.job-card__description { 
  color: var(--text-soft); 
  line-height: 1.6;
  margin: 0;
}
.job-card__actions {
  display: flex;
  gap: 12px;
}
.job-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:12px; }
.job-grid__col h4{ margin:0 0 8px; font-size:14px; }
.job-grid__col ul{ margin:0; padding-left:18px; color:var(--muted); }

/* Contact page layout */
.contact-page {
  padding: 80px 0 120px;
}
.contact-page .section__header {
  margin-bottom: 40px;
}
.contact-page .section__header h2 {
  font-size: 44px;
  margin-bottom: 12px;
}
.contact-page .section__header p {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 600px;
}
.contact-grid{ 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 40px; 
  align-items: start; 
  margin-top: 30px;
}
.contact-info{ 
  background: var(--surface);
  padding: 28px; 
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.contact-info h3{ 
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--text);
  font-size: 20px;
}
.contact-info p {
  margin: 12px 0;
  font-size: 14px;
  color: var(--text-soft);
}
.contact-info p strong {
  color: var(--text);
  font-weight: 600;
}
.contact-info a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-info a:hover {
  color: var(--accent);
}
.contact-address {
  margin: 16px 0;
}
.contact-form-wrap{ display:flex; justify-content:flex-start; }

/* Complaints layout */
.complaints-page {
  padding: 80px 0 120px;
}
.complaints-page .section__header {
  margin-bottom: 40px;
}
.complaints-page .section__header h2 {
  font-size: 44px;
  margin-bottom: 12px;
}
.complaints-grid{ 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 40px; 
  align-items: start; 
  margin-top: 30px;
}
.complaints-note{ 
  background: var(--surface);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}
.complaints-form-wrap{ display:flex; justify-content:flex-start; }

@media (max-width:900px){
  .contact-grid, .complaints-grid{ grid-template-columns:1fr; }
  .contact-form-wrap, .complaints-form-wrap{ order:2; }
  .vacancies-page .section__header h2 { font-size: 32px; }
  .contact-page .section__header h2 { font-size: 32px; }
  .complaints-page .section__header h2 { font-size: 32px; }
}
.apply-form__field{ margin-bottom:12px; display:flex; flex-direction:column; gap:6px; }
label{ font-weight:600; font-size:14px; color:var(--text); }
input, textarea, select{ padding:10px 12px; border-radius:8px; border:1px solid var(--border); background: #ffffff; font-size:14px; color:var(--text); }
textarea{ resize:vertical; }
.apply-form__buttons{ display:flex; gap:10px; align-items:center; }
.apply-form__checkbox{ display:flex; gap:8px; align-items:center; color:var(--muted); font-size:14px; }

/* Admin */
.admin-section{ display:flex; gap:24px; }
.admin-login{ max-width:360px; }
.applications-section{ flex:1; }
.application-card{ padding:12px; border-radius:10px; border:1px solid var(--border); background:var(--surface); margin-bottom:12px; }
.applications-empty{ color:var(--muted); }

/* Footer */
.footer{ padding:26px 0; border-top:1px solid var(--border); background:transparent; }
.footer__inner{ display:flex; justify-content:space-between; align-items:center; gap:20px; }
.footer__links a{ color:var(--muted); margin-left:12px; }
.footer__copy{ color:var(--muted); margin:8px 0 0; }

/* Focus & Accessibility */
input:focus, textarea:focus, select:focus { outline: none; box-shadow: 0 0 0 4px rgba(30,64,175,0.12); border-color: var(--primary); }
.btn:focus { outline: none; box-shadow: 0 8px 28px rgba(30,64,175,0.16); transform: translateY(-2px); }
::placeholder { color: rgba(107,114,128,0.6); }

/* Toast notifications */
.toast-container{ position: fixed; right: 20px; bottom: 20px; display:flex; flex-direction:column; gap:10px; z-index:3000; }
.toast{ padding:12px 16px; border-radius:10px; background: #ffffff; color:var(--text); border:1px solid var(--border); box-shadow: 0 12px 30px rgba(0,0,0,0.1); min-width:220px; opacity:1; transform: translateY(0); transition: all 220ms ease; }
.toast--success{ border-color: rgba(16,185,129,0.18); }
.toast--error{ border-color: rgba(239,68,68,0.16); }
.toast.hide{ opacity:0; transform: translateY(8px); }


/* Responsive */
@media (max-width:900px){ .grid-3{ grid-template-columns:1fr; } .cards-grid{ grid-template-columns:1fr; } .hero__inner{ flex-direction:column-reverse; } .card-showcase{ width:100%; } .nav{ display:flex; flex-direction:column; gap:10px; padding:12px 0; } .header__burger{ display:none; } }

.section {
  padding: 44px 0;
}

.section--muted {
  background: radial-gradient(circle at top, #f3f4f6, #e5e7eb);
}

.section__inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.section__header h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}

.section__header p {
  margin: 0;
  color: var(--text-soft);
  max-width: 520px;
  font-size: 15px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.06),
    rgba(16, 185, 129, 0.03)
  );
  border: 1.5px solid rgba(30, 64, 175, 0.12);
  transition: all 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature:hover {
  border-color: rgba(30, 64, 175, 0.2);
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.1),
    rgba(16, 185, 129, 0.05)
  );
  transform: translateY(-4px);
}

.feature__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature__icon--blue {
  background: rgba(30, 64, 175, 0.12);
  color: #1e40af;
}

.feature__icon--green {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.feature__icon--red {
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-type {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.06), rgba(16, 185, 129, 0.03));
  border: 1.5px solid rgba(30, 64, 175, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-type:hover {
  border-color: rgba(30, 64, 175, 0.25);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(16, 185, 129, 0.05));
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(30, 64, 175, 0.12);
}

.card-type::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.08), transparent);
  pointer-events: none;
}

.card-type::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.card-type__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.card-type__badge::before {
  content: '🚌';
  font-size: 14px;
}

.card-type__badge--blue {
  background: rgba(30, 64, 175, 0.12);
  color: #1e40af;
  border: 1px solid rgba(30, 64, 175, 0.25);
}

.card-type__badge--green {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.card-type__badge--red {
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.card-type__text {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.card-type__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text-soft);
}

.step {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.06),
    rgba(16, 185, 129, 0.03)
  );
  border: 1.5px solid rgba(30, 64, 175, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(30, 64, 175, 0.2);
  background: rgba(30, 64, 175, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #1e40af;
}

.step h3 {
  margin: 0;
  font-size: 16px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

.apply-form {
  max-width: 640px;
  padding: 22px 22px 20px;
  border-radius: var(--radius-lg);
  background: rgba(6, 9, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.apply-form__row {
  display: flex;
  gap: 14px;
}

.apply-form__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.apply-form__field label {
  font-size: 13px;
  color: var(--text-soft);
}

.apply-form__field input,
.apply-form__field select,
.apply-form__field textarea {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 7, 22, 0.96);
  color: var(--text);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.apply-form__field input::placeholder,
.apply-form__field textarea::placeholder {
  color: rgba(167, 178, 217, 0.65);
}

.apply-form__field input:focus,
.apply-form__field select:focus,
.apply-form__field textarea:focus {
  border-color: rgba(110, 153, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(110, 153, 255, 0.3);
}

.contact-address__input {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--text);
  padding: 8px 10px;
  min-width: 220px;
}
  min-width: 220px;
  min-height: 36px;
  box-sizing: border-box;
}

/* Footer logo: K beside the text */
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer__logo .logo__mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  box-shadow: 0 2px 8px rgba(47, 124, 246, 0.15);
}

  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 8px rgba(47, 124, 246, 0.15);
}

.footer__logo .logo__text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer__logo .logo__text .logo__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.footer__logo .logo__text .logo__subtitle {
  font-size: 12px;
  color: var(--text-soft);
}

.apply-form__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-soft);
}
.apply-form__checkbox input {
  width: 14px;
  height: 14px;
}

.apply-form__note {
  margin: 0;
  font-size: 11px;
  color: var(--text-soft);
}

.apply-form__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ======= Панель администратора ======= */
.admin-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.admin-login {
  max-width: 360px;
}

.admin-login__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.admin-login__desc {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--text-soft);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.06), rgba(16, 185, 129, 0.03));
  border: 1.5px solid rgba(30, 64, 175, 0.12);
}

.login-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #991b1b;
  font-size: 13px;
}

.applications-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.applications-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #047857;
  font-size: 12px;
  font-weight: 500;
}

/* ======= Список заявок ======= */
.applications-section {
  /* margin-top removed - handled by admin-section */
}

.applications-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.applications-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.applications-empty {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}

.application-card {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.04), rgba(16, 185, 129, 0.02));
  border: 1px solid rgba(30, 64, 175, 0.1);
  transition: all 280ms ease;
}

.application-card:hover {
  border-color: rgba(30, 64, 175, 0.2);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(16, 185, 129, 0.04));
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.08);
}

.application-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.application-card__badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.application-card__badge--standard {
  background: rgba(30, 64, 175, 0.12);
  color: #1e40af;
}

.application-card__badge--school {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.application-card__badge--pension {
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
}

.application-card__date {
  font-size: 12px;
  color: var(--text-soft);
}

.application-card__body {
  margin-bottom: 14px;
}

.application-card__info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
}

.application-card__info strong {
  color: var(--text);
}

.application-card__info span {
  color: var(--text-soft);
}

.application-card__comment {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-soft);
  padding: 8px 10px;
  background: rgba(30, 64, 175, 0.04);
  border-radius: 8px;
  border-left: 2px solid rgba(30, 64, 175, 0.25);
}

.application-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn--small {
  padding: 6px 14px;
  font-size: 12px;
}

.btn--danger {
  background: linear-gradient(135deg, #ff4b6b, #d93658);
  box-shadow: 0 8px 20px rgba(255, 75, 107, 0.25);
}

.btn--danger:hover {
  filter: brightness(1.08);
}

/* FAQ removed — content moved/removed per request */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 24px 0 28px;
  background: linear-gradient(180deg, rgba(5, 7, 22, 0.98) 0%, rgba(3, 5, 18, 0.99) 100%);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__left {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer__copy {
  margin: 8px 0 0;
  font-size: 11px;
  color: rgba(167, 178, 217, 0.55);
}

.footer__links {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.footer__links a {
  color: var(--text-soft);
}

.footer__links a:hover {
  color: var(--text);
}

/* Desktop layout tweaks */
@media (min-width: 960px) {
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    padding: 28px 32px 30px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__visual {
    margin-top: 0;
    justify-content: flex-end;
  }

  .card-showcase {
    max-width: 320px;
  }

  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .card-stack {
    flex-direction: column;
    max-width: 100%;
  }

  .card {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero__visual {
    order: -1;
    justify-content: center;
  }

  .card-stack {
    margin-left: 0;
  }
}

@media (max-width: 780px) {
  .header__btn {
    display: none;
  }

  .nav {
    position: static;
    padding: 10px 0;
    border-radius: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition: none;
    z-index: auto;
  }

  /* Burger button removed from markup */
  .header__burger { display: none; }

  .grid-3,
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
} 

@media (max-width: 560px) {
  .hero {
    padding-top: 38px;
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__subtitle {
    font-size: 14px;
  }

  .stat-card {
    min-width: 140px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .apply-form__row {
    flex-direction: column;
  }

  .application-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .application-card__info {
    flex-direction: column;
    gap: 4px;
  }

  .application-card__actions {
    flex-direction: column;
  }

  .application-card__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Apply page */
.apply-page {
  padding: 0;
}

.apply-hero {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  padding: 60px 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.apply-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30,64,175,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.apply-hero__content {
  position: relative;
  z-index: 1;
}

.apply-hero h1 {
  font-size: 44px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.apply-hero h1 .brand-accent {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.apply-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
}

.apply-container {
  max-width: 1200px;
}

.apply-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.apply-form {
  background: var(--surface);
  padding: 32px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Steps indicator */
.apply-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.apply-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  opacity: 0.5;
  transition: all 0.2s ease;
}

.apply-step--active {
  background: rgba(47, 124, 246, 0.08);
  opacity: 1;
}

.apply-step__number {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(47, 124, 246, 0.15);
  border: 2px solid rgba(47, 124, 246, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-soft);
}

.apply-step--active .apply-step__number {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.apply-step__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}

.apply-step--active .apply-step__title {
  color: var(--text);
}

.apply-form__title {
  margin-bottom: 24px;
}

.apply-form__title h2 {
  font-size: 22px;
  margin-bottom: 4px;
  font-weight: 700;
}

.apply-form__title p {
  color: var(--text-soft);
  font-size: 13px;
}

.apply-form__field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.apply-form__field label {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
}

.apply-form__field input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
}

.apply-form__field input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(47, 124, 246, 0.08);
  box-shadow: 0 0 0 3px rgba(47, 124, 246, 0.1);
}

.apply-form__field input::placeholder {
  color: rgba(167, 178, 217, 0.4);
}

.apply-form__hint {
  font-size: 12px;
  color: rgba(167, 178, 217, 0.55);
  margin-top: 2px;
}

/* Radio buttons */
.apply-form__radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.apply-form__radio {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.apply-form__radio:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.12);
}

.apply-form__radio input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--primary);
}

.apply-form__radio input[type="radio"]:checked {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary) 0%, var(--primary) 35%, transparent 70%);
}

.apply-form__radio span {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.apply-form__radio strong {
  font-size: 14px;
  font-weight: 600;
}

.apply-form__radio small {
  font-size: 12px;
  color: var(--text-soft);
}

.apply-form__agreement {
  margin: 24px 0;
  padding: 16px;
  background: rgba(47, 124, 246, 0.06);
  border: 1px solid rgba(47, 124, 246, 0.15);
  border-radius: 10px;
}

.apply-form__checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

.apply-form__checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--primary);
}

.apply-form__footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.apply-form__footer p {
  margin: 4px 0;
  color: var(--text-soft);
}

.apply-form__footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.apply-form__footer a:hover {
  text-decoration: underline;
}

/* Button sizes */
.btn--lg {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
}

.btn--xl {
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
}

.btn--sm {
  padding: 10px 16px;
  font-size: 13px;
  width: 100%;
  text-align: center;
}

.btn--secondary {
  background: var(--primary);
  color: white;
  border: none;
}

.btn--secondary:hover {
  opacity: 0.9;
}

/* Apply widgets sidebar */
.apply-widget {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apply-widget__process {
  background: var(--surface);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.apply-widget__process h3 {
  font-size: 15px;
  margin-bottom: 18px;
  font-weight: 700;
}

.apply-process-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.apply-process-item:last-child {
  margin-bottom: 0;
}

.apply-process-item__icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.apply-process-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.apply-process-item p {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.4;
}

.apply-widget__benefits {
  background: linear-gradient(135deg, rgba(54, 201, 139, 0.08) 0%, rgba(47, 124, 246, 0.06) 100%);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(54, 201, 139, 0.2);
}

.apply-widget__benefits h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.apply-widget__benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.apply-widget__benefits li {
  font-size: 12px;
  padding: 6px 0;
  color: var(--text-soft);
  display: flex;
  gap: 8px;
  align-items: center;
}

.apply-widget__benefits li::before {
  content: '✓';
  color: #36c98b;
  font-weight: 700;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .apply-wrapper {
    grid-template-columns: 1fr;
  }

  .apply-widget {
    flex-direction: row;
  }

  .apply-widget__process,
  .apply-widget__benefits {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .apply-hero h1 {
    font-size: 32px;
  }

  .apply-hero p {
    font-size: 14px;
  }

  .apply-form {
    padding: 24px;
  }

  .apply-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .apply-step {
    flex-direction: column;
    text-align: center;
  }

  .apply-widget {
    flex-direction: column;
  }

  .apply-widget__process,
  .apply-widget__benefits {
    width: 100%;
  }
}







