:root {
  --ink: #07111f;
  --ink-soft: #101f33;
  --blue: #39a8ef;
  --blue-bright: #66c7ff;
  --mist: #f5f9fd;
  --line: #dce8f2;
  --muted: #5b6e82;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(7, 17, 31, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .65rem .9rem;
  color: var(--ink);
  background: var(--white);
  border-radius: .55rem;
  box-shadow: var(--shadow);
}

.skip-link:focus { top: 1rem; }

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 232, 242, .84);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1.25rem;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 22%;
  background: #000;
  border: 1px solid rgba(57, 168, 239, .45);
}

.brand-copy { display: grid; gap: .08rem; }
.brand-name { font-size: .96rem; font-weight: 800; letter-spacing: .09em; }
.brand-caption { color: var(--muted); font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: .88rem;
  color: var(--muted);
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  padding: .18rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f5f9fd;
}
.lang-button {
  min-width: 2.25rem;
  padding: .38rem .48rem;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}
.lang-button:hover { color: var(--ink); }
.lang-button.active { color: var(--white); background: var(--ink); }
.nav-cta {
  padding: .62rem .9rem;
  color: var(--white) !important;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 5.2rem;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 8%, rgba(57, 168, 239, .29), transparent 32rem),
    radial-gradient(circle at 10% 82%, rgba(75, 92, 196, .25), transparent 28rem),
    linear-gradient(135deg, #050d18 0%, #0b1a2e 56%, #081221 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .3;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); align-items: center; gap: 4rem; }
.eyebrow { margin: 0 0 1.25rem; color: var(--blue-bright); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(2.7rem, 6vw, 5.15rem); line-height: 1.02; letter-spacing: -.055em; }
.hero h1 .accent { color: var(--blue-bright); }
.hero-lead { max-width: 650px; margin: 1.7rem 0 0; color: #c7d8e8; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.15rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .75rem 1.1rem; border-radius: 999px; font-size: .92rem; font-weight: 750; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--white); }
.button-primary:hover { background: #e6f5ff; }
.button-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.34); }
.button-ghost:hover { background: rgba(255,255,255,.1); }

.hero-logo-panel { justify-self: end; width: min(100%, 360px); padding: 1.1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 1.6rem; background: rgba(0,0,0,.34); box-shadow: 0 20px 60px rgba(0,0,0,.22); }
.hero-logo-panel img { display: block; width: 100%; border-radius: 1rem; }
.hero-logo-caption { margin: .8rem .25rem 0; color: #c7d8e8; font-size: .75rem; text-align: center; }

.section { padding: 5.5rem 0; }
.section-white { background: var(--white); }
.section-header { max-width: 700px; margin-bottom: 2.2rem; }
.section-kicker { margin: 0 0 .7rem; color: #1179b8; font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.12; letter-spacing: -.045em; }
.section-intro { margin: 1rem 0 0; color: var(--muted); font-size: 1.02rem; }

.identity-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.2rem; }
.identity-card, .contact-card, .service-card { border: 1px solid var(--line); border-radius: 1.15rem; background: var(--white); }
.identity-card { padding: 1.6rem; box-shadow: var(--shadow); }
.identity-card h3 { margin: 0 0 .4rem; font-size: 1.28rem; }
.identity-card .legal-name { margin: 0 0 1.35rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin: 0; }
.facts div { padding-top: 1rem; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.facts dd { margin: .3rem 0 0; font-size: .96rem; font-weight: 650; }
.address { grid-column: 1 / -1; }

.note-card { padding: 1.6rem; color: #dff2ff; border-radius: 1.15rem; background: linear-gradient(145deg, #0b1a2e, #12355a); }
.note-card h3 { margin: 0 0 .65rem; color: var(--white); }
.note-card p { margin: 0; color: #c4dceb; }
.note-card .note-email { margin-top: 1rem; }
.note-card a { color: var(--blue-bright); font-weight: 750; }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-card { padding: 1.45rem; background: #fbfdff; }
.service-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1.1rem; color: #0d7fbe; border-radius: .8rem; background: #e4f4ff; font-weight: 900; }
.service-card h3 { margin: 0 0 .55rem; font-size: 1.05rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.contact-section { color: var(--white); background: var(--ink); }
.contact-section .section-kicker { color: var(--blue-bright); }
.contact-section .section-intro { color: #bdcddd; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-card { padding: 1.5rem; color: var(--ink); }
.contact-card h3 { margin: 0 0 .75rem; font-size: 1rem; }
.contact-card p { margin: .25rem 0; color: var(--muted); }
.contact-card a { color: #0b74ad; font-weight: 750; }

.site-footer { padding: 2rem 0; color: #9db0c2; background: #040a12; }
.footer-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.footer-brand { color: var(--white); font-weight: 800; letter-spacing: .08em; }
.footer-small { margin: .35rem 0 0; font-size: .78rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; font-size: .82rem; }
.footer-links a { color: #c5d7e7; text-decoration: none; }
.footer-links a:hover { color: var(--blue-bright); }

.legal-main { min-height: calc(100vh - 160px); padding: 5rem 0; background: var(--white); }
.legal-main h1 { margin: 0 0 .8rem; font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.045em; line-height: 1.1; }
.legal-updated { margin: 0 0 2.3rem; color: var(--muted); font-size: .9rem; }
.legal-content { max-width: 820px; }
.legal-content h2 { margin: 2.2rem 0 .65rem; font-size: 1.3rem; }
.legal-content p, .legal-content li { color: #42576b; }
.legal-content ul { padding-left: 1.2rem; }
.legal-content a { color: #0b74ad; font-weight: 650; }

@media (max-width: 820px) {
  .nav-links > a:not(.nav-cta) { display: none; }
  .hero { padding: 5rem 0 4.4rem; }
  .hero-inner, .identity-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-logo-panel { justify-self: start; width: min(100%, 300px); }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 1.5rem, 1120px); }
  .nav { min-height: 68px; }
  .brand-caption { display: none; }
  .brand-name { font-size: .86rem; }
  .brand-mark { width: 39px; height: 39px; flex-basis: 39px; }
  .hero h1 { font-size: 2.75rem; }
  .facts { grid-template-columns: 1fr; }
  .address { grid-column: auto; }
  .footer-row { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}
