:root {
  --ink: #28134f;
  --ink-2: #3a2468;
  --purple: #9567f2;
  --purple-2: #6f3fd2;
  --mint: #e8fff6;
  --sky: #eaf7ff;
  --paper: #ffffff;
  --soft: #f7f4ff;
  --line: #ded5f6;
  --text: #211b2d;
  --muted: #665f73;
  --shadow: 0 22px 60px rgba(40, 19, 79, 0.14);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, Avenir Next, Avenir, Segoe UI, Arial, sans-serif;
  line-height: 1.6;
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(149, 103, 242, 0.55);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(222, 213, 246, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(var(--container), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 208px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--purple-2);
}

.nav-links a.button {
  color: #fff;
}

.nav-links a.button:hover {
  color: #fff;
  background: var(--ink-2);
}

.lang-link {
  min-width: 42px;
  padding: 8px 10px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(40, 19, 79, 0.18);
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--ink-2);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--soft);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/hero.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(40, 19, 79, 0.9), rgba(40, 19, 79, 0.54) 46%, rgba(40, 19, 79, 0.12)),
    linear-gradient(0deg, rgba(40, 19, 79, 0.7), rgba(40, 19, 79, 0.03) 52%);
}

.hero-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

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

.trust-row {
  width: min(var(--container), calc(100% - 32px));
  margin: -34px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trust-item {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.trust-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 88px 0;
}

.section.soft {
  background: var(--soft);
}

.section.tint {
  background: linear-gradient(180deg, var(--sky), #fff);
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.card h3 {
  font-size: 1.28rem;
}

.card p,
.rich p {
  color: var(--muted);
}

.media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-panel {
  padding: 38px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.split-panel h2,
.split-panel h3 {
  color: #fff;
}

.split-panel p,
.split-panel li {
  color: rgba(255, 255, 255, 0.84);
}

.check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin: 12px 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
}

.steps {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  counter-increment: steps;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--purple-2);
  font-weight: 900;
}

.cta-band {
  padding: 58px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}

.contact-box {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
}

.contact-box span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer {
  background: #1d0f38;
  color: #fff;
}

.footer-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
}

.footer-logo {
  width: 210px;
  height: auto;
  margin-bottom: 18px;
}

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

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
}

.fine-print {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.page-hero {
  padding: 82px 0 54px;
  background: linear-gradient(180deg, var(--soft), #fff);
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

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

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 16px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(40, 19, 79, 0.12);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .lang-link,
  .nav-links .button {
    width: 100%;
  }

  .hero {
    min-height: 720px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(40, 19, 79, 0.92), rgba(40, 19, 79, 0.52));
  }

  .trust-row,
  .grid-2,
  .grid-3,
  .steps,
  .footer-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 176px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-inner {
    padding-bottom: 54px;
  }

  .cta-band,
  .split-panel {
    padding: 28px;
  }
}
