:root {
  --ink: #102033;
  --muted: #627386;
  --line: #d9e2ec;
  --panel: #ffffff;
  --soft: #eef6fb;
  --deep: #06111f;
  --deep-2: #091d33;
  --navy: #0b2a4a;
  --blue: #0e88d3;
  --cyan: #34c5e8;
  --orange: #f58220;
  --green: #1b8a5a;
  --yellow: #f5bd2e;
  --radius: 8px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 130, 32, .12), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(14, 136, 211, .18), transparent 30%),
    linear-gradient(180deg, #f3f8fc 0%, #ffffff 30%, #f7fafc 100%);
  line-height: 1.5;
}

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

.site-header {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  margin: 0;
  padding: 10px 14px;
  background:
    linear-gradient(135deg, rgba(14, 45, 76, .62), rgba(20, 83, 119, .42));
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(7, 24, 43, .14);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--orange), var(--blue));
  background-size: 220% 100%;
  animation: headerFlow 7s linear infinite;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  transition: background .2s ease, transform .2s ease;
}

.brand:hover {
  background: transparent;
  transform: translateY(-1px);
}

.brand-official-logo {
  display: block;
  width: clamp(240px, 25vw, 350px);
  height: auto;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  box-shadow: none;
}

nav a {
  position: relative;
  padding: 10px 12px;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  border-radius: 999px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  transform: translateY(-1px);
}

nav a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  box-shadow: none;
}

.language-switch button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, .76);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}

.language-switch button.active {
  color: #07182b;
  background: #fff;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--deep);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroMove 16s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 42%, rgba(245, 130, 32, .18), transparent 24%),
    radial-gradient(circle at 42% 20%, rgba(14, 136, 211, .28), transparent 34%),
    linear-gradient(90deg, rgba(6, 17, 31, .92) 0%, rgba(7, 24, 43, .76) 40%, rgba(7, 24, 43, .24) 72%, rgba(7, 24, 43, .1) 100%),
    linear-gradient(0deg, rgba(7, 24, 43, .56), transparent 34%);
}

.hero-content {
  position: relative;
  width: min(700px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 72px);
  padding: 152px 0 92px;
  color: #fff;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: 108px;
  left: 0;
  width: 86px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  box-shadow: 0 0 28px rgba(52, 197, 232, .55);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  max-width: 900px;
  font-size: clamp(44px, 8vw, 88px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.12;
}

.lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(18px, 2.2vw, 23px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 28px;
}

.hero-badges span {
  padding: 8px 11px;
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .11);
  backdrop-filter: blur(10px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 7px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.button.primary {
  color: #07182b;
  background: var(--yellow);
  border-color: var(--yellow);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: linear-gradient(90deg, rgba(14, 136, 211, .24), rgba(245, 130, 32, .26));
  border-bottom: 1px solid rgba(14, 136, 211, .16);
}

.trust-band div {
  padding: 24px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 252, 255, .96));
  transition: transform .22s ease, background .22s ease;
}

.trust-band div:hover {
  transform: translateY(-3px);
  background: #f7fcff;
}

.trust-band strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.trust-band span { color: var(--muted); }

.section, .split, .contact {
  padding: clamp(64px, 8vw, 104px) clamp(18px, 6vw, 72px);
}

.section-head {
  max-width: 880px;
  margin-bottom: 36px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.service-list {
  display: grid;
  gap: 34px;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(320px, 1.05fr);
  align-items: stretch;
  min-height: 390px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(247, 252, 255, .96));
  border: 1px solid rgba(217, 226, 236, .8);
  border-radius: 14px;
  box-shadow: 0 22px 56px rgba(16, 32, 51, .11);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.service-row::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--orange), var(--blue));
  background-size: 220% 100%;
  animation: headerFlow 9s linear infinite;
  opacity: .92;
}

.service-row:nth-child(even) {
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, .95fr);
}

.service-row:nth-child(even) img { order: 2; }

.service-row:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 136, 211, .42);
  box-shadow: 0 24px 60px rgba(16, 32, 51, .14);
}

.service-row img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  background: #dce8f1;
  transition: transform .7s ease, filter .7s ease;
}

.service-row:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.service-row div {
  display: grid;
  align-content: center;
  padding: clamp(26px, 5vw, 58px);
}

.service-row p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 430px) 1fr;
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  background:
    radial-gradient(circle at 88% 18%, rgba(245, 130, 32, .2), transparent 28%),
    radial-gradient(circle at 18% 80%, rgba(52, 197, 232, .2), transparent 26%),
    linear-gradient(135deg, var(--deep), #0b2a4a 58%, #0b3948);
  color: #fff;
}

.split .eyebrow { color: var(--yellow); }
.split p { color: rgba(255, 255, 255, .85); }

.list {
  display: grid;
  gap: 12px;
}

.list p {
  position: relative;
  margin: 0;
  padding: 16px 18px 16px 22px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
}

.list p::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--orange);
}

.muted-section {
  background:
    linear-gradient(180deg, #eef6fb, #f8fbfd);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.steps div {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(16, 32, 51, .05);
}

.steps strong {
  display: block;
  margin-bottom: 26px;
  color: var(--blue);
  font-size: 13px;
}

.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); }

.why-section {
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(14, 136, 211, .28), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(245, 130, 32, .24), transparent 24%),
    linear-gradient(135deg, #06111f, #0b2540 62%, #06111f);
}

.why-section .section-head p:not(.eyebrow),
.why-section p {
  color: rgba(255, 255, 255, .78);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px);
  transition: transform .24s ease, background .24s ease, border-color .24s ease;
}

.why-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 197, 232, .44);
  background: rgba(255, 255, 255, .1);
}

.why-grid strong {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.why-grid h3 {
  font-size: 24px;
}

.references {
  background:
    linear-gradient(180deg, #fff, #f7fbff);
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.reference-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbfd;
  transition: transform .24s ease, box-shadow .24s ease;
}

.reference-feature img {
  display: block;
  width: min(320px, 100%);
  height: 150px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.reference-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(16, 32, 51, .08);
}

.reference-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  background: #e6f4fb;
  border-radius: 6px;
}

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

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background:
    linear-gradient(135deg, #ffffff, #f1f8fd);
}

.contact-panel {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(16, 32, 51, .08);
}

.contact-panel a,
.contact-panel p {
  margin: 0;
  padding: 18px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.contact-panel a:hover { background: #f4faff; }
.contact-panel :last-child { border-bottom: 0; }

.contact-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.contact-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 6vw, 72px);
  color: rgba(255, 255, 255, .78);
  background: #07182b;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroMove {
  from { transform: scale(1); }
  to { transform: scale(1.06) translateX(-1.5%); }
}

@keyframes headerFlow {
  from { background-position: 0 0; }
  to { background-position: 220% 0; }
}

@media (max-width: 1100px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  nav { flex-wrap: wrap; }
}

@media (max-width: 980px) {
  .service-row,
  .service-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-row:nth-child(even) img { order: 0; }
  .service-row img { min-height: 340px; }
  .steps, .reference-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: calc(100% - 24px);
    margin: 12px auto -8px;
    padding: 10px;
    background:
      linear-gradient(135deg, rgba(14, 45, 76, .86), rgba(20, 83, 119, .72));
  }

  .brand {
    min-width: 0;
    width: 100%;
  }

  .brand-official-logo {
    width: min(100%, 320px);
  }

  .header-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    gap: 4px;
    border-radius: 12px;
  }

  nav a { padding: 8px 6px; }

  .hero {
    min-height: 720px;
  }

  .hero img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 24, 43, .93) 0%, rgba(7, 24, 43, .8) 48%, rgba(7, 24, 43, .22) 100%);
  }

  .hero-content {
    align-self: end;
    margin: 0 auto;
    padding-bottom: 56px;
  }

  .trust-band, .steps, .reference-grid, .why-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    min-height: 0;
  }

  .service-row img {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }

  .service-row div {
    padding: 24px;
  }

  .contact-panel strong {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
