:root {
  --bg: #fbfbf8;
  --surface: #ffffff;
  --surface-muted: #f2f5f1;
  --ink: #17202c;
  --muted: #5b6673;
  --line: #dfe5df;
  --teal: #12737a;
  --teal-dark: #0d555a;
  --gold: #b88928;
  --rose: #7d3346;
  --shadow: 0 18px 42px rgba(23, 32, 44, 0.12);
  --header-height: 76px;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(223, 229, 223, 0.84);
  background: rgba(251, 251, 248, 0.93);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 186px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
}

.brand-mark {
  color: var(--teal);
  font-size: 21px;
  letter-spacing: 0;
}

.brand-caption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #31404f;
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-color: var(--gold);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  white-space: nowrap;
  color: var(--ink);
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 115, 122, 0.23);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--teal);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span::before {
  transform: translateY(-7px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.menu-open .menu-toggle span {
  background: transparent;
}

.menu-open .menu-toggle span::before {
  background: var(--ink);
  transform: rotate(45deg);
}

.menu-open .menu-toggle span::after {
  background: var(--ink);
  transform: translateY(-2px) rotate(-45deg);
}

main {
  padding-top: var(--header-height);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(720px, calc(100vh - var(--header-height)));
  align-items: center;
  overflow: hidden;
  background: var(--surface-muted) url("../images/hero-business-trade.png") center / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  width: 58%;
  background: rgba(251, 251, 248, 0.78);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  padding: 78px 0 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(36px, 5.7vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  color: #334352;
  font-size: 19px;
}

.hero .lead {
  max-width: 620px;
}

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

.hero-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 28px;
  color: #2f3b47;
  font-weight: 800;
}

.section {
  padding: 86px 0;
}

.section-muted {
  background: var(--surface-muted);
}

.section-heading {
  display: grid;
  max-width: 760px;
  gap: 10px;
  margin-bottom: 34px;
}

.section-heading p,
.text-block p,
.card p,
.service-detail p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  border-color: rgba(18, 115, 122, 0.45);
  box-shadow: var(--shadow);
  transform: scale(1.018);
}

.advantage {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-weight: 800;
}

.dot {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #e4f1ef;
  color: var(--teal);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 48px;
  align-items: start;
}

.text-block {
  display: grid;
  gap: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  border-top: 3px solid var(--teal);
  background: #fff;
  padding: 22px;
}

.stat strong {
  display: block;
  color: var(--rose);
  font-size: 34px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.partners-panel,
.payment-panel {
  margin-top: 34px;
}

.compact-heading {
  margin-bottom: 20px;
}

.partner-grid,
.payment-logos {
  display: grid;
  gap: 16px;
}

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

.partner-card {
  display: grid;
  min-height: 118px;
  align-content: space-between;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.partner-card:hover {
  border-color: rgba(18, 115, 122, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.partner-card strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.partner-card span {
  color: var(--muted);
  font-weight: 800;
}

.payment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
}

.payment-panel h2 {
  margin-bottom: 0;
}

.payment-logos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payment-logo {
  display: inline-flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 900;
  line-height: 1;
}

.visa-logo {
  color: #1a4da1;
  font-size: 30px;
  font-style: italic;
  letter-spacing: 1px;
}

.mastercard-logo {
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
}

.mc-circles {
  position: relative;
  display: block;
  width: 58px;
  height: 32px;
}

.mc-circles i {
  position: absolute;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.mc-circles i:first-child {
  left: 0;
  background: #eb001b;
}

.mc-circles i:last-child {
  right: 0;
  background: rgba(247, 158, 27, 0.92);
  mix-blend-mode: multiply;
}

.mir-logo {
  color: #148f4b;
  font-size: 30px;
  letter-spacing: 0;
}

.steps {
  counter-reset: steps;
}

.step {
  position: relative;
  padding-left: 72px;
}

.step::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  content: counter(steps);
  counter-increment: steps;
  font-weight: 900;
}

.page-hero {
  background: var(--surface-muted);
  padding: 76px 0 54px;
}

.page-hero .lead {
  max-width: 780px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--teal);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 4px;
}

.contact-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list strong,
.contact-list a {
  font-size: 18px;
}

.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(23, 32, 44, 0.08);
}

.form-panel h2,
.form-panel h3 {
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #293846;
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #cfd9d4;
  border-radius: 8px;
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
  outline: none;
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 115, 122, 0.13);
}

.success-message {
  display: none;
  border: 1px solid rgba(18, 115, 122, 0.26);
  border-radius: 8px;
  background: #e8f5f2;
  padding: 18px;
  color: #0d555a;
  font-weight: 900;
}

.is-sent .form-grid {
  display: none;
}

.is-sent .success-message {
  display: block;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #17202c;
  color: #fff;
  padding: 38px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.footer-inner a,
.footer-inner p {
  color: rgba(255, 255, 255, 0.78);
}

.footer-nav {
  display: grid;
  gap: 8px;
}

.legal-text {
  color: var(--muted);
}

.legal-text h2 {
  margin-top: 34px;
  color: var(--ink);
  font-size: 24px;
}

@media (max-width: 980px) {
  .header-actions .button,
  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    height: calc(100vh - var(--header-height));
    align-items: stretch;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: var(--bg);
    padding: 22px 16px;
  }

  .menu-open .nav {
    display: grid;
    align-content: start;
    gap: 8px;
  }

  .nav a {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 14px;
  }

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

  .payment-panel {
    grid-template-columns: 1fr;
  }

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

  .hero::before {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 24px, 1160px);
  }

  .brand-caption {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    font-size: 18px;
  }

  .hero {
    min-height: auto;
    background-position: 58% center;
  }

  .hero-content {
    padding: 52px 0 64px;
  }

  .lead {
    font-size: 17px;
  }

  .section {
    padding: 58px 0;
  }

  .page-hero {
    padding: 48px 0 40px;
  }

  .grid-2,
  .grid-3,
  .stats,
  .partner-grid,
  .payment-logos {
    grid-template-columns: 1fr;
  }

  .payment-panel {
    padding: 22px;
  }

  .card,
  .form-panel {
    padding: 22px;
  }

  .step {
    padding-left: 60px;
  }

  .step::before {
    left: 18px;
  }

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