:root {
  --navy: #0b2454;
  --navy-2: #112f67;
  --ink: #132033;
  --muted: #61708a;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --soft-2: #eef3f8;
  --line: #dce4ee;
  --gold: #f1b24a;
  --gold-2: #d7952e;
  --danger: #b91c1c;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(11, 36, 84, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--navy);
  border-radius: 6px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(11, 36, 84, 0.12);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  width: 100%;
  min-height: 74px;
  margin: 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(11, 36, 84, 0.12);
}

.brand-text,
.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: rgba(11, 36, 84, 0.76);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--navy);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(11, 36, 84, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.language-switcher button {
  min-width: 42px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  color: rgba(11, 36, 84, 0.72);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 800;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--paper);
  background: var(--navy);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(11, 36, 84, 0.16);
  border-radius: 8px;
  background: var(--paper);
}

.menu-line {
  width: 18px;
  height: 2px;
  margin: 2px 0;
  display: block;
  background: var(--navy);
}

.section {
  padding: 92px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.anchor-alias {
  position: relative;
  top: -84px;
  display: block;
  height: 0;
  overflow: hidden;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 760px;
  font-size: 3.6rem;
}

h2 {
  font-size: 2.35rem;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(241, 178, 74, 0.14), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f4f8fc 56%, #eaf1f8 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -16% -28% 48%;
  height: 62%;
  background: url("assets/presentation/circuit-lines.png") center / contain no-repeat;
  opacity: 0.28;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.82fr);
  gap: 62px;
  align-items: center;
  padding-top: 74px;
}

.hero-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--paper);
  background: var(--navy);
}

.button.primary:hover,
.button.primary:focus {
  background: var(--navy-2);
}

.button.secondary {
  color: var(--navy);
  border-color: rgba(11, 36, 84, 0.22);
  background: rgba(255, 255, 255, 0.78);
}

.button.full-width {
  width: 100%;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero-visual .circuit {
  position: absolute;
  width: 118%;
  max-width: none;
  opacity: 0.42;
  transform: translate(5%, 18%);
}

.hero-image {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  filter: drop-shadow(0 24px 44px rgba(11, 36, 84, 0.16));
}

.intro {
  background: var(--paper);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.direction-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.direction-nav a {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--paper);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 1px 0 rgba(11, 36, 84, 0.04);
}

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

.solution.alt {
  background: var(--paper);
}

.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
  gap: 64px;
  align-items: center;
}

.solution.alt .solution-copy {
  order: 2;
}

.solution.alt .solution-media {
  order: 1;
}

.feature-list {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-size: 1.06rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 14px;
  height: 2px;
  background: var(--gold);
}

.solution-media {
  min-height: 320px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(238, 243, 248, 0.72)),
    url("assets/presentation/circuit-lines.png") center / 120% auto no-repeat;
  overflow: hidden;
}

.solution-media img {
  width: min(86%, 520px);
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(11, 36, 84, 0.12));
}

.shield-media img {
  width: min(76%, 420px);
}

.vendor-band {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(11, 36, 84, 0.96), rgba(17, 47, 103, 0.96)),
    url("assets/presentation/security-shield.png") right center / 42% auto no-repeat;
}

.vendor-band h2,
.vendor-band .section-label {
  color: var(--paper);
}

.vendor-band .section-label {
  color: #ffd27d;
}

.vendor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 62px;
  align-items: center;
}

.vendor-grid p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
}

.vendor-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.vendor-list span {
  min-height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.18rem;
  font-weight: 900;
}

.contact-section {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: 64px;
  align-items: start;
}

.contact-grid > div > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-list {
  margin: 34px 0 0;
  display: grid;
  gap: 16px;
}

.contact-list div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-list dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.contact-list a {
  color: var(--navy);
  text-decoration: none;
}

.contact-form {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(241, 178, 74, 0.24);
  border-color: var(--gold-2);
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--navy);
  font-weight: 800;
}

.form-status.is-error {
  color: var(--danger);
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 12px;
    padding: 0 20px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .language-switcher {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .menu-button {
    grid-column: 4;
    grid-row: 1;
    display: grid;
    justify-self: end;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    padding: 22px 20px 28px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(11, 36, 84, 0.12);
  }

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

  .nav-links a {
    min-height: 42px;
    display: flex;
    align-items: center;
  }

  .hero {
    min-height: 720px;
  }

  .hero-inner,
  .solution-grid,
  .vendor-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 36px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .solution.alt .solution-copy,
  .solution.alt .solution-media {
    order: initial;
  }

  .direction-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: 2.78rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 680px) {
  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 68px;
    gap: 8px;
    padding: 0 12px;
  }

  .brand-text small {
    display: none;
  }

  .language-switcher button {
    min-width: 32px;
  }

  .nav-links {
    top: 68px;
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    padding-top: 68px;
  }

  h1 {
    font-size: 2.18rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-lead,
  .section-heading p,
  .contact-grid > div > p {
    font-size: 1rem;
  }

  .hero-actions,
  .footer-inner {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .direction-nav,
  .vendor-list {
    grid-template-columns: 1fr;
  }

  .solution-media {
    min-height: 240px;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .brand-text {
    display: none;
  }

  .language-switcher {
    gap: 2px;
    padding: 3px;
  }

  .language-switcher button {
    min-width: 30px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
