:root {
  /* Официальная палитра DALISTRA (брендбук) */
  --brand-blue: #0315ca;
  --brand-blue-deep: #1e3a8a;
  --brand-black: #0f0f0f;
  --brand-white: #ffffff;
  --brand-sky-tint: #e8f0ff;
  --brand-gray-50: #f5f7fc;
  --brand-gray-100: #ebeff9;
  --brand-gray-200: #d5ddef;
  --brand-gray-400: #7a8298;
  --brand-gray-500: #5c6378;
  --brand-success: #1f8f5f;
  --brand-border: rgba(30, 58, 138, 0.2);
  --shadow-soft: 0 10px 30px rgba(15, 15, 15, 0.08);
  --brand-blue-rgb: 3, 21, 202;
  --brand-deep-rgb: 30, 58, 138;
  --brand-black-rgb: 15, 15, 15;
  --brand-surface-tint: rgba(var(--brand-deep-rgb), 0.06);
  --brand-surface-tint-strong: rgba(var(--brand-deep-rgb), 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--brand-white);
  color: var(--brand-black);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 14px;
  top: 14px;
  z-index: 100;
  background: #fff;
  color: var(--brand-blue-deep);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--brand-blue-deep);
}

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

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--brand-black);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.05;
  margin-bottom: 0;
}

h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  margin-bottom: 0;
}

h3 {
  font-size: 19px;
  line-height: 1.2;
}

.section-kicker,
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-text {
  margin: 18px 0 0;
  max-width: 62ch;
  color: var(--brand-gray-500);
  font-size: 16px;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--brand-gray-50);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--brand-gray-200);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  width: 190px;
  height: 44px;
  overflow: visible;
}

.brand-logo {
  width: 190px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
  display: block;
  transform: scale(1.18);
  transform-origin: left center;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-nav a {
  text-decoration: none;
  color: var(--brand-gray-500);
  font-size: 15px;
  font-weight: 500;
}

.header-nav a:hover {
  color: var(--brand-blue-deep);
}

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

.header-actions .btn {
  width: 150px;
}

.btn {
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-with-icon {
  gap: 8px;
}

.btn-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.btn-icon-inverse {
  filter: brightness(0) invert(1);
}

.btn-primary {
  color: var(--brand-white);
  background: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  box-shadow: 0 8px 22px rgba(var(--brand-blue-rgb), 0.28);
}

.btn-outline {
  border: 1px solid var(--brand-blue-deep);
  color: var(--brand-blue-deep);
  background: transparent;
}

.btn-ghost {
  color: var(--brand-blue-deep);
  background: rgba(var(--brand-blue-rgb), 0.08);
}

.cards-3,
.faq-list {
  margin-top: 24px;
  display: grid;
  gap: 15px;
}

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

.benefits-bento {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-tile {
  position: relative;
  border-radius: 20px;
  padding: 24px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  min-height: 230px;
  height: 230px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 255, 0.96) 100%);
  border: 1px solid rgba(var(--brand-deep-rgb), 0.13);
  box-shadow:
    0 10px 24px rgba(var(--brand-black-rgb), 0.05),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  overflow: hidden;
}

.benefit-tile::before {
  display: none;
}

.benefit-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--brand-blue-rgb), 0.28);
  box-shadow:
    0 18px 34px rgba(var(--brand-black-rgb), 0.1),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.benefit-bg-mark {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 128px;
  height: 128px;
  object-fit: contain;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

.benefit-tile h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--brand-black);
  letter-spacing: -0.01em;
  max-width: 28ch;
  position: relative;
  z-index: 2;
}

.benefit-tile p {
  margin: 0;
  color: var(--brand-gray-500);
  font-size: 14px;
  line-height: 1.58;
  position: relative;
  z-index: 2;
}

.benefit-tone-steel {
  background: linear-gradient(145deg, #edf3fb 0%, #dfe8f5 100%);
}

.benefit-tone-soft {
  background: linear-gradient(145deg, #f6f8fc 0%, #e7eef9 100%);
}

.benefit-tone-ice {
  background: linear-gradient(145deg, #eef4ff 0%, #dce8ff 100%);
}

.benefit-tone-blue {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.18) 0%, transparent 44%),
    linear-gradient(145deg, #2058d6 0%, #2f67df 100%);
  border-color: rgba(255, 255, 255, 0.2);
}

.benefit-tone-deep {
  background:
    radial-gradient(circle at 90% 10%, rgba(46, 120, 255, 0.22) 0%, transparent 46%),
    linear-gradient(145deg, #081a3d 0%, #0f2f68 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.benefit-tone-light {
  background: linear-gradient(145deg, #ffffff 0%, #edf3ff 100%);
}

.benefit-tone-blue h3,
.benefit-tone-blue p,
.benefit-tone-deep h3,
.benefit-tone-deep p {
  color: rgba(255, 255, 255, 0.96);
}

.benefit-tone-blue p,
.benefit-tone-deep p {
  color: rgba(255, 255, 255, 0.84);
}

.benefit-tone-blue .benefit-bg-mark,
.benefit-tone-deep .benefit-bg-mark {
  opacity: 0.16;
  filter: brightness(0) invert(1);
}

.benefit-tile-metric {
  align-items: start;
  text-align: left;
  justify-items: start;
  justify-content: start;
  gap: 6px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.74) 0%, transparent 50%),
    linear-gradient(148deg, #ffffff 0%, #e8f0ff 100%);
  border-color: rgba(var(--brand-blue-rgb), 0.24);
}

.benefit-tile-metric h3 {
  color: var(--brand-black);
  font-size: 19px;
  font-weight: 700;
}

.benefit-metric-title {
  max-width: 22ch;
  line-height: 1.25;
}

.benefit-metric-note {
  margin: 10px 0 0;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--brand-gray-500);
  text-wrap: pretty;
}

.benefit-tile-metric .benefit-bg-mark {
  width: 128px;
  height: 128px;
}

.feature-card {
  border: 1px solid var(--brand-gray-200);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(14, 22, 45, 0.03);
}

.feature-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--brand-gray-100);
  margin-bottom: 14px;
  display: block;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  margin: 0;
  color: var(--brand-gray-500);
}

.benefits-intro {
  margin: 10px 0 0;
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.62;
  color: var(--brand-gray-500);
}

.trust-metrics {
  margin-top: 12px;
  border: 1px solid #dfe4ec;
  border-radius: 24px;
  background: #ffffff;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 880px;
}

.trust-metric-item {
  position: relative;
  padding: 26px 20px 22px;
  text-align: center;
}

.trust-metric-item + .trust-metric-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 44px;
  background: #dfe4ec;
}

.trust-metric-value {
  margin: 0;
  font-size: clamp(30px, 2.3vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #0d1830;
}

.trust-metric-label {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.4;
  color: #2f3c53;
}

.trust-content-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 44px;
  align-items: start;
}

.trust-content-text {
  margin-top: 12px;
  padding-right: 10px;
}

.trust-partners {
  max-width: 880px;
  margin-top: 30px;
  margin-bottom: 34px;
}

.trust-partners-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.trust-partner-item {
  display: block;
}

.trust-partner-item img {
  width: auto;
  height: 42px;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.trust-content-text h3 {
  margin: 34px 0 10px;
  font-size: 26px;
  line-height: 1.25;
}

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

.trust-list li {
  position: relative;
  padding-left: 28px;
  color: var(--brand-gray-500);
  line-height: 1.52;
}

.trust-value-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  color: #ffffff;
  background: linear-gradient(145deg, #2f67df 0%, #2058d6 100%);
}

.trust-reason-list {
  gap: 14px;
  margin-top: 2px;
  padding-left: 16px;
  border-left: 1px solid rgba(var(--brand-blue-rgb), 0.22);
}

.trust-reason-item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0.18em;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background-color: #1f56d2;
  box-shadow: 0 0 0 4px rgba(238, 242, 250, 1);
}

.trust-reason-item-official::before {
  background-image: url("../img/icons/trust/official.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.trust-reason-item-check::before {
  background-image: url("../img/icons/trust/check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.trust-reason-item-economy::before {
  background-image: url("../img/icons/trust/economy.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.trust-reason-item-support::before {
  background-image: url("../img/icons/trust/support.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.trust-reason-item-docs::before {
  background-image: url("../img/icons/trust/docs.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.trust-reason-title {
  font-weight: 700;
  color: var(--brand-black);
}

.trust-proof-link {
  display: block;
  text-decoration: none;
}

.trust-proof-right {
  position: sticky;
  top: 96px;
}

.trust-proof-image {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  border: 1px solid var(--brand-gray-200);
  box-shadow: 0 8px 22px rgba(var(--brand-black-rgb), 0.08);
  display: block;
}

.process-intro {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--brand-gray-500);
}

.process-flow {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.process-node {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  position: relative;
}

.process-node::after {
  content: "→";
  position: absolute;
  top: 46px;
  right: -12px;
  transform: translateX(50%);
  font-size: 34px;
  line-height: 1;
  color: rgba(46, 58, 92, 0.78);
}

.process-node:last-child::after {
  content: none;
}

.process-icon-wrap {
  width: 108px;
  height: 108px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 25%, #ffffff 0%, #eef2fa 60%, #e3e8f5 100%);
  border: 1px solid rgba(var(--brand-deep-rgb), 0.08);
  display: grid;
  place-items: center;
}

.process-icon-wrap-accent {
  background: radial-gradient(circle at 30% 25%, #f8fffd 0%, #e4fbf3 58%, #d8f5eb 100%);
}

.process-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  opacity: 0.85;
}

.process-label {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--brand-black);
  max-width: 100%;
}

.process-node-supplier {
  min-width: 0;
}

.process-label-nowrap {
  white-space: nowrap;
}

.process-steps {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-step-card {
  background: #fff;
  border: 1px solid var(--brand-gray-200);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(var(--brand-black-rgb), 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.process-step-badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--brand-blue-deep);
}

.process-step-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.48;
  color: #1f2940;
}

.process-step-card:is(:hover, :focus-within) {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-blue-rgb), 0.24);
  box-shadow: 0 16px 30px rgba(var(--brand-black-rgb), 0.08);
}

.segment-grid {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.segment-grid li {
  position: relative;
  min-height: 148px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--brand-gray-200);
  background: linear-gradient(170deg, #ffffff 0%, #f6f8fc 100%);
  color: #31415f;
  box-shadow: 0 6px 18px rgba(var(--brand-black-rgb), 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.segment-grid li:is(:hover, :focus-within) {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-blue-rgb), 0.3);
  box-shadow: 0 14px 26px rgba(var(--brand-black-rgb), 0.09);
}

.segment-item-with-icon {
  display: flex;
  align-items: center;
  gap: 14px;
}

.segment-item-with-icon span {
  font-size: 18px;
  line-height: 1.32;
  color: #24334f;
  font-weight: 600;
}

.segment-item-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: var(--brand-blue-deep);
}

.segment-item-wide {
  grid-column: span 2;
}

.segment-item-tall {
  min-height: 210px;
}

.segment-item-featured {
  background:
    radial-gradient(circle at 94% 10%, rgba(var(--brand-blue-rgb), 0.12) 0%, transparent 42%),
    linear-gradient(170deg, #ffffff 0%, #eef3ff 100%);
  border-color: rgba(var(--brand-blue-rgb), 0.22);
}

.segment-item-featured .segment-item-icon {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.countries-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.geo-cards-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.geo-card {
  background: #fff;
  border: 1px solid var(--brand-gray-200);
  border-radius: 14px;
  padding: 14px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}

.geo-card-top {
  margin: 0;
  min-height: 56px;
  display: flex;
  align-items: flex-start;
}

.geo-metric-value {
  justify-content: flex-start;
  font-size: clamp(34px, 5vw, 44px);
  line-height: 1;
  font-weight: 800;
  color: var(--brand-blue);
}

.geo-card-text {
  margin: 4px 0 0;
  color: var(--brand-gray-500);
  font-size: 14px;
  line-height: 1.55;
}

.geo-flag-row {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow: hidden;
}

.geo-flag {
  font-size: 50px;
  line-height: 1;
  flex: 0 0 auto;
}

.geo-flag + .geo-flag {
  margin-left: -10px;
}

.geo-flag-row .geo-flag:nth-child(1) { z-index: 1; }
.geo-flag-row .geo-flag:nth-child(2) { z-index: 2; }
.geo-flag-row .geo-flag:nth-child(3) { z-index: 3; }
.geo-flag-row .geo-flag:nth-child(4) { z-index: 4; }
.geo-flag-row .geo-flag:nth-child(5) { z-index: 5; }
.geo-flag-row .geo-flag:nth-child(6) { z-index: 6; }
.geo-flag-row .geo-flag:nth-child(7) { z-index: 7; }
.geo-flag-row .geo-flag:nth-child(8) { z-index: 8; }

.geo-flag-row .geo-flag {
  position: relative;
}

.geo-currency-row {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.geo-currency-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
}

.geo-currency-pill img {
  width: 40px;
  height: 40px;
  display: block;
  filter: invert(23%) sepia(20%) saturate(738%) hue-rotate(182deg) brightness(90%) contrast(90%);
}

.geo-infra-top {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-blue-deep);
}

.geography-map-wrap {
  margin-top: 2px;
}

.geography-map {
  display: block;
  width: 88%;
  margin: 0 auto;
  height: auto;
}

.check-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--brand-gray-500);
  display: grid;
  gap: 8px;
}

.faq-list {
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--brand-gray-200);
  border-radius: 14px;
  background: #fff;
  padding: 0;
  overflow: clip;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  color: var(--brand-blue-deep);
}

.faq-item[open] summary::after {
  content: "×";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--brand-gray-500);
}

.consultation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 0;
  align-items: start;
}

#consultation .consultation-grid > div {
  display: contents;
}

#consultation .consultation-grid > div > .section-kicker {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 12px;
}

#consultation .consultation-grid > div > h2 {
  grid-column: 1 / -1;
  grid-row: 2;
}

#consultation .consultation-grid > div > .section-kicker + h2 + .hero-text {
  grid-column: 1;
  grid-row: 3;
  margin-top: 14px;
}

#consultation .consultation-grid > div > .hero-text + .hero-text {
  grid-column: 1;
  grid-row: 4;
  margin-top: 6px;
}

.cabinet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}

#client-cabinet .hero-text {
  max-width: 100%;
}

.cabinet-features {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--brand-gray-500);
}

#client-cabinet h3 {
  margin-top: 22px;
}

.cabinet-feature-title {
  color: var(--brand-black);
  font-weight: 600;
}

.cabinet-feature-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: text-top;
}

.cabinet-login-card {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--brand-gray-200);
  border-radius: 14px;
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cabinet-login-btn {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.cabinet-login-btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -1px;
  flex: 0 0 auto;
}

.cabinet-login-note {
  margin: 0;
  color: var(--brand-blue-deep);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.01em;
  max-width: 470px;
}

.cabinet-media {
  position: static;
  border-radius: 16px;
}

.cabinet-media-main,
.cabinet-media-secondary {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--brand-gray-200);
  box-shadow: 0 12px 30px rgba(14, 22, 45, 0.08);
}

.cabinet-media-main {
  position: relative;
  z-index: 1;
}

.cabinet-media-secondary {
  width: 68%;
  margin-top: -78px;
  margin-left: auto;
  position: relative;
  z-index: 2;
}

.consult-form {
  width: min(100%, 520px);
  max-width: 520px;
  justify-self: end;
  grid-column: 2;
  grid-row: 3 / span 3;
  align-self: start;
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--brand-gray-200);
  border-radius: 16px;
  padding: 18px;
}

#consultation .check-list {
  grid-column: 1;
  grid-row: 5;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 10px;
  color: #3f4d67;
}

#consultation .check-list li {
  margin: 0;
  line-height: 1.45;
}

.consult-form label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 500;
}

.consult-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd4e5;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 16px;
}

.consult-form button {
  margin-top: 14px;
  width: 100%;
}

.form-note {
  margin: 10px 0 0;
  color: var(--brand-gray-500);
  font-size: 13px;
}

.site-footer {
  padding: 46px 0;
  background: #0b1022;
  color: #edf1ff;
}

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

.footer-col {
  min-width: 0;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.25;
  color: #f4f7ff;
}

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

.footer-link {
  display: inline-block;
  color: #d0d8ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-logo {
  width: 190px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
  display: block;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0 0 8px;
  color: #d0d8ff;
}

.site-footer a {
  color: #d0d8ff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(208, 216, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-meta {
  margin: 0;
  font-size: 13px;
  color: #b8c4ea;
}

.footer-meta-link {
  font-size: 13px;
  color: #d0d8ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-meta-link:hover {
  color: #ffffff;
}

.footer-meta-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  width: min(540px, calc(100% - 32px));
  background: #ffffff;
  border: 1px solid var(--brand-gray-200);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(14, 22, 45, 0.12);
  padding: 16px;
}

.cookie-consent-text {
  margin: 0;
  color: var(--brand-gray-500);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-consent-text a {
  color: var(--brand-blue-deep);
}

.cookie-consent-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-consent-actions .btn {
  min-height: 38px;
  padding: 8px 14px;
}

.cookie-settings {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(640px, calc(100% - 24px));
  width: 100%;
}

.cookie-settings::backdrop {
  background: rgba(15, 15, 15, 0.5);
}

.cookie-settings-card {
  background: #fff;
  border: 1px solid var(--brand-gray-200);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 16px 34px rgba(var(--brand-black-rgb), 0.2);
}

.cookie-settings-card h2 {
  margin: 0;
  font-size: 28px;
}

.cookie-settings-card > p {
  margin: 10px 0 0;
  color: var(--brand-gray-500);
}

.cookie-setting-row {
  margin-top: 14px;
  border: 1px solid var(--brand-gray-200);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cookie-setting-title {
  margin: 0;
  font-weight: 600;
  color: var(--brand-black);
}

.cookie-setting-desc {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--brand-gray-500);
}

.cookie-setting-required {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--brand-blue-deep);
  font-weight: 600;
}

.cookie-settings-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .header-nav {
    display: none;
  }

  .hero-grid,
  .consultation-grid,
  .countries-grid,
  .cabinet-grid {
    grid-template-columns: 1fr;
  }

  .consult-form {
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  #consultation .consultation-grid > div {
    display: block;
  }

  #consultation .check-list {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

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

  .trust-content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-content-text {
    margin-top: 0;
    padding-right: 0;
  }

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

  .trust-metric-item:nth-child(2n) {
    border-left: none;
  }

  .trust-metric-item:nth-child(2n + 1) {
    border-left: none;
  }

  .trust-metric-item + .trust-metric-item::before {
    display: none;
  }

  .trust-metric-item:nth-child(2n)::before {
    display: block;
    height: 38px;
  }

  .trust-metric-item:nth-child(n + 3) {
    border-top: none;
  }

  .trust-metric-item:nth-child(n + 3)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 76%;
    height: 1px;
    background: #dfe4ec;
  }

  .trust-proof-right {
    position: static;
    order: -1;
  }

  .trust-proof-image {
    width: min(100%, 460px);
    margin: 0 auto;
  }

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

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

  .segment-item-wide {
    grid-column: span 2;
  }

  .segment-item-tall {
    min-height: 182px;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(1360px, calc(100% - 24px));
  }

  .section {
    padding: 50px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand,
  .brand-logo,
  .footer-logo {
    width: 150px;
    height: 40px;
  }

  .brand-logo {
    transform: scale(1.14);
  }

  .footer-logo {
    transform: none;
  }

  .hero-text {
    font-size: 15px;
  }

  .geo-cards-grid {
    grid-template-columns: 1fr;
  }

  .geo-card {
    padding: 12px;
    min-height: 152px;
  }

  .geo-metric-value {
    font-size: 36px;
  }

  .geo-card-text {
    font-size: 13px;
  }

  .geo-flag {
    font-size: 44px;
  }

  .cabinet-media {
    position: static;
  }

  .cabinet-media-secondary {
    width: 78%;
    margin-top: -40px;
  }

  .cabinet-login-card {
    align-items: flex-start;
  }

  .benefits-intro {
    font-size: 16px;
  }

  .trust-metrics {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .trust-metric-item,
  .trust-metric-item:nth-child(2n) {
    border-left: none;
  }

  .trust-metric-item::before,
  .trust-metric-item:nth-child(2n)::before,
  .trust-metric-item:nth-child(n + 3)::after {
    display: none;
  }

  .trust-metric-item + .trust-metric-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 72%;
    height: 1px;
    background: #dfe4ec;
  }

  .trust-metric-item {
    padding: 20px 16px 18px;
  }

  .trust-metric-value {
    font-size: clamp(28px, 7.5vw, 40px);
  }

  .trust-metric-label {
    font-size: 14px;
  }

  .trust-partners-list {
    gap: 16px;
  }

  .trust-partner-item {
    width: auto;
    height: auto;
  }

  .trust-partner-item img {
    height: 34px;
    max-width: 140px;
  }

  .trust-content-text h3 {
    font-size: 22px;
  }

  .trust-list li {
    padding-left: 26px;
  }

  .trust-reason-list {
    padding-left: 14px;
  }

  .cards-3,
  .benefits-bento,
  .footer-grid,
  .segment-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
  }

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

  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .cookie-settings-actions {
    justify-content: stretch;
  }

  .cookie-settings-actions .btn {
    width: 100%;
  }

  .segment-grid li,
  .segment-item-tall {
    min-height: auto;
  }

  .segment-item-wide {
    grid-column: auto;
  }

  .segment-item-with-icon span {
    font-size: 16px;
  }

  .benefits-bento {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-tile,
  .benefit-tile-metric {
    min-height: auto;
    height: auto;
    padding: 24px;
  }

  .benefit-tile-metric {
    padding: 32px 24px;
  }

  .benefit-bg-mark {
    width: 98px;
    height: 98px;
    right: 6px;
    bottom: 6px;
  }

  .benefit-tile h3 {
    font-size: 18px;
  }

  .process-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process-node {
    justify-items: start;
    text-align: left;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
  }

  .process-node::after {
    top: auto;
    right: auto;
    left: 40px;
    bottom: -12px;
    transform: translate(-50%, 50%) rotate(90deg);
    font-size: 30px;
  }

  .process-icon-wrap {
    width: 82px;
    height: 82px;
  }

  .process-icon {
    width: 44px;
    height: 44px;
  }

  .process-label {
    max-width: none;
  }

  .process-label-nowrap {
    white-space: normal;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-step-card p {
    font-size: 16px;
  }

  .trust-proof-image {
    width: min(100%, 360px);
  }

  .cabinet-login-card {
    flex-direction: column;
  }

  .cabinet-login-btn {
    width: 100%;
    justify-content: center;
  }
}
