:root {
  --bg: #0b0b0c;
  --bg2: #111113;
  --card: #151517;
  --card2: #1b1b1e;
  --line: rgba(226, 179, 90, 0.18);
  --line2: rgba(255, 255, 255, 0.07);
  --text: #f4f1ea;
  --muted: #a39f97;
  --gold: #e2b35a;
  --gold-2: #f6d98f;
  --gold-3: #a8742a;
  --gold-grad: linear-gradient(135deg, #fbe3a0 0%, #e9b95a 40%, #c8913a 75%, #9a6a22 100%);
  --green: #6fcf97;
  --red: #ef8a80;
  --r: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1 Inter, sans-serif; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold-grad); color: #1a1205; box-shadow: 0 8px 30px rgba(226, 179, 90, .25); }
.btn-gold:hover { color: #1a1205; box-shadow: 0 10px 38px rgba(226, 179, 90, .4); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* header */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line2); }
.topbar-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); }
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line2); border-radius: 10px; background: var(--bg2); }
.langs button { border: 0; background: none; color: var(--muted); font: 600 12px Inter, sans-serif; letter-spacing: .04em; padding: 6px 9px; border-radius: 7px; cursor: pointer; }
.langs button:hover { color: var(--text); }
.langs button.on { background: var(--gold-grad); color: #1a1205; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; padding: 0 11px; }
.burger span { display: block; height: 2px; background: var(--gold); margin: 6px 0; transition: transform .2s; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; border-bottom: 1px solid var(--line2); }
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(226, 179, 90, .22) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  opacity: .5;
}
.bars { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; opacity: .9; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-in > * { min-width: 0; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow .line { width: 28px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 700; margin-bottom: 22px; }
.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.ticker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 560px; }
.tick { padding: 12px 14px; border: 1px solid var(--line2); border-radius: 12px; background: rgba(21, 21, 23, .7); }
.tick b { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.tick span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.cur-ico { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: inline-grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; }

/* calculator */
.calc { padding: 28px; position: relative; }
.calc::before { content: ""; position: absolute; inset: -1px; border-radius: var(--r); padding: 1px; background: linear-gradient(160deg, rgba(246, 217, 143, .6), transparent 40%, transparent 70%, rgba(226, 179, 90, .4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.calc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.calc-head h2 { font-size: 22px; }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(111, 207, 151, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(111, 207, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 207, 151, 0); } }
.lbl { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; font-weight: 500; }
.money { display: flex; border: 1px solid var(--line2); border-radius: 12px; background: var(--bg2); transition: border-color .2s; }
.money:focus-within { border-color: var(--gold); }
.money input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: 600 24px/1 Inter, sans-serif; padding: 16px 18px; outline: none; font-variant-numeric: tabular-nums; }
.money select { background: var(--card2); color: var(--text); border: 0; border-left: 1px solid var(--line2); border-radius: 0 12px 12px 0; padding: 0 36px 0 16px; font: 600 16px Inter, sans-serif; cursor: pointer; outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23e2b35a' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.swap { display: grid; place-items: center; width: 40px; height: 40px; margin: 10px auto; border-radius: 50%; border: 1px solid var(--line); background: var(--card2); color: var(--gold); cursor: pointer; transition: transform .3s, border-color .2s; }
.swap:hover { border-color: var(--gold); transform: rotate(180deg); }
.rate-line { margin: 16px 0 18px; font-size: 14px; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; min-height: 22px; }
.rate-line b { color: var(--gold-2); font-weight: 600; }
.fine { font-size: 12.5px; color: #7d7a74; margin-top: 14px; line-height: 1.5; }
.fine.small { margin: -4px 0 12px; }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-block: 1px solid var(--line2); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .eyebrow { justify-content: center; }
.sec-head h2, .contact h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 12px; }

/* rates table */
.rates { max-width: 860px; margin: 0 auto; overflow: hidden; padding: 6px 0; }
.rates-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center; padding: 18px 28px; border-bottom: 1px solid var(--line2); }
#ratesBody .rates-row:last-child { border-bottom: 0; }
.rates-th { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding-block: 14px; }
.rates-th span:not(:first-child), .rates-row .num-cell { text-align: right; }
.cur { display: flex; align-items: center; gap: 14px; }
.cur .cur-ico { width: 42px; height: 42px; font-size: 18px; }
.cur b { display: block; font-size: 17px; }
.cur small { color: var(--muted); font-size: 13px; }
.num-cell { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.num-cell.sell { color: var(--gold-2); }
.num-cell .zl { font-size: .6em; font-weight: 500; color: var(--muted); }
.rates-row:hover:not(.rates-th) { background: rgba(226, 179, 90, .04); }
.skeleton span { height: 18px; border-radius: 6px; background: linear-gradient(90deg, #1c1c1f, #26262a, #1c1c1f); background-size: 200% 100%; animation: sk 1.4s infinite; }
.skeleton span:not(:first-child) { width: 60%; margin-left: auto; }
@keyframes sk { to { background-position: -200% 0; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 32px 28px; box-shadow: none; }
.num { display: block; font-size: 14px; font-weight: 600; color: var(--gold); letter-spacing: .1em; margin-bottom: 18px; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.perk { display: flex; gap: 14px; }
.perk .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(226, 179, 90, .1); color: var(--gold); font-weight: 700; font-size: 18px; border: 1px solid var(--line); }
.perk b { display: block; margin-bottom: 4px; }
.perk p { color: var(--muted); font-size: 14.5px; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: stretch; }
.info-block { margin-top: 26px; }
.info-block p { font-size: 18px; }
.hours { padding: 22px 24px; box-shadow: none; }
.hours ul { list-style: none; margin: 0; padding: 0; }
.hours li { padding: 6px 0; border-bottom: 1px dashed var(--line2); font-variant-numeric: tabular-nums; }
.hours li:last-child { border: 0; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.contact-links a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-weight: 500; }
.contact-links a:hover { border-color: var(--gold); color: var(--gold-2); }
.map { overflow: hidden; min-height: 380px; padding: 0; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(1) invert(.92) contrast(.9) sepia(.15); }

/* footer */
.footer { border-top: 1px solid var(--line2); padding: 56px 0 28px; background: var(--bg2); }
.footer-in { display: grid; grid-template-columns: 1.2fr 1.2fr .8fr; gap: 40px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.company p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.company b { color: var(--text); font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); font-size: 14.5px; }
.footer-links a:hover { color: var(--gold-2); }
.copy { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line2); color: #6f6c67; font-size: 13px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); }
.modal-box { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 30px; animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line2); background: none; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }
.modal-x:hover { color: var(--text); border-color: var(--gold); }
.modal h2 { font-size: 24px; margin-bottom: 16px; }
.summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.summary div small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.summary div b { font-size: 19px; }
.summary .arrow { color: var(--gold); font-size: 20px; }
.f { display: block; margin-bottom: 14px; }
.f span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.f input, .f select, .f textarea { width: 100%; background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; color: var(--text); font: 15px Inter, sans-serif; outline: none; transition: border-color .2s; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--gold); }
.f textarea { resize: vertical; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 16px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-err { color: var(--red); font-size: 14px; min-height: 0; margin-bottom: 10px; }
.form-err:empty { display: none; }
.done { text-align: center; padding: 10px 0; }
.done-ico { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--gold-grad); color: #1a1205; font-size: 30px; font-weight: 700; }
.done p { color: var(--muted); margin-bottom: 22px; }

/* responsive */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .burger { display: block; margin-left: 10px; }
  .langs { margin-left: auto; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(11, 11, 12, .97); border-bottom: 1px solid var(--line2); max-height: 0; overflow: hidden; transition: max-height .3s; margin: 0; }
  .nav.open { max-height: 320px; }
  .nav a { padding: 16px 20px; border-top: 1px solid var(--line2); font-size: 16px; }
  .brand img { height: 36px; }
  .hero { padding: 40px 0 64px; }
  .lead { font-size: 16.5px; }
  .ticker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eyebrow { letter-spacing: .12em; font-size: 12px; }
  .calc { padding: 22px 18px; }
  .section { padding: 68px 0; }
  .rates-row { padding: 14px 16px; grid-template-columns: 1.3fr 1fr 1fr; }
  .cur .cur-ico { width: 34px; height: 34px; font-size: 15px; }
  .cur small { display: none; }
  .num-cell { font-size: 17px; }
  .rates-th { font-size: 10.5px; letter-spacing: .05em; }
  .rates-row { gap: 8px; }
  .perks { grid-template-columns: 1fr; gap: 20px; }
  .footer-in { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .modal-box { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
