:root {
  --ink: #e9eef5;
  --muted: #98a6b7;
  --navy-950: #040a12;
  --navy-900: #07111f;
  --navy-850: #0b1728;
  --navy-800: #0f1e32;
  --steel: #aeb8c3;
  --steel-dark: #566271;
  --blue: #0d5cb7;
  --blue-bright: #1686e8;
  --line: rgba(177, 193, 211, .18);
  --card: rgba(13, 27, 46, .72);
  --shadow: 0 28px 80px rgba(0, 0, 0, .32);
  --radius: 18px;
  --shell: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 75% -10%, rgba(22, 134, 232, .12), transparent 30rem),
    var(--navy-950);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 14px;
  background: white;
  color: #07111f;
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding: 104px 0; }
.section-muted {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012));
  border-block: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 72px;
  border-bottom: 1px solid rgba(177,193,211,.12);
  background: rgba(4, 10, 18, .82);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 72px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand-word { font-size: 22px; letter-spacing: -.04em; font-weight: 650; }
.brand-word strong { color: var(--blue-bright); font-weight: 760; }
.brand-rule { width: 30px; height: 1px; background: linear-gradient(90deg, var(--steel), transparent); }
.site-nav { display: flex; justify-content: center; align-items: center; gap: 28px; }
.site-nav a { color: #bac5d2; text-decoration: none; font-size: 14px; font-weight: 560; transition: color .18s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: white; }
.lang-switch { display: flex; align-items: center; gap: 7px; color: #647488; }
.lang-switch button { appearance: none; border: 0; background: transparent; color: #78889b; padding: 7px 4px; cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.lang-switch button[aria-pressed="true"] { color: white; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; background: transparent; color: white; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 1px; background: currentColor; margin: 5px 0; }

.hero { overflow: hidden; min-height: 700px; display: grid; align-items: center; padding-top: 112px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .55; }
.hero-glow-one { width: 420px; height: 420px; background: rgba(13, 92, 183, .2); top: 50px; right: 5%; }
.hero-glow-two { width: 260px; height: 260px; background: rgba(174, 184, 195, .08); bottom: 40px; left: 14%; }
.eyebrow { margin: 0 0 18px; color: #75baf8; font-size: 11px; font-weight: 820; letter-spacing: .18em; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; max-width: 800px; font-size: clamp(44px, 6.2vw, 76px); line-height: .98; letter-spacing: -.055em; font-weight: 710; }
h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.05; letter-spacing: -.04em; font-weight: 690; }
h3 { margin: 0; font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.hero-lead { margin: 28px 0 0; max-width: 690px; color: #aeb9c7; font-size: clamp(17px, 1.7vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 18px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 730; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: linear-gradient(135deg, #0e69c8, #167fd8); color: white; box-shadow: 0 14px 30px rgba(13,92,183,.24); }
.button-primary:hover { background: linear-gradient(135deg, #1174d9, #1c8bec); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #d8e0e9; }
.button-secondary:hover { border-color: rgba(117,186,248,.45); background: rgba(117,186,248,.05); }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 46px 0 0; color: #8f9caf; font-size: 12px; }
.hero-points li { position: relative; padding-top: 14px; border-top: 1px solid var(--line); }
.hero-points li::before { content: ""; position: absolute; top: -1px; left: 0; width: 30px; height: 1px; background: var(--blue-bright); }
.logo-stage { position: relative; }
.logo-frame { position: relative; overflow: hidden; padding: 18px; border-radius: 28px; background: #f8fafc; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.36); }
.logo-frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255,255,255,.7), transparent 35%); pointer-events: none; }
.logo-frame img { position: relative; display: block; width: 100%; height: auto; border-radius: 16px; }
.logo-caption { margin: 17px 8px 0; color: #77879b; font-size: 12px; text-align: center; letter-spacing: .05em; }

.section-heading { max-width: 760px; }
.section-heading > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 17px; max-width: 700px; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.service-card { min-height: 265px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(16,33,55,.72), rgba(10,22,38,.62)); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.service-card:hover { transform: translateY(-3px); border-color: rgba(117,186,248,.38); background: linear-gradient(180deg, rgba(18,38,64,.82), rgba(10,22,38,.7)); }
.icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid rgba(117,186,248,.2); border-radius: 12px; background: rgba(13,92,183,.08); color: #78bbf8; }
.service-card p { margin: 13px 0 0; color: var(--muted); font-size: 14px; }

.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: #4f8bc8; font: 700 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.process-list p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.training-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.training-panel, .training-items { border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: rgba(9,20,35,.65); }
.training-panel { padding: 42px; }
.training-panel > p:not(.eyebrow) { margin: 20px 0 26px; color: var(--muted); font-size: 16px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: #80c0fb; text-decoration: none; font-weight: 700; font-size: 14px; }
.training-items { overflow: hidden; }
.training-items > div { display: grid; gap: 6px; padding: 26px 30px; border-bottom: 1px solid var(--line); }
.training-items > div:last-child { border-bottom: 0; }
.training-items strong { font-size: 15px; }
.training-items span { color: var(--muted); font-size: 13px; }

.contact-section { overflow: hidden; }
.contact-section::after { content: ""; position: absolute; width: 500px; height: 500px; right: -180px; bottom: -260px; border-radius: 50%; background: rgba(13,92,183,.1); filter: blur(70px); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.contact-card { padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, rgba(15,31,52,.82), rgba(8,18,31,.78)); box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.contact-label { margin: 0 0 6px; color: #738397; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-email { display: block; overflow-wrap: anywhere; color: white; text-decoration: none; font-size: clamp(22px, 3vw, 32px); font-weight: 650; letter-spacing: -.03em; }
.contact-email:hover { color: #83c4ff; }
.contact-note { margin: 22px 0 26px; color: var(--muted); font-size: 12px; }
.contact-note code { color: #b7c7d8; }

.site-footer { padding: 34px 0 48px; border-top: 1px solid var(--line); background: #03080e; }
.footer-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.brand-footer .brand-word { font-size: 18px; }
.footer-grid p { margin: 8px 0 0; color: #718095; font-size: 12px; }
.footer-meta { display: flex; gap: 16px; color: #65758a; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 2px solid #5eb4ff; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .service-card { transition: none; }
}

@media (max-width: 980px) {
  .nav-wrap { grid-template-columns: auto auto auto; }
  .site-nav { position: absolute; left: 20px; right: 20px; top: 62px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgba(4,10,18,.98); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 12px; }
  .menu-toggle { display: block; justify-self: end; }
  .lang-switch { justify-self: end; }
  .hero { min-height: auto; }
  .hero-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-grid { gap: 50px; }
  .logo-stage { max-width: 650px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .training-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1160px); }
  .section { padding: 76px 0; }
  .nav-wrap { gap: 12px; }
  .brand-rule { display: none; }
  .brand-word { font-size: 19px; }
  .hero { padding-top: 76px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-points { grid-template-columns: 1fr; gap: 12px; }
  .logo-frame { padding: 10px; border-radius: 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .training-panel { padding: 30px; }
  .contact-card { padding: 26px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-meta { flex-direction: column; gap: 4px; }
}
