/* =========================================================
   ADK — Asesoría y Gestión Administrativa
   Тёмно-синяя тема, системные шрифты, без внешних запросов
   ========================================================= */

:root {
  --navy-950: #040a1b;
  --navy-900: #061127;
  --navy-850: #081933;
  --navy-800: #0b2142;
  --ink: #f2f7ff;
  --ink-soft: #d7e4f7;
  --muted: #a7bcd9;
  --muted-2: #8ba3c4;
  --blue: #4f9dff;
  --blue-light: #86c6ff;
  --line: rgba(140, 190, 255, 0.15);
  --line-strong: rgba(150, 198, 255, 0.28);
  --glass: rgba(20, 44, 84, 0.5);
  --radius: 18px;
  --wrap: 1160px;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --shadow-lg: 0 30px 70px -35px rgba(0, 0, 0, 0.9);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background-color: var(--navy-950);
  background-image:
    radial-gradient(1100px 680px at 88% -12%, rgba(43, 120, 214, 0.34), transparent 62%),
    radial-gradient(820px 600px at -8% 6%, rgba(32, 88, 168, 0.32), transparent 66%),
    radial-gradient(1100px 820px at 52% 112%, rgba(20, 62, 126, 0.5), transparent 72%),
    linear-gradient(178deg, #040a1b 0%, #061127 42%, #051026 72%, #040a1b 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(79, 157, 255, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(var(--wrap), 100% - 48px);
  margin-inline: auto;
  position: relative;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #fff;
  color: #061127;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}

.skip:focus {
  left: 0;
}

/* ================= ИКОНКИ ================= */

.i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.flag {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.flags {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(4, 10, 27, 0.75);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 11px;
  padding: 7px 11px;
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.85);
  flex-shrink: 0;
}

.brand-mark .logo-mark {
  height: 28px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #e4eeff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  position: relative;
  font-size: 13.5px;
  color: #b9cbe6;
  padding-block: 6px;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover {
  color: #fff;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav + .header-actions {
  margin-left: 0;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 7px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #a4bbd9;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.lang-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, #2f7fd8, #57a6ff);
  box-shadow: 0 6px 18px -8px rgba(70, 150, 255, 0.9);
}

/* ================= КНОПКИ ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #2f7fd8, #57a6ff);
  box-shadow: 0 14px 34px -16px rgba(70, 150, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(70, 150, 255, 1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: #dbe9ff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-light {
  background: #f4f9ff;
  color: #0a2a55;
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.7);
}

.btn-light:hover {
  transform: translateY(-2px);
  background: #fff;
}

.btn-sm {
  padding: 10px 14px;
  font-size: 0.8rem;
  border-radius: 10px;
}

.btn-sm .i {
  width: 15px;
  height: 15px;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  padding-block: clamp(46px, 6vw, 88px) clamp(54px, 7vw, 92px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  right: -280px;
  top: -420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 140, 230, 0.28), rgba(20, 60, 120, 0) 68%);
  pointer-events: none;
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(125% 105% at 72% 22%, #000 15%, transparent 76%);
  mask-image: radial-gradient(125% 105% at 72% 22%, #000 15%, transparent 76%);
}

.hero-art svg {
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.72fr);
  gap: clamp(30px, 4.5vw, 62px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 22px;
  border: 1px solid rgba(130, 185, 255, 0.24);
  border-radius: 999px;
  background: rgba(80, 145, 230, 0.1);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a8cdf5;
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #79bdff;
  box-shadow: 0 0 0 0 rgba(121, 189, 255, 0.7);
  animation: pulse 2.8s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(121, 189, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(121, 189, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(121, 189, 255, 0);
  }
}

.hero-tagline {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  max-width: 56ch;
  margin-bottom: 20px;
  padding: 12px 16px 12px 14px;
  border: 1px solid rgba(140, 195, 255, 0.18);
  border-left: 2px solid rgba(139, 197, 255, 0.75);
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(52, 110, 190, 0.2), rgba(12, 28, 58, 0.28));
  font-size: 0.95rem;
  line-height: 1.55;
  color: #cfe2fa;
}

.tagline-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(120, 180, 255, 0.15);
  color: #8ec6ff;
  margin-top: 1px;
}

.tagline-mark .i {
  width: 15px;
  height: 15px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.35vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: #f7faff;
  text-wrap: balance;
  margin-bottom: 22px;
}

.hero h1 .flags {
  margin-left: 6px;
  transform: translateY(-6px);
}

.hero h1 .flag {
  width: 30px;
  height: 21px;
  border-radius: 4px;
}

.lead {
  max-width: 58ch;
  font-size: 1.04rem;
  line-height: 1.68;
  color: #b8cbe6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.chips li {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: #a9c2e2;
}

/* карточка контактов */

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(140, 190, 255, 0.2);
  border-radius: 20px;
  background: linear-gradient(158deg, rgba(32, 67, 122, 0.62), rgba(9, 23, 49, 0.82));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160, 205, 255, 0.7), transparent);
}

.card-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8fb9e6;
  margin-bottom: 10px;
}

.contact-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.25;
  color: #f3f8ff;
}

.card-rows {
  margin-top: 18px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid rgba(140, 190, 255, 0.13);
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-row:hover {
  transform: translateX(2px);
}

.contact-row-wa:hover .contact-text strong {
  color: #8fe7b4;
}

.contact-sub {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.45;
  color: #8fa8c7;
}

.contact-row:hover .contact-sub {
  color: #a9c4e6;
}

.contact-row .row-go {
  display: grid;
  place-items: center;
  margin-left: auto;
  color: #7fa8d4;
  opacity: 0.4;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.contact-row .row-go .i {
  width: 16px;
  height: 16px;
}

.contact-row:hover .row-go {
  opacity: 1;
  transform: translateX(2px);
  color: #9fd0ff;
}

.contact-row-wa:hover .row-go {
  color: #8fe7b4;
}

.round-icon-wa {
  border-color: rgba(95, 209, 139, 0.32);
  background: rgba(37, 211, 102, 0.12);
  color: #6fe0a0;
}

.contact-row:hover .contact-text strong {
  color: #9fd0ff;
}

.round-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(140, 195, 255, 0.26);
  background: rgba(90, 155, 240, 0.13);
  color: #8ec6ff;
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.contact-text small {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8ba6c8;
}

.contact-text strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: #eaf2ff;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(140, 190, 255, 0.13);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #91a9c8;
}

.card-foot .flags {
  margin-left: auto;
}

/* ================= СЕКЦИИ ================= */

.section {
  padding-block: clamp(54px, 7vw, 88px);
  scroll-margin-top: 92px;
  position: relative;
}

.section-alt {
  border-block: 1px solid rgba(140, 190, 255, 0.09);
  background: linear-gradient(180deg, rgba(16, 40, 82, 0.34), rgba(6, 16, 37, 0.1));
}

.section-head {
  max-width: 780px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8fb2da;
}

.kicker-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border: 1px solid rgba(130, 185, 255, 0.26);
  border-radius: 6px;
  color: #a8d0ff;
}

.kicker.light {
  color: #cfe4ff;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.55rem, 2.9vw, 2.3rem);
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: #f4f9ff;
  text-wrap: balance;
}

/* услуги */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 3.5vw, 40px);
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 21px 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(158deg, rgba(24, 52, 96, 0.46), rgba(8, 20, 43, 0.46));
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  border-color: rgba(140, 200, 255, 0.34);
  background: linear-gradient(158deg, rgba(30, 64, 116, 0.6), rgba(10, 24, 50, 0.55));
  transform: translateY(-2px);
}

.check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid rgba(125, 190, 255, 0.32);
  background: rgba(80, 160, 255, 0.15);
  color: #8ccbff;
  flex-shrink: 0;
}

.check .i {
  width: 15px;
  height: 15px;
}

.service-card p {
  font-size: 0.93rem;
  line-height: 1.62;
  color: #c8d9ef;
}

/* цены */

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 3.5vw, 40px);
  max-width: 760px;
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(27, 60, 110, 0.6), rgba(8, 21, 45, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.price-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 160, 255, 0.24), transparent 70%);
  pointer-events: none;
}

.price-label {
  margin-top: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fb8d8;
}

.price-amount {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.6vw, 3rem);
  line-height: 1.1;
  color: #eaf4ff;
  background: linear-gradient(180deg, #ffffff, #9fcbf7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* шаги */

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 3.5vw, 40px);
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(140, 190, 255, 0.12);
  border-radius: 14px;
  background: rgba(9, 22, 45, 0.5);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.step:hover {
  border-color: rgba(140, 200, 255, 0.26);
  background: rgba(13, 31, 62, 0.6);
}

.step-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding-top: 3px;
  color: #7db8f2;
}

.step p {
  font-size: 0.91rem;
  line-height: 1.62;
  color: #c3d5ec;
}

/* консультация */

.consult-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4.6vw, 56px);
  border: 1px solid rgba(160, 205, 255, 0.26);
  border-radius: 26px;
  background:
    radial-gradient(120% 140% at 88% 8%, rgba(140, 200, 255, 0.35), transparent 55%),
    linear-gradient(135deg, #14396f 0%, #1b4f92 44%, #2a72c6 100%);
  box-shadow: 0 40px 90px -50px rgba(40, 120, 220, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.consult-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.consult-panel .section-head h2 {
  color: #fff;
}

.consult-head {
  max-width: 620px;
}

.footer-brand {
  min-width: 0;
}

.offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(24px, 3vw, 34px);
}

.offer {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  background: rgba(8, 26, 56, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.offer-free {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}

.offer-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  flex-shrink: 0;
}

.offer-body {
  min-width: 0;
  flex: 1;
}

.offer-body h3 {
  font-size: 0.98rem;
  font-weight: 650;
  color: #fff;
  margin-bottom: 6px;
}

.offer-body p {
  font-size: 0.88rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.86);
}

.badge {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #123f78;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.price-tag {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
}

.consult-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 32px);
}

.consult-cta {
  padding: 15px 24px;
}

.btn-wa {
  border-color: rgba(37, 211, 102, 0.45);
  background: rgba(37, 211, 102, 0.14);
  color: #eafff2;
}

.btn-wa:hover {
  transform: translateY(-2px);
  background: rgba(37, 211, 102, 0.22);
  border-color: rgba(37, 211, 102, 0.7);
}

.consult-cta strong {
  font-weight: 700;
  padding-left: 12px;
  border-left: 1px solid rgba(10, 42, 85, 0.25);
}

/* ================= FOOTER ================= */

.site-footer {
  margin-top: clamp(20px, 3vw, 36px);
  border-top: 1px solid var(--line);
  background: rgba(3, 8, 20, 0.55);
  padding-top: 44px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.brand-mark.small {
  padding: 5px 9px;
  border-radius: 8px;
  width: fit-content;
}

.brand-mark.small .logo-mark {
  height: 22px;
}

.footer-name {
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d5e4f8;
}

.footer-flags {
  margin-top: 10px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #c6d9f2;
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-contact .i {
  color: #7fb6ec;
}

.footer-contact .footer-wa .i {
  color: #5fd18b;
}

.footer-contact .footer-wa:hover {
  color: #b6f5cf;
}

.footer-langs p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8ba6c8;
}

.footer-langs .i {
  width: 15px;
  height: 15px;
  color: #7fb6ec;
}

.lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 14px;
}

.lang-list a {
  font-size: 0.86rem;
  color: #a9c4e6;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-list a:hover {
  color: #fff;
  border-color: rgba(160, 210, 255, 0.5);
}

.lang-list a[aria-current="page"] {
  color: #fff;
  border-color: var(--blue);
}

.footer-note {
  margin-top: 26px;
}

.footer-note p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 78ch;
  font-size: 11.5px;
  line-height: 1.6;
  color: #8299b8;
}

.footer-note .i {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: #7fa8d4;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  padding-block: 20px;
  border-top: 1px solid rgba(140, 190, 255, 0.1);
  font-size: 11.5px;
  color: #8299b8;
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a9c4e6;
  transition: color 0.2s ease;
}

.to-top:hover {
  color: #fff;
}

.to-top .i {
  width: 15px;
  height: 15px;
}

/* ================= GATE (/) и 404 ================= */

.gate {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 24px;
}

.gate-main {
  position: relative;
  width: min(440px, 100%);
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(30, 64, 116, 0.5), rgba(7, 18, 40, 0.72));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gate-mark {
  width: fit-content;
  margin: 0 auto;
  padding: 10px 16px;
}

.gate-mark .logo-mark {
  height: 40px;
}

.gate-brand {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d9e7fa;
}

.gate-note {
  margin-top: 8px;
  font-size: 12px;
  color: #8ba6c8;
  letter-spacing: 0.04em;
}

.gate-langs {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 26px;
}

.gate-langs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.94rem;
  font-weight: 500;
  color: #e4eefc;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.gate-langs a:hover {
  transform: translateY(-2px);
  background: rgba(79, 157, 255, 0.16);
  border-color: rgba(140, 200, 255, 0.4);
}

.gate-langs .i {
  width: 16px;
  height: 16px;
  color: #8cc4f8;
}

.gate-code {
  font-family: var(--font-display);
  font-size: 3rem;
  color: #fff;
  margin-top: 18px;
}

.gate-foot {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #7f97b5;
}

/* ================= АНИМАЦИЯ ПОЯВЛЕНИЯ ================= */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.js .reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.js .reveal:nth-child(4) {
  transition-delay: 0.18s;
}

.js .reveal:nth-child(5) {
  transition-delay: 0.06s;
}

.js .reveal:nth-child(6) {
  transition-delay: 0.12s;
}

.js .reveal:nth-child(7) {
  transition-delay: 0.18s;
}

.js .reveal:nth-child(8) {
  transition-delay: 0.06s;
}

.js .reveal:nth-child(9) {
  transition-delay: 0.12s;
}

.js .reveal:nth-child(10) {
  transition-delay: 0.18s;
}

/* ================= АДАПТИВ ================= */

@media (max-width: 1180px) {
  .nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 940px) {
  .brand-text {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    max-width: 640px;
  }

  .contact-card {
    max-width: 520px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-langs {
    grid-column: 1 / -1;
  }

  .lang-list {
    gap: 6px 24px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(var(--wrap), 100% - 36px);
  }

  .header-inner {
    gap: 12px;
    min-height: 68px;
  }

  .service-grid,
  .steps,
  .offers,
  .price-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-grid {
    max-width: none;
  }

  .step,
  .service-card {
    padding: 18px;
  }

  .offer {
    padding: 18px;
  }

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

  .footer-langs {
    grid-column: auto;
  }

  .hero h1 .flag {
    width: 24px;
    height: 17px;
  }

  .consult-actions {
    flex-direction: column;
  }

  .consult-cta {
    width: 100%;
    flex-wrap: wrap;
  }

  .consult-cta strong {
    padding-left: 0;
    border-left: 0;
  }

  .contact-row .row-go {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-actions {
    gap: 8px;
  }

  .header-call span {
    display: none;
  }

  .header-call {
    padding: 10px;
    border-radius: 999px;
  }

  .header-call .i {
    width: 17px;
    height: 17px;
  }

  .lang-link {
    min-width: 31px;
    padding: 7px 6px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .contact-card {
    padding: 22px;
  }

  .badge,
  .price-tag {
    margin-top: 2px;
  }

  .offer {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
