:root {
  --ink: #18202f;
  --muted: #687286;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #ded8cc;
  --navy: #17233a;
  --teal: #0d8f84;
  --coral: #ef6a4c;
  --amber: #f2b84b;
  --sky: #dcecf5;
  --soft: #ece8df;
  --shadow: 0 24px 70px rgba(24, 32, 47, 0.12);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.88);
  border-bottom: 1px solid rgba(222, 216, 204, 0.8);
  backdrop-filter: blur(18px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: 0; }
.wordmark__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: white;
  font-family: var(--mono);
  box-shadow: 0 12px 30px rgba(13, 143, 132, 0.2);
}
.wordmark__text { display: grid; line-height: 1.02; }
.wordmark__text span:last-child { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; font-weight: 800; }
.nav-links a { padding: 8px 0; }
.nav-links a.active, .nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  position: relative;
}
.lang-switch__btn {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.lang-switch__btn svg {
  width: 14px;
  height: 14px;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 90;
  display: none;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.lang-switch.is-open .lang-menu {
  display: grid;
  gap: 4px;
}
.lang-option {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 800;
}
.lang-option span {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 12px;
}
.lang-option small {
  color: var(--muted);
  font-size: 13px;
}
.lang-option.active,
.lang-option:hover {
  background: var(--sky);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.btn--primary { background: var(--navy); color: white; }
.btn--accent { background: var(--coral); color: white; }
.btn--ghost { background: rgba(255,255,255,0.64); border-color: var(--line); color: var(--ink); }
.btn--sm { min-height: 38px; padding-inline: 14px; font-size: 13px; }
.btn--lg { min-height: 52px; padding-inline: 24px; }

.hamburger, .mobile-nav__close {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}
.hamburger svg, .mobile-nav__close svg { width: 22px; height: 22px; stroke: currentColor; }
.mobile-nav {
  position: fixed;
  inset: 0 0 auto auto;
  z-index: 80;
  width: min(380px, 100%);
  min-height: 100vh;
  display: none;
  align-content: start;
  gap: 18px;
  padding: 24px;
  background: var(--navy);
  color: white;
  box-shadow: -24px 0 70px rgba(24,32,47,.24);
}
.mobile-nav.is-open { display: grid; }
.mobile-nav__close { display: inline-flex; justify-self: end; align-items: center; justify-content: center; background: transparent; color: white; border-color: rgba(255,255,255,.22); }
.mobile-lang .lang-switch__btn {
  width: 100%;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: white;
}
.mobile-lang .lang-menu {
  position: static;
  margin-top: 8px;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  box-shadow: none;
}
.mobile-lang .lang-option {
  color: white;
}
.mobile-lang .lang-option small {
  color: rgba(255,255,255,.68);
}
.mobile-lang .lang-option.active,
.mobile-lang .lang-option:hover {
  background: rgba(239, 106, 76, 0.22);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.eyebrow.on-dark { color: #9ee4dd; }
.h1, .page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(44px, 7vw, 88px);
  line-height: .96;
  letter-spacing: 0;
}
.h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}
.lead { max-width: 720px; margin: 20px 0 0; color: var(--muted); font-size: 20px; }
.accent-text { color: var(--coral); }

.hero { padding: 74px 0 54px; }
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 46px;
  align-items: stretch;
}
.hero-copy { padding: 44px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 40px;
}
.proof-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
}
.proof-item strong { display: block; font-size: 26px; line-height: 1; }
.proof-item span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }

.ops-board {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 34px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}
.ops-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/operations-board.svg") center / cover no-repeat;
  opacity: .3;
}
.ops-board__inner { position: relative; z-index: 1; display: grid; gap: 16px; padding: 24px; }
.ops-pill {
  justify-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  color: #cbe9e5;
  font-family: var(--mono);
  font-size: 12px;
}
.ops-card {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.ops-card strong { display: block; font-size: 36px; line-height: 1; }
.ops-card span { color: rgba(255,255,255,.72); }
.ops-list { display: grid; gap: 10px; margin-top: 80px; }
.ops-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.92); color: var(--ink); }
.ops-row small { color: var(--muted); font-family: var(--mono); }

.page-hero { padding: 78px 0 38px; }
.section { padding: 82px 0; }
.section--tight { padding: 52px 0; }
.section--ink { background: var(--navy); color: white; }
.section--sky { background: var(--sky); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 32px; }
.section-head p { max-width: 420px; margin: 0; color: var(--muted); }
.section--ink .section-head p, .section--ink .lead { color: rgba(255,255,255,.7); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.panel, .service-card, .step-card, .faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(24,32,47,.05);
}
.panel { padding: 28px; }
.panel h3, .service-card h2, .step-card h3, .faq-item h3 { margin: 0 0 10px; line-height: 1.12; }
.panel p, .service-card p, .step-card p, .faq-item p { margin: 0; color: var(--muted); }
.section--ink .panel { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.section--ink .panel p { color: rgba(255,255,255,.7); }
.meta { color: var(--teal); font-family: var(--mono); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }

.service-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: start;
  padding: 28px;
}
.service-card__num {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--sky);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 900;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px; background: var(--soft); color: var(--navy); font-family: var(--mono); font-size: 12px; font-weight: 800; }
.service-facts { display: grid; gap: 10px; }
.fact { padding: 14px; border-radius: 16px; background: var(--paper); }
.fact span { display: block; color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.fact strong { display: block; margin-top: 4px; }

.timeline { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.timeline li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.timeline li::before {
  content: counter(steps, decimal-leading-zero);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--coral);
  color: white;
  font-family: var(--mono);
  font-weight: 900;
}
.timeline h3 { margin: 0 0 8px; font-size: 24px; }
.timeline p { margin: 0; color: var(--muted); }

.workflows-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 20px; background: var(--surface); }
.workflows-table th, .workflows-table td { padding: 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.workflows-table th { background: var(--navy); color: white; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 36px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy), #203253);
  color: white;
  box-shadow: var(--shadow);
}
.cta-strip h2 { margin: 0; font-size: clamp(28px, 4vw, 48px); line-height: 1.06; }
.cta-strip p { max-width: 640px; margin: 10px 0 0; color: rgba(255,255,255,.72); }

.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(520px, 0.95fr); gap: 34px; align-items: start; }
.contact-form { display: grid; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.contact-form fieldset {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
}
.contact-form legend {
  margin-bottom: 2px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact-form label { display: grid; gap: 7px; font-weight: 900; }
.contact-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.contact-form .required-mark {
  display: inline;
  color: var(--coral);
  font-size: 16px;
  font-weight: 900;
}
.contact-form .required-mark--conditional {
  display: none;
}
.contact-form .required-mark--conditional.is-active {
  display: inline;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.check-row {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.site-footer { padding: 64px 0 26px; background: #111827; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 30px; }
.footer-brand p, .footer-col a, .footer-bottom { color: rgba(255,255,255,.68); }
.footer-brand p { max-width: 380px; }
.footer-col__title { margin: 0 0 12px; font-weight: 900; }
.footer-col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  width: min(560px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
}
.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .nav-links, .nav-right .btn { display: none; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .hero-shell, .grid-2, .grid-3, .grid-4, .contact-grid, .footer-grid, .service-card { grid-template-columns: 1fr; }
  .section-head, .cta-strip, .footer-bottom { align-items: start; flex-direction: column; }
  .cookie-banner { align-items: stretch; flex-direction: column; }
  .ops-board { min-height: 440px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .h1, .page-hero h1 { font-size: 42px; }
  .lead { font-size: 18px; }
  .proof-strip { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .panel, .service-card, .cta-strip, .contact-form, .timeline li { padding: 20px; }
  .timeline li { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .cookie-banner__actions { flex-direction: column; }
}
