:root {
  --ink: #0b1f3a;
  --ink-2: #16325a;
  --text: #1c2533;
  --muted: #5b6676;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --line: #e3dfd6;
  --accent: #d4892a;
  --accent-ink: #9a5d12;
  --ok: #1f7a4d;
  --err: #b3261e;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(11 31 58 / 6%), 0 8px 24px rgb(11 31 58 / 6%);
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.4em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 0.98rem var(--font-head);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #1a1206;
}

.btn-primary:hover {
  background: #e09a3e;
}

.btn-ghost {
  border-color: rgb(255 255 255 / 35%);
  color: #fff;
}

.btn-ghost:hover {
  border-color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(11 31 58 / 92%);
  backdrop-filter: saturate(140%) blur(10px);
  color: #fff;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
}

.brand svg {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-name {
  font: 800 1.25rem var(--font-head);
  letter-spacing: 0.04em;
}

.brand-sub {
  display: block;
  font: 500 0.68rem var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}

.nav .lang {
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 999px;
  padding: 0.2em 0.75em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nav .btn {
  opacity: 1;
  padding: 0.55em 1.1em;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  padding: 8px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% 0%, #1d4275 0%, transparent 60%),
    var(--ink);
  color: #dfe6f0;
  padding: 96px 0 112px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .eyebrow {
  color: var(--accent);
}

.hero .lead {
  font-size: 1.15rem;
  max-width: 34em;
  color: #c4cfdd;
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

.hero-art {
  width: 100%;
  max-width: 480px;
  justify-self: end;
}

.route {
  stroke-dasharray: 6 8;
  animation: dash 18s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -280;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 2.6rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: #9fb0c6;
}

.pillars li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
}

/* Sections */
section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fbf1e3;
  color: var(--accent-ink);
  margin-bottom: 20px;
}

.card .icon svg {
  width: 26px;
  height: 26px;
}

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

.card ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--text);
  font-size: 0.95rem;
}

.card li + li {
  margin-top: 0.3em;
}

/* Process */
.process {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  grid-template-columns: repeat(4, 1fr);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 56px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font: 800 1.9rem var(--font-head);
  color: var(--accent);
}

.step::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 64px;
  right: 12px;
  height: 1px;
  background: var(--line);
}

.step:last-child::after {
  display: none;
}

.step p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Why */
.why .grid {
  grid-template-columns: repeat(3, 1fr);
}

.why .card {
  box-shadow: none;
  background: transparent;
  border-color: #d6d1c5;
}

/* Contact */
.contact {
  background: var(--ink);
  color: #c4cfdd;
}

.contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact h2 {
  color: #fff;
}

.contact .eyebrow {
  color: var(--accent);
}

.form {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font: 600 0.85rem var(--font-head);
  color: var(--ink);
}

.field .opt {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  padding: 0.7em 0.85em;
  border: 1px solid #cfd5de;
  border-radius: 10px;
  background: #fbfbfc;
  color: var(--text);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.hp {
  display: none;
}

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-status {
  margin: 0;
  font-size: 0.93rem;
}

.form-status.ok {
  color: var(--ok);
}

.form-status.err {
  color: var(--err);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

/* Footer */
.site-footer {
  background: #071528;
  color: #8796ab;
  font-size: 0.9rem;
  padding: 28px 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #c4cfdd;
}

/* Responsive */
@media (width <= 900px) {
  .hero .wrap,
  .contact .wrap {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 360px;
    justify-self: start;
    order: -1;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .step::after {
    display: none;
  }

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

@media (width <= 760px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 20px 24px 28px;
    background: var(--ink);
    border-top: 1px solid rgb(255 255 255 / 10%);
  }

  .nav.open {
    display: flex;
  }

  .services .grid,
  .form {
    grid-template-columns: 1fr;
  }

  section {
    padding: 72px 0;
  }

  .hero {
    padding: 56px 0 80px;
  }

  .card,
  .form {
    padding: 24px;
  }

  .hero-art {
    display: none;
  }
}

@media (width <= 480px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .wrap {
    padding: 0 16px;
  }
}
