:root {
  --white: #ffffff;
  --gray: #f4f5f7;
  --line: #d9dee5;
  --ink: #16202b;
  --muted: #5b6773;
  --navy: #10243e;
  --navy-hover: #1b385c;
  --ok: #1b6b4a;
  --shadow: 0 10px 30px rgba(16, 36, 62, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.brand-text small {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
  max-width: 16ch;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.lang-switch a {
  text-decoration: none;
  color: var(--muted);
}

.lang-switch a.is-active {
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  font-size: 15px;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white) !important;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  position: relative;
}

.menu-btn span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink);
}

.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { bottom: 16px; }

.page-hero {
  padding: 72px 0 24px;
}

.page-hero h1 {
  max-width: 20ch;
}

.home-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.review-meta strong {
  color: var(--ink);
}

.hero {
  padding: 96px 0 40px;
}

.hero-photo {
  padding: 0 0 72px;
}

.hero-photo img {
  width: 100%;
  height: min(520px, 62vw);
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}

.location-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.office-address {
  font-style: normal;
  margin-top: 20px;
  line-height: 1.7;
  color: var(--ink);
}

.office-address strong {
  display: block;
  margin-bottom: 8px;
}

.office-contacts {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.office-contacts strong {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.office-contacts a {
  color: var(--ink);
  font-weight: 600;
}

.map-frame {
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 360px;
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.hero-grid,
.split,
.crypto-grid,
.funding-grid,
.complaint-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.eyebrow,
.panel-kicker,
.footer-heading,
.card-icon {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}

h1,
.section-title,
.stat-value,
.team-card h3,
.partner-card h3,
.info-panel h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(38px, 5vw, 56px);
  margin: 14px 0 20px;
  max-width: 16ch;
}

.section-title {
  font-size: clamp(30px, 3.6vw, 42px);
  max-width: 18ch;
}

.lead,
.prose p,
.section-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 58ch;
}

.prose p + p {
  margin-top: 16px;
}

.lead a,
.text-link,
.footer-fine a {
  color: var(--navy);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-hover);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn-full {
  width: 100%;
}

.hero-panel,
.stat-card,
.card,
.info-panel,
.team-card,
.partner-card,
.complaint-form,
.steps li,
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}

.facts,
.check-list,
.plain-list,
.team-card ul,
.partner-card ul {
  list-style: none;
}

.facts {
  margin-top: 16px;
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.facts span {
  color: var(--muted);
}

.section {
  padding: 88px 0;
}

.section-gray {
  background: var(--gray);
}

.section-head {
  margin-bottom: 36px;
}

.section-lead {
  margin-top: 16px;
}

.stats-grid,
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-value {
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 8px;
}

.stat-card h3,
.card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.stat-card p,
.card p,
.team-card p,
.partner-card p,
.faq-list p {
  color: var(--muted);
  font-size: 15px;
}

.plain-list,
.check-list,
.team-card ul,
.partner-card ul {
  margin-top: 18px;
}

.plain-list li,
.check-list li,
.team-card li,
.partner-card li {
  position: relative;
  padding: 8px 0 8px 18px;
  color: var(--muted);
}

.plain-list li::before,
.check-list li::before,
.team-card li::before,
.partner-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--navy);
  position: absolute;
  left: 0;
  top: 16px;
}

.panel-note,
.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.team-grid,
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.team-card-wide {
  grid-column: 1 / -1;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.steps strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.steps span {
  color: var(--muted);
  font-size: 15px;
}

.process-stages {
  list-style: none;
  max-width: 760px;
  counter-reset: stage;
}

.process-stages li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  counter-increment: stage;
}

.process-stages li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-stages li::before {
  content: counter(stage, decimal-leading-zero);
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding-top: 6px;
}

.process-stages h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-stages p {
  color: var(--muted);
  font-size: 16px;
}

.faq-list details {
  margin-bottom: 12px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin-top: 10px;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 12px;
  font: inherit;
  font-weight: 400;
}

input:focus,
textarea:focus {
  outline: 1px solid var(--navy);
  outline-offset: 1px;
}

.form-success {
  margin-top: 12px;
  color: var(--ok);
  font-weight: 600;
}

.form-error {
  margin-top: 12px;
  color: #8a2b2b;
  font-weight: 600;
}

.site-footer {
  background: var(--navy);
  color: #d5dde6;
  padding: 56px 0 24px;
}

.site-footer .container {
  width: min(1320px, calc(100% - 64px));
}

.site-footer .brand-text strong,
.site-footer .brand-text small {
  color: var(--white);
}

.site-footer .brand-text small {
  opacity: 0.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 260px;
  gap: 32px;
  width: 100%;
  align-items: start;
}

.footer-grid > div {
  min-width: 0;
}

.footer-map-block {
  justify-self: end;
  width: 260px;
}

.footer-map {
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.footer-map iframe {
  width: 260px;
  height: 260px;
  border: 0;
  display: block;
}

.footer-address {
  margin-top: 12px;
  line-height: 1.7;
  font-size: 14px;
}

.footer-fine {
  margin-top: 16px;
  max-width: 44ch;
  font-size: 14px;
}

.footer-fine a,
.footer-grid a {
  color: #d5dde6;
}

.footer-grid a {
  display: block;
  margin-top: 8px;
  text-decoration: none;
}

.footer-heading {
  color: var(--white);
}

.footer-base {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.55s ease forwards;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.14s; }
.delay-3 { animation-delay: 0.2s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .menu-btn { display: block; }

  .nav {
    display: none;
    position: absolute;
    inset: 80px 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.open { display: flex; }

  .hero-grid,
  .split,
  .crypto-grid,
  .funding-grid,
  .complaint-grid,
  .faq-grid,
  .stats-grid,
  .cards-4,
  .team-grid,
  .partner-grid,
  .steps,
  .field-row,
  .home-links,
  .reviews-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding: 64px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 260px;
  }

  .footer-map-block {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-map-block {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
