:root {
  --bg: #eef3f6;
  --bg2: #e3ebf0;
  --paper: #ffffff;
  --ink: #0e2436;
  --muted: #5b7284;
  --line: rgba(14, 36, 54, .12);
  --brand: #0c8b78;
  --brand2: #1476c4;
  --sun: #e35a2d;
  --navy: #0e2436;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  overflow-x: hidden;
}
body.is-splash { overflow: hidden; }
body.is-rtl { direction: rtl; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
a { color: inherit; text-decoration: none; }

.loader {
  position: fixed; inset: 0; z-index: 900;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: #07131c; color: #e8f4f2;
  transition: opacity .4s ease, visibility .4s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: .16em; font-size: 22px;
}
.loader .logo__mark { width: 28px; height: 28px; }
.loader__tag { color: #8fb4c2; font-size: 13px; }
.loader__bar { width: min(220px, calc(100vw - 48px)); height: 4px; border-radius: 4px; background: rgba(47,224,198,.14); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2fe0c6, #1476c4); }
.loader__pct { font-size: 12px; color: #8fb4c2; }

.promo {
  text-align: center; padding: 8px 16px;
  background: var(--navy); color: #e8f4f2; font-size: 12px; letter-spacing: .05em;
}
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 16px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) clamp(16px, 4vw, 32px) 10px;
  background: rgba(238, 243, 246, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .06em; font-size: 20px; }
.logo__mark {
  width: 28px; height: 28px; flex: none;
  background: url("./assets/favicon.svg") center / contain no-repeat;
}
.nav__links { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav__links a { color: var(--muted); font-size: 14px; font-weight: 600; }
.nav__right { display: flex; align-items: center; gap: 8px; }
.search input {
  background: var(--paper); border: 1px solid #9bb0be; color: var(--ink);
  border-radius: 999px; padding: 10px 14px; font: inherit; font-size: 16px;
  min-height: 42px; width: min(220px, 28vw);
}
.search--nav { display: none; }
.lang { position: relative; }
.lang__btn {
  background: var(--paper); border: 1px solid #9bb0be; color: var(--ink);
  border-radius: 10px; cursor: pointer; padding: 8px 12px; font: inherit; font-size: 13px; min-width: 64px;
}
.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  list-style: none; min-width: 168px; max-height: min(50vh, 360px); overflow-y: auto;
  padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: #ffffff;
}
.lang__menu li { padding: 10px 12px; border-radius: 8px; cursor: pointer; color: #111827; font-size: 13px; }
.lang__menu li:hover, .lang__menu li[aria-selected="true"] { background: #e8f3f0; }
.kit {
  position: relative; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  background: var(--paper); border: 1px solid #9bb0be;
}
.kit__icon {
  position: absolute; left: 12px; top: 14px; width: 18px; height: 14px;
  border: 2px solid var(--ink); border-radius: 3px;
}
.kit__icon::after {
  content: ""; position: absolute; left: 3px; top: 3px; right: 3px; height: 2px; background: var(--ink);
}
.kit__n {
  position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--sun); color: #fff; font-size: 10px; line-height: 16px; font-weight: 700;
}
.nav__menu {
  display: none; width: 44px; height: 44px; flex-direction: column;
  justify-content: center; gap: 5px; padding: 10px;
  background: var(--paper); border: 1px solid #9bb0be; border-radius: 12px; cursor: pointer;
}
.nav__menu span { display: block; height: 2px; background: var(--ink); }
.nav.is-open .nav__menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__menu span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 12px 20px; font: inherit; font-weight: 650;
  border: 1px solid transparent; cursor: pointer;
}
.btn--solid { background: linear-gradient(120deg, #f07848, var(--sun)); color: #fff; }
.btn--ghost { background: var(--paper); border-color: #9bb0be; color: var(--ink); }

.hero, .section { padding: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 32px); }
.hero {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center;
}
.kicker { color: var(--brand); letter-spacing: .16em; text-transform: uppercase; font-size: 12px; margin-bottom: 12px; }
h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.08; letter-spacing: -.03em; max-width: 14ch; }
.lead { margin-top: 14px; color: var(--muted); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.hero__art {
  position: relative; min-height: 360px;
  display: grid; place-items: center;
}
.phone {
  width: 210px; height: 400px; border-radius: 36px;
  background: #0b1c28; padding: 12px; box-shadow: 0 24px 50px rgba(14, 36, 54, .28);
}
.phone__notch {
  width: 88px; height: 10px; margin: 4px auto 10px; border-radius: 8px; background: #152a38;
}
.phone__screen {
  height: calc(100% - 24px); border-radius: 26px; padding: 22px 16px;
  background: linear-gradient(180deg, #12324a, #0c1d2a);
  color: #e8f4f2;
}
.phone__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #2fe0c6; }
.phone__gb { font-size: 22px; font-weight: 800; margin: 8px 0 14px; }
.phone__bars { display: flex; gap: 4px; align-items: flex-end; height: 18px; }
.phone__bars i { display: block; width: 6px; background: #2fe0c6; border-radius: 2px; }
.phone__bars i:nth-child(1) { height: 6px; }
.phone__bars i:nth-child(2) { height: 10px; }
.phone__bars i:nth-child(3) { height: 14px; }
.phone__bars i:nth-child(4) { height: 18px; opacity: .45; }
.phone__map {
  margin-top: 36px; height: 140px; position: relative;
  border-radius: 16px; background: radial-gradient(circle at 30% 40%, #1d5a72, #102433 70%);
}
.phone__map span {
  position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #2fe0c6;
  box-shadow: 0 0 0 6px rgba(47, 224, 198, .18);
}
.phone__map span:nth-child(1) { left: 22%; top: 30%; }
.phone__map span:nth-child(2) { left: 58%; top: 22%; }
.phone__map span:nth-child(3) { left: 70%; top: 58%; }
.phone__map span:nth-child(4) { left: 34%; top: 68%; }
.phone__map span:nth-child(5) { left: 48%; top: 46%; }
.chip {
  position: absolute; right: 8%; bottom: 18%;
  width: 92px; height: 62px; border-radius: 12px;
  background: linear-gradient(145deg, #d7fff6, #2fe0c6);
  box-shadow: 0 12px 28px rgba(12, 139, 120, .35);
}
.chip__tab {
  position: absolute; left: 14px; top: -7px; width: 22px; height: 10px;
  background: #0c8b78; border-radius: 3px 3px 0 0;
}
.chip__globe {
  position: absolute; inset: 16px 22px;
  border: 3px solid #0e2436; border-radius: 50%;
}
.chip__globe::before, .chip__globe::after {
  content: ""; position: absolute; inset: 4px 8px;
  border: 2px solid #0e2436; border-radius: 50%;
}
.chip__globe::after { inset: 10px -2px; border-radius: 0; border-top: 0; border-bottom: 0; }

.section__head { max-width: var(--max); margin: 0 auto 24px; }
.section__head h2 { font-size: clamp(24px, 4vw, 36px); }
.section--alt { background: var(--bg2); }

.grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 0; overflow: hidden; cursor: pointer; text-align: left; color: inherit;
}
.card.is-on { box-shadow: 0 0 0 2px rgba(12, 139, 120, .35); border-color: var(--brand); }
.card__art {
  aspect-ratio: 16 / 9; height: auto; overflow: hidden; background: #0e2436;
}
.card__art img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.card__copy { padding: 14px 16px 16px; display: grid; gap: 4px; }
.card h3 { font-size: 17px; }
.card__meta { color: var(--muted); font-size: 13px; }

.plans {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.plan {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 18px; display: grid; gap: 8px; text-align: left;
}
.plan__gb { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.plan__days { color: var(--muted); font-size: 14px; }
.plan__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.plan__price { font-weight: 800; font-size: 20px; }
.plan .btn { height: 44px; padding: 0 14px; font-size: 13px; }
.empty { max-width: var(--max); margin: 12px auto 0; color: var(--muted); }

.steps {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px;
}
.step__n {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 800;
  background: #d9f4ee; color: var(--brand); margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

.form { max-width: 640px; margin: 0 auto; display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.field input, .field select, .field textarea {
  background: #1a2438; border: 1px solid #4a5c7a; color: #ffffff;
  border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 16px;
  -webkit-appearance: none; appearance: none; min-height: 48px;
  color-scheme: dark;
}
.field select option { background: #ffffff; color: #111827; }
.form__hint { min-height: 1.2em; font-size: 13px; }
.form__hint.ok { color: var(--brand); }
.form__hint.err { color: #b42318; }

.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
.qa { border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; background: var(--paper); }
.qa summary { cursor: pointer; padding: 12px 0; font-weight: 650; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa p { color: var(--muted); padding: 0 0 14px; font-size: 14px; }

.foot {
  padding: 28px 16px calc(28px + env(safe-area-inset-bottom, 0px));
  text-align: center; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line);
}

.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(7, 19, 28, .45); }
.drawer[hidden], .scrim[hidden] { display: none !important; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 60; width: min(400px, 100vw);
  height: 100%; background: var(--paper); padding: 20px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 12px; border-left: 1px solid var(--line);
}
body.is-rtl .drawer { right: auto; left: 0; border-left: 0; border-right: 1px solid var(--line); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.icon-x {
  width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; position: relative;
}
.icon-x span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); top: 19px;
}
.icon-x span:first-child { transform: rotate(45deg); }
.icon-x span:last-child { transform: rotate(-45deg); }
.drawer__list { flex: 1; overflow: auto; display: grid; gap: 10px; align-content: start; }
.kit-row {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.kit-row button {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; width: 32px; height: 32px; cursor: pointer; font: inherit;
}
.drawer__total { display: flex; justify-content: space-between; font-size: 16px; }
.drawer__cta { width: 100%; }

body.is-rtl .lang__menu { right: auto; left: 0; }
body.is-rtl .nav__links { margin-left: 0; margin-right: auto; }

@media (max-width: 1100px), (hover: none) and (pointer: coarse) {
  .search--desk { display: none; }
  .search--nav { display: block; width: 100%; }
  .search--nav input { width: 100%; }
  .nav__menu { display: flex; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 16px;
    background: rgba(238, 243, 246, .98); border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 0; font-size: 16px; }
  .hero { grid-template-columns: 1fr; }
  .hero__art { min-height: 320px; }
  .grid, .plans, .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn, .plan .btn, .drawer__cta { width: 100%; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
