/* ============================================================
   STELLIUS — Modern Job Board
   Чиста, конверсійно-орієнтована верстка.
   Inter скрізь, синій акцент, картки з фото і чіткими цінами.
   ============================================================ */

:root {
  --primary:      #2563EB;
  --primary-2:    #1D4ED8;
  --primary-50:   #EFF6FF;
  --primary-100:  #DBEAFE;
  --ink:          #0F172A;
  --ink-2:        #1E293B;
  --ink-3:        #334155;
  --muted:        #64748B;
  --muted-2:      #94A3B8;
  --line:         #E2E8F0;
  --line-soft:    #F1F5F9;
  --bg:           #FFFFFF;
  --bg-alt:       #F8FAFC;
  --bg-dark:      #0F172A;
  --green:        #10B981;
  --green-50:     #ECFDF5;
  --orange:       #F59E0B;
  --orange-50:    #FFFBEB;
  --red:          #EF4444;
  --purple:       #8B5CF6;
  --purple-50:    #F5F3FF;

  --shadow-sm:    0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow:       0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg:    0 16px 40px -12px rgba(37, 99, 235, 0.15), 0 8px 16px -4px rgba(15, 23, 42, 0.08);

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --pad: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary); }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--muted); font-weight: 500; }

/* ============================================================
   HEADER
   ============================================================ */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px var(--pad);
}
.hdr__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hdr__brand:hover { color: var(--ink); }
.hdr__brand-mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 18px;
}
.hdr__brand-text { display: flex; flex-direction: column; gap: 0; line-height: 1.1; }
.hdr__brand-text small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
.hdr__nav {
  display: flex; gap: 28px;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-3);
}
.hdr__nav a { padding: 8px 0; position: relative; }
.hdr__nav a:hover { color: var(--primary); }
.hdr__right { display: flex; align-items: center; gap: 16px; }
.hdr__lang { display: flex; align-items: center; gap: 4px; padding: 4px; background: var(--bg-alt); border-radius: var(--r-sm); }
.lang {
  background: none; border: none;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 6px;
  transition: all .15s;
}
.lang.is-active { background: var(--bg); color: var(--ink); box-shadow: var(--shadow-sm); }
.lang:hover { color: var(--ink); }

.hdr__burger {
  display: none;
  width: 38px; height: 38px;
  background: none; border: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.hdr__burger span {
  width: 20px; height: 2px; background: var(--ink);
  transition: transform .2s;
}
.hdr__mobile {
  display: none;
  padding: 16px var(--pad) 24px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.hdr__mobile a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 500;
  font-size: 15px;
}
.hdr__mobile.is-open { display: block; }

@media (max-width: 900px) {
  .hdr__nav { display: none; }
  .hdr__lang { display: none; }
  .hdr__burger { display: flex; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { color: var(--ink); transform: translateY(-1px); }
.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 4px 12px -2px rgba(37, 99, 235, 0.35);
}
.btn--primary:hover { background: var(--primary-2); border-color: var(--primary-2); color: #fff; box-shadow: 0 6px 16px -2px rgba(37, 99, 235, 0.45); }
.btn--outline {
  background: var(--bg);
  border-color: var(--line);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.btn--tg {
  background: #229ED9;
  color: #fff;
  border-color: #229ED9;
  padding: 9px 14px;
  font-size: 13px;
}
.btn--tg:hover { background: #1A8CC4; border-color: #1A8CC4; color: #fff; }
.btn--lg { padding: 16px 26px; font-size: 15px; }
.btn--block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background:
    radial-gradient(circle at 20% 0%, var(--primary-50), transparent 50%),
    radial-gradient(circle at 100% 100%, #FAF5FF, transparent 40%),
    var(--bg);
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: var(--green-50);
  color: #0F855B;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero__pill .dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.hero__h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 20px;
}
.hero__h1-em {
  background: linear-gradient(120deg, var(--primary), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 52ch;
  margin: 0 0 28px;
}
.hero__perks { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 10px; }
.hero__perks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--green-50); color: var(--green);
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.check--light { background: rgba(16,185,129,0.18); color: #34D399; }
.hero__cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero__trust {
  display: flex; align-items: center; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__trust-avs { display: flex; }
.hero__trust-avs img {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2.5px solid var(--bg);
  margin-left: -10px;
  object-fit: cover;
}
.hero__trust-avs img:first-child { margin-left: 0; }
.hero__trust-txt { display: flex; flex-direction: column; gap: 0; font-size: 13px; color: var(--muted); line-height: 1.4; }
.hero__trust-txt strong { color: var(--ink); font-size: 15px; }
.hero__trust-txt strong + span { font-size: 12px; }

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin: 0 0 0 auto;
}
.hero__img {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__card {
  position: absolute;
  background: var(--bg);
  border-radius: var(--r);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  font-size: 13px;
  z-index: 2;
  min-width: 260px;
  white-space: nowrap;
}
.hero__card > div { display: flex; flex-direction: column; gap: 2px; }
.hero__card strong { display: block; color: var(--ink); font-weight: 700; font-size: 14px; }
.hero__card small { color: var(--muted); font-size: 12px; }
.hero__card small b { color: var(--ink); font-weight: 700; }
.hero__card--top {
  top: 24px;
  left: -28px;
  border-left: 3px solid var(--primary);
}
.hero__card--bot {
  bottom: 32px;
  right: -28px;
  border-left: 3px solid var(--orange);
}
.hero__card-flag { font-size: 24px; }
.hero__card-pulse {
  width: 12px; height: 12px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { margin: 0 auto; max-width: 380px; }
  .hero__card { display: none; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: 32px 0;
  background: var(--ink);
  color: #fff;
}
.stats__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stats__item { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.stats__item b {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, #fff, #93C5FD);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats__item span {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
@media (max-width: 720px) {
  .stats__row { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  background: var(--primary-50);
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow--light { background: rgba(255,255,255,0.12); color: #93C5FD; }
.h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.h2--light { color: #fff; }
.h2 .muted { color: var(--muted); font-weight: 700; }
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 60ch;
  margin: 16px auto 0;
}

/* ============================================================
   JOBS
   ============================================================ */
.jobs { background: var(--bg-alt); }

.filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter {
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-3);
  font-weight: 600;
  font-size: 13px;
  transition: all .15s;
}
.filter:hover { border-color: var(--primary); color: var(--primary); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.job-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .job-grid { grid-template-columns: 1fr; } }

.job {
  background: var(--bg);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.job:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.job.is-hidden { display: none; }

.job__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
}
.job__media img { width: 100%; height: 100%; object-fit: cover; }
.job__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.65), transparent 60%);
  pointer-events: none;
}
.job__badges {
  position: absolute; top: 14px; left: 14px; right: 14px;
  display: flex; flex-wrap: wrap; gap: 6px;
  z-index: 2;
}
.badge {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg);
  color: var(--ink-2);
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.95);
}
.badge--green  { background: var(--green-50);  color: #047857; }
.badge--blue   { background: var(--primary-50); color: var(--primary-2); }
.badge--gray   { background: rgba(255,255,255,0.92); color: var(--ink-3); }
.badge--orange { background: var(--orange-50); color: #B45309; }
.badge--purple { background: var(--purple-50); color: #6D28D9; }

.job__rate-pill {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: var(--bg);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  z-index: 2;
  box-shadow: var(--shadow);
  display: flex; align-items: baseline; gap: 4px;
}
.job__rate-pill b { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.job__rate-pill span { font-size: 11px; color: var(--muted); font-weight: 600; }

.job__body { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.job__hdr {}
.job__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.2;
}
.job__title span { color: var(--ink-3); font-weight: 600; }
.job__loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.job__loc svg { stroke: var(--muted); }

.job__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}
.job__desc b { color: var(--ink); font-weight: 700; }

.job__meta {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  padding: 14px;
  background: var(--bg-alt);
  border-radius: var(--r-sm);
}
.job__meta li { display: flex; flex-direction: column; gap: 2px; }
.meta__k { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.meta__v { font-size: 13px; color: var(--ink); font-weight: 600; }
.meta__v b { font-weight: 800; }

.job__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  gap: 16px;
}
.job__earn { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.job__earn small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.job__earn b { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.job__earn span { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ============================================================
   WHY
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all .2s;
}
.why-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.why-card__ico {
  width: 48px; height: 48px;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.why-card__ico svg { width: 24px; height: 24px; }
.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}
.why-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.process { background: var(--bg-alt); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--line);
  overflow: hidden;
}
.step {
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; }
.step__num {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.step p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
  flex: 1;
}
.step__day {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: 1px solid var(--line); }
  .step:nth-child(2n) { border-right: none; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
}

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc-section { padding: clamp(64px, 9vw, 112px) 0; }
.calc {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--bg);
  border-radius: var(--r-xl);
  border: 1.5px solid var(--line);
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.calc__form { padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.calc__form .field { display: flex; flex-direction: column; gap: 8px; }
.calc__form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  display: flex; justify-content: space-between; align-items: center;
}
.calc__form label b { color: var(--primary); font-size: 16px; }
.calc__form select,
.calc__form input[type="range"] {
  font-family: inherit;
  font-size: 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
}
.calc__form select {
  padding: 12px 14px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%);
  background-position: calc(100% - 18px) center, calc(100% - 12px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.calc__form select:focus { outline: none; border-color: var(--primary); }
.calc__form input[type="range"] {
  width: 100%; height: 6px; padding: 0; border: none;
  background: var(--line);
  outline: none; appearance: none;
}
.calc__form input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 22px; height: 22px;
  background: var(--primary); border-radius: 50%;
  cursor: pointer; border: 4px solid var(--bg);
  box-shadow: 0 0 0 1.5px var(--primary);
}
.calc__form input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--primary); border-radius: 50%;
  cursor: pointer; border: 4px solid var(--bg);
  box-shadow: 0 0 0 1.5px var(--primary);
}
.field__hint { font-size: 12px; color: var(--muted); }

.calc__breakdown {
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 4px;
}
.calc__brow {
  display: flex; justify-content: space-between;
  font-size: 13px;
}
.calc__brow span:first-child { color: var(--muted); }
.calc__brow span:last-child { color: var(--ink); font-weight: 600; font-family: var(--mono); }
.calc__brow--total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-weight: 700;
}
.calc__brow--total span { color: var(--ink) !important; font-size: 14px; }

.calc__result {
  padding: 36px;
  background: linear-gradient(160deg, var(--ink) 0%, #1E293B 100%);
  color: #fff;
  display: flex; flex-direction: column; gap: 14px;
  justify-content: center;
}
.calc__result-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.calc__result-big {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(120deg, #fff, #93C5FD);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.calc__result-big small {
  font-size: 24px;
  -webkit-text-fill-color: rgba(255,255,255,0.55);
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  margin-left: 4px;
}
.calc__result-eur { color: rgba(255,255,255,0.6); font-size: 14px; font-family: var(--mono); }
.calc__note {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin: 8px 0 0;
}
@media (max-width: 800px) {
  .calc { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-alt); }
.faq-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg);
  border-radius: var(--r);
  border: 1.5px solid var(--line);
  overflow: hidden;
  transition: border-color .15s;
}
.faq-item[open] { border-color: var(--primary); }
.faq-item summary {
  padding: 18px 22px;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px; font-weight: 400;
  color: var(--primary);
  transition: transform .2s;
  width: 24px; height: 24px; display: grid; place-items: center;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 22px 22px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

.faq-side {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: 96px;
}
.faq-side__ic {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  border-radius: var(--r-sm);
  font-size: 24px;
  font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.faq-side h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
.faq-side p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.faq-side .btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.faq-side .btn--outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); color: #fff; }
.faq-side__hours {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 8px 0 0;
}

/* ============================================================
   APPLY
   ============================================================ */
.apply {
  background:
    radial-gradient(circle at 0% 0%, var(--primary-2), transparent 50%),
    radial-gradient(circle at 100% 100%, #4C1D95, transparent 50%),
    var(--ink);
  color: #fff;
}
.apply__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .apply__grid { grid-template-columns: 1fr; gap: 40px; } }

.apply__left .h2 { color: #fff; }
.apply__h2-em {
  background: linear-gradient(120deg, #93C5FD, #DDD6FE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.apply__lede {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  margin: 20px 0 32px;
}
.apply__perks {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.apply__perks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: rgba(255,255,255,0.85); }
.apply__contacts { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); }
.apply__contacts a { color: #fff; font-weight: 600; font-size: 14px; }
.apply__contacts a:hover { color: #93C5FD; }

.apply__form {
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.apply__form-h {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}
.apply__form .field { display: flex; flex-direction: column; gap: 6px; }
.apply__form label { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.apply__form input,
.apply__form select,
.apply__form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .15s;
}
.apply__form input:focus,
.apply__form select:focus,
.apply__form textarea:focus { outline: none; border-color: var(--primary); }

/* ============================================================
   PHONE INPUT з вибором коду країни
   ============================================================ */
.phone-group {
  display: flex;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  overflow: visible;
  background: var(--bg);
  position: relative;
  transition: border-color .15s;
}
.phone-group:focus-within { border-color: var(--primary); }
.phone-group.is-invalid { border-color: var(--red); }

.phone-code {
  position: relative;
  border-right: 1px solid var(--line);
}
.phone-code__btn {
  background: var(--bg-alt);
  border: none;
  padding: 12px 12px 12px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 6px 0 0 6px;
  height: 100%;
  transition: background .15s;
}
.phone-code__btn:hover { background: var(--primary-50); }
.phone-code__btn .flag { font-size: 18px; line-height: 1; }
.phone-code__btn .caret { font-size: 10px; color: var(--muted); margin-left: 2px; transition: transform .15s; }
.phone-code__btn[aria-expanded="true"] .caret { transform: rotate(180deg); }

.phone-code__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  min-width: 260px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 20;
  box-shadow: var(--shadow-lg);
}
.phone-code__list li {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  transition: background .1s;
}
.phone-code__list li:hover,
.phone-code__list li.is-active { background: var(--primary-50); color: var(--primary-2); }
.phone-code__list li .flag { font-size: 18px; line-height: 1; }
.phone-code__list li .code { margin-left: auto; color: var(--muted); font-family: var(--mono); font-size: 12px; font-weight: 600; }

.phone-input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 12px 14px !important;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  min-width: 0;
  border-radius: 0 6px 6px 0;
}

.phone-error {
  font-size: 12.5px;
  color: var(--red);
  margin-top: 4px;
  font-weight: 500;
}

.phone-code__search-wrap {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  border-bottom: none;
  min-width: 260px;
  padding: 8px;
  z-index: 21;
  box-shadow: 0 -2px 0 var(--bg) inset;
  display: none;
}
.phone-code.is-open .phone-code__search-wrap { display: block; }
.phone-code.is-open .phone-code__list {
  top: calc(100% + 6px + 52px);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.phone-code__search {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  outline: none;
  background: var(--bg-alt);
  color: var(--ink);
}
.phone-code__search:focus { border-color: var(--primary); background: var(--bg); }
.phone-code__list li.is-hidden { display: none; }

/* ============================================================
   SUCCESS STATE (заміна форми)
   ============================================================ */
.apply__success[hidden],
.apply__form[hidden] { display: none !important; }

.apply__success {
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: successIn .35s cubic-bezier(.2,.7,.3,1);
}
@keyframes successIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.success__icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #34D399);
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 8px;
  box-shadow: 0 12px 28px -8px rgba(16,185,129,0.55);
  animation: successPop .5s cubic-bezier(.2,.7,.3,1.3) .1s both;
}
@keyframes successPop {
  from { transform: scale(.4); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}
.success__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.success__msg {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
  max-width: 38ch;
}
.success__hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 0 0;
}
.apply__success .btn { margin-top: 4px; }
.apply__form textarea { resize: vertical; min-height: 60px; line-height: 1.5; }
.apply__form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%);
  background-position: calc(100% - 18px) center, calc(100% - 12px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.apply__legal {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 4px 0 0;
}
.apply__msg {
  padding: 14px 18px;
  font-size: 14px;
  border-radius: var(--r-sm);
  margin-top: 4px;
}
.apply__msg.is-ok { background: var(--green-50); color: #047857; border: 1px solid var(--green); }
.apply__msg.is-err { background: #FEF2F2; color: #B91C1C; border: 1px solid var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.ftr {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 24px;
}
.ftr__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.ftr__col p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
  margin: 16px 0 0;
}
.ftr__col h5 {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 4px 0 16px;
}
.ftr__col a,
.ftr__col span {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  padding: 5px 0;
}
.ftr__col a:hover { color: #fff; }
.ftr__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
}
@media (max-width: 720px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   FAB Telegram float
   ============================================================ */
.fab {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #229ED9;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px -4px rgba(34, 158, 217, 0.5);
  z-index: 90;
  transition: transform .2s;
}
.fab:hover { color: #fff; transform: scale(1.08); }
@media (max-width: 720px) { .fab { width: 48px; height: 48px; right: 16px; bottom: 16px; } }
