:root {
  --primary: #3569d4;
  --primary-bright: #4d7fe2;
  --primary-dark: #24499a;
  --navy: #07101f;
  --navy-2: #111b33;
  --navy-3: #172443;
  --ink: #0c1424;
  --text: #526079;
  --muted: #7a879c;
  --silver: #cfd2d8;
  --silver-dark: #8f96a3;
  --line: #dfe5ee;
  --surface: #ffffff;
  --soft: #f5f7fb;
  --soft-blue: #eef4ff;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(17, 27, 51, .10);
  --container: 1160px;
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 16, 31, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(207, 210, 216, .12);
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .03em;
}
.brand-mark {
  width: 43px;
  height: 43px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(53,105,212,.22);
}
.logo-copy { line-height: 1.02; }
.logo-copy strong {
  display: block;
  font-size: 19px;
  letter-spacing: .10em;
  color: #f4f4f5;
}
.logo-copy span {
  display: block;
  font-size: 8px;
  letter-spacing: .20em;
  color: #93a1b9;
  margin-top: 5px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  position: relative;
  font-size: 14px;
  color: #c7cfda;
  padding: 29px 0 25px;
  transition: .2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #7ca1ef);
  transform: scaleX(0);
  transition: .2s ease;
}
.main-nav a:hover,
.main-nav a.active { color: #fff; }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
  transition: .2s ease;
}
.menu-toggle span { margin: 5px 0; }
.menu-toggle.is-open span { opacity: 0; }
.menu-toggle.is-open::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open::after { transform: translateY(-7px) rotate(-45deg); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  transition: .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #416fda, #2c59be);
  color: #fff;
  box-shadow: 0 12px 28px rgba(53,105,212,.25);
}
.btn-primary:hover { background: linear-gradient(135deg,#4c7ce6,#24499a); transform: translateY(-1px); }
.btn-outline { border-color: #cbd3df; background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 12px; }

/* HERO */
.hero {
  min-height: 520px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 34%, rgba(65,111,218,.25), transparent 27%),
    radial-gradient(circle at 68% 92%, rgba(29,61,126,.34), transparent 36%),
    linear-gradient(118deg, #040a14 0%, #0b1428 52%, #17233f 100%);
  border-bottom: 1px solid rgba(207,210,216,.12);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, transparent 0%, #000 45%, #000 100%);
}
.hero-grid {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 70px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  color: #6f97ed;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #f2f2f3, #8eaaf0 48%, #4d7fe2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p,
.page-hero p {
  max-width: 600px;
  color: #aeb8c8;
  font-size: 17px;
  margin: 22px 0 28px;
}
.hero-art {
  min-height: 390px;
  position: relative;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(92,132,221,.22);
  border-radius: 50%;
  width: 410px;
  aspect-ratio: 1;
}
.orbit.o2 { width: 315px; }
.orbit.o3 { width: 220px; }
.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  aspect-ratio: 1;
  background: #577fda;
  box-shadow: 0 0 16px rgba(77,127,226,.8);
  border-radius: 50%;
}
.orbit::before { top: 18%; right: 12%; }
.orbit::after { bottom: 14%; left: 19%; }
.hero-brand-image {
  position: relative;
  z-index: 2;
  width: min(430px, 92%);
  border-radius: 24px;
  filter: drop-shadow(0 30px 55px rgba(0,0,0,.38));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

/* SECTIONS */
.section { padding: 76px 0; background: #fff; }
.section-soft { background: #f4f6fa; }
.section-title { text-align: center; margin-bottom: 38px; }
.section-title h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; color: var(--ink); }
.section-title p { color: var(--text); max-width: 640px; margin: 10px auto 0; }

.cards-3,
.cards-4 { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbfcfe);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 30px rgba(17,27,51,.045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #c6d4ee;
  box-shadow: var(--shadow);
}
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg,#eff4ff,#e5edff);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid #dbe6fb;
}
.icon-box svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { color: var(--text); margin: 0; }
.text-link { display: inline-flex; gap: 8px; color: var(--primary); font-weight: 700; margin-top: 18px; font-size: 14px; }

/* PAGE HERO */
.page-hero {
  padding: 90px 0 70px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(65,111,218,.20), transparent 25%),
    linear-gradient(118deg,#07101f,#111b33 68%,#172443);
  border-bottom: 1px solid rgba(207,210,216,.10);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 50%;
  width: 270px;
  height: 230px;
  transform: translateY(-50%);
  background: url("../images/bentix-mark.webp") center/cover no-repeat;
  opacity: .07;
  border-radius: 22px;
  pointer-events: none;
}
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(38px, 4.3vw, 60px); }
.office-visual {
  height: 330px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(rgba(7,16,31,.10), rgba(7,16,31,.04)),
    linear-gradient(135deg, #31476f, #e8edf5 48%, #6e8bc4);
  position: relative;
  box-shadow: 0 24px 58px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.12);
}
.office-visual::before {
  content: "";
  position: absolute;
  inset: 42px 45px 0;
  border-radius: 14px 14px 0 0;
  background:
    linear-gradient(90deg, transparent 19%, rgba(95,111,137,.22) 20%, transparent 21%, transparent 49%, rgba(95,111,137,.22) 50%, transparent 51%, transparent 79%, rgba(95,111,137,.22) 80%, transparent 81%),
    linear-gradient(#f8fafc, #d7dee9);
  border: 1px solid rgba(255,255,255,.35);
}
.people { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; gap: 8px; }
.person { width: 46px; height: 70px; border-radius: 22px 22px 12px 12px; background: #253451; position: relative; }
.person::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: #d4a373; position: absolute; left: 10px; top: -18px; }
.person:nth-child(2) { background: #3569d4; height: 78px; }
.person:nth-child(3) { background: #6c7586; }
.person:nth-child(4) { background: #41577e; height: 75px; }
.table { position: absolute; left: 28%; right: 18%; bottom: 22px; height: 12px; background: #8894a8; border-radius: 20px; }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-top: 18px; }
.value-item { display: flex; align-items: center; gap: 10px; color: var(--text); }
.value-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--soft-blue); color: var(--primary); display:grid;place-items:center;font-size:12px;font-weight:800; }
.stats { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.stat { border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align:center; background:#fff; }
.stat strong { display:block; color:var(--primary); font-size:28px; }
.stat span { color:var(--text); font-size:12px; }

/* CAREERS */
.career-hero-art { min-height: 280px; display:flex; align-items:flex-end; justify-content:center; position:relative; }
.career-hero-art::after {
  content: "";
  position: absolute;
  width: 270px;
  height: 220px;
  background: url("../images/bentix-mark.webp") center/cover no-repeat;
  opacity: .10;
  bottom: 0;
  z-index: -1;
}
.steps { display:flex; align-items:flex-end; gap:10px; }
.step { width:75px; border-radius:10px 10px 0 0; background:linear-gradient(#7197eb,#3569d4 55%,#24499a); box-shadow: 0 14px 30px rgba(53,105,212,.18); }
.step:nth-child(1){height:70px}.step:nth-child(2){height:110px}.step:nth-child(3){height:150px}.step:nth-child(4){height:195px}
.job-list { display:grid; gap:14px; }
.job { display:grid; grid-template-columns: 1fr auto auto; align-items:center; gap:25px; border:1px solid var(--line); border-radius:16px; padding:20px 22px; background:#fff; box-shadow:0 7px 24px rgba(17,27,51,.035); }
.job h3 { margin:0 0 3px; font-size:17px; }
.job p { margin:0; color:var(--text); font-size:13px; }
.job .meta { color:var(--muted); font-size:12px; white-space:nowrap; }

/* CONTACT */
.contact-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:50px; align-items:start; }
.contact-list { display:grid; gap:18px; margin-top:28px; }
.contact-item { display:flex; gap:14px; align-items:flex-start; }
.contact-item .icon-box { width:42px; height:42px; flex:0 0 auto; margin:0; }
.contact-item strong { display:block; margin-bottom:3px; }
.contact-item span { color:var(--text); font-size:14px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { display:grid; gap:7px; }
.field.full { grid-column:1/-1; }
.field label { font-size:12px; font-weight:700; color:#344158; }
.field input,
.field textarea {
  width:100%; border:1px solid var(--line); border-radius:9px; padding:13px 14px; outline:none; background:#fff; color:var(--ink);
}
.field input:focus,
.field textarea:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(53,105,212,.10); }
.field textarea { min-height:140px; resize:vertical; }
.form-status { display:none; margin-top:14px; padding:12px 14px; border-radius:9px; background:#ecfdf5; color:#047857; font-size:14px; }
.form-status.show { display:block; }

/* CTA */
.cta {
  margin-top: 50px;
  padding: 34px 40px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 25%, rgba(86,126,218,.20), transparent 22%),
    linear-gradient(110deg,#07101f,#111b33 72%,#1b2c52);
  border: 1px solid rgba(143,150,163,.18);
  box-shadow: 0 18px 48px rgba(7,16,31,.14);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.cta h2 { margin:0 0 6px; }
.cta p { margin:0; color:#b7c0cf; }

/* FOOTER */
.site-footer {
  border-top:1px solid rgba(207,210,216,.10);
  padding:54px 0 24px;
  background: linear-gradient(115deg,#050b15,#0b1428 68%,#111b33);
  color:#fff;
}
.footer-grid { display:grid; grid-template-columns:1.5fr repeat(3,1fr); gap:46px; }
.footer-brand p { max-width:320px; color:#9eabbf; font-size:14px; }
.footer-col h4 { margin:0 0 15px; font-size:14px; color:#f4f4f5; }
.footer-col a { display:block; color:#9eabbf; font-size:13px; margin:9px 0; }
.footer-col a:hover { color:#7fa1ea; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:40px; padding-top:20px; border-top:1px solid rgba(207,210,216,.10); color:#748197; font-size:12px; }

@media (max-width: 900px) {
  .menu-toggle { display:flex; flex-direction:column; }
  .main-nav {
    position:absolute;
    left:0; right:0; top:78px;
    display:none;
    flex-direction:column;
    gap:0;
    background:#081120;
    border-bottom:1px solid rgba(255,255,255,.08);
    box-shadow:0 18px 30px rgba(0,0,0,.22);
  }
  .main-nav.open { display:flex; }
  .main-nav a { width:100%; padding:15px 20px; text-align:center; }
  .main-nav a::after { display:none; }
  .hero-grid, .page-hero-grid, .contact-grid { grid-template-columns:1fr; }
  .hero { min-height:auto; }
  .hero-grid { padding:72px 0 44px; gap:30px; }
  .hero-art { min-height:300px; order:2; }
  .orbit { width:290px; }.orbit.o2{width:225px}.orbit.o3{width:165px}
  .hero-brand-image { width:min(360px,90%); }
  .cards-3 { grid-template-columns:1fr; }
  .cards-4 { grid-template-columns:1fr; }
  .stats { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 600px) {
  .container { width:min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height:68px; }
  .main-nav { top:68px; }
  .brand-mark { width:36px; height:36px; }
  .logo-copy strong{font-size:15px}.logo-copy span{font-size:7px;letter-spacing:.16em}
  .section { padding:56px 0; }
  .hero-grid { padding:58px 0 30px; }
  .hero h1,.page-hero h1 { font-size:40px; }
  .hero p,.page-hero p { font-size:15px; }
  .hero-art { min-height:245px; }
  .orbit{width:235px}.orbit.o2{width:180px}.orbit.o3{width:125px}
  .hero-brand-image { width:min(290px,94%); border-radius:18px; }
  .page-hero { padding:58px 0 48px; }
  .page-hero-grid { gap:34px; }
  .page-hero::after { width:190px; height:165px; right:-35px; }
  .office-visual { height:245px; }
  .split-2, .value-list, .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .stats { grid-template-columns:1fr 1fr; }
  .stat strong{font-size:24px}
  .job { grid-template-columns:1fr auto; gap:12px; }
  .job .meta { grid-column:1/2; }
  .cta { padding:28px 24px; flex-direction:column; align-items:flex-start; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .footer-bottom { flex-direction:column; }
}

/* LEGAL PAGES */
.legal-hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(77,127,226,.20), transparent 28%),
    linear-gradient(118deg,#050b15,#0b1428 64%,#172443);
  color:#fff;
  padding:72px 0 54px;
  border-bottom:1px solid rgba(207,210,216,.10);
}
.legal-hero-inner {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:40px;
}
.legal-hero h1 {
  margin:0;
  font-size:clamp(38px,5vw,60px);
  letter-spacing:-.04em;
  line-height:1.05;
}
.legal-hero p {
  margin:16px 0 0;
  max-width:720px;
  color:#aeb8c8;
  font-size:16px;
}
.legal-meta {
  min-width:250px;
  display:grid;
  gap:6px;
  color:#aeb8c8;
  font-size:12px;
  text-align:right;
}
.legal-meta strong { color:#fff; }
.legal-section { padding:56px 0 80px; background:#f4f6fa; }
.legal-layout {
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:28px;
  align-items:start;
}
.legal-toc {
  position:sticky;
  top:100px;
  display:grid;
  gap:4px;
  padding:20px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 8px 30px rgba(17,27,51,.04);
}
.legal-toc strong {
  font-size:13px;
  color:var(--ink);
  margin-bottom:8px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.legal-toc a {
  padding:7px 8px;
  border-radius:7px;
  color:var(--text);
  font-size:12px;
  line-height:1.35;
}
.legal-toc a:hover { background:var(--soft-blue); color:var(--primary); }
.legal-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:44px 48px;
  box-shadow:0 14px 44px rgba(17,27,51,.055);
}
.legal-intro {
  padding:22px 24px;
  margin-bottom:34px;
  background:linear-gradient(145deg,#f8faff,#eef4ff);
  border:1px solid #dce6f9;
  border-radius:14px;
}
.legal-card section { scroll-margin-top:100px; margin-top:40px; }
.legal-card section:first-of-type { margin-top:0; }
.legal-card h2 {
  margin:0 0 14px;
  font-size:20px;
  line-height:1.3;
  letter-spacing:-.015em;
  color:var(--ink);
}
.legal-card h3 { margin:22px 0 10px; font-size:16px; color:#24334d; }
.legal-card p { margin:0 0 14px; color:var(--text); }
.legal-card ul,
.legal-card ol { margin:12px 0 18px; padding-left:24px; color:var(--text); }
.legal-card li { margin:6px 0; padding-left:3px; }
.legal-card strong { color:var(--ink); }
.legal-link { color:var(--primary); font-weight:700; }
.legal-link:hover { text-decoration:underline; }
.legal-contact-box {
  margin:16px 0 4px;
  padding:22px 24px;
  background:#f7f9fc;
  border:1px solid var(--line);
  border-radius:14px;
}
.legal-contact-box > strong { display:block; font-size:17px; margin-bottom:10px; }
.legal-contact-box p:last-child { margin-bottom:0; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns:1fr; }
  .legal-toc { position:relative; top:auto; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .legal-toc strong { grid-column:1/-1; }
  .legal-hero-inner { align-items:flex-start; flex-direction:column; gap:24px; }
  .legal-meta { text-align:left; min-width:0; }
}

@media (max-width: 600px) {
  .legal-hero { padding:52px 0 42px; }
  .legal-hero h1 { font-size:38px; }
  .legal-section { padding:30px 0 56px; }
  .legal-toc { display:none; }
  .legal-card { padding:28px 20px; border-radius:16px; }
  .legal-intro { padding:18px; }
  .legal-card section { margin-top:32px; }
  .legal-card h2 { font-size:18px; }
}
