:root {
  --ink: #0a0b0d;
  --ink-soft: #15171b;
  --paper: #f4f4f0;
  --white: #fff;
  --blue: #3b7cff;
  --blue-light: #72a0ff;
  --line: rgba(10, 11, 13, .14);
  --muted: #676a70;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  color: var(--white);
  background: rgba(10, 11, 13, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(18px);
}

.brand img, footer > img { display: block; width: 202px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 600; }
.nav > a:not(.nav-cta) { color: rgba(255,255,255,.72); transition: color .25s; }
.nav > a:not(.nav-cta):hover { color: var(--white); }
.nav-cta { padding: 13px 20px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; transition: .25s; }
.nav-cta:hover { color: var(--ink); background: var(--white); }
.header-tools { display: flex; align-items: center; gap: 24px; margin-left: 30px; }
.language-switcher { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.35); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.language-switcher button { padding: 5px 1px; color: rgba(255,255,255,.42); background: none; border: 0; cursor: pointer; font-size: inherit; font-weight: inherit; letter-spacing: inherit; transition: color .2s; }
.language-switcher button:hover, .language-switcher button[aria-pressed="true"] { color: var(--blue-light); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 7px auto; background: var(--white); transition: .25s; }
.menu-toggle:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 3px; }

.hero {
  position: relative;
  min-height: 780px;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 80px;
  padding: 140px 9vw 90px;
  color: var(--white);
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to right, #000, transparent 75%);
}

.hero-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -130px;
  bottom: -210px;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(150px);
  opacity: .27;
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow > span:first-child { flex: 0 0 28px; width: 28px; height: 1px; background: var(--blue-light); }
.eyebrow.dark { color: var(--muted); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
h1 {
  margin-bottom: 30px;
  font-size: clamp(58px, 7.7vw, 116px);
  line-height: .92;
  letter-spacing: -.065em;
}
h1 em { color: var(--blue-light); font-style: normal; }
.hero-copy { max-width: 680px; color: rgba(255,255,255,.68); font-size: clamp(18px, 1.55vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 36px; margin-top: 45px; }
.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 27px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .25s, background .25s;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 22px; }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: #276df4; }
.text-link { color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600; }
.text-link > span:last-child { margin-left: 9px; color: var(--blue-light); }

.hero-aside {
  position: relative;
  z-index: 2;
  align-self: end;
  margin-bottom: 25px;
  padding-left: 26px;
  border-left: 1px solid rgba(255,255,255,.2);
}
.hero-aside p { margin-bottom: 0; color: rgba(255,255,255,.45); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; }
.hero-aside strong { display: block; margin: 4px 0 12px; color: var(--blue-light); font-family: "Manrope"; font-size: 52px; letter-spacing: -.06em; }
.hero-aside span { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.5; }
.hero-orbit { position: absolute; right: -110px; top: 10%; width: 540px; height: 540px; opacity: .36; }
.orbit { position: absolute; inset: 0; border: 1px solid rgba(114,160,255,.35); border-radius: 50%; }
.orbit-two { inset: 90px; }
.orbit-dot { position: absolute; top: 48px; left: 95px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 25px var(--blue); }

.section { padding: 130px 9vw; }
.section-heading { display: grid; grid-template-columns: 1fr 430px; gap: 80px; align-items: end; margin-bottom: 70px; }
.section-heading h2, .about h2, .contact h2, .process h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.section-heading > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
  position: relative;
  min-height: 520px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color .35s, background .35s, transform .35s;
}
.service-card:hover { z-index: 2; color: var(--white); background: var(--ink-soft); transform: translateY(-8px); }
.service-number { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 65px 0 45px; color: var(--blue); background: rgba(59,124,255,.09); border-radius: 50%; }
.service-icon svg { width: 30px; }
.service-card h3 { margin-bottom: 16px; font-size: 27px; letter-spacing: -.035em; }
.service-card p { min-height: 82px; color: var(--muted); line-height: 1.65; transition: color .35s; }
.service-card:hover p { color: rgba(255,255,255,.62); }
.service-card ul { margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-card:hover ul { border-color: rgba(255,255,255,.12); }
.service-card li { margin: 10px 0; font-size: 14px; }
.service-card li::before { content: "↗"; margin-right: 10px; color: var(--blue); }

.process {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 9vw;
  color: var(--white);
  background: var(--ink);
}
.process-intro { position: sticky; top: 150px; align-self: start; }
.process-intro > p:last-child { max-width: 470px; margin-top: 35px; color: rgba(255,255,255,.55); font-size: 17px; line-height: 1.7; }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: item; }
.process-list li { display: grid; grid-template-columns: 60px 1fr; gap: 30px; padding: 44px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.process-list > li > span { color: var(--blue-light); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.process-list h3 { margin-bottom: 10px; font-size: 27px; }
.process-list p { max-width: 470px; margin-bottom: 0; color: rgba(255,255,255,.55); line-height: 1.65; }

.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; }
.about-copy > p { max-width: 700px; color: #4f5258; font-size: 20px; line-height: 1.75; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 70px; padding-top: 35px; border-top: 1px solid var(--line); }
.about-facts strong { display: block; margin-bottom: 6px; color: var(--blue); font-family: "Manrope"; font-size: 42px; letter-spacing: -.05em; }
.about-facts span { color: var(--muted); font-size: 13px; }

.contact {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 9vw;
  color: var(--white);
  background: #111318;
}
.contact-copy > p:not(.eyebrow) { max-width: 500px; margin: 30px 0 45px; color: rgba(255,255,255,.55); font-size: 17px; line-height: 1.7; }
.contact-phone, .contact-email { display: block; width: fit-content; margin-top: 10px; border-bottom: 1px solid rgba(255,255,255,.25); font-size: 16px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-form label { display: block; }
.contact-form label span { display: block; margin-bottom: 11px; color: rgba(255,255,255,.48); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-form input, .contact-form textarea {
  width: 100%;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
  outline: none;
  padding: 12px 0 16px;
  resize: vertical;
  transition: border-color .25s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue-light); }
.contact-form ::placeholder { color: rgba(255,255,255,.25); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form button { width: 100%; margin-top: 12px; }

footer {
  min-height: 230px;
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  align-items: center;
  gap: 60px;
  padding: 60px 9vw;
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.1);
}
footer > div { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
footer p { margin: 0; color: rgba(255,255,255,.43); font-size: 12px; line-height: 1.7; }
footer > a { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { height: 72px; padding: 0 22px; }
  .brand img { width: 174px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .header-tools { position: relative; z-index: 3; gap: 13px; margin-left: auto; }
  .language-switcher { gap: 5px; }
  .menu-toggle.active span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle.active span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    height: calc(100svh - 72px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 50px 24px 28px;
    font-size: clamp(28px, 9vw, 42px);
    background:
      radial-gradient(circle at 90% 85%, rgba(59,124,255,.24), transparent 46%),
      #0a0b0d;
    border-top: 1px solid rgba(255,255,255,.09);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    overflow-y: auto;
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
  }
  .nav > a:not(.nav-cta) {
    display: flex;
    align-items: center;
    min-height: 74px;
    color: rgba(255,255,255,.84);
    border-bottom: 1px solid rgba(255,255,255,.11);
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    letter-spacing: -.04em;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-cta {
    min-height: 60px;
    margin-top: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }
  body.menu-open { overflow: hidden; }
  .hero { min-height: 760px; grid-template-columns: 1fr; padding: 130px 24px 60px; }
  .hero-aside { display: none; }
  .hero-orbit { right: -330px; top: 8%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .section { padding: 90px 24px; }
  .section-heading, .process, .about, .contact { grid-template-columns: 1fr; gap: 55px; }
  .section-heading { align-items: start; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-icon { margin: 45px 0 30px; }
  .process-intro { position: static; }
  .about-facts { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label { grid-column: 1 / -1; }
  footer { grid-template-columns: 1fr auto; gap: 45px 20px; }
  footer > div { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 520px) {
  h1 { font-size: 52px; }
  .hero-copy { font-size: 17px; }
  .button { width: 100%; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p { font-size: 16px; }
  .process-list li { grid-template-columns: 40px 1fr; gap: 15px; }
  .about-copy > p { font-size: 17px; }
  footer > div { grid-template-columns: 1fr; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
