:root {
  --navy: #033f64;
  --navy-deep: #022c46;
  --blue: #0a5c8f;
  --text: #33454f;
  --muted: #5b6b76;
  --faint: #7a8a94;
  --line: #e2eaef;
  --line-soft: #e6ebee;
  --ice: #eef5f9;
  --ice-border: #d5e5ef;
  --wash: #f7fafb;
  --panel: #f4f8fa;
  --white: #fff;
  --header: 84px;
  --shadow: 0 10px 28px rgba(3, 63, 100, 0.08);
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 50;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 64px);
  padding-right: clamp(20px, 4vw, 64px);
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header.is-stuck { box-shadow: 0 8px 24px rgba(3, 63, 100, 0.06); }

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.logo { flex: none; }
.logo img { height: 52px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}

.nav a {
  position: relative;
  color: var(--text);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.nav a:hover::after,
.nav a[aria-current="true"]::after { transform: scaleX(1); }

.nav-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-drop::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  flex: none;
}

.nav-drop:hover::before,
.nav-drop:focus-within::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(3, 63, 100, 0.12);
  z-index: 40;
}

.nav-drop:hover .submenu,
.nav-drop:focus-within .submenu { display: flex; flex-direction: column; }

.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  white-space: nowrap;
  color: var(--text);
}

.submenu a::after { display: none; }
.submenu a:hover { background: var(--wash); color: var(--navy); }

.card[id] { scroll-margin-top: calc(var(--header) + 20px); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.lang {
  display: flex;
  gap: 2px;
  font-size: 13px;
  font-weight: 700;
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--faint);
  border-radius: 4px;
  padding: 4px 8px;
}

.lang button.is-active {
  background: var(--navy);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  position: relative;
}

.nav-toggle span:not(.sr-only) {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: 6px;
  font-weight: 700;
  font-size: 17px;
  padding: 15px 28px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn:active { transform: translateY(1px); }

.btn-sm { font-size: 15px; padding: 11px 20px; }

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: #b9cdd9;
}
.btn-ghost:hover { background: var(--panel); border-color: var(--navy); color: var(--navy); }

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-light:hover { background: var(--ice); border-color: var(--ice); color: var(--navy); }

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--ice);
  border: 1px solid var(--ice-border);
  border-radius: 999px;
  padding: 6px 14px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--navy);
}

.lead {
  margin: 0 0 32px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 540px;
}

.hero .lead { margin-bottom: 0; max-width: 560px; }
.hero h1 { max-width: 11em; }

.hero-visual {
  position: relative;
  height: 400px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#c6d8e2 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.55;
}

.report {
  position: absolute;
  top: 52px;
  left: 40px;
  right: 128px;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 20px 24px;
}

.report-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero-tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-tracks li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.hero-tracks li:first-child { padding-top: 0; border-top: 0; }
.hero-tracks strong { font-size: 16px; color: var(--navy); }
.hero-tracks span { font-size: 14px; line-height: 1.45; color: var(--muted); }

.severities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sev {
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  padding: 3px 8px;
}
.sev-high { color: #a03535; background: #fbeeee; }
.sev-med { color: #8a6420; background: #fdf5e4; }
.sev-low { color: #1d6b46; background: #e9f6ef; }

.satisfaction {
  position: absolute;
  right: 36px;
  bottom: 40px;
  z-index: 2;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(3, 63, 100, 0.25);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: float 5.5s ease-in-out infinite;
}

.satisfaction strong {
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}
.satisfaction strong span {
  font-size: 1em;
  color: inherit;
}
.satisfaction span { font-size: 13px; color: #b9d2e2; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.trust {
  background: var(--wash);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.trust-wrap { padding-top: 28px; padding-bottom: 32px; }

.trust-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.clients-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.clients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 40px;
  list-style: none;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.clients li {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8ea0aa;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: none;
}
.stats li { font-size: 15px; color: var(--muted); white-space: nowrap; }
.stats strong { font-size: 20px; color: var(--navy); font-weight: 700; }

.section { padding: 88px 0; }
.section-tight { padding-top: 28px; }

.section h2,
.scope h2,
.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
}

.section-lead,
.scope p {
  margin: 0 0 40px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}

#proqram { background: var(--wash); }
#proqram .section-lead { max-width: 720px; }
#proqram .card { background: var(--white); }
#proqram .card svg {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 12px;
  background: var(--ice);
  border: 1px solid var(--ice-border);
}

.cards { display: grid; gap: 24px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.why-grid { margin-top: 36px; }
.section-lead + .why-grid { margin-top: 0; }

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
  color: var(--blue);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: #b9cdd9;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.card p, .card-flat p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.more {
  margin-top: auto;
  align-self: flex-start;
  border: 0;
  background: none;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}
.more:hover { color: var(--navy); }

.scope {
  background: var(--navy);
  border-radius: 14px;
  padding: 56px 60px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.scope h2 { color: var(--white); }
.scope p { color: #b9d2e2; margin-bottom: 28px; }

.pills { display: flex; flex-wrap: wrap; gap: 12px; }

.pill {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 11px 22px;
}
.pill:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

.section-lead + .steps { margin-top: 4px; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 36px 0 0;
  padding: 28px 0 0;
  border-top: 2px solid var(--line);
}

.step-num {
  width: 40px;
  height: 40px;
  margin: -49px 0 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 17px;
  display: grid;
  place-items: center;
}

.steps h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.steps p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); padding-right: 16px; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--ice);
  border-radius: 6px;
  padding: 7px 12px;
}
.badge-solid {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: var(--white);
  background: linear-gradient(160deg, var(--blue), var(--navy));
  letter-spacing: 0.06em;
  box-shadow: 0 2px 6px rgba(3, 63, 100, 0.25);
}

.cta {
  background: var(--navy);
  text-align: center;
  padding: 72px 0;
}
.cta h2 {
  max-width: 16em;
  margin-left: auto;
  margin-right: auto;
  color: var(--white);
}
.cta p {
  margin: 0 auto 28px;
  max-width: 560px;
  font-size: 18px;
  color: #b9d2e2;
}

.footer {
  background: var(--navy-deep);
  color: #b9d2e2;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer img { height: 46px; width: auto; margin-bottom: 16px; }
.footer p { margin: 0; max-width: 300px; font-size: 14px; line-height: 1.6; }
.footer h2 { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--white); }
.footer-grid div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer a:hover { color: var(--white); }

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13px;
  color: #8fa9bb;
}

.modal {
  width: min(640px, calc(100% - 32px));
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
}
.modal::backdrop { background: rgba(2, 28, 46, 0.55); backdrop-filter: blur(4px); }

.modal-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(2, 28, 46, 0.28);
}

.modal-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.modal-head h2 { margin: 0 0 6px; font-size: 28px; color: var(--navy); }
.modal-head p, .success p, .privacy { margin: 0; color: var(--muted); font-size: 15px; }
.modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--wash);
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
}
.topic {
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--ice);
  border-radius: 999px;
  display: inline-flex;
  padding: 5px 12px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: 13px; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--ice-border);
  border-radius: 6px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--navy);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field.is-invalid input,
.field.is-invalid textarea { border-color: #a03535; }
.field-error { min-height: 1em; font-size: 12px; color: #a03535; }
.privacy { margin: 8px 0 16px; font-size: 13px; }
#turnstile-widget {
  min-height: 65px;
  min-width: 300px;
}
.form-error { margin: 4px 0 0; }
.success { display: flex; flex-direction: column; gap: 14px; }
.success[hidden], .modal-card[hidden], .topic[hidden] { display: none; }

section[id] { scroll-margin-top: calc(var(--header) + 12px); }

@media (max-width: 1100px) {
  .header-inner { display: flex; }
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: calc(var(--header) - 8px);
    left: 20px;
    right: 20px;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(3, 63, 100, 0.12);
  }
  .nav.is-open {
    display: flex;
    max-height: calc(100vh - var(--header) - 16px);
    overflow-y: auto;
  }
  .nav a { padding: 12px 12px; border-radius: 8px; }
  .nav a:hover { background: var(--wash); }
  .nav a::after { display: none; }
  .nav-drop {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-drop::after,
  .nav-drop:hover::before,
  .nav-drop:focus-within::before { display: none; }
  .nav-drop:hover .submenu,
  .nav-drop:focus-within .submenu { display: none; }
  .nav.is-open .submenu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: static;
    transform: none;
    width: 100%;
    min-width: 0;
    margin: 0 0 4px;
    padding: 0 0 4px 8px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .submenu a {
    padding: 10px 12px;
    white-space: normal;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
  .report, .satisfaction { position: static; animation: none; }
  .report { right: auto; width: auto; }
  .satisfaction {
    align-self: flex-end;
    padding: 12px 14px;
  }
  .satisfaction strong { font-size: 22px; }
  .satisfaction span { font-size: 12px; }
  .header-actions .btn { display: none; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 20px; border-top: 0; padding-top: 0; }
  .step-num { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .scope { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { max-width: none; }
  .scope { padding: 32px 24px; }
  .trust-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cards-4, .steps { grid-template-columns: 1fr; }
  .header-actions .lang { gap: 0; }
  .logo img { height: 42px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 48px; }
  .section { padding: 56px 0; }
  .satisfaction { padding: 10px 12px; }
  .satisfaction strong { font-size: 18px; }
  .satisfaction span { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
