/* =============================================================
   BT-DX — Site Stylesheet (v2 — Premium Corporate)
   Single source of truth for layout, components & responsive.
   Brand: corporate navy/blue  ·  Accents: red/purple/green per page
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --blue: #1A5FB4;
  --blue-dark: #0B3D7A;
  --blue-soft: #EAF2FC;
  --navy: #0A1B33;          /* deep corporate navy for hero/footer */
  --navy-2: #0E254A;
  --navy-3: #12305E;

  --red: #C7000B;
  --red-soft: #FDECEE;
  --purple: #7C3AED;
  --purple-dark: #5B21B6;
  --purple-soft: #F3E8FF;
  --green: #0F766E;
  --green-soft: #E1F5EE;
  --orange: #F59E0B;

  --ink: #0B1729;
  --text: #243140;
  --muted: #5b6776;
  --hint: #97A1AD;
  --bg: #ffffff;
  --surface: #F6F8FB;
  --surface-2: #EEF2F8;
  --border: rgba(11, 23, 41, 0.09);
  --border-md: rgba(11, 23, 41, 0.15);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(11, 23, 41, 0.05);
  --shadow: 0 14px 34px rgba(11, 23, 41, 0.08);
  --shadow-lg: 0 30px 70px rgba(11, 23, 41, 0.12);
  --shadow-accent: 0 16px 34px -12px color-mix(in srgb, var(--accent) 55%, transparent);

  --container: 1180px;
  --nav-h: 70px;

  --accent: var(--blue);
  --accent-dark: var(--blue-dark);
  --accent-soft: var(--blue-soft);
  --accent-rgb: 26, 95, 180;
}

/* Page-level accent overrides */
.theme-red   { --accent: var(--red);    --accent-dark: #8E0007;          --accent-soft: var(--red-soft);    --accent-rgb: 199, 0, 11; }
.theme-purple{ --accent: var(--purple); --accent-dark: var(--purple-dark);--accent-soft: var(--purple-soft); --accent-rgb: 124, 58, 237; }
.theme-green { --accent: var(--green);  --accent-dark: #0B5B55;          --accent-soft: var(--green-soft);  --accent-rgb: 15, 118, 110; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
img:not(.site-logo) { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Entrance animation ---------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-inner > div > *,
.section-head,
.hero-panel { animation: riseIn .6s cubic-bezier(.2,.7,.2,1) both; }
.hero-panel { animation-delay: .12s; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.icon-svg, .icon svg, .svg-i {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: -40px; left: 12px; z-index: 200;
  background: var(--ink); color: #fff; padding: 8px 14px;
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  transition: top .15s;
}
.skip-link:focus { top: 12px; }

/* ---------- Navigation ---------- */
/* Sticky lives on the <header> so the bar stays pinned while scrolling
   (a sticky .nav would only stick within the header's own height). */
header {
  position: sticky; top: 0; z-index: 100;
}
.nav {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s, background .2s;
}
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(11, 23, 41, 0.07); }
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  max-width: 120px;
  line-height: 0;
}
.nav-logo img.site-logo {
  display: block;
  height: 24px;
  width: auto;
  max-width: 120px;
  max-height: 24px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .nav-logo { max-width: 110px; }
  .nav-logo img.site-logo { height: 22px; max-height: 22px; max-width: 110px; }
}

.nav-links {
  display: flex; gap: 6px; align-items: center; list-style: none;
}
.nav-links > li > a,
.nav-dropdown-trigger {
  position: relative;
  font-size: 13.5px; font-weight: 600; color: var(--text);
  padding: 8px 12px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-dropdown-trigger:hover { color: var(--accent); background: var(--accent-soft); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--accent); border-radius: 2px;
}

.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.lang-toggle {
  display: flex; border: 1px solid var(--border-md);
  border-radius: 999px; overflow: hidden; padding: 2px;
  background: var(--surface);
}
.lang-btn {
  padding: 5px 12px; font-size: 11px; font-weight: 700;
  color: var(--muted); background: transparent; border-radius: 999px;
  transition: background .15s, color .15s;
}
.lang-btn.active { background: var(--accent); color: #fff; }

.btn-nav {
  background: var(--accent); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-accent);
  transition: transform .12s, box-shadow .2s, background .15s;
}
.btn-nav:hover { background: var(--accent-dark); transform: translateY(-1px); }

.nav-mobile-toggle {
  display: none; font-size: 22px; color: var(--ink); padding: 4px 8px;
}

/* Dropdown menu (services) */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-dropdown-trigger::after {
  content: "▾"; font-size: 9px; margin-left: 2px; opacity: .7;
}
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  min-width: 256px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  list-style: none;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-6px);
  transition: opacity .16s, transform .16s, visibility 0s linear .16s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  transition: opacity .16s, transform .16s;
}
.nav-dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--text);
  transition: background .12s, color .12s, padding-left .12s;
}
.nav-dropdown-menu a:hover { background: var(--accent-soft); color: var(--accent); padding-left: 18px; }

/* ---------- Breadcrumb (sits on dark navy, above page-hero) ---------- */
.breadcrumb {
  padding: 16px 0 0; font-size: 12.5px;
  color: rgba(229, 238, 250, 0.6);
  background: var(--navy);
}
.breadcrumb a { color: rgba(229, 238, 250, 0.6); transition: color .15s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { margin: 0 8px; color: rgba(229, 238, 250, 0.4); }
/* When a breadcrumb precedes the hero, remove the hero's top padding overlap */
.breadcrumb + .page-hero { padding-top: 40px; }

/* ---------- Hero (home) — DARK corporate ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 78% -8%, rgba(var(--accent-rgb), 0.40), transparent 60%),
    radial-gradient(700px 420px at 8% 110%, rgba(124, 160, 255, 0.18), transparent 55%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #fff;
}
/* subtle grid overlay */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 60% 0%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 90% at 60% 0%, #000 35%, transparent 80%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  padding: 100px 0 92px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); color: #dbe7f7;
  font-size: 12px; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  margin-bottom: 22px;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #5ee0a0;
  box-shadow: 0 0 0 4px rgba(94, 224, 160, 0.22);
}

.hero h1 {
  max-width: 780px; color: #fff;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.03; letter-spacing: -2px;
  font-weight: 800; margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #7db8ff, #b69bff 60%, #8fe3c2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 660px; font-size: 17px; line-height: 1.8;
  color: rgba(229, 238, 250, 0.82); margin-bottom: 16px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl); padding: 26px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.panel-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px;
  color: rgba(229, 238, 250, 0.55); font-weight: 700; margin-bottom: 16px;
}
.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.highlight-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md); padding: 18px;
  transition: transform .15s, background .15s;
}
.highlight-card:last-child { grid-column: 1 / -1; }
.highlight-card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); }
.highlight-num {
  font-size: 30px; font-weight: 800;
  letter-spacing: -1px; line-height: 1; margin-bottom: 8px;
  background: linear-gradient(120deg, #8fc0ff, #c4aaff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.highlight-label { font-size: 12px; color: rgba(229, 238, 250, 0.72); line-height: 1.5; }
.highlight-sector { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.highlight-sector span {
  font-size: 11px; color: rgba(229, 238, 250, 0.82);
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px; padding: 4px 10px;
}

/* ---------- Page hero (interior pages) — DARK corporate ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(780px 360px at 85% -25%, rgba(var(--accent-rgb), 0.45), transparent 60%),
    radial-gradient(600px 380px at 5% 120%, rgba(124, 160, 255, 0.14), transparent 55%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
  color: #fff;
  padding: 86px 0 72px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(120% 95% at 70% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 95% at 70% 0%, #000 30%, transparent 78%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }

.page-eyebrow, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1.4px;
  font-weight: 700; margin-bottom: 14px;
}
.page-eyebrow::before, .eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--accent); display: inline-block;
}
/* Eyebrow brightened when sitting on dark hero */
.page-hero .page-eyebrow, .page-hero .eyebrow {
  color: color-mix(in srgb, var(--accent) 45%, white);
}
.page-hero .page-eyebrow::before, .page-hero .eyebrow::before {
  background: color-mix(in srgb, var(--accent) 45%, white);
}
.page-hero h1 {
  font-size: clamp(32px, 4.4vw, 48px); font-weight: 800;
  letter-spacing: -1.6px; line-height: 1.08;
  color: #fff; max-width: 840px; margin-bottom: 18px;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #7db8ff, #b69bff 60%, #8fe3c2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero p {
  max-width: 740px; color: rgba(229, 238, 250, 0.82);
  font-size: 16.5px; line-height: 1.78;
}
.page-hero p + p { margin-top: 10px; }

/* Breadcrumb directly above a dark page-hero: blend into navy */
.breadcrumb + .page-hero { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary, .btn-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 13px 26px;
  font-size: 14px; font-weight: 700;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s, transform .12s, box-shadow .2s;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  color: #fff; box-shadow: var(--shadow-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -14px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.08); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
/* On light backgrounds, secondary becomes outline-accent */
.section .btn-secondary,
.page-hero .btn-secondary,
.cta-inner .btn-secondary {
  background: #fff; color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.section .btn-secondary:hover,
.page-hero .btn-secondary:hover { background: var(--accent-soft); }
.btn-white { background: #fff; color: var(--accent); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- Sections ---------- */
.section { padding: 68px 0; border-bottom: 1px solid var(--border); }
.section.alt { background: var(--surface); }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: 44px;
}
.section-title {
  font-size: clamp(24px, 3.2vw, 36px); color: var(--ink);
  font-weight: 800; letter-spacing: -1.2px; line-height: 1.14;
}
.section-sub {
  max-width: 720px; color: var(--muted);
  font-size: 15px; line-height: 1.8; margin-top: 12px;
}

/* ---------- Grid utilities ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------- Cards ---------- */
.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 40%, transparent));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.card:hover {
  border-color: color-mix(in srgb, var(--accent) 32%, var(--border-md));
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.card:hover::before { transform: scaleX(1); }
.card .icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent-soft) 40%, #fff));
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  transition: transform .2s;
}
.card:hover .icon { transform: scale(1.06) rotate(-3deg); }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 16.5px; color: var(--ink); font-weight: 700; margin-bottom: 10px; letter-spacing: -0.3px; }
.card p { font-size: 13.5px; color: var(--muted); line-height: 1.72; }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  font-size: 11px; color: var(--muted);
  border: 1px solid var(--border-md); border-radius: 999px;
  padding: 4px 10px; background: var(--surface);
  transition: color .15s, border-color .15s;
}
.card:hover .tag { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }

/* Experience tags strip */
.experience-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.exp-tag {
  padding: 10px 16px; border: 1px solid var(--border-md);
  border-radius: 999px; background: #fff; color: var(--text);
  font-size: 12.5px; font-weight: 600;
  transition: transform .15s, border-color .15s, color .15s, box-shadow .15s;
}
.exp-tag:hover {
  transform: translateY(-2px); color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: var(--shadow-sm);
}

/* ---------- Quick nav (service pages) ---------- */
.quick-nav {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: var(--nav-h); z-index: 90;
  overflow-x: auto;
}
.quick-nav-inner { display: flex; min-width: max-content; padding: 0 28px; }
.qnav-btn {
  padding: 15px 16px; font-size: 13px; font-weight: 600;
  border-bottom: 2px solid transparent;
  color: var(--muted); white-space: nowrap;
  transition: all .15s;
}
.qnav-btn:hover { color: var(--text); }
.qnav-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- Service section (interior pages) ---------- */
.svc-section { padding: 60px 0; border-bottom: 1px solid var(--border); }
.svc-section:nth-child(even) { background: var(--surface); }
.svc-inner {
  display: grid; grid-template-columns: 330px 1fr; gap: 52px; align-items: start;
}
.svc-cat {
  font-size: 11px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 10px; display: inline-block;
}
.svc-section h2 {
  font-size: clamp(20px, 2.4vw, 25px); font-weight: 800;
  letter-spacing: -0.6px; line-height: 1.24;
  margin-bottom: 14px; color: var(--ink);
}
.svc-desc { font-size: 14px; color: var(--muted); line-height: 1.8; }
.svc-outcome {
  margin-top: 18px; padding: 16px 18px;
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  border-radius: var(--radius-md);
}
.svc-outcome-label {
  font-size: 10.5px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 5px;
}
.svc-outcome p { font-size: 13px; color: var(--text); line-height: 1.65; }

.scope-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.scope-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 16px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.scope-item:hover { border-color: color-mix(in srgb, var(--accent) 28%, transparent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.scope-item span:last-child { font-size: 13px; color: var(--text); line-height: 1.5; }
.scope-icon, .scope-dot {
  flex-shrink: 0; color: var(--accent); margin-top: 2px;
}
.scope-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.scope-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 6px; }

.tech-band { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tech-tag {
  font-size: 11.5px; color: var(--accent); font-weight: 600;
  background: var(--accent-soft);
  border-radius: 8px; padding: 5px 11px;
}

/* ---------- Why grid ---------- */
.why { padding: 60px 0; border-bottom: 1px solid var(--border); }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px; margin-top: 34px;
}
.why-item h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.why-item p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.why-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent-soft) 40%, #fff));
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.why-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Vision / featured box ---------- */
.vision-box {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 44px;
  box-shadow: var(--shadow);
}
.vision-card {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--navy), var(--navy-3));
  border-radius: var(--radius-lg); padding: 34px; color: #fff;
}
.vision-card::after {
  content: ""; position: absolute; inset: auto -30% -40% auto;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.5), transparent 70%);
}
.vision-card .small {
  position: relative; z-index: 1;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px;
  font-weight: 700; margin-bottom: 12px;
}
.vision-card p { position: relative; z-index: 1; font-size: 16.5px; font-weight: 600; line-height: 1.7; color: #eaf1fb; }

/* ---------- CTA bands ---------- */
.cta-band, .cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--accent-dark) 130%);
  padding: 72px 0;
}
.cta-band::before, .cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% -30%, rgba(var(--accent-rgb), 0.45), transparent 60%),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 48px 48px;
  pointer-events: none;
}
.cta-band-inner, .cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cta-band h2, .cta h2 {
  color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 800;
  letter-spacing: -0.8px; margin-bottom: 8px; max-width: 720px;
}
.cta-band p, .cta p {
  color: rgba(229, 238, 250, 0.82);
  font-size: 15px; max-width: 650px;
}

/* ---------- Footer — DARK corporate ---------- */
footer {
  background: var(--navy);
  color: rgba(229, 238, 250, 0.7);
  padding: 64px 0 26px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 44px;
}
.footer-logo { margin-bottom: 16px; max-width: 140px; line-height: 0; }
.footer-logo img.site-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 140px;
  max-height: 28px;
  object-fit: contain;
}
.footer-desc {
  max-width: 320px; color: rgba(229, 238, 250, 0.6);
  font-size: 13px; line-height: 1.7; margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.social-link {
  color: rgba(229, 238, 250, 0.75); font-size: 12px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: color .15s, background .15s, border-color .15s;
}
.social-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
.footer-col h4 { color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 0.3px; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-contact {
  color: rgba(229, 238, 250, 0.62); font-size: 13px; line-height: 1.55;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-contact { font-style: normal; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 22px;
}
.footer-bottom p, .footer-bottom a { color: rgba(229, 238, 250, 0.5); font-size: 12px; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 18px; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px;
}
.form-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.form-title { font-size: 24px; font-weight: 800; color: var(--ink); margin-bottom: 7px; letter-spacing: -0.6px; }
.form-sub { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label {
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  display: flex; gap: 4px;
}
.required-mark { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--border-md);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text); background: var(--surface);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.form-group textarea { min-height: 130px; resize: vertical; font-family: inherit; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.form-error {
  font-size: 11.5px; color: var(--red); margin-top: 2px;
  display: none;
}
.form-group.error .form-error { display: block; }

.checkbox-group {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px; color: var(--muted); line-height: 1.6;
  margin: 8px 0 18px;
}
.checkbox-group input { margin-top: 3px; flex-shrink: 0; }
.checkbox-group a { color: var(--accent); text-decoration: underline; }

.btn-submit {
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 13px 28px; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  box-shadow: var(--shadow-accent);
  transition: transform .12s, box-shadow .2s, opacity .15s;
  width: 100%; max-width: 240px;
}
.btn-submit:hover:not(:disabled) { transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Honeypot field — visually hidden but reachable to bots */
.form-honeypot {
  position: absolute;
  left: -10000px; top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Inline form status (sending / network errors / etc.) */
.form-status {
  margin-top: 12px;
  font-size: 13px;
  min-height: 1.4em;
}
.form-status.is-info  { color: var(--text); }
.form-status.is-error { color: var(--red); }
.form-status.is-ok    { color: var(--green); }

.form-success {
  display: none;
  background: var(--green-soft);
  border: 1px solid color-mix(in srgb, var(--green) 35%, transparent);
  border-radius: var(--radius-md);
  padding: 28px; text-align: center;
}
.form-success.show { display: block; animation: riseIn .4s both; }
.form-success h3 { color: var(--green); font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.form-success p { color: var(--text); font-size: 13.5px; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 22px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.info-card:hover { border-color: color-mix(in srgb, var(--accent) 26%, transparent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.info-card-label {
  font-size: 10.5px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.9px; margin-bottom: 7px;
}
.info-card-value { font-size: 15px; color: var(--ink); font-weight: 700; margin-bottom: 4px; }
.info-card-value a { color: var(--ink); }
.info-card-value a:hover { color: var(--accent); }
.info-card-sub { font-size: 12.5px; color: var(--muted); }
.hours-badge {
  display: inline-block;
  background: var(--green-soft); color: var(--green);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; margin-top: 8px;
}
.hours-badge.closed { background: var(--red-soft); color: var(--red); }

/* ---------- Map (contact) ---------- */
.map-section { padding: 0 0 72px; }
.map-embed {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.map-embed iframe {
  display: block; width: 100%; height: 420px; border: 0;
  filter: grayscale(0.15) contrast(1.02);
}
@media (max-width: 768px) {
  .map-embed iframe { height: 320px; }
}

/* ---------- Legal pages (privacy/terms) ---------- */
.legal-body { padding: 60px 0 88px; }
.legal-body h2 {
  font-size: 23px; font-weight: 800; color: var(--ink);
  margin: 40px 0 14px; letter-spacing: -0.5px;
}
.legal-body h3 {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin: 24px 0 10px;
}
.legal-body p, .legal-body li {
  font-size: 14.5px; color: var(--text); line-height: 1.8; margin-bottom: 12px;
}
.legal-body ul, .legal-body ol { margin: 8px 0 16px 22px; }
.legal-body strong { color: var(--ink); font-weight: 700; }
.legal-body a { color: var(--accent); text-decoration: underline; }

/* ---------- 404 ---------- */
.notfound { padding: 120px 0; text-align: center; }
.notfound h1 {
  font-size: clamp(80px, 15vw, 160px); font-weight: 800;
  letter-spacing: -4px; line-height: 1;
  background: linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 50%, #8fe3c2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound h2 {
  font-size: 23px; color: var(--ink); margin: 12px 0 16px; font-weight: 800;
}
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Partners grid (home) ---------- */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.partner-card { min-height: 142px; }
.partner-name { font-size: 16px; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.3px; }
.partner-cat {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.9px;
  color: var(--hint); font-weight: 700; margin-bottom: 12px;
}
.color-fortinet   { color: #EE3124; }
.color-proofpoint { color: #0073CF; }
.color-huawei     { color: #C7000B; }
.color-karmasis   { color: #2E4057; }
.color-hitachi   { color: #E60027; }
.color-linux      { color: var(--orange); }
.color-os         { color: var(--green); }

/* ---------- Partners page ---------- */
.partner-section { padding: 72px 0; border-bottom: 1px solid var(--border); }
.partner-section:nth-child(even) { background: var(--surface); }
.partner-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; margin-bottom: 24px; flex-wrap: wrap;
}
.partner-brand {
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 800; letter-spacing: -0.8px;
  margin-bottom: 6px;
}
.partner-type { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.partner-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}
.partner-ext-link {
  font-size: 13px; font-weight: 700; color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: 9px 16px; border-radius: 999px;
  transition: background .15s, transform .12s;
}
.partner-ext-link:hover { background: var(--accent-soft); transform: translateY(-1px); }
.partner-desc {
  font-size: 14.5px; color: var(--muted); line-height: 1.8;
  max-width: 820px; margin-bottom: 24px;
}
.products-label {
  font-size: 11px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.9px; margin-bottom: 16px;
}
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.product-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 22px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.product-card:hover { border-color: color-mix(in srgb, var(--accent) 28%, transparent); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.product-name { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.product-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ptag {
  font-size: 11px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 4px 9px; border-radius: 6px;
}
.partner-color-fortinet   { --accent: #EE3124; --accent-dark: #BA1F14; --accent-soft: #FEF0EF; --accent-rgb: 238, 49, 36; }
.partner-color-proofpoint { --accent: #0073CF; --accent-dark: #005A9E; --accent-soft: #E6F1FB; --accent-rgb: 0, 115, 207; }
.partner-color-huawei     { --accent: #C8102E; --accent-dark: #8E0007; --accent-soft: #FCEBEB; --accent-rgb: 200, 16, 46; }
.partner-color-karmasis   { --accent: #2E4057; --accent-dark: #1B2738; --accent-soft: #F1EFE8; --accent-rgb: 46, 64, 87; }
.partner-color-hitachi    { --accent: #E60027; --accent-dark: #B8001F; --accent-soft: #FCE8EC; --accent-rgb: 230, 0, 39; }

/* ---------- About page ---------- */
.stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 34px;
}
.stat-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.stat-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--accent) 24%, transparent); }
.stat-num {
  font-size: 34px; font-weight: 800;
  letter-spacing: -1.4px; line-height: 1; margin-bottom: 8px;
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-lbl { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.tagline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tagline span {
  font-size: 12px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent-dark);
  border-radius: 999px; padding: 6px 13px;
}

.sector-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.sector-tag {
  font-size: 11.5px; color: var(--muted); background: #fff;
  border: 1px solid var(--border-md);
  border-radius: 999px; padding: 5px 11px;
}

.service-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.service-list-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--text); line-height: 1.5;
}
.service-list-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 7px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .hero-inner, .vision-box { grid-template-columns: 1fr; }
  .grid-6, .why-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .svc-inner { grid-template-columns: 1fr; gap: 28px; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .vision-box { padding: 32px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 62px; }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; padding: 16px 28px 22px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 99; gap: 6px;
  }
  .nav-links.open > li { width: 100%; }
  .nav-links.open > li > a,
  .nav-links.open .nav-dropdown-trigger { display: block; width: 100%; }
  .nav-links.open .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none; padding: 4px 0 6px 12px;
    min-width: 0;
  }
  .nav-links a.active::after { display: none; }
  .btn-nav { display: none; }
  .nav-mobile-toggle { display: block; }
  .hero-inner { padding: 64px 0 56px; gap: 32px; }
  .highlight-grid { grid-template-columns: 1fr 1fr; }
  .section, .svc-section, .why { padding: 60px 0; }
  .page-hero { padding: 50px 0 40px; }
  .section-head { display: block; }
  .section-head .btn-primary, .section-head .btn-secondary { margin-top: 16px; }
  .hero h1 { font-size: clamp(34px, 11vw, 46px); letter-spacing: -1.2px; }
  .hero-sub { font-size: 15.5px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band-inner, .cta-inner { align-items: flex-start; flex-direction: column; }
  .quick-nav { top: var(--nav-h); }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .grid-6, .grid-3, .grid-2, .grid-4,
  .partners-grid, .why-grid, .stat-bar,
  .scope-grid, .highlight-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions, .cta-band-inner, .cta-inner { flex-direction: column; }
  .btn-primary, .btn-secondary, .btn-white, .btn-submit { width: 100%; max-width: none; }
  .partner-header { flex-direction: column; }
  .partner-ext-link { align-self: flex-start; }
  .form-section { padding: 24px; }
  .vision-box { padding: 24px; }
}
