*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #0a0a0a;
  background: #08080f;
  overflow-x: hidden;
}

:root {
  --ink: #0a0a0a;
  --mid: #555;
  --light: #999;
  --border: #e5e5e5;
  --bg-alt: #f7f7f8;
  --accent: #1a3aff;
  --dark: #0a0a0a;
  --white: #ffffff;
}

/* ── Navbar ─────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s;
}
#nav.over-dark {
  background: transparent; border-bottom: 1px solid transparent;
}
#nav.over-dark.menu-open {
  background: rgba(8,8,15,0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
#nav.over-dark .nav-link { color: #fff; }
#nav.over-dark .nav-link:hover { color: rgba(255,255,255,0.7); }
#nav.over-dark .logo { color: #fff; }
#nav.over-dark .logo-name { color: #fff; }
#nav.over-dark .btn-nav { background: #fff; color: #08080f; border: none; }
#nav.over-dark .btn-nav:hover { background: #e0e0e0; }
#nav.over-dark #ham svg { stroke: #fff; }
#nav.over-dark #mobile-nav {
  background: rgba(8,8,15,0.8); border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
#nav.over-dark .mob-link { color: #fff; border-bottom-color: rgba(255,255,255,0.1); }
#nav.over-dark #mobile-nav .btn-primary { background: #fff; color: #08080f; }
#nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; position: relative;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.logo-name {
  font-family: 'Syne', -apple-system, sans-serif;
  font-weight: 700; font-size: 17px; letter-spacing: -0.02em;
}
.nav-center {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 32px;
}
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--mid);
  text-decoration: none; transition: color 0.15s;
}
.nav-link:hover { color: var(--ink); }
.nav-right {
  display: flex; align-items: center; gap: 0;
}
.btn-nav {
  font-size: 14.5px; font-weight: 600; padding: 16px 32px;
  background: var(--ink); color: var(--white); border-radius: 50px;
  text-decoration: none; transition: background 0.15s;
  cursor: pointer;
}
.btn-nav:hover { background: #222; }

/* ── Language switcher ─────────────────── */
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  margin-right: 16px;
}
.lang-link {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--mid); text-decoration: none;
  padding: 4px 8px; border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.lang-link:hover { color: var(--ink); }
.lang-link.active {
  color: var(--ink); background: rgba(0,0,0,0.06);
}
#nav.over-dark .lang-link { color: rgba(255,255,255,0.6); }
#nav.over-dark .lang-link:hover { color: #fff; }
#nav.over-dark .lang-link.active {
  color: #fff; background: rgba(255,255,255,0.12);
}
.lang-switch-mobile {
  display: flex; gap: 8px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.lang-link-mob {
  font-size: 13px; font-weight: 600; text-decoration: none;
  color: var(--mid); padding: 6px 12px; border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.lang-link-mob.active { color: var(--ink); background: rgba(0,0,0,0.06); }
#nav.over-dark .lang-link-mob { color: rgba(255,255,255,0.6); }
#nav.over-dark .lang-link-mob.active {
  color: #fff; background: rgba(255,255,255,0.12);
}

/* ── Hamburger ──────────────────────────── */
#ham {
  display: none; padding: 8px; background: transparent;
  border: none; cursor: pointer;
}
#ham svg { stroke: var(--ink); }
.ham-line {
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: 11px 11px;
}
#ham.open .ham-top { transform: rotate(45deg) translate(0, 5px); }
#ham.open .ham-mid { opacity: 0; }
#ham.open .ham-bot { transform: rotate(-45deg) translate(0, -5px); }

/* ── Mobile menu ────────────────────────── */
#mobile-nav {
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 24px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}
#mobile-nav.open { max-height: 400px; opacity: 1; padding: 8px 24px 20px; }
.mob-link {
  font-size: 15px; font-weight: 600; text-decoration: none;
  color: var(--ink); display: block; padding: 12px 0;
  border-bottom: 1px solid var(--border); transition: color 0.15s;
}
.mob-link:last-of-type { border-bottom: none; }
.mob-link:hover { color: var(--accent); }

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; font-weight: 600; font-size: 14.5px;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: none; border-radius: 50px;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #222; }
.btn-outline { color: var(--ink); border: 1px solid var(--border); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: #f0f0f0; }
.btn-outline-white { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.6); }

/* ── Section shared ─────────────────────── */
.section { padding: 120px 0; background: var(--white); }
.section-alt { background: var(--bg-alt); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
p.slabel {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--light); margin-bottom: 20px;
}
h1, h2, .section-heading {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
}
.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.1; margin-bottom: 20px;
}

/* ── Hero ───────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  text-align: left;
  padding: 60px 0 0; position: relative; overflow: hidden;
  background: #08080f;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.hero h1 {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 500; line-height: 0.95;
  letter-spacing: -0.04em; color: #fff;
  margin: 0 0 32px;
}
.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-top: 80px;
}
.hero-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.7; color: #fff;
  max-width: 380px;
}
.hero-ctas {
  display: flex; gap: 12px; flex-shrink: 0;
}
.hero .btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; font-weight: 600; font-size: 14.5px;
  text-decoration: none; cursor: pointer; border-radius: 50px;
  transition: background 0.15s, border-color 0.15s;
}
.hero .btn-hero-primary {
  background: #fff; color: #08080f; border: none;
}
.hero .btn-hero-primary:hover { background: #e0e0e0; }
.hero .btn-hero-outline {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hero .btn-hero-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.14);
}

/* ── For whom ───────────────────────────── */
.whom-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border-top: 1px solid var(--border);
}
.whom-item {
  padding: 28px 0; padding-right: 40px;
  border-bottom: 1px solid var(--border);
}
.whom-item:nth-child(even) { padding-right: 0; padding-left: 40px; }
.whom-item h3 {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 6px;
}
.whom-item p {
  font-size: 14px; line-height: 1.65; color: var(--mid);
}

/* ── Services ───────────────────────────── */
.svc-grid {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 80px; align-items: start;
}
.svc-sticky {
  position: sticky; top: 100px;
}
.svc-sticky h2 { margin-bottom: 20px; }
.svc-sticky p:not(.slabel) {
  font-size: 16px; line-height: 1.75; color: var(--mid);
  margin-bottom: 32px;
}
.svc-row {
  display: flex; align-items: flex-start; gap: 24px;
  padding: 28px 0; border-bottom: 1px solid var(--border);
  cursor: default; transition: all 0.15s;
}
.svc-row:last-child { border-bottom: none; }
.svc-row:hover .svc-num { color: var(--accent); }
.svc-row:hover .svc-name { color: var(--accent); }
.svc-num {
  font-size: 11px; font-weight: 700; color: var(--light);
  min-width: 24px; padding-top: 5px; letter-spacing: 0.04em;
  transition: color 0.15s; flex-shrink: 0;
}
.svc-name {
  font-size: 16px; font-weight: 700;
  color: var(--ink); margin-bottom: 6px; transition: color 0.15s;
}
.svc-desc {
  font-size: 14px; line-height: 1.65; color: var(--mid);
}

/* ── Process ────────────────────────────── */
.proc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.proc-card {
  background: var(--white); padding: 36px 28px;
  display: flex; flex-direction: column;
}
.proc-num {
  font-size: 11px; font-weight: 700; color: var(--light);
  letter-spacing: 0.06em; margin-bottom: 48px;
}
.proc-card h3 {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 10px;
}
.proc-card p {
  font-size: 14px; line-height: 1.65; color: var(--mid);
}
.proc-card.proc-active {
  background: var(--ink); color: var(--white);
}
.proc-card.proc-active .proc-num { color: rgba(255,255,255,0.7); }
.proc-card.proc-active h3 { color: var(--white); }
.proc-card.proc-active p { color: rgba(255,255,255,0.7); }

/* ── Why section ────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.why-grid h2 { margin-bottom: 20px; }
.why-grid > div:first-child p:not(.slabel) {
  font-size: 16px; line-height: 1.75; color: var(--mid);
  margin-bottom: 36px;
}
.why-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.why-item:first-child { border-top: 1px solid var(--border); }
.why-item h3 {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 4px;
}
.why-item p {
  font-size: 14px; line-height: 1.65; color: var(--mid);
}

/* ── CTA ────────────────────────────────── */
.cta-section {
  background: var(--dark); padding: 120px 0;
}
.cta-inner {
  max-width: 640px; margin: 0 auto; text-align: center;
}
.cta-inner h2 { margin-bottom: 20px; }
.cta-inner p:not(.slabel) {
  font-size: 16px; line-height: 1.7;
  color: rgba(255,255,255,0.7); margin-bottom: 40px;
}
.cta-inner .cta-email {
  font-size: 13px; color: rgba(255,255,255,0.7);
  margin-top: 24px;
}

/* ── Footer ─────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand p {
  font-size: 13.5px; line-height: 1.7;
  color: rgba(255,255,255,0.7);
}
.footer-col h3 {
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none; display: flex;
  flex-direction: column; gap: 10px;
}
.footer-col a {
  font-size: 13.5px; color: rgba(255,255,255,0.7);
  text-decoration: none; transition: color 0.15s;
}
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-socials {
  display: flex; gap: 6px; margin-top: 16px;
}
.footer-social {
  width: 32px; height: 32px; display: flex;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; transition: border-color 0.15s;
}
.footer-social:hover { border-color: rgba(255,255,255,0.3); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 10px;
}
.footer-bottom p {
  font-size: 12px; color: rgba(255,255,255,0.7);
}

/* ── Scroll reveal ──────────────────────── */
.reveal {
  opacity: 0; transition: opacity 0.5s ease;
}
.reveal.visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transition: none; }
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 900px) {
  .whom-grid { grid-template-columns: 1fr; }
  .whom-item { padding-right: 0; }
  .whom-item:nth-child(even) { padding-left: 0; }
  .svc-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc-sticky { position: static; }
  .proc-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .nav-center { display: none; }
  .nav-right > .btn-nav { display: none; }
  .lang-switch { display: none; }
  #ham { display: block; }
  .section { padding: 80px 0; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.5rem); }
  .hero-bottom { flex-direction: column; align-items: flex-start; margin-top: 48px; }
  .hero-ctas { flex-wrap: wrap; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .proc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 80px 0; }
}
@media (min-width: 768px) {
  .lang-switch-mobile { display: none; }
}
