:root {
  --color-bg: #f7fbff;
  --color-surface: #ffffff;
  --color-ink: #091528;
  --color-muted: #526276;
  --color-line: rgba(0, 78, 190, 0.16);
  --color-blue: #075ef0;
  --color-blue-dark: #002f9f;
  --shadow-soft: 0 24px 70px rgba(8, 62, 156, 0.14);
  --radius: 8px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - clamp(32px, 6vw, 80px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.97) 0%, rgba(240, 247, 255, 0.96) 42%, rgba(255, 255, 255, 0.95) 100%);
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 8px 28px rgba(8, 62, 156, 0.06);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: clamp(62px, 7vw, 78px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  order: 1;
  margin-left: 0;
  overflow: hidden;
}

.brand picture {
  display: inline-flex;
  align-items: center;
}

.brand::after {
  position: absolute;
  top: 34%;
  left: 32%;
  width: 34%;
  height: 82%;
  content: "";
  background: linear-gradient(112deg, transparent 0%, rgba(255, 255, 255, 0.08) 34%, rgba(255, 255, 255, 0.82) 48%, rgba(34, 181, 255, 0.42) 56%, transparent 74%);
  filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-150%) skewX(-12deg);
  mix-blend-mode: screen;
}

.brand:hover::after,
.brand:focus-visible::after {
  animation: logoShine 950ms ease-out;
}

@keyframes logoShine {
  0% {
    opacity: 0;
    transform: translateX(-150%) skewX(-12deg);
  }
  24%,
  68% {
    opacity: 0.82;
  }
  100% {
    opacity: 0;
    transform: translateX(240%) skewX(-12deg);
  }
}

.brand-logo {
  width: clamp(135px, 16.5vw, 225px);
  height: auto;
  max-height: none;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 38px);
  order: 2;
  margin-left: auto;
  font-size: clamp(0.92rem, 1vw, 1rem);
  font-weight: 700;
  color: #14223a;
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
  color: #14223a;
}

.primary-nav a::before {
  position: absolute;
  inset: 8px 0 auto 0;
  width: 0;
  overflow: hidden;
  color: var(--color-blue);
  content: attr(data-nav-label);
  white-space: nowrap;
  transition: width 220ms ease;
}

.primary-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--color-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #14223a;
}

.primary-nav a:hover::before,
.primary-nav a:focus-visible::before {
  width: 100%;
}

.header-actions {
  position: relative;
  display: flex;
  order: 3;
  align-items: center;
  gap: 10px;
}

.language-switcher {
  position: relative;
}

.language-toggle,
.language-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  color: #14223a;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.language-toggle {
  padding: 8px 11px;
}

.language-toggle::after {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--color-blue-dark);
  content: "";
}

.language-flag {
  width: 26px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 112px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(8, 62, 156, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.language-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-option {
  justify-content: flex-start;
  width: 100%;
  padding: 10px;
}

.language-option:hover,
.language-option:focus-visible,
.language-option.is-active {
  background: #eef6ff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  margin: 5px 0;
  background: var(--color-blue-dark);
  border-radius: 999px;
}

.hero {
  padding: clamp(22px, 4vw, 46px) 0 clamp(36px, 6vw, 72px);
}

.hero-shell {
  position: relative;
  display: grid;
  aspect-ratio: 1693 / 929;
  min-height: auto;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: start;
  max-width: min(560px, 48%);
  margin-top: clamp(150px, 14vw, 178px);
  padding-left: clamp(24px, 4vw, 58px);
  transform: translateX(-32px);
}

.hero-copy::before {
  position: absolute;
  top: -18px;
  left: 0;
  z-index: 0;
  width: min(100%, 500px);
  height: 190px;
  content: "";
  background: radial-gradient(ellipse at 42% 46%, rgba(248, 252, 255, 0.96) 0%, rgba(248, 252, 255, 0.86) 54%, rgba(248, 252, 255, 0) 78%);
  pointer-events: none;
}

.hero-logo,
.hero-title,
.hero-copy .hero-text,
.hero-actions {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: min(100%, 440px);
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.hero-copy picture {
  display: block;
}

.hero-title {
  max-width: 44ch;
  color: var(--color-ink);
  font-size: clamp(1.05rem, 1.32vw, 1.24rem);
  font-weight: 700;
  line-height: 1.2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-blue);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.05rem, 3.8vw, 3.9rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3.25rem);
}

h3 {
  font-size: clamp(1.18rem, 1.45vw, 1.45rem);
}

.hero-text {
  position: relative;
  isolation: isolate;
  max-width: 48ch;
  margin: 10px 0 0;
  border: 0;
  border-radius: var(--radius);
  padding: 13px 15px 14px 0;
  color: #41516a;
  background: transparent;
  font-size: clamp(1.06rem, 1.35vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
}

.hero-text::before {
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: 14px;
  content: "";
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 16px rgba(8, 62, 156, 0.012);
  backdrop-filter: blur(1px);
  mask-image: radial-gradient(ellipse at center, #000 0%, #000 58%, rgba(0, 0, 0, 0.72) 74%, transparent 100%);
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: clamp(22px, 2.4vw, 38px);
}

.hero-actions .button {
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: clamp(11px, 1.5vw, 14px) clamp(18px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
  box-shadow: 0 16px 32px rgba(7, 94, 240, 0.24);
}

.button-secondary {
  color: var(--color-blue-dark);
  background: #fff;
  border: 1px solid var(--color-line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: clamp(18px, 3vw, 42px);
  box-shadow: var(--shadow-soft);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  display: none;
  pointer-events: none;
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.035);
}

.section {
  padding: clamp(48px, 7vw, 92px) 0;
}

.section:last-child {
  padding-bottom: clamp(22px, 4vw, 46px);
}

.section-muted {
  background: #edf6ff;
  border-block: 1px solid var(--color-line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.service-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(8, 62, 156, 0.08);
}

.service-icon {
  position: relative;
  display: inline-flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--color-blue);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.62) 34%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(219, 239, 255, 0.42) 42%, rgba(7, 94, 240, 0.13) 100%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -14px 26px rgba(7, 94, 240, 0.08),
    0 14px 34px rgba(7, 94, 240, 0.14),
    0 0 0 1px rgba(7, 94, 240, 0.08);
  overflow: hidden;
}

.service-icon::before {
  content: "";
  position: absolute;
  inset: 8px 9px auto;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.service-icon svg {
  position: relative;
  z-index: 1;
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
  filter: drop-shadow(0 0 5px rgba(7, 94, 240, 0.26));
}

.service-card p,
.benefit-list p {
  color: var(--color-muted);
}

.service-card p {
  margin: 14px 0 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 14px;
}

.benefit-list p {
  margin: 0;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.contact-intro {
  position: sticky;
  top: 120px;
}

.contact-intro p:not(.eyebrow) {
  max-width: 46ch;
  margin: 18px 0 0;
  color: var(--color-muted);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-row-compact {
  align-items: end;
}

.form-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #14223a;
  font-weight: 800;
}

.form-field small {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.required-mark {
  color: var(--color-blue);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--color-ink);
  background: #f9fcff;
  font: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: #fff;
  border-color: rgba(7, 94, 240, 0.55);
  box-shadow: 0 0 0 4px rgba(7, 94, 240, 0.1);
}

.privacy-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-muted);
  font-weight: 700;
}

.privacy-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--color-blue);
}

.form-row-compact .privacy-field {
  grid-column: 1 / -1;
}

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

.required-note {
  margin: -6px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.form-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-message {
  border-radius: var(--radius);
  padding: 14px 16px;
}

.form-message-success {
  color: #064a22;
  background: #eaf8ef;
  border: 1px solid rgba(6, 74, 34, 0.18);
}

.form-message-error {
  color: #721c24;
  background: #fff1f2;
  border: 1px solid rgba(114, 28, 36, 0.18);
}

.form-message ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.legal-page {
  padding: clamp(22px, 4vw, 46px) 0;
}

.legal-content {
  max-width: 860px;
  padding: clamp(26px, 4vw, 42px);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(8, 62, 156, 0.08);
}

.legal-content h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.legal-content h2 {
  margin: 30px 0 10px;
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
}

.legal-content p,
.legal-content li {
  color: var(--color-muted);
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.error-page {
  padding: clamp(22px, 4vw, 46px) 0;
}

.error-content {
  position: relative;
  height: clamp(460px, 58vw, 680px);
  overflow: hidden;
  border: 1px solid rgba(7, 94, 240, 0.16);
  border-radius: clamp(18px, 3vw, 34px);
  background: url("assets/error-connection.png") center right / cover no-repeat;
  background: image-set(url("assets/error-connection.webp") type("image/webp"), url("assets/error-connection.png") type("image/png")) center right / cover no-repeat;
  box-shadow: 0 18px 45px rgba(8, 62, 156, 0.08);
}

.error-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: clamp(30px, 5vw, 64px);
}

.error-kicker {
  margin: 0 0 10px;
  color: var(--color-blue);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
}

.error-code {
  display: block;
  color: rgba(7, 94, 240, 0.18);
  font-size: clamp(5rem, 13vw, 10.5rem);
  font-weight: 900;
  line-height: 0.86;
}

.error-content h1 {
  max-width: 520px;
  margin: 18px 0 10px;
  color: var(--color-ink);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
}

.error-content p:not(.error-kicker) {
  max-width: 440px;
  margin: 0 0 28px;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.error-text-bg {
  border-radius: 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.error-content h1 .error-text-bg {
  background: transparent;
  box-shadow: none;
}

.site-footer {
  padding: 20px 0;
  color: #fff;
  background: #07152c;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .brand-logo {
    width: clamp(128px, 22vw, 180px);
    max-height: none;
  }

  .hero-shell {
    min-height: auto;
    gap: 24px;
  }

  .hero-copy {
    max-width: 680px;
    margin-top: 0;
    padding-left: 0;
    transform: none;
  }

  .hero-copy::before {
    display: none;
  }

  .hero-logo {
    width: min(100%, 360px);
  }

  .hero-actions {
    margin-top: 28px;
  }

  h1 {
    max-width: 14ch;
  }

  .hero-media {
    position: relative;
    inset: auto;
    overflow: visible;
  }

  .hero-media::after {
    display: none;
  }

  .hero-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: none;
  }

  .error-content {
    height: clamp(560px, 72vw, 640px);
    background: url("assets/error-connection.png") 72% bottom / cover no-repeat;
    background: image-set(url("assets/error-connection.webp") type("image/webp"), url("assets/error-connection.png") type("image/png")) 72% bottom / cover no-repeat;
  }

  .error-copy {
    max-width: 27rem;
    padding-bottom: clamp(180px, 35vw, 280px);
  }

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

  .split-section {
    grid-template-columns: 1fr;
  }
}



@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-logo {
    width: clamp(112px, 40vw, 148px);
    max-height: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .language-toggle {
    min-height: 40px;
    padding: 7px 9px;
  }

  .language-toggle span {
    font-size: 0.9rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    box-shadow: 0 18px 42px rgba(8, 62, 156, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 13px 12px;
    border-radius: var(--radius);
  }

  .primary-nav a:hover,
  .primary-nav a:focus-visible {
    background: #eef6ff;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-actions {
    margin-top: 0;
  }

  .hero-actions {
    display: grid;
    white-space: normal;
  }

  .hero-actions .button {
    white-space: normal;
  }

  .button {
    width: 100%;
  }

  .error-content h1 {
    max-width: 10ch;
  }

  .error-text-bg {
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 8px 0 0 rgba(255, 255, 255, 0.62), -8px 0 0 rgba(255, 255, 255, 0.62), 0 10px 28px rgba(255, 255, 255, 0.24);
  }

  .error-content h1 .error-text-bg {
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 8px 0 0 rgba(255, 255, 255, 0.68), -8px 0 0 rgba(255, 255, 255, 0.68), 0 10px 28px rgba(255, 255, 255, 0.28);
  }

  .hero-media {
    border-radius: 18px;
  }

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

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    position: static;
  }

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

  .form-submit {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .hero-actions {
    margin-top: 22px;
  }

  .service-card {
    padding: 20px;
  }

  .footer-inner {
    display: grid;
  }

  .site-footer {
    padding: 22px 0;
  }

  .error-content {
    height: 510px;
    background: url("assets/error-connection.png") 72% bottom / auto 72% no-repeat;
    background: image-set(url("assets/error-connection.webp") type("image/webp"), url("assets/error-connection.png") type("image/png")) 72% bottom / auto 72% no-repeat;
  }

  .error-copy {
    max-width: 14rem;
    padding: 30px 0 230px 30px;
  }

  .error-content h1 {
    max-width: 10rem;
    font-size: clamp(1.7rem, 8vw, 2.15rem);
  }

  .error-content p:not(.error-kicker) {
    max-width: 12.5rem;
    font-size: 0.96rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .brand:hover::after,
  .brand:focus-visible::after {
    animation: none;
  }
}
