:root {
  --green:#00A651;
  --graphite:#111827;
  --light:#F8FAFC;
  --muted:rgba(17,24,39,.70);
  --line:rgba(17,24,39,.10);
  --shadow:0 18px 46px rgba(17,24,39,.08);
  --white:#FFFFFF;
  --line-light:rgba(248,250,252,.16);
}

img { display:block; max-width:100%; }

* { box-sizing:border-box; }

html { scroll-behavior:smooth; }

/* Compensate for the fixed .header (~108px desktop / ~96px mobile)
   when jumping to in-page anchors. */
:target { scroll-margin-top:120px; }
@media (max-width: 880px) {
  :target { scroll-margin-top:100px; }
}

body {
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:var(--light);
  color:var(--graphite);
}

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

.container { width:min(1280px, calc(100% - 48px)); margin:0 auto; }

.header {
  position:fixed; inset:0 0 auto 0; z-index:30;
  background:rgba(17,24,39,.92);
  border-bottom:1px solid rgba(248,250,252,.10);
  backdrop-filter: blur(14px);
}

.header-inner {
  display:flex; align-items:center; justify-content:space-between; gap:24px; padding:16px 0;
}

.logo {
  display:flex; align-items:center; gap:16px; min-width:0;
}

.logo-mark {
  display:grid; grid-template-columns:repeat(3, 14px); gap:4px;
}

.logo-mark span {
  width:14px; height:14px; background:var(--green); border-radius:4px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12);
}

.logo-line { width:1px; height:56px; background:rgba(248,250,252,.28); }

.logo-text {
  display:flex; flex-direction:column; justify-content:center; line-height:.95;
  color:#fff; font-weight:800; text-transform:uppercase; letter-spacing:.06em; font-size:20px;
}

.brand-logo {
  display:block;
  width:auto;
  height:76px;
}

.header .brand-logo {
  position:relative;
  top:-8px;
}

.footer .brand-logo {
  height:62px;
}

@media (max-width: 880px) {
  .brand-logo { height:64px; }
  .header .brand-logo { top:-6px; }
  .footer .brand-logo { height:52px; }
}

.footer {
  border-top:1px solid var(--line); background:var(--light);
}

.footer-inner {
  display:flex; align-items:center; justify-content:space-between; gap:24px; padding:26px 0;
}

.footer-nav { display:flex; flex-wrap:wrap; gap:20px; color:var(--muted); }

.header-right {
  display:flex; align-items:center; gap:18px;
}

.lang-switch {
  display:inline-flex; align-items:stretch;
  padding:3px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  font-size:12px; letter-spacing:.12em; text-transform:uppercase;
  white-space:nowrap; line-height:1;
}
.lang-switch a,
.lang-switch .current {
  display:inline-flex; align-items:center;
  padding:6px 12px;
  border-radius:999px;
  font-weight:700;
  transition: background .18s ease, color .18s ease;
}
.lang-switch a {
  color:rgba(255,255,255,.65);
}
.lang-switch a:hover {
  color:#fff;
  background:rgba(255,255,255,.10);
}
.lang-switch .current {
  background:#00a651;
  color:#fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.10) inset, 0 6px 14px -8px rgba(0,166,81,.55);
}
.lang-switch .sep { display:none; }

@media (max-width: 880px) {
  .lang-switch { font-size:11px; padding:2px; }
  .lang-switch a, .lang-switch .current { padding:5px 10px; }
}
