:root {
  --ink: #101821;
  --ink-2: #17283a;
  --blue: #203853;
  --blue-soft: #e8eef2;
  --gold: #caa45c;
  --gold-2: #e6c77d;
  --paper: #f7f5ef;
  --white: #ffffff;
  --text: #334153;
  --muted: #697686;
  --line: #d9e1e7;
  --red: #7b3a32;
  --green: #2d584f;
  --shadow: 0 24px 70px rgba(19, 32, 45, .14);
  --radius: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

h1,
h2,
h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  letter-spacing: -.03em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.8vw, 62px);
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

p { margin-bottom: 16px; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(16, 24, 33, .88);
  color: #fff;
  backdrop-filter: blur(14px);
}

.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
}

.logo small {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.55);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 199, 125, .65);
  border-radius: 50%;
  color: var(--gold-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  font-weight: 700;
}

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

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.call-link {
  color: var(--gold-2);
  font-weight: 900;
  white-space: nowrap;
}

.is-hidden {
  display: none !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 3px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 76px 0 92px;
  color: rgba(255,255,255,.82);
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(16, 24, 33, .95), rgba(16, 24, 33, .82) 46%, rgba(32, 56, 83, .55)),
    url("assets/hero-photo.jpg");
  background-size: cover;
  background-position: left center;
}

.hero-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 40%, #000 75%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 900px;
  color: #fff;
}

.hero-text {
  max-width: 720px;
  color: rgba(255,255,255,.74);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 23px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-gold {
  color: #15120d;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 14px 30px rgba(202, 164, 92, .22);
}

.button-light {
  color: #fff;
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
}

.btn-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 15px 23px;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  box-shadow: 0 14px 30px rgba(34, 158, 217, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-telegram:hover {
  transform: translateY(-1px);
}

.btn-telegram-compact {
  min-height: auto;
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 999px;
  box-shadow: none;
}

.tg-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.tg-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tg-label .tg-icon {
  color: #4fc3f7;
}

.btn-max {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 15px 23px;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, #4A90E2, #9B59D6);
  box-shadow: 0 14px 30px rgba(107, 90, 214, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-max:hover {
  transform: translateY(-1px);
}

.btn-max-compact {
  min-height: auto;
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 999px;
  box-shadow: none;
}

.max-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: 28px;
  box-shadow: 0 34px 100px rgba(0,0,0,.32);
}

.hero-form-title {
  margin: 0 0 2px;
  font-size: 21px;
  font-weight: 900;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.btn-lg.button,
.btn-lg.btn-telegram {
  min-height: 64px;
  padding: 19px 34px;
  font-size: 17px;
  border-radius: 14px;
}

.signal-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  align-items: end;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(16, 24, 33, .78);
  color: #fff;
  backdrop-filter: blur(10px);
}

.signal-card span {
  grid-column: 1 / -1;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.signal-card strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: .9;
}

.signal-card p {
  margin: 0;
  color: rgba(255,255,255,.72);
}

.metrics {
  position: relative;
  z-index: 2;
  margin-top: -44px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.metrics-grid div {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.metrics-grid div:last-child { border-right: 0; }

.metrics-grid span {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 800;
}

.metrics-grid strong {
  display: block;
  color: var(--ink);
  margin: 8px 0 3px;
}

.metrics-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.split-head {
  display: grid;
  grid-template-columns: .78fr 1fr .72fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 46px;
}

.split-head .eyebrow {
  margin-top: 12px;
}

.split-head p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.scope-list article {
  min-height: 260px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.scope-list span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 800;
}

.scope-list p {
  margin: 0;
  color: var(--muted);
}

.path {
  background: var(--blue);
  color: rgba(255,255,255,.76);
}

.path h2,
.path h3 {
  color: #fff;
}

.path-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 52px;
  align-items: start;
}

.path-lead {
  color: rgba(255,255,255,.7);
  font-size: 18px;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.path-steps div {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
}

.path-steps span {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 800;
}

.path-steps p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.7);
}

.path-steps .button,
.path-steps .btn-telegram,
.path-steps .btn-max {
  width: 100%;
}

.btn-sm.button,
.btn-sm.btn-telegram,
.btn-sm.btn-max {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 10px;
}

.fees {
  background: var(--blue-soft);
}

.fees-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 34px;
  align-items: stretch;
}

.fees-card {
  padding: 36px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.fee-rows {
  display: grid;
  gap: 10px;
}

.fee-rows div {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 20px;
  align-items: center;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(19, 32, 45, .08);
}

.fee-rows strong {
  color: var(--red);
  text-align: right;
  white-space: nowrap;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.outcome-intro,
.outcomes article {
  padding: 30px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(19, 32, 45, .08);
}

.outcome-intro {
  background: var(--ink);
}

.outcome-intro h2 {
  color: #fff;
  font-size: clamp(30px, 3.6vw, 48px);
}

.outcomes article p {
  margin: 0;
  color: var(--muted);
}

.request-section {
  color: rgba(255,255,255,.74);
  background:
    radial-gradient(circle at 18% 12%, rgba(202,164,92,.18), transparent 28%),
    linear-gradient(135deg, #101821, #162d2d);
}

.request-section h2 {
  color: #fff;
}

.request-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 52px;
  align-items: start;
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-line a {
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
}

.form {
  display: grid;
  gap: 15px;
  padding: 34px;
  border-radius: 24px;
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
}

.form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbfc;
  color: var(--ink);
  font: inherit;
  padding: 14px;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(202,164,92,.18);
}

.form textarea { resize: vertical; }

.check a { text-decoration: underline; }

.check {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  color: var(--muted) !important;
  font-weight: 600 !important;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.status {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.contacts {
  padding: 86px 0;
  background: var(--white);
}

.contacts-grid {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 42px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.contact-actions a {
  min-width: 220px;
}

.section-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.footer {
  padding: 34px 0;
  background: var(--ink);
  color: rgba(255,255,255,.6);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer p {
  max-width: 660px;
  margin: 0;
  font-size: 13px;
}

.footer-docs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: none;
  text-align: right;
}

.footer-docs a {
  color: rgba(255,255,255,.75);
  font-size: 13px;
}

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

.logo-light small { color: rgba(255,255,255,.48); }

@media (max-width: 1060px) {
  .hero-layout,
  .path-grid,
  .fees-layout,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .path-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-steps > div:last-child {
    grid-column: 1 / -1;
  }

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

  .split-head,
  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .scope-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-grid div {
    border-bottom: 1px solid var(--line);
  }

  .metrics-grid div:nth-child(2n) {
    border-right: 0;
  }

  .metrics-grid div:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .call-link,
  .topbar-actions .btn-telegram-compact,
  .topbar-actions .btn-max-compact { display: none; }

  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 18px;
    background: var(--ink);
    border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-130%);
    transition: transform .22s ease;
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .nav a:last-child { border-bottom: 0; }

  .hero {
    min-height: auto;
    padding: 64px 0 86px;
  }

  .metrics {
    margin-top: 0;
  }

  .metrics-grid,
  .scope-list,
  .path-steps {
    grid-template-columns: 1fr;
  }

  .contact-actions a {
    width: 100%;
    min-width: 0;
  }

  .metrics-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics-grid div:last-child { border-bottom: 0; }

  .section {
    padding: 66px 0;
  }

  .fee-rows div {
    grid-template-columns: 1fr;
  }

  .fee-rows strong {
    text-align: left;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-docs {
    text-align: left;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 42px;
  }

  .hero-cta .button,
  .hero-cta .btn-telegram,
  .hero-cta .btn-max,
  .form .button {
    width: 100%;
  }

  .section-cta .button,
  .section-cta .btn-telegram {
    width: 100%;
    max-width: 360px;
  }

  .form {
    padding: 24px;
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 15, 20, .68);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  max-width: 420px;
  width: 100%;
  padding: 40px 34px 34px;
  border-radius: 20px;
  background: var(--white);
  color: var(--text);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: translateY(12px);
  transition: transform .25s ease;
}

.modal-overlay.is-visible .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.modal-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  color: var(--ink);
}

.modal-card p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.5;
}

.modal-card .button {
  width: 100%;
}

