:root {
  --blue: #3b5eab;
  --blue-deep: #1c2e5c;
  --blue-night: #15244a;
  --blue-star: #c5d6ff;
  --blue-glow: #8eaff0;
  --blue-soft: #e8edf6;
  --blue-mist: #d9e2f0;
  --orange: #eba65d;
  --orange-soft: #d4a06a;
  --orange-deep: #dc8927;
  --white: #ffffff;
  --ink: #24344d;
  --muted: #5d6d86;
  --line: #c5d0e0;
  --shadow: 0 10px 24px rgba(28, 46, 92, .06);
  --nav-h: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
}
h1, h2, h3, .kicker, .brand, .btn, .nav-links a {
  font-family: Poppins, Inter, sans-serif;
}
a { color: var(--blue); }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px 22px;
  min-height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav a { color: #e8eefc; text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.burger { display: none; background: none; border: 0; color: #e8eefc; font-size: 28px; }
.lang { display: flex; gap: 4px; margin: 0; }
.lang button {
  border: 1px solid rgba(197, 214, 255, .35);
  background: transparent; color: #e8eefc;
  border-radius: 999px; padding: 4px 10px; cursor: pointer;
}
.lang button.is-active {
  background: var(--orange); border-color: var(--orange); color: var(--white);
}
.nav.scrolled, .nav-legal {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(59, 94, 171, .06);
}
.nav-legal { position: sticky; }
.nav.scrolled a, .nav-legal a { color: var(--blue); }
.nav.scrolled .burger, .nav-legal .burger { color: var(--blue); }
.nav.scrolled .lang button, .nav-legal .lang button {
  border-color: var(--line); color: var(--blue); background: var(--white);
}
.nav.scrolled .lang button.is-active, .nav-legal .lang button.is-active {
  background: var(--orange); border-color: var(--orange); color: var(--white);
}
.brand img {
  height: 48px; width: auto; display: block;
  filter: drop-shadow(0 2px 10px rgba(12, 20, 42, .35));
}
.nav.scrolled .brand img, .nav-legal .brand img { filter: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange);
  color: var(--white); text-decoration: none; border: 0;
  font-weight: 600; padding: 12px 18px; border-radius: 999px; cursor: pointer;
}
.btn:hover { background: var(--orange-deep); }
.btn-small { padding: 8px 14px; font-size: 13px; }
.btn-ghost {
  background: transparent; color: var(--blue-star);
  border: 1px solid rgba(197, 214, 255, .55);
}
.nav.scrolled .btn-ghost, .hero .btn-ghost { color: var(--blue-star); }
.nav.scrolled .btn-small { color: var(--white); }

.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: grid;
  align-items: center;
  color: #eef3ff;
  background:
    radial-gradient(ellipse 80% 70% at 78% 38%, rgba(90, 130, 210, .28), transparent 58%),
    radial-gradient(ellipse 36% 32% at 70% 40%, rgba(197, 214, 255, .14), transparent 62%),
    linear-gradient(180deg, #101b38 0%, var(--blue-night) 42%, var(--blue-deep) 100%);
}
.sky { position: absolute; inset: 0; pointer-events: none; }
.star {
  position: absolute;
  background: var(--blue-star);
  clip-path: polygon(50% 0, 57% 43%, 100% 50%, 57% 57%, 50% 100%, 43% 57%, 0 50%, 43% 43%);
  filter: drop-shadow(0 0 12px var(--blue-glow));
  opacity: .95;
}
.star-lg { width: 58px; height: 58px; }
.star-md { width: 26px; height: 26px; opacity: .78; }
.star-sm { width: 12px; height: 12px; opacity: .48; filter: drop-shadow(0 0 7px var(--blue-glow)); }
.star-xs { width: 6px; height: 6px; opacity: .28; filter: none; }
.star.a { top: 24%; left: 62%; }
.star.b { top: 38%; left: 76%; width: 86px; height: 86px; }
.star.c { top: 48%; left: 66%; }
.star.d { top: 30%; left: 86%; }
.star.e { top: 58%; left: 82%; }
.star.f { top: 18%; left: 72%; }
.star.g { top: 14%; left: 22%; }
.star.h { top: 74%; left: 10%; }

.hero-inner {
  position: relative; z-index: 1;
  padding: calc(var(--nav-h) + 36px) 0 88px;
}
.hero-copy { max-width: 40rem; }
.hero .kicker { color: var(--orange); }
.hero h1 { color: var(--white); }
.hero .lead { color: #d5e0f7; }
.kicker {
  letter-spacing: .14em; text-transform: uppercase;
  font-size: 12px; color: var(--orange-deep); margin: 0 0 10px;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); line-height: 1.12; margin: 0 0 16px; color: var(--blue); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; color: var(--blue); }
h3 { color: var(--blue); }
.lead { font-size: 1.12rem; max-width: 46rem; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.section { padding: 84px 0; background: #f2f4f8; }
.section.alt { background: var(--blue-soft); }
.muted { color: var(--muted); }
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px;
}
.cards article {
  background: var(--blue-mist);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange-soft);
  box-shadow: none;
}
.cards article p { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 22px; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--blue); }
.leader {
  background: var(--blue); color: var(--white); padding: 28px; border-radius: 22px;
  box-shadow: var(--shadow);
}
.leader .kicker { color: var(--orange); }
.leader h3 { color: var(--white); }
.contact-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.contact-list span { display: block; color: var(--muted); }
.map { width: 100%; height: 220px; border: 0; border-radius: 14px; margin-top: 12px; }
.card-form {
  background: var(--white); padding: 24px; border-radius: 22px; box-shadow: var(--shadow);
  display: grid; gap: 12px;
  border: 1px solid var(--line);
}
.card-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.card-form input, .card-form select, .card-form textarea {
  font: inherit; font-weight: 400; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line);
}
.hp { position: absolute; left: -9999px; }
.consent { font-size: 13px; color: var(--muted); font-weight: 400; }
.flash { padding: 10px 12px; border-radius: 10px; }
.flash.ok { background: #e8f7ee; }
.flash.err { background: #fdecea; }

.footer {
  position: relative; overflow: hidden;
  background: var(--blue-night); color: #e8eef8;
  padding: 48px 0 28px;
}
.footer a { color: var(--white); display: block; margin: 6px 0; text-decoration: none; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 24px; }
.footer-logo { height: 52px; }
.duns { margin-top: 10px; color: var(--orange) !important; font-weight: 600; }
.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 42px; height: 42px;
  border-radius: 50%; background: var(--orange); color: var(--white);
  display: grid; place-items: center; text-decoration: none; font-weight: 700;
}
.legal { background: var(--white); margin: 32px auto 64px; padding: 32px; border-radius: 22px; box-shadow: var(--shadow); }
.legal-page { background: var(--blue-soft); }

@media (max-width: 860px) {
  .cards, .two-col, .footer-grid, .facts { grid-template-columns: 1fr; }
  .star-lg, .star.b { width: 40px; height: 40px; }
  .burger { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--blue-night); flex-direction: column; padding: 18px;
  }
  .nav.scrolled .nav-links, .nav-legal .nav-links { background: var(--white); }
  .nav-links.open { display: flex; }
}
