:root {
  --bg: #f7fbff;
  --bg-soft: #eef8ff;
  --surface: #ffffff;
  --surface-2: #f3f9ff;
  --text: #09111f;
  --muted: #5b6b7f;
  --line: rgba(9, 17, 31, 0.12);
  --blue: #0865ff;
  --blue-2: #00a4ff;
  --blue-3: #8edfff;
  --dark: #061225;
  --shadow: 0 18px 55px rgba(8, 101, 255, 0.12);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #ffffff 100%);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 999; background: var(--dark); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 92px; height: auto; }
.brand-text { font-weight: 900; letter-spacing: 0.12em; font-size: 13px; text-transform: uppercase; display: none; }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--dark);
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(9,17,31,.06);
}
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before,
.nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -7px; }
.nav-toggle-icon::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-7px) rotate(-45deg); }
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav > a, .nav-dropdown > summary, .language-switch a {
  padding: 10px 11px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #233047;
}
.main-nav > a:hover, .nav-dropdown > summary:hover, .language-switch a:hover { background: var(--surface-2); color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav-dropdown > summary { list-style: none; cursor: pointer; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { content: "⌄"; margin-left: 5px; font-size: 12px; }
.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
}
.dropdown-menu a { padding: 10px 12px; border-radius: 12px; font-weight: 700; color: #233047; }
.dropdown-menu a:hover { background: var(--surface-2); color: var(--blue); }
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.language-switch a { color: var(--blue); min-width: 38px; text-align: center; }
.language-switch a.active { background: var(--blue); color: #fff; }

.hero {
  position: relative;
  padding: 86px 0 70px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -220px -120px auto auto;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,164,255,.20), transparent 63%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--blue-2); border-radius: 10px; }
h1 { font-size: clamp(38px, 6vw, 76px); line-height: .96; letter-spacing: -0.065em; margin: 0 0 22px; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 720px; margin: 0 0 30px; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 14px 35px rgba(8, 101, 255, .26); }
.btn-secondary { background: #fff; color: var(--dark); border-color: var(--line); }
.btn-white { background: #fff; color: var(--blue); }
.btn-outline-white { color: #fff; border-color: rgba(255,255,255,.35); }
.hero-card {
  position: relative;
  min-height: 460px;
  border-radius: 38px;
  background: radial-gradient(circle at 20% 15%, rgba(142,223,255,.55), transparent 30%), linear-gradient(145deg, #ffffff 0%, #eef8ff 52%, #cfefff 100%);
  box-shadow: 0 28px 80px rgba(8, 101, 255, .16);
  overflow: hidden;
  border: 1px solid rgba(8,101,255,.16);
}
.hero-card img.logo-mark { width: 215px; position: absolute; top: 34px; left: 34px; filter: drop-shadow(0 20px 45px rgba(0,0,0,.22)); }
.orbit { position: absolute; border: 1px solid rgba(8,101,255,.18); border-radius: 999px; }
.orbit.one { width: 440px; height: 440px; right: -90px; bottom: -120px; }
.orbit.two { width: 300px; height: 300px; right: 60px; bottom: 20px; }
.metric-card {
  position: absolute;
  background: rgba(255,255,255,.92);
  color: var(--dark);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 22px;
  padding: 16px 18px;
  min-width: 205px;
  box-shadow: 0 20px 55px rgba(0,0,0,.18);
}
.metric-card strong { display: block; font-size: 28px; line-height: 1; color: var(--blue); }
.metric-card span { color: var(--muted); font-weight: 700; font-size: 13px; line-height: 1.25; display: block; }
.metric-card.a { right: 34px; top: 86px; }
.metric-card.b { left: 34px; bottom: 42px; }
.metric-card.c { right: 46px; bottom: 72px; }

.section { padding: 78px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 780px; margin-bottom: 34px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 35px rgba(9,17,31,.05);
  min-height: 100%;
}
.card:hover { box-shadow: var(--shadow); }
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(8,101,255,.12), rgba(0,164,255,.18));
  color: var(--blue);
  font-weight: 1000;
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 10px; font-size: 21px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); }
.card a.more { display: inline-flex; margin-top: 18px; color: var(--blue); font-weight: 900; }
.service-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.service-list li { position: relative; padding-left: 28px; color: #26384f; }
.service-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 1000; }

.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; }
.visual-box {
  border-radius: 36px;
  background: linear-gradient(145deg, #061225, #08295d);
  padding: 24px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 28px 75px rgba(6,18,37,.16);
}
.visual-box img { width: 100%; max-width: 430px; }
.text-block p { color: var(--muted); font-size: 18px; }

.cta {
  background: linear-gradient(135deg, #061225, #073277 55%, #0865ff);
  color: #fff;
  border-radius: 38px;
  padding: 48px;
  overflow: hidden;
  position: relative;
}
.cta::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 999px; right: -140px; top: -120px; background: rgba(142,223,255,.16); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; }
.cta h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.04em; line-height: 1.05; }
.cta p { margin: 0; color: rgba(255,255,255,.78); font-size: 18px; }

.page-hero { padding: 72px 0 48px; background: linear-gradient(180deg, #f6fbff 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.breadcrumbs { color: var(--muted); font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.breadcrumbs a { color: var(--blue); }
.page-layout { display: grid; grid-template-columns: 1fr 330px; gap: 30px; align-items: start; }
.content-panel { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 34px; box-shadow: 0 12px 35px rgba(9,17,31,.05); }
.content-panel h2, .content-panel h3 { letter-spacing: -0.03em; line-height: 1.1; }
.content-panel p { color: var(--muted); font-size: 17px; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 16px; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 12px 35px rgba(9,17,31,.05); }
.sidebar-card h3 { margin-top: 0; }
.sidebar-card a { display: block; color: var(--blue); font-weight: 900; margin-top: 8px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.contact-item { display: grid; gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item strong { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-item a, .contact-item span { font-size: 19px; font-weight: 900; color: var(--dark); }
.email-direct { margin-bottom: 18px; border: 1px dashed rgba(8,101,255,.42); background: linear-gradient(135deg, rgba(8,101,255,.07), rgba(0,164,255,.10)); border-radius: 22px; padding: 18px; }
.email-direct a { color: var(--blue); font-weight: 1000; }
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 900; margin-bottom: 7px; color: #27364c; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 48px;
  padding: 12px 14px;
  background: #fff;
  outline: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8,101,255,.10); }
.form-note { color: var(--muted); font-size: 13px; margin: 0; }

.footer { background: #f3f9ff; color: var(--dark); padding: 54px 0 26px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; margin-bottom: 34px; }
.footer img { width: 145px; height: auto; margin-bottom: 12px; }
.footer p { color: var(--muted); margin: 0; }
.footer h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin: 0 0 12px; }
.footer a, .footer-address { display: block; color: #26384f; margin: 7px 0; }
.footer a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 86px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 12px; box-shadow: var(--shadow); align-items: stretch; flex-direction: column; }
  .main-nav.is-open { display: flex; }
  .main-nav > a, .nav-dropdown > summary, .language-switch a { border-radius: 14px; }
  .language-switch { align-self: flex-start; border-radius: 16px; }
  .nav-dropdown { position: static; }
  .nav-dropdown::after { display: none; }
  .dropdown-menu { position: static; box-shadow: none; border-radius: 14px; margin: 5px 0 0 12px; min-width: unset; }
  .hero-grid, .split, .page-layout, .contact-grid, .cta-inner { grid-template-columns: 1fr; }
  .hero-card { min-height: 410px; }
  .sidebar { position: static; }
}
@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding: 56px 0 48px; }
  .section { padding: 54px 0; }
  .grid-2, .grid-3, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 30px; border-radius: 28px; }
  .content-panel, .contact-card { padding: 22px; border-radius: 24px; }
  .hero-card img.logo-mark { width: 165px; }
  .metric-card { min-width: 145px; padding: 13px 14px; }
  .metric-card strong { font-size: 22px; }
  .metric-card.a { right: 18px; top: 74px; }
  .metric-card.b { left: 18px; bottom: 34px; }
  .metric-card.c { right: 24px; bottom: 115px; }
  .footer-bottom { flex-direction: column; }
}
