/* ============ AK Unicorn — brand tokens ============ */
:root {
  --navy: #071B33;
  --ink: #0B1220;
  --night: #01030F;
  --blue: #1C9EFF;
  --cyan: #50D6FF;
  --muted: #5B6577;
  --line: rgba(7, 27, 51, .10);
  --bg: #FFFFFF;
  --tint: #F4F8FD;
  --grad: linear-gradient(120deg, var(--navy) 0%, var(--blue) 55%, var(--cyan) 100%);
  --radius: 20px;
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { box-shadow: 0 10px 24px rgba(7, 27, 51, .25); }
.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); }
.btn--grad { background: var(--grad); color: #fff; background-size: 160% 100%; }
.btn--grad:hover { background-position: 100% 0; box-shadow: 0 12px 28px rgba(28, 158, 255, .35); }
.btn--block { width: 100%; }

/* ============ Header ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 44px; height: auto; }
.brand__name { font-weight: 300; letter-spacing: .32em; font-size: 15px; color: var(--navy); white-space: nowrap; }
.nav__links { display: flex; gap: 32px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--navy); }

/* ============ Language Dropdown ============ */
.lang-dropdown {
  position: relative;
}
.lang-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(7, 27, 51, 0.12);
  color: var(--navy);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(7, 27, 51, 0.04);
  transition: all .2s var(--ease);
}
.lang-dropdown__trigger:hover {
  background: #ffffff;
  border-color: rgba(7, 27, 51, 0.25);
  box-shadow: 0 4px 12px rgba(7, 27, 51, 0.08);
  transform: translateY(-1px);
}
.lang-dropdown.is-open .lang-dropdown__trigger {
  border-color: var(--navy);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(28, 158, 255, 0.15);
}
.lang-flag-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.lang-flag-current svg, .lang-option__flag svg, .mobile-lang-flag svg {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  display: block;
}
.lang-current-code {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
}
.lang-dropdown__chevron {
  transition: transform .25s var(--ease);
  color: var(--muted);
}
.lang-dropdown.is-open .lang-dropdown__chevron {
  transform: rotate(180deg);
  color: var(--navy);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 195px;
  background: #ffffff;
  border: 1px solid rgba(7, 27, 51, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 40px -8px rgba(7, 27, 51, 0.18), 0 4px 12px rgba(7, 27, 51, 0.06);
  padding: 6px;
  z-index: 100;
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.lang-dropdown.is-open .lang-dropdown__menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  transition: all .15s ease;
}
.lang-option:hover {
  background: rgba(7, 27, 51, 0.05);
}
.lang-option.is-active {
  background: rgba(28, 158, 255, 0.08);
  color: var(--blue);
  font-weight: 600;
}
.lang-option__name {
  flex: 1;
}
.lang-option__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  background: rgba(7, 27, 51, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
}
.lang-option.is-active .lang-option__badge {
  background: rgba(28, 158, 255, 0.16);
  color: var(--blue);
}
.lang-option__check {
  color: var(--blue);
  opacity: 0;
  transition: opacity .15s;
}
.lang-option.is-active .lang-option__check {
  opacity: 1;
}

/* Mobile Language Switcher */
.mobile-lang-section {
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--line);
}
.mobile-lang-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.mobile-lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mobile-lang-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: all .2s var(--ease);
}
.mobile-lang-card:hover {
  border-color: rgba(7, 27, 51, 0.3);
}
.mobile-lang-card.is-active {
  border-color: var(--navy);
  background: rgba(7, 27, 51, 0.04);
  box-shadow: 0 4px 12px rgba(7, 27, 51, 0.08);
}

.nav__toggle { display: none; }

.mobile-menu {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px 24px 24px; border-bottom: 1px solid var(--line); background: #fff;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > a:not(.btn) { padding: 14px 0; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }

/* ============ Shared ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 10px 0 0 -1px var(--cyan); margin-right: 8px; }
.eyebrow--light { color: var(--cyan); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section { padding: 128px 0; }
.section__head { margin-bottom: 64px; max-width: 760px; }
.section__title { font-size: clamp(36px, 5vw, 60px); font-weight: 600; color: var(--navy); }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding: 120px 0 128px; }
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; }
.hero__title {
  font-size: clamp(44px, 8vw, 104px); font-weight: 600; color: var(--navy);
  letter-spacing: -.035em; line-height: 1.02; max-width: 1000px;
}
.hero__lead { margin-top: 32px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.pillars {
  list-style: none; padding: 0; margin: 80px 0 0;
  display: flex; gap: 28px; font-size: 14px; font-weight: 500; letter-spacing: .32em; color: var(--navy);
}
.pillars li + li::before { content: "•"; color: var(--blue); margin-right: 28px; letter-spacing: 0; }

/* ============ About ============ */
.about__statement {
  font-size: clamp(24px, 3.2vw, 40px); line-height: 1.3; font-weight: 400;
  color: var(--navy); max-width: 1000px; letter-spacing: -.015em;
}
.about__statement strong { font-weight: 600; }
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 96px; }
.about__item { border-top: 1px solid var(--line); padding-top: 28px; }
.about__num { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .1em; }
.about__item h3 { font-size: 24px; margin: 14px 0 12px; color: var(--navy); font-weight: 600; }
.about__item p { color: var(--muted); }

/* ============ Process (dark) ============ */
.section--dark { background: var(--night); color: #E6ECF5; position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(28,158,255,.18), transparent 60%);
  pointer-events: none;
}
.section--dark .section__title { color: #fff; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step { padding: 32px 28px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.step__num { display: inline-block; font-size: 14px; font-weight: 600; color: var(--cyan); letter-spacing: .1em; margin-bottom: 40px; }
.step h3 { font-size: 22px; color: #fff; font-weight: 600; margin-bottom: 12px; }
.step p { color: #98A4B8; font-size: 15px; }

/* ============ Request ============ */
.request { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.request__intro { position: sticky; top: 120px; }
.request__lead { color: var(--muted); font-size: 18px; margin-top: 24px; }
.notice {
  margin-top: 32px; padding: 20px 22px; border-radius: 14px;
  background: var(--tint); border-left: 3px solid var(--blue);
  font-size: 15px; color: var(--muted);
}
.notice strong { display: block; color: var(--navy); margin-bottom: 4px; }

.form {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px;
  box-shadow: 0 24px 60px rgba(7, 27, 51, .06);
  display: grid; gap: 22px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > legend { font-size: 14px; font-weight: 600; color: var(--navy); padding: 0; margin-bottom: 0; }
.field legend { margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #FBFCFE;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(28, 158, 255, .14);
}
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid .chips { border-color: #E5484D; }
.field.is-invalid .chip span { border-color: #F3B3B5; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--navy); background: #FBFCFE; transition: all .2s;
}
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(28, 158, 255, .25); }

.form__status { font-size: 14px; text-align: center; min-height: 1.4em; color: var(--muted); }
.form__status.is-error { color: #D13438; }
.form__status.is-ok { color: #0F8A5F; }

/* ============ Footer ============ */
.footer { background: var(--night); color: #98A4B8; padding: 80px 0 32px; }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand { display: flex; align-items: center; gap: 20px; }
.footer__mark { width: 96px; }
.footer__name { color: #fff; font-weight: 300; letter-spacing: .32em; font-size: 20px; }
.footer__tag { color: var(--cyan); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; margin-top: 6px; }
.footer__cols { display: flex; gap: 80px; }
.footer__cols div { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer__cols a:hover { color: #fff; }
.footer__label { color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; }
.footer__pillars { letter-spacing: .28em; text-transform: uppercase; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .request { grid-template-columns: 1fr; gap: 48px; }
  .request__intro { position: static; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .lang-dropdown { margin-left: auto; }
  .nav__toggle {
    display: grid; gap: 6px; margin-left: 10px; width: 44px; height: 44px; place-content: center;
    background: none; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .about__grid { grid-template-columns: 1fr; gap: 32px; margin-top: 64px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 88px 0; }
  .section__head { margin-bottom: 44px; }
  .hero { padding: 72px 0 88px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .pillars { margin-top: 56px; gap: 14px; font-size: 12px; letter-spacing: .24em; }
  .pillars li + li::before { margin-right: 14px; }
  .steps { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__cols { gap: 48px; }
  .brand__name { font-size: 13px; letter-spacing: .26em; }
  .nav__inner { gap: 12px; }
  .brand { gap: 10px; min-width: 0; }
  .brand__mark { width: 36px; }
}

@media (max-width: 380px) {
  .brand__name { letter-spacing: .18em; font-size: 12px; }
  .lang-current-code { display: none; }
}
