:root {
  --bg: #f3f7f9;
  --bg2: #e8f0f4;
  --soft: #dff0ec;
  --paper: #ffffff;
  --ink: #123040;
  --muted: #5a7384;
  --line: rgba(18, 48, 64, .12);
  --brand: #0a7a6a;
  --brand-deep: #0a5c6b;
  --sun: #e35a2d;
  --navy: #0e2436;
  --max: 1120px;
  --font: "Figtree", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Sora", "Figtree", "PingFang SC", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
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: #062029; color: #e8f4f2;
  transition: opacity .45s ease, visibility .45s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; letter-spacing: .14em; 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: 9px 16px;
  background: linear-gradient(90deg, #0a5c6b, #0a7a6a 55%, #1a8a6e);
  color: #f2fffb; font-size: 13px; letter-spacing: .04em; font-weight: 600;
}
.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(243, 247, 249, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; letter-spacing: .04em; 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__links a:hover { color: var(--ink); }
.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); transition: transform .2s ease, opacity .2s ease; }
.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: 13px 22px; font: inherit; font-weight: 700;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid {
  background: linear-gradient(120deg, #f07848, var(--sun));
  color: #fff; box-shadow: 0 10px 24px rgba(227, 90, 45, .28);
}
.btn--ghost {
  background: rgba(255,255,255,.88); border-color: rgba(255,255,255,.55); color: var(--ink);
  backdrop-filter: blur(8px);
}

.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid; align-items: end;
  padding: 0;
  overflow: hidden;
  color: #f7fcfb;
}
.hero__media { position: absolute; inset: 0; }
.hero__photo {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero__wash {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 28, 36, .78) 0%, rgba(6, 28, 36, .55) 42%, rgba(6, 28, 36, .28) 100%),
    linear-gradient(180deg, rgba(6, 28, 36, .25) 0%, rgba(6, 28, 36, .55) 55%, rgba(6, 28, 36, .82) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(72px, 12vw, 120px) clamp(16px, 4vw, 32px) clamp(48px, 8vw, 72px);
  animation: riseIn .8s ease both;
}
.hero__brand {
  font-family: var(--display);
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  margin-bottom: 14px;
  text-shadow: 0 8px 28px rgba(0,0,0,.25);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 18ch;
  font-weight: 700;
}
.hero .lead {
  margin-top: 14px;
  color: rgba(232, 244, 242, .9);
  max-width: 42ch;
  font-size: clamp(15px, 2vw, 17px);
}
.hero__search {
  position: relative;
  display: block;
  margin-top: 26px;
  max-width: 520px;
}
.hero__search-ico {
  position: absolute; left: 18px; top: 50%; width: 16px; height: 16px;
  border: 2px solid #5a7384; border-radius: 50%; transform: translateY(-60%);
  pointer-events: none;
}
.hero__search-ico::after {
  content: ""; position: absolute; width: 8px; height: 2px; background: #5a7384;
  right: -6px; bottom: -3px; transform: rotate(45deg); border-radius: 2px;
}
body.is-rtl .hero__search-ico { left: auto; right: 18px; }
.hero__search input {
  width: 100%; min-height: 56px; border-radius: 999px; border: 0;
  padding: 14px 20px 14px 48px; font: inherit; font-size: 16px;
  background: #fff; color: var(--ink);
  box-shadow: 0 18px 40px rgba(6, 28, 36, .28);
}
body.is-rtl .hero__search input { padding: 14px 48px 14px 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.trust {
  padding: 28px clamp(16px, 4vw, 32px) 0;
  position: relative; z-index: 2;
}
.trust__row {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(18, 48, 64, .08);
  animation: riseIn .7s .15s ease both;
}
.trust__item { text-align: center; padding: 8px 6px; }
.trust__n {
  font-family: var(--display); font-weight: 800; font-size: clamp(20px, 3vw, 26px);
  color: var(--brand-deep); letter-spacing: -.02em;
}
.trust__t { margin-top: 4px; color: var(--muted); font-size: 13px; }

.section { padding: clamp(48px, 8vw, 88px) clamp(16px, 4vw, 32px); }
.section__head { max-width: var(--max); margin: 0 auto 24px; }
.section__head h2 {
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -.02em;
}
.section--alt { background: var(--bg2); }
.section--soft { background: linear-gradient(180deg, #f3f7f9, var(--soft)); }
.kicker {
  color: var(--brand); letter-spacing: .14em; text-transform: uppercase;
  font-size: 12px; font-weight: 700; margin-bottom: 10px;
}
.lead { margin-top: 12px; color: var(--muted); max-width: 54ch; }

.popular {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.pop {
  position: relative; overflow: hidden; border: 0; cursor: pointer;
  border-radius: 18px; min-height: 168px; text-align: left; color: #fff;
  background: #0e2436; padding: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pop:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(18, 48, 64, .18); }
.pop__art { position: absolute; inset: 0; }
.pop__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pop__wash {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 32, .15), rgba(8, 24, 32, .78));
}
.pop__copy { position: relative; z-index: 1; padding: 18px 16px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.pop__copy h3 { font-family: var(--display); font-size: 20px; }
.pop__from { font-size: 13px; color: rgba(232, 244, 242, .92); font-weight: 600; }

.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;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(18, 48, 64, .1); }
.card.is-on { box-shadow: 0 0 0 2px rgba(10, 122, 106, .35); border-color: var(--brand); }
.card__art {
  aspect-ratio: 16 / 9; height: auto; overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(47, 224, 198, .35), transparent 45%),
    linear-gradient(145deg, #0e2436, #1a5c6b 55%, #0a7a6a);
}
.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-family: var(--display); font-size: 17px; }
.card__meta { color: var(--muted); font-size: 13px; }
.card__from { color: var(--brand-deep); font-size: 13px; font-weight: 700; margin-top: 4px; }

.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;
  transition: border-color .2s ease, transform .2s ease;
}
.plan:hover { border-color: rgba(10, 122, 106, .35); transform: translateY(-2px); }
.plan__gb { font-family: var(--display); 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: rgba(255,255,255,.82); 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;
  font-family: var(--display);
}
.step h3 { font-family: var(--display); 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: #ffffff; border: 1px solid #9bb0be; color: var(--ink);
  border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 16px;
  -webkit-appearance: none; appearance: none; min-height: 48px;
}
.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; }

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@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(243, 247, 249, .98); border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 0; font-size: 16px; }
  .hero { min-height: min(88vh, 680px); }
  .hero__wash {
    background:
      linear-gradient(180deg, rgba(6, 28, 36, .35) 0%, rgba(6, 28, 36, .62) 45%, rgba(6, 28, 36, .88) 100%);
  }
  .trust__row, .popular, .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; }
  .btn--ghost { background: #fff; border-color: #9bb0be; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero__photo { transform: none; }
}
