/* ==========================================================================
   CMD YAZILIM VE OTOMASYON — CORPORATE INDUSTRIAL STYLESHEET
   V10  •  Premium pass: light glass header, layered surfaces, refined motion
   --------------------------------------------------------------------------
   Token NAMES are stable across versions so the inline styles inside the 14
   HTML pages keep working; only values are retuned. Hue path stays continuous
   (219° navy → 188° cyan) so every gradient between them blends cleanly.
   ========================================================================== */

:root {
  /* ---- Deep navy ramp --------------------------------------------------- */
  --cmd-navy-950: #060b16;
  --cmd-navy-900: #0b1426;
  --cmd-navy-850: #122038;
  --cmd-navy-800: #1a2e4f;
  --cmd-navy-700: #24406b;
  --cmd-navy-600: #305283;

  /* ---- Cyan ramp -------------------------------------------------------- */
  --cmd-cyan-600: #0b7f9e;
  --cmd-cyan-500: #0891b2;
  --cmd-cyan-400: #06aed4;
  --cmd-cyan-300: #22d3ee;
  --cmd-cyan-200: #8ae8f7;
  --cmd-cyan-100: #cdf4fb;

  /* ---- Blue ramp — bridges navy and cyan -------------------------------- */
  --cmd-blue-700: #084a86;
  --cmd-blue-600: #0b5fa8;
  --cmd-blue-500: #0a76bd;
  --cmd-blue-400: #0f92ce;
  --cmd-blue-300: #35a9dd;

  /* ---- Brand logo colours (used for accents that must match the mark) --- */
  --brand-deep: #00529b;
  --brand-cyan: #00a8f3;

  /* ---- Accents ---------------------------------------------------------- */
  --cmd-accent: #f5a524;
  --cmd-gold: #f5a524;
  --glow-gold: 0 0 0 1px rgba(245,165,36,.35), 0 0 36px -6px rgba(245,165,36,.45);
  --cmd-accent-dark: #c77f0d;
  --cmd-accent-soft: #fff4e0;
  --cmd-red: #e11d48;
  --cmd-green: #0fa97f;
  --cmd-green-soft: #e6f7f1;

  /* ---- Neutrals --------------------------------------------------------- */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #eef3f8;
  --gray-200: #e0e8f0;
  --gray-300: #c6d3e1;
  --gray-400: #93a4b8;
  --gray-500: #64748b;
  --gray-600: #48586e;
  --gray-700: #33425a;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* ---- Surfaces --------------------------------------------------------- */
  --surface-1: #ffffff;
  --surface-2: #f4f8fc;
  --surface-3: #e9f1f8;
  --surface-tint: linear-gradient(180deg, #eef5fb 0%, #e2edf7 100%);
  --surface-steel: linear-gradient(165deg, #f7fafd 0%, #eaf2f9 55%, #e1ecf6 100%);
  --surface-dark: radial-gradient(120% 140% at 78% 8%, #16305e 0%, #0b1426 55%, #060b16 100%);
  --surface-dark-center: radial-gradient(100% 120% at 50% 0%, #143059 0%, #0a1324 58%, #060b16 100%);
  --surface-navy-band: linear-gradient(160deg, #0d1c38 0%, #102a52 45%, #0a1528 100%);

  /* ---- Typography ------------------------------------------------------- */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --fs-hero: clamp(2rem, 1.3rem + 2.9vw, 3.15rem);
  --fs-h1: clamp(1.75rem, 1.28rem + 2vw, 2.5rem);
  --fs-h2: clamp(1.5rem, 1.14rem + 1.5vw, 2.25rem);
  --fs-h3: clamp(1.1rem, 1rem + 0.42vw, 1.3rem);
  --fs-lead: clamp(0.98rem, 0.93rem + 0.3vw, 1.09rem);
  --fs-body: clamp(0.9rem, 0.87rem + 0.16vw, 0.95rem);

  /* ---- Radii ------------------------------------------------------------ */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 999px;

  /* ---- Elevation -------------------------------------------------------- */
  --shadow-sm: 0 1px 2px rgba(11, 20, 38, 0.06), 0 1px 3px rgba(11, 20, 38, 0.05);
  --shadow-card: 0 1px 2px rgba(11, 20, 38, 0.05), 0 6px 18px -6px rgba(11, 20, 38, 0.12);
  --shadow-lg: 0 2px 4px rgba(11, 20, 38, 0.05), 0 14px 34px -10px rgba(11, 20, 38, 0.20);
  --shadow-xl: 0 4px 8px rgba(11, 20, 38, 0.06), 0 26px 56px -14px rgba(11, 20, 38, 0.28);
  --shadow-dark: 0 18px 50px -12px rgba(3, 8, 18, 0.75);
  --shadow-brand: 0 8px 24px -8px rgba(10, 118, 189, 0.45);
  --glow-cyan: 0 0 0 1px rgba(34, 211, 238, 0.18), 0 0 34px -6px rgba(34, 211, 238, 0.35);

  --ring: 0 0 0 3px rgba(34, 211, 238, 0.4);
  --hairline: 1px solid var(--gray-200);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.24s var(--ease);
  --transition-fast: all 0.15s ease;

  --header-h: 74px;
  --container: 1280px;
}

/* ==========================================================================
   BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
  /* The mobile drawer parks off-screen to the right; without this the document
     widens and the page scrolls sideways.
     `hidden` — NOT `clip`: when overflow-x is `clip` the spec forces overflow-y
     to clip as well, which stops the page scrolling altogether. `hidden` on the
     ROOT leaves the viewport as the scroll container, so vertical scrolling and
     `position: sticky` both keep working. It must not be repeated on <body>,
     or <body> becomes the scroller and sticky breaks again. */
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--gray-700);
  font-size: var(--fs-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* No overflow-x here on purpose. Setting it together with the root's
     `overflow-x: clip` promotes <body> to the scroll container, which stops
     `position: sticky` resolving against the viewport and makes the header
     drift. The root clip alone already contains the off-screen drawer. */
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cmd-navy-950);
  letter-spacing: -0.018em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: var(--cmd-blue-500); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--cmd-blue-400); }

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

strong { color: var(--cmd-navy-900); font-weight: 700; }

/* On navy grounds a navy <strong> would vanish, so lift it instead. */
.hero-dark strong, .page-banner strong, .surface-dark strong, .surface-navy strong,
.site-footer strong, .top-bar strong, .mega-dropdown strong,
.hero-visual-card strong, .main-nav strong, .panel-dark strong {
  color: var(--cmd-cyan-200);
}
.site-footer strong { color: var(--white); }

::selection { background: var(--cmd-cyan-300); color: var(--cmd-navy-950); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-xs); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.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;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */

/* The contact bar and the nav row travel together in one sticky block that is
   offset upward by the height of the contact bar. Scrolling down slides the
   contact bar out of view and pins the nav row at the top; scrolling up brings
   it back. Nothing here is driven by a scroll listener, so the header cannot
   oscillate or change the document height while the user is scrolling. */
.header-stack {
  position: sticky;
  top: calc(-1 * var(--topbar-h, 39px));
  z-index: 1000;
  /* One continuous navy ground with the same engineering mesh as the hero, so
     the contact bar and the nav row read as a single unit rather than two
     stacked strips in slightly different tones. */
  background: linear-gradient(180deg, #05090f 0%, #060b16 42%, #08101f 100%);
  isolation: isolate;
}

.header-stack::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(130% 160% at 78% 0%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(130% 160% at 78% 0%, #000 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.header-stack > * { position: relative; z-index: 1; }

.top-bar {
  background: transparent;
  color: var(--gray-300);
  font-family: var(--font-main);
  font-size: 12.75px;
  font-weight: 500;
  padding: 9px 0;
  position: relative;
}

.top-bar::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.45), transparent);
}

.top-bar-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px 20px;
}

.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.top-bar a { color: var(--gray-300); display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.top-bar a:hover { color: var(--cmd-cyan-300); }

/* ---- Language switcher: shows the language you are ON, offers both on hover */
.lang-switch { position: relative; }

.lang-current {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 12.75px; font-weight: 650;
  cursor: pointer;
  transition: var(--transition);
  min-height: 40px;
  white-space: nowrap;
}

.lang-current .fa-chevron-down { font-size: 9px; opacity: 0.6; transition: transform 0.25s var(--ease); }
.lang-switch:hover .lang-current,
.lang-switch:focus-within .lang-current {
  background: rgba(34, 211, 238, 0.16);
  border-color: var(--cmd-cyan-400);
}
.lang-switch:hover .lang-current .fa-chevron-down { transform: rotate(180deg); opacity: 1; }

.flag {
  width: 21px; height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  display: block;
}

.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 168px;
  background: linear-gradient(168deg, #0d1930 0%, #080f1f 100%);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 44px -16px rgba(3, 8, 18, 0.6);
  padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.24s var(--ease), visibility 0.24s;
  z-index: 1002;
}

/* hover bridge so the pointer can cross the gap */
.lang-menu::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }

.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  color: #c2d2e4;
  font-size: 13.25px; font-weight: 600;
  min-height: 42px;
}

.lang-menu a:hover { background: rgba(34, 211, 238, 0.12); color: var(--white); }

.lang-menu a.is-active {
  background: rgba(34, 211, 238, 0.10);
  color: var(--cmd-cyan-300);
}

.lang-menu a.is-active::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  margin-left: auto; font-size: 11px;
}

/* ==========================================================================
   BADGES
   ========================================================================== */

.hero-badge-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(10, 118, 189, 0.14));
  border: 1px solid rgba(34, 211, 238, 0.45);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--cmd-cyan-200);
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.badge-flag-cyan {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(10, 118, 189, 0.09);
  border: 1px solid rgba(10, 118, 189, 0.26);
  color: var(--cmd-blue-600);
  font-size: 11.75px; font-weight: 700;
  padding: 4px 13px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

/* on navy grounds the badge flips to the cyan treatment */
.hero-dark .badge-flag-cyan, .page-banner .badge-flag-cyan, .surface-dark .badge-flag-cyan,
.surface-navy .badge-flag-cyan, .site-footer .badge-flag-cyan, .panel-dark .badge-flag-cyan,
.mega-dropdown .badge-flag-cyan, .nav-link .badge-flag-cyan {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.38);
  color: var(--cmd-cyan-300);
}

/* Sector label — refined from the old solid slab: a quiet tinted chip with a
   coloured rule, so "ROBOTİK TEKSTİL" et al. read as a label, not a button. */
.badge-sector-solid {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, rgba(10, 118, 189, 0.08), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(10, 118, 189, 0.22);
  border-left: 3px solid var(--cmd-blue-500);
  color: var(--cmd-blue-700);
  font-family: var(--font-main);
  font-size: 11.5px; font-weight: 800;
  padding: 6px 15px 6px 13px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: none;
}

.badge-sector-solid i { color: var(--cmd-cyan-500); font-size: 13px; }

/* per-sector accent — set by a modifier so each module reads distinctly */
.badge-sector-solid.is-stone  { border-left-color: #0a76bd; color: #084a86; }
.badge-sector-solid.is-stone i { color: #0a76bd; }
.badge-sector-solid.is-foam   { border-left-color: #0891b2; color: #0b6b82; }
.badge-sector-solid.is-foam i { color: #0891b2; }
.badge-sector-solid.is-wood   { border-left-color: #b07d25; color: #8a5f12;
  background: linear-gradient(135deg, rgba(245,165,36,.10), rgba(245,165,36,.04));
  border-color: rgba(176,125,37,.26); }
.badge-sector-solid.is-wood i { color: #b07d25; }
.badge-sector-solid.is-textile{ border-left-color: #6d5bd0; color: #4a3d99;
  background: linear-gradient(135deg, rgba(109,91,208,.10), rgba(109,91,208,.04));
  border-color: rgba(109,91,208,.24); }
.badge-sector-solid.is-textile i { color: #6d5bd0; }

/* sector chips on a navy band */
.surface-navy .badge-sector-solid,
.surface-dark .badge-sector-solid {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #dbe6f3;
}

.surface-navy .badge-sector-solid.is-stone   { border-left-color: #35a9dd; color: #b8e3f8; }
.surface-navy .badge-sector-solid.is-stone i { color: #35a9dd; }
.surface-navy .badge-sector-solid.is-foam    { border-left-color: #22d3ee; color: #b3ecf6; }
.surface-navy .badge-sector-solid.is-foam i  { color: #22d3ee; }
.surface-navy .badge-sector-solid.is-wood    { border-left-color: #f5a524; color: #ffe0ad;
  background: rgba(245, 165, 36, 0.10); border-color: rgba(245, 165, 36, 0.24); }
.surface-navy .badge-sector-solid.is-wood i  { color: #f5a524; }
.surface-navy .badge-sector-solid.is-textile { border-left-color: #9b8cf0; color: #ddd6ff;
  background: rgba(155, 140, 240, 0.12); border-color: rgba(155, 140, 240, 0.26); }
.surface-navy .badge-sector-solid.is-textile i { color: #9b8cf0; }

.spec-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(10, 118, 189, 0.10);
  color: var(--cmd-blue-600);
  font-size: 11.75px; font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

/* “Fansız / Fanless” — now used only inside the navigation submenus */
.mega-tag {
  display: inline-block;
  margin-left: 8px;
  font-size: 9.5px; font-weight: 800;
  letter-spacing: 0.05em;
  color: #5fe3bd;
  background: rgba(15, 169, 127, 0.18);
  border: 1px solid rgba(19, 194, 149, 0.45);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  vertical-align: middle;
}

/* ==========================================================================
   HEADER — light glass, so the full-colour logo reads at true brand values
   ========================================================================== */

.site-header {
  background: transparent;
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(34, 211, 238, 0.16);
  padding: 11px 0;
  transition: box-shadow 0.3s ease;
}

.header-stack:has(.site-header.is-stuck) { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.75); }
.site-header.is-stuck { box-shadow: none; }

.nav-container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }

/* --- Logo: true brand colours, fully transparent, no plate, no halo --- */
.brand-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }

.brand-logo img {
  height: 46px;
  width: auto;
  max-width: 236px;
  object-fit: contain;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: var(--transition);
}


.brand-logo:hover img { transform: translateY(-1px); }

.main-nav { display: flex; align-items: center; list-style: none; gap: 2px; }

.nav-item { position: relative; }

.nav-link {
  color: #dbe6f3;
  font-size: 14.25px; font-weight: 600;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-link .fa-chevron-down { font-size: 9px; opacity: 0.55; transition: var(--transition); }
.nav-item:hover .nav-link .fa-chevron-down { transform: rotate(180deg); opacity: 1; }

.nav-link:hover { color: var(--cmd-cyan-300); background: rgba(34, 211, 238, 0.10); }

.nav-link.active { color: var(--cmd-cyan-300); }
.nav-link.active::after {
  content: '';
  position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cmd-cyan-400), var(--cmd-cyan-200));
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* on a phone the menu opens on tap (JS toggles .open) and drops to full width */
@media (max-width: 1024px) {
  .lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .lang-current span { display: none; }
  .lang-current { padding: 7px 10px; }
}

/* --- Mega dropdown: dark panel under a light header = strong, premium contrast */
.mega-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: linear-gradient(168deg, #0d1930 0%, #080f1f 100%);
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -18px rgba(3, 8, 18, 0.55), 0 2px 8px rgba(3, 8, 18, 0.2);
  padding: 24px;
  display: grid;
  grid-template-columns: 290px 290px;
  gap: 26px;
  opacity: 0; visibility: hidden;
  transform: translateY(10px) scale(0.99);
  transition: opacity 0.2s ease, transform 0.26s var(--ease), visibility 0.26s;
  z-index: 1001;
  min-width: 600px;
}

/* hover bridge so the pointer can cross the gap */
.mega-dropdown::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }

.mega-wide { grid-template-columns: 310px 290px; min-width: 630px; }

.nav-item:nth-last-child(1) .mega-dropdown,
.nav-item:nth-last-child(2) .mega-dropdown { left: auto; right: 0; }

.nav-item:hover .mega-dropdown,
.nav-item:focus-within .mega-dropdown { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.mega-col-title {
  font-size: 11.5px; font-weight: 800;
  color: var(--cmd-cyan-300);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  display: flex; align-items: center; gap: 8px;
}

.mega-list { list-style: none; }
.mega-list li { margin-bottom: 3px; }

.mega-list a {
  color: #c2d2e4;
  font-size: 13.25px; font-weight: 500;
  display: flex; align-items: center; gap: 9px;
  padding: 7px 9px;
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.mega-list a i:first-child {
  width: 15px; text-align: center;
  color: var(--cmd-blue-300);
  transition: var(--transition);
  flex-shrink: 0;
}

.mega-list a:hover { color: var(--white); background: rgba(34, 211, 238, 0.11); }
.mega-list a:hover i:first-child { color: var(--cmd-cyan-300); }

.mega-group-label {
  display: block;
  font-size: 10.5px; font-weight: 800;
  color: var(--cmd-cyan-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

/* short explanatory note under a submenu group (where “fansız” now lives) */
.mega-note {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  background: rgba(15, 169, 127, 0.10);
  border: 1px solid rgba(19, 194, 149, 0.28);
  color: #9fe9d1;
  font-size: 11.5px;
  line-height: 1.55;
  display: flex; gap: 8px; align-items: flex-start;
}

.mega-note i { color: #5fe3bd; margin-top: 2px; flex-shrink: 0; }

/* ==========================================================================
   MOBILE NAV
   ========================================================================== */

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  font-size: 18px;
  cursor: pointer;
  align-items: center; justify-content: center;
  transition: var(--transition);
}

.mobile-toggle:hover { background: rgba(34, 211, 238, 0.18); border-color: var(--cmd-cyan-400); }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(3, 8, 18, 0.62);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  z-index: 1400;
}

.nav-backdrop.active { opacity: 1; visibility: visible; }

.mobile-action-bar { display: none; }
.nav-close { display: none; }
.nav-drawer-foot { display: none; }

body.nav-open .nav-close {
  display: flex;
  position: fixed;
  top: 16px; right: 16px;
  z-index: 1600;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-main);
  font-weight: 650;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1.5px solid transparent;
  font-size: 14.25px;
  line-height: 1.3;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 44px;
  isolation: isolate;
}

/* a single light sweep on hover — restrained, not a “shiny button” */
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.22) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease);
  pointer-events: none;
  z-index: -1;
}

.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(1px) scale(0.995); }

.btn-primary {
  background: linear-gradient(135deg, var(--cmd-blue-600) 0%, var(--cmd-blue-400) 100%);
  color: var(--white) !important;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--cmd-blue-500) 0%, var(--cmd-cyan-500) 100%);
  color: var(--white) !important;
  box-shadow: 0 12px 30px -10px rgba(10, 118, 189, 0.62);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--cmd-cyan-400) 0%, var(--cmd-cyan-300) 100%);
  color: var(--cmd-navy-950) !important;
  font-weight: 750;
  box-shadow: 0 8px 22px -8px rgba(34, 211, 238, 0.6);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, var(--cmd-cyan-300) 0%, var(--cmd-cyan-200) 100%);
  color: var(--cmd-navy-950) !important;
  box-shadow: 0 14px 32px -10px rgba(34, 211, 238, 0.75);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--white);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--cmd-blue-600) !important;
  border-color: rgba(10, 118, 189, 0.45);
}

.btn-outline-primary:hover {
  background: var(--cmd-blue-600);
  border-color: var(--cmd-blue-600);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--gray-100);
  color: var(--cmd-navy-900) !important;
  border-color: var(--gray-200);
}

.btn-ghost:hover { background: var(--gray-200); color: var(--cmd-navy-950) !important; }

.btn-sm { padding: 9px 17px; font-size: 13px; min-height: 40px; }
.btn-lg { padding: 15px 32px; font-size: 15.5px; min-height: 52px; }
.btn-block { width: 100%; }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero-dark {
  background: var(--surface-dark);
  color: var(--white);
  padding: clamp(50px, 6vw, 92px) 0 clamp(50px, 5.5vw, 80px);
  position: relative;
  overflow: hidden;
}

.hero-dark::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 100% at 70% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 70% 20%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero-dark > * { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.11;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(115deg, var(--cmd-cyan-300) 0%, var(--cmd-cyan-200) 45%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lead {
  font-size: var(--fs-lead);
  color: #b9c9dc;
  line-height: 1.78;
  margin-bottom: 30px;
  max-width: 640px;
}

.hero-btn-group { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-stat-item h3 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  font-weight: 800;
  color: var(--cmd-cyan-300);
  margin-bottom: 2px;
  letter-spacing: -0.025em;
}

.hero-stat-item p {
  font-size: 11.25px;
  color: var(--gray-400);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

.hero-visual-card {
  position: relative;
  background: rgba(18, 32, 56, 0.6);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius-lg);
  padding: 11px;
  box-shadow: var(--shadow-dark), var(--glow-cyan);
  backdrop-filter: blur(6px);
}

.hero-visual-inner { border-radius: var(--radius-md); overflow: hidden; position: relative; }

/* ==========================================================================
   PAGE BANNER
   ========================================================================== */

.page-banner {
  background: var(--surface-dark);
  color: var(--white);
  padding: clamp(42px, 5vw, 66px) 0;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(110% 100% at 80% 10%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(110% 100% at 80% 10%, #000 0%, transparent 75%);
  pointer-events: none;
}

.page-banner > * { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); font-size: var(--fs-h1); margin-bottom: 10px; }
.page-banner p { color: #b9c9dc; font-size: var(--fs-lead); max-width: 760px; margin-bottom: 0; }

/* ==========================================================================
   SECTIONS & SURFACES
   ========================================================================== */

.section-padding { padding: clamp(50px, 5.8vw, 88px) 0; }
.section-padding-sm { padding: clamp(34px, 4vw, 56px) 0; }

.surface-1 { background: var(--surface-1); }
.surface-2 { background: var(--surface-2); }
.surface-3 { background: var(--surface-3); }

/* Soft steel — a whisper of tone. Used where two light bands must differ but
   a strong change would be too loud (e.g. the two buCadCam bands). */
.surface-steel {
  position: relative;
  background: var(--surface-steel);
  overflow: hidden;
}

.surface-steel::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 88% 6%, rgba(34, 211, 238, 0.10) 0%, transparent 62%),
    radial-gradient(50% 45% at 6% 96%, rgba(10, 118, 189, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.surface-steel > * { position: relative; z-index: 2; }

/* a hairline rule that separates two adjacent light bands without a hard edge */
.surface-steel { border-top: 1px solid rgba(10, 118, 189, 0.10); }

.surface-blueprint {
  position: relative;
  background: var(--surface-tint);
  border-top: 1px solid rgba(10, 118, 189, 0.10);
  border-bottom: 1px solid rgba(10, 118, 189, 0.10);
  overflow: hidden;
}

.surface-blueprint::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10, 118, 189, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 118, 189, 0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(130% 110% at 50% 0%, #000 0%, transparent 82%);
  -webkit-mask-image: radial-gradient(130% 110% at 50% 0%, #000 0%, transparent 82%);
  pointer-events: none;
}

.surface-blueprint > * { position: relative; z-index: 2; }

/* NAVY BAND — the “design to commissioning” capabilities block.
   Full dark treatment so it cuts hard against the white sections either side. */
.surface-navy {
  position: relative;
  background: var(--surface-navy-band);
  color: var(--white);
  overflow: hidden;
}

.surface-navy::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(120% 110% at 50% 0%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 110% at 50% 0%, #000 0%, transparent 80%);
  pointer-events: none;
}

.surface-navy::after {
  content: '';
  position: absolute; top: -180px; right: -140px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.13) 0%, transparent 66%);
  pointer-events: none;
}

.surface-navy > * { position: relative; z-index: 2; }

.surface-dark {
  background: var(--surface-dark-center);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.surface-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.032) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(110% 110% at 50% 0%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(110% 110% at 50% 0%, #000 0%, transparent 80%);
  pointer-events: none;
}

.surface-dark > * { position: relative; z-index: 2; }

/* shared typography inversion for every dark band */
.surface-dark h1, .surface-dark h2, .surface-dark h3, .surface-dark h4,
.surface-dark .section-title,
.surface-navy h1, .surface-navy h2, .surface-navy h3, .surface-navy h4,
.surface-navy .section-title { color: var(--white); }

.surface-dark .section-desc, .surface-dark p,
.surface-navy .section-desc, .surface-navy p { color: #b9c9dc; }

.surface-dark .section-subtitle, .surface-navy .section-subtitle { color: var(--cmd-cyan-300); }

.section-head { text-align: center; max-width: 830px; margin: 0 auto clamp(32px, 3.6vw, 52px); }

.section-subtitle {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800;
  color: var(--cmd-blue-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.section-title { font-size: var(--fs-h2); font-weight: 800; margin-bottom: 14px; }
.section-desc { font-size: var(--fs-lead); color: var(--gray-600); line-height: 1.72; }

.section-head .section-title::after {
  content: '';
  display: block;
  width: 58px; height: 3px;
  margin: 15px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-cyan));
}

.surface-dark .section-head .section-title::after,
.surface-navy .section-head .section-title::after {
  background: linear-gradient(90deg, var(--cmd-cyan-400), var(--cmd-cyan-200));
}

.rule-soft { height: 1px; background: linear-gradient(90deg, transparent, var(--gray-200), transparent); }


/* Deeper steel — used where a light band sits between two other light bands
   and the previous tint was too faint to register. */
.surface-slate {
  position: relative;
  background: linear-gradient(165deg, #e7eff7 0%, #dbe7f2 55%, #d2e0ee 100%);
  border-top: 1px solid rgba(10, 118, 189, 0.14);
  border-bottom: 1px solid rgba(10, 118, 189, 0.14);
  overflow: hidden;
}

.surface-slate::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 88% 6%, rgba(34, 211, 238, 0.14) 0%, transparent 62%),
    radial-gradient(50% 45% at 6% 96%, rgba(10, 118, 189, 0.10) 0%, transparent 60%);
  pointer-events: none;
}

.surface-slate > * { position: relative; z-index: 2; }

/* KPI tile: stays light and on-theme, but sits on a navy-tinted shadow so it
   lifts off the page instead of washing into it. */
.stat-tile-lift {
  background: linear-gradient(170deg, #ffffff 0%, #f4f8fc 100%);
  padding: 17px 19px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  box-shadow:
    0 2px 4px rgba(11, 20, 38, 0.05),
    0 14px 30px -14px rgba(16, 42, 82, 0.55);
  transition: var(--transition);
}

.stat-tile-lift:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 8px rgba(11, 20, 38, 0.07),
    0 20px 40px -16px rgba(16, 42, 82, 0.65);
}

/* Glass card for content sitting inside a navy band (vision / mission). */
.panel-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.panel-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.55);
}

/* ---- Spec accordion on a navy band -------------------------------------- */
.surface-navy .spec-group {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.surface-navy .spec-group.open {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 16px 38px -18px rgba(0, 0, 0, 0.6);
}

.surface-navy .spec-group-head { color: #eaf2fa; }
.surface-navy .spec-group-head:hover { background: rgba(255, 255, 255, 0.05); }

.surface-navy .spec-group-head .gi {
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.2), rgba(10, 118, 189, 0.24));
  color: var(--cmd-cyan-300);
}

.surface-navy .spec-group-head .chev { color: var(--gray-400); }
.surface-navy .spec-group.open .spec-group-head .chev { color: var(--cmd-cyan-300); }

.surface-navy .spec-row { border-top-color: rgba(255, 255, 255, 0.08); }
.surface-navy .spec-row dt { color: var(--cmd-cyan-200); }
.surface-navy .spec-row dd { color: #c2d2e4; }

.surface-navy .spec-row.is-key { background: rgba(15, 169, 127, 0.14); }
.surface-navy .spec-row.is-key dt,
.surface-navy .spec-row.is-key dd { color: #7fe6c4; }

/* ---- Version tiers: make the flagship package unmistakable -------------- */
.tier-card { position: relative; transition: var(--transition); }

.tier-card.is-flagship {
  border-color: var(--cmd-accent) !important;
  box-shadow: 0 0 0 1px var(--cmd-accent), 0 26px 60px -22px rgba(245, 165, 36, 0.55) !important;
  transform: translateY(-10px) scale(1.03);
  z-index: 3;
}

.tier-card.is-flagship::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(245, 165, 36, 0.14), transparent 55%);
  pointer-events: none;
}

.tier-flag {
  position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cmd-accent) 0%, #ffbe5c 100%);
  color: #1a1204;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(245, 165, 36, 0.7);
  z-index: 4;
}

@media (max-width: 1024px) {
  .tier-card.is-flagship { transform: none; }
}

/* ==========================================================================
   GRIDS
   ========================================================================== */

/* content + sidebar; collapses to one column before the sidebar gets squeezed */
.split-main {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(28px, 3.4vw, 50px);
  align-items: start;
}

@media (max-width: 900px) { .split-main { grid-template-columns: 1fr; } }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 2.5vw, 34px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 24px); }

/* ---- Application screenshot gallery ------------------------------------ */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.shot-card {
  margin: 0;
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease);
}

.shot-card figcaption {
  padding: 12px 15px;
  font-size: 13px;
  font-weight: 650;
  color: var(--cmd-navy-900);
  border-top: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 8px;
}

.shot-card figcaption::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-cyan));
  flex-shrink: 0;
}

.shot-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(34, 211, 238, 0.45);
}

.shot-card:hover img { transform: scale(1.05); }

/* ==========================================================================
   CARDS
   ========================================================================== */

.feature-card {
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.2vw, 28px);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(34, 211, 238, 0.45);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, rgba(10, 118, 189, 0.12), rgba(34, 211, 238, 0.14));
  color: var(--cmd-blue-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  margin-bottom: 18px;
  transition: var(--transition);
  flex-shrink: 0;
}

.feature-card:hover .feature-icon-wrap {
  background: linear-gradient(140deg, var(--cmd-blue-600), var(--cmd-cyan-500));
  color: var(--white);
  transform: scale(1.06) rotate(-3deg);
}

.feature-card h3 { font-size: var(--fs-h3); margin-bottom: 10px; color: var(--cmd-navy-950); }
.feature-card p { font-size: 13.75px; color: var(--gray-600); line-height: 1.66; margin-bottom: 18px; flex-grow: 1; }

.feature-link {
  font-size: 13.25px; font-weight: 700;
  color: var(--cmd-blue-500);
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
}

.feature-link i { transition: transform 0.22s ease; }
.feature-link:hover i { transform: translateX(4px); }

/* feature cards sitting on a dark band */
.surface-navy .feature-card, .surface-dark .feature-card {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.surface-navy .feature-card:hover, .surface-dark .feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.6);
}

.surface-navy .feature-card h3, .surface-dark .feature-card h3 { color: var(--white); }
.surface-navy .feature-card p, .surface-dark .feature-card p { color: #a9bccf; }

.surface-navy .feature-icon-wrap, .surface-dark .feature-icon-wrap {
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.18), rgba(10, 118, 189, 0.22));
  color: var(--cmd-cyan-300);
}

.surface-navy .feature-link, .surface-dark .feature-link { color: var(--cmd-cyan-300); }

.surface-blueprint .feature-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(11, 20, 38, 0.04), 0 10px 28px -12px rgba(11, 33, 66, 0.25);
}

.surface-blueprint .feature-card:hover {
  background: #fff;
  box-shadow: 0 4px 10px rgba(11, 20, 38, 0.06), 0 20px 40px -14px rgba(11, 33, 66, 0.32);
}

/* --- Project card --- */
.project-card {
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  display: flex; flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(10, 118, 189, 0.4);
}

.project-img-wrap { position: relative; height: 210px; background: var(--cmd-navy-950); overflow: hidden; }

.project-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(6, 11, 22, 0.58) 100%);
  pointer-events: none;
}

.project-card:hover .project-img-wrap img { transform: scale(1.07); }

/* Line-art illustrations (foam cutting, bellows, reducer) are drawings, not
   photographs — they must be shown whole on a light stage, never cropped. */
.project-img-wrap.is-illustration {
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #eef4fb 55%, #dde8f4 100%);
}
.project-img-wrap.is-illustration img {
  object-fit: contain;
  padding: 12px 14px 18px;
}
.project-img-wrap.is-illustration::after {
  background: linear-gradient(180deg, transparent 52%, rgba(6, 11, 22, 0.42) 100%);
}

.project-tag {
  position: absolute; top: 13px; left: 13px; z-index: 2;
  background: rgba(6, 11, 22, 0.82);
  border: 1px solid rgba(34, 211, 238, 0.65);
  color: var(--cmd-cyan-300);
  font-size: 10.75px; font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.project-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }

/* --- Product card --- */
.product-card {
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex; flex-direction: column;
  text-align: center;
  height: 100%;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 118, 189, 0.42);
}

.product-thumb-wrap {
  position: relative;
  height: 190px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background:
    radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #f2f7fc 55%, #e8f0f8 100%);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.product-thumb-wrap img {
  max-height: 160px; width: auto; max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
  filter: drop-shadow(0 8px 16px rgba(11, 20, 38, 0.14));
}

.product-card:hover .product-thumb-wrap img { transform: scale(1.06) translateY(-2px); }

/* photographic product shots (laser, probe, camera) fill the tile instead */
.product-thumb-wrap.is-photo { padding: 0; }
.product-thumb-wrap.is-photo img {
  width: 100%; height: 100%; max-height: none;
  object-fit: cover;
  filter: none;
}

/* products shot on a dark ground get a dark tile so they don't float */
.product-thumb-wrap.is-dark {
  background: radial-gradient(110% 90% at 50% 20%, #1b2740 0%, #0c1424 70%);
  border-color: rgba(34, 211, 238, 0.22);
}

.product-card-cat {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--cmd-blue-500);
  margin-bottom: 6px;
}

.product-card h3 { font-size: 16.5px; color: var(--cmd-navy-950); margin-bottom: 8px; }
.product-card p { font-size: 12.75px; color: var(--gray-600); line-height: 1.6; margin-bottom: 14px; flex-grow: 1; }

/* Application-area chips on the product page. The previous inline styling was
   white-on-white and disappeared; these carry a soft brand tint and a left rule. */
.app-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gray-700);
  background: linear-gradient(135deg, rgba(10, 118, 189, 0.055), rgba(34, 211, 238, 0.05));
  border: 1px solid rgba(10, 118, 189, 0.16);
  border-left: 3px solid var(--cmd-blue-500);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.app-card i {
  color: var(--cmd-blue-500);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 14px;
}

.app-card:hover {
  background: linear-gradient(135deg, rgba(10, 118, 189, 0.10), rgba(34, 211, 238, 0.09));
  border-left-color: var(--cmd-cyan-400);
  transform: translateX(3px);
}

.surface-navy .app-card, .surface-dark .app-card {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.13);
  border-left-color: var(--cmd-cyan-400);
  color: #c2d2e4;
}

.surface-navy .app-card i, .surface-dark .app-card i { color: var(--cmd-cyan-300); }

/* --- Small stat / KPI tile --- */
.stat-tile {
  background: var(--white);
  border: var(--hairline);
  border-left: 3px solid var(--cmd-cyan-400);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
}

.stat-tile h4 { font-size: 14.5px; color: var(--cmd-navy-950); margin-bottom: 4px; }
.stat-tile p { font-size: 12.5px; color: var(--gray-600); margin: 0; }

/* --- Dark side panel (project/product sidebars) --- */
.panel-dark {
  background: linear-gradient(165deg, #0e1c36 0%, #08111f 100%);
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.panel-dark h4 { color: var(--cmd-cyan-300); font-size: 16.5px; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }

.panel-light {
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.panel-light h4 { color: var(--cmd-navy-950); font-size: 16.5px; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.panel-light h4 i { color: var(--cmd-blue-500); }

/* ==========================================================================
   ICON LISTS — hanging indent so wrapped lines stay aligned
   ========================================================================== */

.icon-list { list-style: none; padding: 0; margin: 0; }

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.25px;
  line-height: 1.6;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.icon-list li:last-child { border-bottom: none; }

.icon-list li > i {
  flex: 0 0 auto;
  margin-top: 4px;
  font-size: 11px;
  color: var(--cmd-cyan-300);
}

.icon-list li > span { flex: 1 1 auto; min-width: 0; }

.panel-dark .icon-list li { color: #c2d2e4; }
.panel-dark .icon-list li strong { color: var(--cmd-cyan-200); font-weight: 700; }

.panel-light .icon-list li { color: var(--gray-700); border-bottom-color: var(--gray-100); }
.panel-light .icon-list li > i { color: var(--cmd-blue-500); }

/* ==========================================================================
   FILTER BAR
   ========================================================================== */

.filter-bar { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; margin-bottom: clamp(26px, 3vw, 42px); }

.filter-tab-btn {
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  font-family: var(--font-main);
  font-weight: 650; font-size: 13.5px;
  padding: 9px 19px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  min-height: 42px;
  white-space: nowrap;
}

.filter-tab-btn:hover { border-color: var(--cmd-blue-400); color: var(--cmd-blue-600); background: var(--gray-50); }

.filter-tab-btn.active {
  background: linear-gradient(135deg, var(--cmd-navy-900), var(--cmd-navy-800));
  color: var(--cmd-cyan-300);
  border-color: var(--cmd-navy-800);
  box-shadow: 0 6px 16px -6px rgba(11, 20, 38, 0.45);
}

/* ==========================================================================
   PRODUCT GALLERY (argeta-style: main stage + thumbnail strip)
   ========================================================================== */

.gallery { display: flex; flex-direction: column; gap: 12px; }

.gallery-stage {
  position: relative;
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #f1f6fb 55%, #e6eef7 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 22px;
}

.gallery-stage img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(11, 20, 38, 0.18));
  transition: opacity 0.34s ease, transform 0.52s var(--ease);
}

/* cross-fade + slide when the visitor moves through the set */
.gallery-stage img.is-out { opacity: 0; }
.gallery-stage img.slide-l { transform: translateX(-26px) scale(0.985); }
.gallery-stage img.slide-r { transform: translateX(26px) scale(0.985); }

/* prev / next controls */
.gallery-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.92);
  color: var(--cmd-navy-800);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 14px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, transform 0.25s var(--ease);
  z-index: 3;
}

.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }

.gallery-stage:hover .gallery-nav,
.gallery-stage:focus-within .gallery-nav { opacity: 1; }

.gallery-nav:hover { background: var(--white); color: var(--cmd-blue-600); transform: translateY(-50%) scale(1.08); }
.gallery-stage.is-dark .gallery-nav { background: rgba(10, 18, 34, 0.85); border-color: rgba(255, 255, 255, 0.2); color: #fff; }

/* dot indicator */
.gallery-dots {
  position: absolute; left: 0; right: 0; bottom: 12px;
  display: flex; justify-content: center; gap: 6px;
  z-index: 3; pointer-events: none;
}

.gallery-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(11, 20, 38, 0.22);
  transition: width 0.3s var(--ease), background 0.3s ease;
}

.gallery-dots span.on { width: 20px; border-radius: 4px; background: var(--cmd-blue-500); }
.gallery-stage.is-dark .gallery-dots span { background: rgba(255, 255, 255, 0.3); }
.gallery-stage.is-dark .gallery-dots span.on { background: var(--cmd-cyan-300); }

@media (max-width: 720px) { .gallery-nav { opacity: 1; width: 36px; height: 36px; } }

.gallery-stage.is-photo { padding: 0; }
.gallery-stage.is-photo img { width: 100%; height: 100%; object-fit: cover; filter: none; }

.gallery-stage.is-dark { background: radial-gradient(110% 90% at 50% 15%, #1b2740 0%, #0b1322 72%); border-color: rgba(34, 211, 238, 0.22); }

.gallery-thumbs { display: flex; gap: 9px; flex-wrap: wrap; }

.gallery-thumb {
  width: 68px; height: 56px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 5px;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.gallery-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-thumb.is-photo { padding: 0; }
.gallery-thumb.is-photo img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumb:hover { border-color: var(--cmd-blue-400); transform: translateY(-2px); }
.gallery-thumb.active { border-color: var(--cmd-cyan-400); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18); }

/* compatibility badge strip (CODESYS / EtherCAT / CANopen …) */
.compat-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.compat-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 11.75px; font-weight: 700;
  color: var(--cmd-navy-800);
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

.compat-chip i { color: var(--cmd-blue-500); font-size: 12.5px; }

/* ==========================================================================
   SPEC ACCORDION (argeta-style grouped specifications)
   ========================================================================== */

.spec-group {
  border: var(--hairline);
  border-radius: var(--radius-md);
  background: var(--white);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.spec-group.open { border-color: rgba(10, 118, 189, 0.32); box-shadow: var(--shadow-card); }

.spec-group-head {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 14.5px; font-weight: 700;
  color: var(--cmd-navy-950);
  text-align: left;
  transition: background 0.2s ease;
}

.spec-group-head:hover { background: var(--gray-50); }

.spec-group-head .gi {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(140deg, rgba(10, 118, 189, 0.12), rgba(34, 211, 238, 0.14));
  color: var(--cmd-blue-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.spec-group-head .chev { margin-left: auto; color: var(--gray-400); font-size: 13px; transition: transform 0.3s var(--ease); }
.spec-group.open .spec-group-head .chev { transform: rotate(180deg); color: var(--cmd-blue-500); }

.spec-group-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s var(--ease);
}

.spec-group.open .spec-group-body { grid-template-rows: 1fr; }

.spec-group-body > div { overflow: hidden; }

.spec-row {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 14px;
  padding: 11px 18px;
  font-size: 13.25px;
  border-top: 1px solid var(--gray-100);
}

.spec-row dt { font-weight: 700; color: var(--cmd-navy-900); }
.spec-row dd { color: var(--gray-700); margin: 0; }

.spec-row.is-key { background: var(--cmd-green-soft); }
.spec-row.is-key dt, .spec-row.is-key dd { color: #0a6f54; }

/* ==========================================================================
   TABLES
   ========================================================================== */

.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.25px;
  margin: 16px 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.specs-table th {
  background: linear-gradient(135deg, var(--cmd-navy-900), var(--cmd-navy-800));
  color: var(--white) !important;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 12.75px;
  letter-spacing: 0.02em;
  border: 1px solid var(--cmd-navy-800);
}

.specs-table td { padding: 11px 16px; border: 1px solid var(--gray-200); color: var(--gray-700); vertical-align: top; }
.specs-table td:first-child { font-weight: 650; color: var(--cmd-navy-900); width: 38%; }
.specs-table tr:nth-child(even) { background: var(--gray-50); }
.specs-table tr:hover { background: rgba(34, 211, 238, 0.055); }

.specs-table tr.row-highlight { background: var(--cmd-green-soft) !important; }
.specs-table tr.row-highlight td { color: #0a6f54; font-weight: 650; }

/* ==========================================================================
   MEDIA EMBEDS
   ========================================================================== */

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cmd-navy-950);
  border: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: var(--shadow-lg);
}

.video-frame iframe, .video-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* click-to-load poster: keeps YouTube's payload off the page until wanted */
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; cursor: pointer; background: #0a1324; }
.video-embed img { width: 100%; height: 100%; object-fit: cover; display: block; }

.video-embed::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 22, 0.15) 0%, rgba(6, 11, 22, 0.55) 100%);
  transition: opacity 0.3s ease;
}

.video-embed .play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.92);
  color: var(--cmd-navy-950);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  z-index: 3;
  box-shadow: 0 10px 30px -6px rgba(34, 211, 238, 0.6);
  transition: transform 0.28s var(--ease), background 0.28s ease;
}

.video-embed:hover .play { transform: translate(-50%, -50%) scale(1.09); background: var(--cmd-cyan-200); }
.video-embed .play::before { content: '\f04b'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-left: 4px; }

.video-embed .vlabel {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 3;
  color: #fff; font-size: 13.5px; font-weight: 650;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.video-caption { font-size: 12.5px; color: var(--gray-500); margin-top: 10px; text-align: center; }

/* shown only if an embed fails to start, so the visitor is never stuck */
.video-escape {
  display: inline-flex; align-items: center; gap: 8px;
  position: absolute; left: 50%; bottom: 14px;
  transform: translateX(-50%);
  background: rgba(6, 11, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 12.5px; font-weight: 650;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  z-index: 4;
}

.video-escape i { color: #ff0000; }
.video-escape:hover { background: rgba(6, 11, 22, 0.98); color: #fff; border-color: var(--cmd-cyan-400); }

/* ---- Video lightbox: the player opens over the page, never away from it -- */
.video-modal {
  position: fixed; inset: 0;
  background: rgba(4, 8, 16, 0.9);
  backdrop-filter: blur(10px);
  z-index: 2400;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s;
}

.video-modal.active { opacity: 1; visibility: visible; }
body.video-open { overflow: hidden; }

.video-modal-inner {
  position: relative;
  width: min(1120px, 100%);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.34s var(--ease);
}

.video-modal.active .video-modal-inner { transform: none; }

.video-modal-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.28);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}

.video-modal-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-modal-close {
  position: absolute; top: -52px; right: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}

.video-modal-close:hover { background: var(--cmd-red); border-color: var(--cmd-red); transform: rotate(90deg); }

.video-modal-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  color: var(--gray-300);
  font-size: 12.75px; font-weight: 600;
}

.video-modal-link i { color: #ff0000; }
.video-modal-link:hover { color: #fff; }

@media (max-width: 720px) {
  .video-modal-close { top: -46px; width: 38px; height: 38px; }
}

/* ==========================================================================
   CONTACT & MAP
   ========================================================================== */

.contact-section-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 3vw, 40px); align-items: stretch; }

.map-card-argeta {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-300);
  height: 100%;
  min-height: 430px;
  position: relative;
  background: var(--gray-200);
}

.map-card-argeta iframe { width: 100%; height: 100%; min-height: 430px; border: 0; display: block; }

.map-caption {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(6, 11, 22, 0.88);
  color: var(--white);
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-size: 12.5px;
  line-height: 1.45;
  backdrop-filter: blur(6px);
  max-width: min(320px, calc(100% - 28px));
  pointer-events: none;
}

.map-caption strong { color: var(--cmd-cyan-300); display: block; font-size: 13px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--cmd-navy-950);
  color: var(--gray-300);
  padding: clamp(46px, 5vw, 72px) 0 24px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
}

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(26px, 3vw, 40px); margin-bottom: 42px; }

.footer-col h4 { color: var(--white); font-size: 15.5px; margin-bottom: 18px; position: relative; padding-bottom: 9px; }

.footer-col h4::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 34px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cmd-cyan-400), var(--cmd-blue-500));
}

.footer-col .brand-logo img { height: 50px; max-width: 230px; }

/* The logo keeps its true brand colours everywhere — no plate, no halo. */
.site-footer .brand-logo { display: inline-flex; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }

.footer-links a {
  color: var(--gray-400);
  font-size: 13.25px;
  display: inline-flex; align-items: flex-start; gap: 8px;
  line-height: 1.5;
  transition: var(--transition);
}

.footer-links a i { margin-top: 5px; font-size: 10px; flex-shrink: 0; }
.footer-links a:hover { color: var(--cmd-cyan-300); transform: translateX(3px); }

.footer-contact-item { display: flex; gap: 11px; font-size: 13.25px; color: var(--gray-300); margin-bottom: 12px; line-height: 1.55; }
.footer-contact-item i { color: var(--cmd-cyan-300); margin-top: 4px; flex-shrink: 0; }

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-size: 12.75px;
  color: var(--gray-500);
}

/* the link row is inline-styled as a flex row in the markup; make sure it wraps
   so it cannot push the document wider than the screen on a narrow phone */
.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
}

.footer-bottom a { color: var(--gray-400); }
.footer-bottom a:hover { color: var(--cmd-cyan-300); }

/* ==========================================================================
   MODAL & FORMS
   ========================================================================== */

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(6, 11, 22, 0.82);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  overflow-y: auto;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px);
  max-width: 620px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.34s var(--ease);
}

.modal-overlay.active .modal-card { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--gray-100);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  color: var(--gray-600);
  transition: var(--transition);
  z-index: 2;
}

.modal-close:hover { background: var(--cmd-red); color: var(--white); transform: rotate(90deg); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 17px; }
.form-label { display: block; font-size: 12.75px; font-weight: 700; color: var(--cmd-navy-950); margin-bottom: 6px; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 16px;                 /* 16px prevents iOS zoom-on-focus */
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  min-height: 46px;
}

.form-textarea { min-height: 96px; resize: vertical; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-400); }

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--cmd-blue-500);
  box-shadow: 0 0 0 3px rgba(10, 118, 189, 0.15);
}

.form-note { font-size: 12px; color: var(--gray-500); margin-top: 10px; text-align: center; }

/* ==========================================================================
   MOTION
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible { opacity: 1; transform: none; }

/* subtle float for the hero visual */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---- Entrance: the first screen assembles itself on load ---------------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes visualIn {
  from { opacity: 0; transform: translateY(34px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

/* only runs once, on the first paint, and only where JS confirmed support */
.js-intro .hero-dark .hero-badge-pill,
.js-intro .hero-dark .hero-title,
.js-intro .hero-dark .hero-lead,
.js-intro .hero-dark .hero-btn-group,
.js-intro .hero-dark .hero-stats-row,
.js-intro .page-banner .badge-flag-cyan,
.js-intro .page-banner h1,
.js-intro .page-banner p {
  animation: riseIn 0.78s var(--ease) both;
}

.js-intro .hero-dark .hero-badge-pill { animation-delay: 0.05s; }
.js-intro .hero-dark .hero-title      { animation-delay: 0.13s; }
.js-intro .hero-dark .hero-lead       { animation-delay: 0.21s; }
.js-intro .hero-dark .hero-btn-group  { animation-delay: 0.29s; }
.js-intro .hero-dark .hero-stats-row  { animation-delay: 0.37s; }

.js-intro .page-banner .badge-flag-cyan { animation-delay: 0.04s; }
.js-intro .page-banner h1               { animation-delay: 0.12s; }
.js-intro .page-banner p                { animation-delay: 0.20s; }

.js-intro .hero-visual-card { animation: visualIn 0.9s var(--ease) 0.3s both; }
.js-intro .site-header,
.js-intro .top-bar { animation: fadeIn 0.6s ease both; }

/* once the intro has played, hand the visual over to the idle float */
.hero-visual-card.floating { animation: floaty 7s ease-in-out infinite; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1180px) {
  .mega-dropdown { grid-template-columns: 260px 260px; min-width: 540px; padding: 20px; }
  .mega-wide { grid-template-columns: 280px 260px; min-width: 560px; }
  .nav-link { padding: 10px 10px; font-size: 13.75px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 66px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual-card { max-width: 560px; margin-inline: auto; animation: none; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-section-grid { grid-template-columns: 1fr; }

  .mobile-toggle { display: inline-flex; }

  /* `backdrop-filter` makes the header a containing block for fixed children,
     which would pin the drawer to the header box instead of the viewport. */
  .site-header { background: transparent; }

  /* the header owns a stacking context, so the drawer must be lifted with it
     or the body-level backdrop paints over the menu */
  body.nav-open .header-stack { z-index: 1550; }

  .main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(90vw, 380px);
    background: linear-gradient(180deg, #0b1426 0%, #060b16 100%);
    border-left: 1px solid rgba(34, 211, 238, 0.22);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 78px 18px 120px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(102%);
    transition: transform 0.34s var(--ease);
    z-index: 1500;
    box-shadow: -20px 0 50px -20px rgba(0, 0, 0, 0.8);
    overscroll-behavior: contain;
  }

  .main-nav.active { transform: translateX(0); }

  .main-nav .nav-item { position: static; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .main-nav .nav-item:last-child { border-bottom: none; }

  .main-nav .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 15px 8px;
    font-size: 15px;
    color: #e2ebf5;
    border-radius: var(--radius-sm);
    min-height: 50px;
  }

  .main-nav .nav-link:hover { background: rgba(34, 211, 238, 0.09); color: var(--cmd-cyan-300); }
  .main-nav .nav-link.active { color: var(--cmd-cyan-300); }
  .main-nav .nav-link.active::after { display: none; }

  .mega-dropdown {
    position: static;
    display: block;
    opacity: 1; visibility: visible;
    transform: none;
    min-width: 0;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-left: 2px solid rgba(34, 211, 238, 0.35);
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0 12px;
    margin: 0 0 12px 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.36s var(--ease);
  }

  .mega-wide { grid-template-columns: none; min-width: 0; }

  .nav-item.open > .mega-dropdown { max-height: 1600px; }

  .mega-col { padding: 8px 0; }
  .mega-col-title { font-size: 10.75px; margin-bottom: 8px; }
  .mega-list a { padding: 10px 8px; font-size: 13.5px; min-height: 42px; }

  .nav-item.has-sub > .nav-link .fa-chevron-down { font-size: 13px; opacity: 0.8; transition: transform 0.28s var(--ease); }
  .nav-item.has-sub.open > .nav-link .fa-chevron-down { transform: rotate(180deg); }
  .nav-item.has-sub.open > .nav-link { color: var(--cmd-cyan-300); background: rgba(34, 211, 238, 0.08); }

  .nav-close {
    position: absolute; top: 18px; right: 18px;
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    font-size: 18px;
    align-items: center; justify-content: center;
    cursor: pointer;
  }

  .nav-close:hover { background: var(--cmd-red); border-color: var(--cmd-red); }

  .nav-drawer-foot {
    display: grid;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 10px;
  }

  .nav-drawer-foot a {
    color: var(--gray-300);
    font-size: 13.5px;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    min-height: 44px;
  }

  .nav-drawer-foot a i { color: var(--cmd-cyan-300); width: 18px; text-align: center; }
  .nav-drawer-foot a:hover { background: rgba(34, 211, 238, 0.1); color: var(--white); }

  .nav-actions .btn { display: none; }
}

@media (max-width: 860px) {
  .top-bar { font-size: 12px; }
  .top-bar-inner { justify-content: center; }
  .top-bar-left { gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom > div { justify-content: center; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .hero-btn-group { gap: 10px; }
  .hero-btn-group .btn { width: 100%; }

  .section-head { text-align: left; }
  .section-head .section-title::after { margin-inline: 0; }

  .filter-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-tab-btn { flex: 0 0 auto; }

  .project-img-wrap { height: 190px; }
  .product-thumb-wrap { height: 176px; }
  .map-card-argeta, .map-card-argeta iframe { min-height: 320px; }

  .spec-row { grid-template-columns: 1fr; gap: 3px; padding: 11px 15px; }
  .spec-row dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cmd-blue-600); }

  .specs-table, .specs-table tbody, .specs-table tr, .specs-table td { display: block; width: 100%; }
  .specs-table thead { display: none; }
  .specs-table tr { margin-bottom: 10px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); }
  .specs-table td { border: none; border-bottom: 1px solid var(--gray-100); padding: 10px 14px; }
  .specs-table td:last-child { border-bottom: none; }
  .specs-table td:first-child {
    width: 100%;
    background: var(--gray-50);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cmd-blue-600);
  }

  .mobile-action-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1200;
    background: rgba(6, 11, 22, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(34, 211, 238, 0.28);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 6px;
  }

  .mobile-action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px;
    color: var(--gray-300);
    font-size: 10.75px; font-weight: 700;
    padding: 7px 4px;
    border-radius: var(--radius-sm);
    min-height: 48px;
    text-align: center;
    line-height: 1.25;
  }

  .mobile-action-bar a i { font-size: 16px; color: var(--cmd-cyan-300); }
  .mobile-action-bar a.primary { background: linear-gradient(135deg, var(--cmd-cyan-400), var(--cmd-cyan-300)); color: var(--cmd-navy-950); }
  .mobile-action-bar a.primary i { color: var(--cmd-navy-950); }

  .site-footer { padding-bottom: 92px; }
  .main-nav { padding-bottom: 140px; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .btn-lg { padding: 14px 20px; font-size: 14.5px; }
  .brand-logo img { height: 38px; max-width: 180px; }
  .lang-current { padding: 6px 9px; }
  .gallery-thumb { width: 58px; height: 48px; }
}

/* ==========================================================================
   YAZILIMLARIMIZ — CNC control interface vs. buCadCam CAD/CAM (V15)
   ========================================================================== */

/* submenu tags: how a sector's software is packaged */
.mega-tag.is-integrated {
  color: #8ae8f7;
  background: rgba(34, 211, 238, 0.14);
  border-color: rgba(34, 211, 238, 0.45);
}
.mega-tag.is-separate {
  color: #ffd79a;
  background: rgba(245, 165, 36, 0.13);
  border-color: rgba(245, 165, 36, 0.42);
}
.mega-note.is-info {
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.26);
  color: #b3ecf6;
}
.mega-note.is-info i { color: var(--cmd-cyan-300); }

/* structure pill — "Entegre modül" / "Ayrı modüller" / "Opsiyonel" */
.sw-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  white-space: nowrap;
}
.sw-pill.is-integrated { color: #0b6b82; background: rgba(8, 145, 178, 0.10); border-color: rgba(8, 145, 178, 0.35); }
.sw-pill.is-separate   { color: #8a5f12; background: rgba(245, 165, 36, 0.12); border-color: rgba(176, 125, 37, 0.35); }
.sw-pill.is-optional   { color: var(--gray-700); background: var(--gray-50); border-color: var(--gray-300); }
.sw-pill.is-advanced   { color: #4a3d99; background: rgba(109, 91, 208, 0.10); border-color: rgba(109, 91, 208, 0.35); }

.surface-navy .sw-pill.is-integrated, .surface-dark .sw-pill.is-integrated { color: #8ae8f7; background: rgba(34, 211, 238, 0.12); border-color: rgba(34, 211, 238, 0.42); }
.surface-navy .sw-pill.is-separate,   .surface-dark .sw-pill.is-separate   { color: #ffd79a; background: rgba(245, 165, 36, 0.12); border-color: rgba(245, 165, 36, 0.40); }
.surface-navy .sw-pill.is-optional,   .surface-dark .sw-pill.is-optional   { color: #c2d2e4; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); }
.surface-navy .sw-pill.is-advanced,   .surface-dark .sw-pill.is-advanced   { color: #ddd6ff; background: rgba(155, 140, 240, 0.14); border-color: rgba(155, 140, 240, 0.42); }

.sw-module-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }

/* --- Yazılımlarımız page ----------------------------------------------------
   (1) one integrated program: draw → simulate → cut, (2) applications,
   (3) marble packages (tier cards), (4) buCadCam as the optional advanced
   CAD/CAM, (5) capabilities. */

/* (1) one program — a single framed box so it reads as ONE piece of software */
.one-prog {
  position: relative;
  margin-top: 14px;
  padding: clamp(30px, 3.2vw, 44px) clamp(18px, 2.6vw, 36px) clamp(22px, 2.6vw, 32px);
  border-radius: calc(var(--radius-lg) + 6px);
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, var(--cmd-blue-500), var(--cmd-cyan-300)) border-box;
  box-shadow: var(--shadow-xl);
}
.one-prog-label {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--cmd-navy-900), var(--cmd-blue-600));
  color: var(--white);
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-brand);
}
.one-prog-label i { color: var(--cmd-cyan-300); }

.op-shots { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(12px, 1.8vw, 22px); align-items: center; }
.op-shot { margin: 0; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.op-window {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-card);
  background: var(--white);
}
.op-window-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: linear-gradient(180deg, var(--cmd-navy-800), var(--cmd-navy-850));
  color: #dbe6f3; font-size: 11.5px; font-weight: 700;
}
.op-window-bar .d { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.op-window-bar .t { margin-left: 8px; }
.op-window-bar .step {
  margin-left: auto;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cmd-navy-950);
  background: linear-gradient(135deg, var(--cmd-cyan-300), var(--cmd-cyan-200));
  padding: 2px 9px; border-radius: var(--radius-pill);
}
.op-window img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--white); }
.op-shot figcaption { font-size: 14px; color: var(--gray-700); line-height: 1.65; padding: 0 4px; }
.op-shot figcaption b { color: var(--cmd-navy-950); }

.op-arrow {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  max-width: 92px; text-align: center;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cmd-blue-600);
  margin-bottom: 64px;          /* sit level with the screens, not the captions */
}
.op-arrow .dot {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cmd-navy-900), var(--cmd-blue-600));
  color: var(--cmd-cyan-300); font-size: 18px;
  box-shadow: 0 0 0 7px rgba(34, 211, 238, 0.14), var(--shadow-brand);
}
@media (max-width: 860px) {
  .op-shots { grid-template-columns: 1fr; }
  .op-arrow { flex-direction: row; max-width: none; margin: 0 auto; }
  .op-arrow .dot { width: 48px; height: 48px; }
  .op-arrow .dot i { transform: rotate(90deg); }
}

.op-steps {
  list-style: none; padding: 0;
  margin: clamp(22px, 2.6vw, 30px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.op-steps li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f4f8fc, #eaf3fa);
  border: 1px solid rgba(10, 118, 189, 0.12);
  font-size: 13.5px; font-weight: 650; color: var(--cmd-navy-900); line-height: 1.35;
}
.op-steps .n {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cmd-blue-600), var(--cmd-cyan-400));
  color: var(--white); font-size: 14px; font-weight: 800;
}
@media (max-width: 900px) { .op-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .op-steps { grid-template-columns: 1fr; } }

.op-cols {
  margin-top: clamp(22px, 2.6vw, 30px);
  padding-top: clamp(22px, 2.6vw, 28px);
  border-top: 1px solid var(--gray-100);
  display: grid; grid-template-columns: 1fr 1fr;
}
.op-col { padding: 0 clamp(8px, 2vw, 28px); }
.op-col + .op-col { border-left: 1px solid var(--gray-100); }
.op-col h3 { display: flex; align-items: center; gap: 10px; font-size: 16.5px; color: var(--cmd-navy-950); margin: 0 0 10px; }
.op-col h3 i {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(10, 118, 189, 0.12), rgba(34, 211, 238, 0.16));
  color: var(--cmd-blue-500); font-size: 15px;
}
.op-col ul { list-style: none; padding: 0; margin: 0; }
.op-col li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.75px; color: var(--gray-700); line-height: 1.5;
  padding: 8px 0;
  border-top: 1px solid var(--gray-100);
}
.op-col li i { color: var(--cmd-cyan-500); margin-top: 3px; font-size: 12.5px; }
@media (max-width: 760px) {
  .op-cols { grid-template-columns: 1fr; }
  .op-col { padding: 0; }
  .op-col + .op-col { border-left: 0; margin-top: 20px; }
}
.op-foot {
  margin-top: clamp(18px, 2.2vw, 24px);
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  font-size: 13.5px; color: var(--gray-600); line-height: 1.6;
}
.op-foot i { color: var(--cmd-blue-500); margin-top: 3px; }
.op-foot b { color: var(--cmd-navy-900); }

/* (2) applications — the whole tile is one link */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 22px); }
@media (max-width: 1100px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .app-grid { grid-template-columns: 1fr; } }

.app-tile {
  display: flex; flex-direction: column;
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  color: inherit;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}
.app-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(34, 211, 238, 0.5); }
.app-tile-media { aspect-ratio: 16 / 10; background: #eef4fb; overflow: hidden; }
.app-tile-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.app-tile:hover .app-tile-media img { transform: scale(1.05); }
.app-tile-media.is-drawing { background: var(--white); }
.app-tile-media.is-drawing img { object-fit: contain; padding: 12px; }

/* one clear line that answers "integrated or separate?" */
.app-tile-band {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  font-size: 12.5px; font-weight: 650; line-height: 1.35;
  color: var(--white);
}
.app-tile-band .tag {
  flex-shrink: 0;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.2);
}
.app-tile-band.is-integrated { background: linear-gradient(90deg, var(--cmd-blue-600) 0%, var(--cmd-cyan-500) 100%); }
.app-tile-band.is-neutral, .app-tile-band.is-separate { background: linear-gradient(90deg, var(--cmd-navy-900) 0%, var(--cmd-navy-700) 100%); color: #e6eef7; }
.app-tile-band.is-neutral .tag, .app-tile-band.is-separate .tag { background: rgba(245, 165, 36, 0.22); color: #ffd79a; }

.app-tile-body { padding: 18px 20px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.app-tile-sector { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; display: inline-flex; gap: 7px; align-items: center; color: var(--cmd-blue-600); }
.app-tile-sector.is-foam    { color: #0b6b82; }
.app-tile-sector.is-wood    { color: #8a5f12; }
.app-tile-sector.is-textile { color: #4a3d99; }
.app-tile h3 { font-size: 17px; color: var(--cmd-navy-950); margin: 0; line-height: 1.35; }
.app-tile p { font-size: 13.75px; color: var(--gray-600); margin: 0; line-height: 1.65; }
.app-tile-cta {
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--gray-100);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 700; color: var(--cmd-blue-600);
}
.app-tile-cta i {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  font-size: 12px;
  transition: var(--transition);
}
.app-tile:hover .app-tile-cta i { background: linear-gradient(135deg, var(--cmd-blue-600), var(--cmd-cyan-400)); border-color: transparent; color: var(--white); }

/* (4) buCadCam — optional, stand-alone advanced CAD/CAM */
.bcc-feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 3.4vw, 52px); align-items: center; }
@media (max-width: 900px) { .bcc-feature { grid-template-columns: 1fr; } }
.bcc-media {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xl);
}
.bcc-media img { display: block; width: 100%; }
.bcc-media .sw-pill { position: absolute; bottom: 14px; left: 14px; background: rgba(255, 255, 255, 0.94); }
@media (max-width: 480px) { .one-prog-label { font-size: 9.5px; letter-spacing: 0.04em; padding: 5px 12px; gap: 6px; } }
.bcc-feature h2 { font-size: var(--fs-h2); color: var(--cmd-navy-950); margin: 10px 0 12px; }
.bcc-feature > div > p { font-size: 15px; color: var(--gray-700); line-height: 1.8; margin: 0; }
.bcc-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 16px 0 18px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(8, 145, 178, 0.07);
  border: 1px solid rgba(8, 145, 178, 0.25);
  color: #0b6b82; font-size: 13.75px; font-weight: 650; line-height: 1.55;
}
.bcc-note i { margin-top: 3px; }
.bcc-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 22px; }
.bcc-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.75px; color: var(--gray-700); line-height: 1.5; }
.bcc-list li i { color: var(--cmd-cyan-500); margin-top: 3px; font-size: 12.5px; }
@media (max-width: 520px) { .bcc-list { grid-template-columns: 1fr; } }

/* --- Yazılımlarımız page: hero with the two screens, soft band transitions -- */

/* hero: title + the draw → simulate screens above the fold */
.swp-hero {
  background:
    linear-gradient(180deg, rgba(6, 11, 22, 0) 55%, #060b16 100%),
    var(--surface-dark);
  padding: clamp(26px, 3.2vw, 42px) 0 clamp(34px, 4vw, 54px);
}
.swp-hero-head {
  display: grid; grid-template-columns: auto 1fr;
  gap: 10px clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(30px, 3.4vw, 40px);
}
.swp-hero-head h1 { margin: 0; }
.swp-hero-head p { margin: 0; max-width: 680px; font-size: var(--fs-lead); color: #c2d2e4; line-height: 1.7; }
.swp-hero-head p strong { color: var(--white); }
@media (max-width: 860px) { .swp-hero-head { grid-template-columns: 1fr; } }
.swp-hero .one-prog { padding-top: clamp(28px, 3vw, 36px); padding-bottom: clamp(18px, 2.2vw, 26px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7); }

/* soft transition bands between sections of different tone */
.sw-fade { height: clamp(44px, 5.5vw, 84px); background: linear-gradient(180deg, var(--fa), var(--fb)); }
.sw-fade + section, section + .sw-fade { margin-top: 0; }

/* dark band with exact edge colours, so the fades meet it seamlessly */
.swp-dark { background: linear-gradient(180deg, #0b1426 0%, #10284d 50%, #0b1426 100%); }

/* --------------------------------------------------------------------------
   Package cards (4 Eksen ECO / STANDART, 5 Eksen STANDART) — shared tier theme,
   used on the marble application's "Paketler & Özellikler" tab
   -------------------------------------------------------------------------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
@media (max-width: 980px) { .tier-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.tier-card.t-eco, .tier-card.t-std, .tier-card.t-flag {
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-dark);
  display: flex; flex-direction: column;
  color: var(--white);
}
.tier-card.t-eco  { --tier-accent: var(--cmd-green);    background: rgba(8, 22, 54, 0.85); border: 1px solid rgba(255, 255, 255, 0.16); }
.tier-card.t-std  { --tier-accent: var(--cmd-cyan-300); background: linear-gradient(180deg, rgba(10, 118, 189, 0.22) 0%, rgba(8, 22, 54, 0.95) 100%); border: 1px solid rgba(34, 211, 238, 0.35); }
.tier-card.t-flag { --tier-accent: var(--cmd-gold);     background: linear-gradient(180deg, rgba(38, 30, 12, 0.92) 0%, rgba(12, 18, 34, 0.98) 55%, rgba(2, 7, 19, 0.99) 100%); border: 2px solid var(--cmd-gold); padding-top: 36px; }
.tier-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.t-std .tier-top .badge-flag-cyan { background: rgba(0, 229, 255, 0.2); }
.t-flag .tier-top .badge-flag-cyan { border-color: var(--cmd-gold); color: var(--cmd-gold); }
.t-eco .tier-top .spec-badge  { background: rgba(255, 255, 255, 0.1); color: var(--gray-300); }
.t-std .tier-top .spec-badge  { background: rgba(0, 229, 255, 0.15); color: var(--cmd-cyan-300); }
.t-flag .tier-top .spec-badge { background: rgba(245, 158, 11, 0.2); color: var(--cmd-gold); }
.tier-card.t-eco h3, .tier-card.t-std h3, .tier-card.t-flag h3 { font-size: 22px; color: var(--white); margin: 0 0 12px; }
.tier-card > .tier-desc { font-size: 13.5px; color: var(--gray-300); line-height: 1.6; margin: 0 0 18px; }
.tier-list { list-style: none; padding: 0; margin: 0 0 18px; font-size: 13px; line-height: 1.6; color: var(--gray-200); }
.tier-list li { display: flex; gap: 9px; align-items: flex-start; padding: 4px 0; }
.tier-list li i { color: var(--tier-accent); margin-top: 4px; font-size: 12px; flex-shrink: 0; }
.tier-list li strong { color: var(--white); }
.tier-list.is-opt li i { color: var(--cmd-gold); }

.tier-more { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, 0.10); padding-top: 10px; }
.tier-more summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: var(--tier-accent);
  padding: 8px 0;
}
.tier-more summary::-webkit-details-marker { display: none; }
.tier-more summary i { transition: transform 0.25s var(--ease); }
.tier-more[open] summary i { transform: rotate(180deg); }
.tier-more .tier-list { margin: 8px 0 6px; }
.tier-opt-title { font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cmd-cyan-200); margin: 12px 0 4px; }

/* application panels rendered on a dark band */
.surface-dark .sw-panel-head h2 { color: var(--white); }
.surface-dark .sw-panel-head p { color: #b9c9dc; }

/* --------------------------------------------------------------------------
   Application detail — software sub-menu (tabs) and panels
   -------------------------------------------------------------------------- */
.proj-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 8px 22px -18px rgba(11, 20, 38, 0.5);
}
.proj-tabs[hidden] { display: none; }
.proj-tabs-inner {
  display: flex; align-items: center; gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
}
.proj-tabs-inner::-webkit-scrollbar { display: none; }
.proj-tabs-label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--gray-500);
  margin-right: 6px; white-space: nowrap;
}
.proj-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-main);
  font-size: 13.5px; font-weight: 650;
  color: var(--gray-700);
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px;
  transition: var(--transition);
}
.proj-tab i { color: var(--cmd-blue-500); font-size: 13px; }
.proj-tab:hover { background: var(--gray-50); border-color: var(--gray-200); color: var(--cmd-navy-900); }
.proj-tab.active {
  background: linear-gradient(135deg, var(--cmd-navy-900), var(--cmd-navy-800));
  color: var(--cmd-cyan-300);
  border-color: var(--cmd-navy-800);
  box-shadow: 0 6px 16px -6px rgba(11, 20, 38, 0.45);
}
.proj-tab.active i { color: var(--cmd-cyan-300); }

.sw-panel[hidden] { display: none; }
.sw-panel-head { max-width: 860px; margin-bottom: clamp(24px, 3vw, 36px); }
.sw-panel-head .sw-pill { margin-bottom: 12px; }
.sw-panel-head h2 { font-size: var(--fs-h2); color: var(--cmd-navy-950); margin-bottom: 10px; }
.sw-panel-head p { font-size: 15px; color: var(--gray-700); line-height: 1.8; margin: 0; }

.sw-module {
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 2.4vw, 30px);
  margin-bottom: clamp(20px, 2.4vw, 28px);
}
.sw-module-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.sw-module-head .ico {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cmd-navy-900), var(--cmd-blue-600));
  color: var(--cmd-cyan-300); font-size: 19px;
}
.sw-module-head .txt { flex: 1 1 260px; }
.sw-module-head h3 { font-size: 19px; color: var(--cmd-navy-950); margin-bottom: 4px; }
.sw-module-head p { font-size: 14px; color: var(--gray-600); margin: 0; line-height: 1.65; }

/* integrated: the two halves sit inside one outlined program box */
.sw-integrated-box {
  border: 1.5px solid rgba(8, 145, 178, 0.45);
  border-radius: calc(var(--radius-lg) + 6px);
  padding: clamp(14px, 1.8vw, 20px);
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.06), rgba(10, 118, 189, 0.03));
  position: relative;
  margin-top: 14px;
}
.sw-integrated-box > .sw-integrated-label {
  position: absolute; top: -12px; left: 22px;
  background: var(--white);
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(8, 145, 178, 0.45);
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #0b6b82;
  display: inline-flex; gap: 7px; align-items: center;
}
.sw-integrated-box .sw-module:last-child { margin-bottom: 0; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; margin-bottom: 20px; }
.media-slot {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: #eef4fb;
}
.media-slot .frame { position: relative; aspect-ratio: 16 / 10; }
.media-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.media-slot figcaption {
  padding: 10px 13px;
  font-size: 12.75px; font-weight: 650;
  color: var(--cmd-navy-900);
  border-top: 1px solid var(--gray-100);
  background: var(--white);
}
/* image not delivered yet — a deliberate screen mock instead of a broken icon */
.media-slot .placeholder {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 18px;
  color: #5b7390;
  background:
    linear-gradient(rgba(10, 118, 189, 0.06) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(10, 118, 189, 0.06) 1px, transparent 1px) 0 0 / 22px 22px,
    radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #eef4fb 60%, #dde8f4 100%);
}
.media-slot .placeholder i { font-size: 30px; color: var(--cmd-blue-400); opacity: 0.85; }
.media-slot .placeholder span { font-size: 12.5px; font-weight: 700; color: var(--cmd-navy-800); max-width: 26ch; line-height: 1.4; }
.media-slot .placeholder small {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cmd-blue-600);
  background: rgba(10, 118, 189, 0.09);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}
.media-slot.is-pending img { display: none; }
.media-slot.is-pending .placeholder { display: flex; }
.media-slot.is-pending figcaption { display: none; }   /* the placeholder already names the shot */

.sw-panel-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(22px, 2.6vw, 32px); }

.feature-cols {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 26px;
}
.feature-cols li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.75px; color: var(--gray-700); line-height: 1.55;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}
.feature-cols li > i { color: var(--cmd-cyan-500); margin-top: 3px; flex-shrink: 0; font-size: 13px; }
.feature-cols li strong { color: var(--cmd-navy-950); }
.feature-cols li.is-opt > i { color: var(--cmd-gold); }

.feat-group { margin-bottom: clamp(20px, 2.4vw, 28px); }
.feat-group:last-child { margin-bottom: 0; }
.feat-group-title {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 15px; font-weight: 800; color: var(--cmd-navy-950);
  margin-bottom: 8px; padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-200);
}
.feat-group-title i { color: var(--cmd-blue-500); }
.feat-group-title .spec-badge { font-size: 11px; }
.feat-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--gray-600); margin-bottom: 18px; }
.feat-legend span { display: inline-flex; gap: 7px; align-items: center; }
.feat-legend .fa-check { color: var(--cmd-cyan-500); }
.feat-legend .fa-plus { color: var(--cmd-gold); }

@media (max-width: 720px) {
  .proj-tabs-label { display: none; }
  .proj-tab { font-size: 13px; padding: 8px 13px; }
}

/* ==========================================================================
   ACCESSIBILITY & PRINT
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-visual-card { animation: none; }
}

@media print {
  .top-bar, .site-header, .mobile-action-bar, .modal-overlay,
  .nav-backdrop, .site-footer .btn { display: none !important; }
  body { color: #000; }
  .hero-dark, .page-banner, .surface-dark, .surface-navy { background: #fff !important; color: #000 !important; }
  .hero-dark h1, .page-banner h1, .surface-dark h2, .surface-navy h2 { color: #000 !important; }
  .spec-group-body { grid-template-rows: 1fr !important; }
  a { color: #000; text-decoration: underline; }
}

/* V15: the "CNC + CAD/CAM" badge on the software menu item needs a little room
   on narrow desktops (the drawer takes over below 1025px) */
.nav-actions .btn { white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1240px) {
  .nav-link { padding: 10px 8px; font-size: 13.75px; }
  .nav-link .badge-flag-cyan { font-size: 9.5px !important; padding: 2px 6px !important; margin-left: 2px !important; }
  .lang-current span { display: none; }
}
@media (min-width: 1025px) and (max-width: 1140px) {
  .brand-logo img { height: 38px; max-width: 170px; }
  .nav-container { gap: 12px; }
  .nav-link { padding: 10px 6px; font-size: 13.5px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding-left: 14px; padding-right: 14px; }
}


/* ==========================================================================
   V16 — SHARED LAYOUT (header / footer / modal generated by
   docs/scripts/site_layout.py; the inline styles they used to carry live here)
   ========================================================================== */

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 3000;
  background: var(--cmd-cyan-300); color: var(--cmd-navy-950);
  font-weight: 800; font-size: 13px;
  padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: var(--cmd-navy-950); }

.top-bar a i { color: var(--cmd-cyan-300); }
.top-bar .top-bar-docs { color: var(--cmd-cyan-300); font-weight: 700; }
.top-bar .top-bar-docs:hover { color: var(--white); }
.top-bar-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--cmd-cyan-200);
  padding: 2px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.08);
}
.top-bar-tag i { font-size: 10.5px; color: var(--cmd-cyan-300); }
@media (max-width: 1100px) { .top-bar-tag { display: none; } }

.nav-badge {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 800; letter-spacing: 0.04em;
  padding: 2px 8px; margin-left: 2px;
  border-radius: var(--radius-pill);
  color: var(--cmd-navy-950);
  background: linear-gradient(135deg, var(--cmd-cyan-300), var(--cmd-cyan-200));
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35), 0 4px 12px -4px rgba(34, 211, 238, 0.6);
}
@media (min-width: 1025px) and (max-width: 1240px) {
  .nav-badge { font-size: 9px; padding: 2px 6px; }
}

.mega-list li.mega-group {
  font-size: 10.75px; font-weight: 800;
  color: var(--cmd-cyan-300);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 10px 0 2px; padding: 0 9px;
  opacity: 0.9;
}
.mega-list li.mega-group:first-child { margin-top: 2px; }

/* footer */
.site-footer .footer-logo { margin-bottom: 18px; }
.site-footer .footer-logo img { height: 48px; width: auto; max-width: 220px; object-fit: contain; }
.footer-about { font-size: 13.5px; color: var(--gray-400); line-height: 1.75; margin-bottom: 18px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  color: #c2d2e4; font-size: 15px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: var(--transition);
}
.footer-social a:hover { color: var(--cmd-navy-950); background: var(--cmd-cyan-300); border-color: var(--cmd-cyan-300); transform: translateY(-2px); }
.footer-company { font-weight: 700; color: var(--white); }
.footer-contact-item a { color: var(--gray-300); }
.footer-contact-item a:hover { color: var(--cmd-cyan-300); }
.footer-quote { margin-top: 10px; width: 100%; justify-content: center; }
.footer-bottom-links { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--gray-400); }
.footer-bottom-links a.is-accent { color: var(--cmd-cyan-300); font-weight: 700; }

/* contact modal */
.modal-head { margin-bottom: 22px; }
.modal-head .badge-flag-cyan { margin-bottom: 10px; }
.modal-head h3 { font-size: 23px; color: var(--cmd-navy-950); margin-bottom: 6px; }
.modal-head p { font-size: 14px; color: var(--gray-600); margin: 0; line-height: 1.65; }
.form-privacy { margin: 12px 0 0; font-size: 12px; color: var(--gray-500); display: flex; gap: 7px; align-items: center; justify-content: center; }
.form-privacy i { color: var(--cmd-blue-400); font-size: 11px; }

/* ==========================================================================
   V16 — COMPONENTS
   (software page: hero chips, one-screen anatomy, comparison, workflow tour,
   screenshot lightbox; home/about: composite hero, process steps, sectors,
   stat band, CTA band)
   ========================================================================== */

/* ---- hero chips ---------------------------------------------------------- */
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; color: #dbe9f6;
  padding: 7px 13px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-chips li i { color: var(--cmd-cyan-300); font-size: 12px; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cmd-cyan-300); margin-bottom: 12px;
}

/* ---- software hero (V16) -------------------------------------------------- */
.swp-hero .swp-title { font-size: var(--fs-hero); line-height: 1.12; letter-spacing: -0.028em; color: var(--white); margin: 0 0 14px; max-width: 20ch; }
.swp-hero-grid { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: clamp(30px, 3.4vw, 42px); }
.swp-hero-grid .lead { font-size: var(--fs-lead); color: #c2d2e4; line-height: 1.75; max-width: 780px; margin: 0; }
.swp-hero-grid .lead strong { color: var(--white); }

/* ---- one-screen anatomy -------------------------------------------------- */
.anatomy { display: grid; gap: clamp(22px, 2.6vw, 34px); }
.anatomy-stage { position: relative; margin: 0; border-radius: 14px; box-shadow: var(--shadow-xl); }
.anatomy-stage .frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--gray-200); background: #0b1426; }
.anatomy-stage .frame-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  background: linear-gradient(180deg, var(--cmd-navy-800), var(--cmd-navy-850));
  color: #dbe6f3; font-size: 12px; font-weight: 700;
}
.anatomy-stage .frame-bar .d { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.anatomy-stage .frame-bar .t { margin-left: 8px; }
.anatomy-stage .frame-bar .tag {
  margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cmd-navy-950); background: linear-gradient(135deg, var(--cmd-cyan-300), var(--cmd-cyan-200));
  padding: 2px 10px; border-radius: var(--radius-pill);
}
.anatomy-stage .shot { position: relative; }
.anatomy-stage .shot img { display: block; width: 100%; height: auto; }

.hs {
  position: absolute; left: var(--x); top: var(--y); z-index: 3;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; border: 2px solid #fff;
  display: grid; place-items: center;
  font-family: var(--font-heading); font-size: 14px; font-weight: 800;
  cursor: pointer; padding: 0;
  box-shadow: 0 6px 16px -4px rgba(6, 11, 22, 0.6);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.hs::before {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid currentColor; opacity: 0;
  animation: hsPulse 2.6s ease-out infinite;
}
.hs.is-cnc { background: linear-gradient(135deg, var(--cmd-blue-700), var(--cmd-blue-500)); color: #fff; }
.hs.is-cad { background: linear-gradient(135deg, var(--cmd-cyan-500), var(--cmd-cyan-300)); color: var(--cmd-navy-950); }
.hs:hover, .hs.is-on, .hs:focus-visible { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.4), 0 10px 24px -6px rgba(6, 11, 22, 0.7); }
@keyframes hsPulse { 0% { transform: scale(0.7); opacity: 0.85; } 80%, 100% { transform: scale(1.45); opacity: 0; } }

.anatomy-legend { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 26px); }
.legend-group {
  background: var(--white); border: var(--hairline); border-radius: var(--radius-lg);
  padding: clamp(18px, 2vw, 24px); box-shadow: var(--shadow-card);
  border-top: 3px solid var(--cmd-blue-500);
}
.legend-group.is-cad { border-top-color: var(--cmd-cyan-400); }
.legend-group h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 17px; margin: 0 0 4px; }
.legend-group > p { font-size: 13.5px; color: var(--gray-600); margin: 0 0 10px; line-height: 1.6; }
.legend-group ol { list-style: none; margin: 0; padding: 0; }
.legend-group li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px; margin: 0 -10px;
  border-radius: var(--radius-sm);
  border-top: 1px solid var(--gray-100);
  transition: background 0.2s ease;
}
.legend-group li:first-child { border-top: 0; }
.legend-group li b {
  flex: 0 0 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-heading); font-size: 12.5px; font-weight: 800;
  color: #fff; background: linear-gradient(135deg, var(--cmd-blue-700), var(--cmd-blue-500));
  margin-top: 1px;
}
.legend-group.is-cad li b { color: var(--cmd-navy-950); background: linear-gradient(135deg, var(--cmd-cyan-500), var(--cmd-cyan-300)); }
.legend-group li strong { display: block; font-size: 14px; color: var(--cmd-navy-950); line-height: 1.35; }
.legend-group li span { display: block; font-size: 13px; color: var(--gray-600); line-height: 1.55; margin-top: 2px; }
.legend-group li:hover, .legend-group li.is-on { background: linear-gradient(135deg, rgba(10, 118, 189, 0.07), rgba(34, 211, 238, 0.08)); }
.anatomy-note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 13px 16px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(10, 118, 189, 0.07), rgba(34, 211, 238, 0.07));
  border: 1px solid rgba(10, 118, 189, 0.16);
  font-size: 13.75px; color: var(--gray-700); line-height: 1.6;
}
.anatomy-note i { color: var(--cmd-blue-500); margin-top: 3px; }
@media (max-width: 860px) {
  .anatomy-legend { grid-template-columns: 1fr; }
  .hs { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 11px; border-width: 1.5px; }
  .hs::before { inset: -5px; }
}

/* ---- comparison: separate programs vs one program ----------------------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.compare-card { border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.compare-card.is-old { background: var(--white); border: 1px dashed var(--gray-300); }
.compare-card.is-new {
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, var(--cmd-blue-500), var(--cmd-cyan-300)) border-box;
  border: 2px solid transparent; box-shadow: var(--shadow-xl);
}
.compare-card h3 { font-size: 19px; margin: 0; display: flex; align-items: center; gap: 12px; }
.compare-card h3 i { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.compare-card.is-old h3 i { background: var(--gray-100); color: var(--gray-500); }
.compare-card.is-new h3 i { background: linear-gradient(135deg, var(--cmd-navy-900), var(--cmd-blue-600)); color: var(--cmd-cyan-300); }
.compare-card > p { margin: 0; font-size: 14px; color: var(--gray-600); line-height: 1.65; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0; }
.flow li { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; line-height: 1.2; padding: 7px 11px; border-radius: var(--radius-sm); }
.flow li i { font-size: 11px; opacity: 0.8; }
.flow-arrow { padding: 0 !important; background: none !important; border: 0 !important; color: var(--gray-400); font-size: 10px !important; }
.compare-card.is-old .flow li:not(.flow-arrow) { background: var(--gray-50); border: 1px solid var(--gray-200); color: var(--gray-600); }
.compare-card.is-new .flow li:not(.flow-arrow) { background: linear-gradient(135deg, rgba(10, 118, 189, 0.09), rgba(34, 211, 238, 0.10)); border: 1px solid rgba(10, 118, 189, 0.2); color: var(--cmd-navy-900); }
.compare-card .flow-box { border-radius: var(--radius-md); padding: 12px; position: relative; }
.compare-card.is-old .flow-box { background: repeating-linear-gradient(135deg, #fafcfe 0 10px, #f4f7fb 10px 20px); border: 1px solid var(--gray-200); }
.compare-card.is-new .flow-box { background: linear-gradient(160deg, rgba(34, 211, 238, 0.07), rgba(10, 118, 189, 0.05)); border: 1.5px solid rgba(8, 145, 178, 0.4); padding-top: 20px; }
.compare-card.is-new .flow-box::before {
  content: attr(data-label); position: absolute; top: -10px; left: 14px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--white); color: #0b6b82; padding: 1px 9px; border-radius: var(--radius-pill);
  border: 1px solid rgba(8, 145, 178, 0.4);
}
.compare-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.compare-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.75px; line-height: 1.55; color: var(--gray-700); }
.compare-list li i { margin-top: 3px; flex-shrink: 0; font-size: 13px; }
.compare-card.is-old .compare-list li i { color: var(--gray-400); }
.compare-card.is-new .compare-list li i { color: var(--cmd-cyan-500); }
.compare-vs {
  align-self: center; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 14px; letter-spacing: 0.04em;
  color: var(--cmd-cyan-300); background: linear-gradient(135deg, var(--cmd-navy-900), var(--cmd-blue-600));
  box-shadow: 0 0 0 7px rgba(34, 211, 238, 0.13), var(--shadow-brand);
}
@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr; }
  .compare-vs { justify-self: center; }
}

/* ---- workflow tour ("Çizimden Kesime Neler Var?") ------------------------- */
.tour {
  background: var(--white); border-radius: calc(var(--radius-lg) + 6px);
  border: 1px solid rgba(10, 118, 189, 0.14);
  box-shadow: var(--shadow-xl); overflow: hidden;
}
.tour-tabs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, #f6f9fd 0%, #eef4fa 100%);
  border-bottom: 1px solid var(--gray-200);
}
.tour-tab {
  appearance: none; background: transparent; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 16px clamp(12px, 1.4vw, 20px);
  font-family: var(--font-main); color: var(--gray-600);
  border-right: 1px solid var(--gray-200);
  position: relative; transition: background 0.25s ease, color 0.25s ease;
  min-height: 78px;
}
.tour-tab:last-child { border-right: 0; }
.tour-tab .n {
  flex: 0 0 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 15px;
  color: var(--cmd-blue-600); background: var(--white); border: 1.5px solid rgba(10, 118, 189, 0.3);
  transition: var(--transition);
}
.tour-tab .t { display: flex; flex-direction: column; gap: 2px; font-size: 13.75px; font-weight: 750; color: var(--cmd-navy-900); line-height: 1.3; }
.tour-tab .t small { font-size: 10.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gray-500); }
.tour-tab::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, var(--cmd-blue-500), var(--cmd-cyan-300));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.tour-tab:hover { background: rgba(255, 255, 255, 0.7); }
.tour-tab.is-active { background: var(--white); }
.tour-tab.is-active::after { transform: scaleX(1); }
.tour-tab.is-active .n { color: var(--white); border-color: transparent; background: linear-gradient(135deg, var(--cmd-blue-600), var(--cmd-cyan-400)); box-shadow: var(--shadow-brand); }
.tour-tab.is-done .n { color: var(--cmd-cyan-500); border-color: rgba(8, 145, 178, 0.45); }

.tour-panel { display: none; grid-template-columns: 1.1fr 1fr; gap: clamp(22px, 3vw, 44px); padding: clamp(22px, 3vw, 40px); align-items: start; }
.tour-panel.is-active { display: grid; animation: tourIn 0.45s var(--ease) both; }
@keyframes tourIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tour-media { margin: 0; }
.tour-media .op-window { box-shadow: var(--shadow-lg); }
.tour-media .op-window img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; cursor: zoom-in; }
.tour-media figcaption { font-size: 12.5px; color: var(--gray-500); margin-top: 10px; display: flex; gap: 7px; align-items: center; }
.tour-media figcaption i { color: var(--cmd-blue-400); }
.tour-body .sw-pill { margin-bottom: 12px; }
.tour-body h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); margin: 0 0 10px; color: var(--cmd-navy-950); }
.tour-body > p { font-size: 14.75px; color: var(--gray-700); line-height: 1.75; margin: 0 0 14px; }
.tour-list { list-style: none; margin: 0 0 20px; padding: 0; }
.tour-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.75px; color: var(--gray-700); line-height: 1.55;
  padding: 8px 0; border-top: 1px solid var(--gray-100);
}
.tour-list li:first-child { border-top: 0; }
.tour-list li i { color: var(--cmd-cyan-500); margin-top: 3px; font-size: 12.5px; flex-shrink: 0; }
.tour-list li em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #b07d25; background: rgba(245, 165, 36, 0.12); padding: 1px 7px; border-radius: var(--radius-pill); margin-left: 4px; white-space: nowrap; }
.tour-nav { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tour-nav .count { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--gray-500); }
.tour-foot {
  display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 16px clamp(22px, 3vw, 40px);
  background: linear-gradient(90deg, #0b1426, #102a52);
  color: #c2d2e4; font-size: 13.75px; line-height: 1.6;
}
.tour-foot strong { color: var(--white); }
.tour-foot i { color: var(--cmd-cyan-300); margin-right: 6px; }
@media (max-width: 1100px) {
  .tour-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tab { flex: 0 0 auto; min-width: 210px; }
}
@media (max-width: 900px) { .tour-panel { grid-template-columns: 1fr; } }

/* ---- screenshot lightbox ------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2100;
  background: rgba(3, 8, 18, 0.92); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(14px, 3vw, 40px);
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1400px, 100%); max-height: calc(100vh - 140px);
  border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  background: #fff;
}
.lightbox .lb-cap { margin-top: 14px; color: #dbe6f3; font-size: 14px; font-weight: 650; text-align: center; }
.lightbox .lb-btn {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24); color: #fff; font-size: 16px;
  transition: var(--transition);
}
.lightbox .lb-btn:hover { background: var(--cmd-cyan-300); color: var(--cmd-navy-950); border-color: var(--cmd-cyan-300); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }
[data-lightbox] { cursor: zoom-in; }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band {
  display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: calc(var(--radius-lg) + 6px);
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(34, 211, 238, 0.22) 0%, transparent 60%),
    linear-gradient(135deg, #0b1426 0%, #10284d 60%, #0b3a6b 100%);
  color: #c2d2e4; box-shadow: var(--shadow-xl);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(100% 120% at 90% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(100% 120% at 90% 0%, #000 0%, transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); margin: 0 0 8px; }
.cta-band p { margin: 0; font-size: 15px; line-height: 1.7; max-width: 680px; color: #c2d2e4; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---- home: composite hero visual (machine + the program on it) ----------- */
.hero-composite { position: relative; padding: 0 0 34px 0; }
.hero-composite .hc-photo {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.28);
  box-shadow: var(--shadow-dark), var(--glow-cyan);
  aspect-ratio: 4 / 3.1;
}
.hero-composite .hc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-composite .hc-window {
  position: absolute; left: -28px; bottom: 0; width: 62%;
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 60px -18px rgba(0, 0, 0, 0.85);
  background: #0b1426;
}
.hero-composite .hc-window .bar {
  display: flex; align-items: center; gap: 5px; padding: 6px 10px;
  background: linear-gradient(180deg, var(--cmd-navy-800), var(--cmd-navy-850));
  font-size: 10.5px; font-weight: 700; color: #dbe6f3;
}
.hero-composite .hc-window .bar .d { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.hero-composite .hc-window .bar .t { margin-left: 6px; }
.hero-composite .hc-window img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-composite .hc-pill {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--cmd-navy-950); background: linear-gradient(135deg, var(--cmd-cyan-300), var(--cmd-cyan-200));
  box-shadow: 0 10px 26px -10px rgba(34, 211, 238, 0.8);
}
@media (max-width: 1024px) {
  .hero-composite { max-width: 620px; margin-inline: auto; width: 100%; }
  .hero-composite .hc-window { left: 12px; }
}

/* ---- feature points (icon + text rows) ----------------------------------- */
.point-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.point-list li { display: flex; gap: 14px; align-items: flex-start; }
.point-list li .ic {
  flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(10, 118, 189, 0.12), rgba(34, 211, 238, 0.16));
  color: var(--cmd-blue-500); font-size: 16px;
}
.point-list li strong { display: block; font-size: 15px; color: var(--cmd-navy-950); margin-bottom: 2px; }
.point-list li span { display: block; font-size: 13.75px; color: var(--gray-600); line-height: 1.6; }
.surface-navy .point-list li strong, .surface-dark .point-list li strong { color: var(--white); }
.surface-navy .point-list li span, .surface-dark .point-list li span { color: #a9bccf; }
.surface-navy .point-list li .ic, .surface-dark .point-list li .ic { background: linear-gradient(140deg, rgba(34, 211, 238, 0.18), rgba(10, 118, 189, 0.22)); color: var(--cmd-cyan-300); }

/* stacked two-screen visual (draw → simulate) */
.screen-stack { position: relative; padding: 0 0 76px 64px; }
.screen-stack .op-window { box-shadow: var(--shadow-lg); }
.screen-stack .op-window.is-back { position: absolute; left: 0; bottom: 0; width: 62%; box-shadow: var(--shadow-xl); z-index: 2; }
@media (max-width: 720px) { .screen-stack { padding: 0 0 54px 22px; } }

/* ---- process steps ------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 22px); list-style: none; padding: 0; margin: 0; counter-reset: step; position: relative; }
.process::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 28px; height: 2px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.1), rgba(34, 211, 238, 0.55), rgba(34, 211, 238, 0.1));
}
.process-step { position: relative; text-align: center; padding: 0 4px; }
.process-step .num {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  font-size: 20px; color: var(--cmd-cyan-300);
  background: linear-gradient(135deg, #0f2246, #0b3a6b);
  border: 1px solid rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.08);
}
.process-step .num::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-heading); font-size: 11.5px; font-weight: 800;
  color: var(--cmd-navy-950); background: var(--cmd-cyan-300);
}
.process-step h3 { font-size: 15.5px; margin: 0 0 6px; }
.process-step p { font-size: 13.25px; line-height: 1.6; margin: 0; }
.surface-1 .process-step .num, .surface-2 .process-step .num { background: linear-gradient(135deg, var(--cmd-navy-900), var(--cmd-blue-600)); }
.surface-1 .process-step p, .surface-2 .process-step p { color: var(--gray-600); }
@media (max-width: 1024px) {
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .process::before { display: none; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .process-step { text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; }
  .process-step .num { margin: 0; grid-row: span 2; }
}

/* ---- sector / experience chips ------------------------------------------- */
.sector-cloud { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; justify-content: center; }
.sector-cloud li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 650; color: var(--cmd-navy-900);
}
.sector-cloud li i { color: var(--cmd-blue-500); }
.sector-cloud li.is-main { border-color: rgba(10, 118, 189, 0.35); background: linear-gradient(135deg, rgba(10, 118, 189, 0.07), rgba(34, 211, 238, 0.08)); }

/* ---- stat band ------------------------------------------------------------ */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-band .stat {
  background: var(--white); border: var(--hairline); border-radius: var(--radius-md);
  padding: 20px 22px; box-shadow: var(--shadow-card); border-left: 3px solid var(--cmd-cyan-400);
}
.stat-band .stat b { display: block; font-family: var(--font-heading); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 800; color: var(--cmd-navy-950); letter-spacing: -0.02em; line-height: 1.1; }
.stat-band .stat span { display: block; font-size: 13px; color: var(--gray-600); margin-top: 4px; line-height: 1.5; }
@media (max-width: 860px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }

/* ---- expertise cards (about) --------------------------------------------- */
.expert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.expert-card { background: var(--white); border: var(--hairline); border-radius: var(--radius-lg); padding: clamp(20px, 2.2vw, 26px); box-shadow: var(--shadow-card); }
.expert-card .feature-icon-wrap { margin-bottom: 14px; }
.expert-card h3 { font-size: 17px; margin: 0 0 6px; }
.expert-card p { font-size: 13.75px; color: var(--gray-600); line-height: 1.65; margin: 0 0 12px; }
.expert-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.expert-card ul li { font-size: 11.75px; font-weight: 700; color: var(--cmd-blue-600); background: rgba(10, 118, 189, 0.08); padding: 4px 10px; border-radius: var(--radius-pill); }
@media (max-width: 1024px) { .expert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .expert-grid { grid-template-columns: 1fr; } }

/* ---- product group intro -------------------------------------------------- */
.group-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 10px 24px; padding-bottom: 14px; margin-bottom: 26px; border-bottom: 2px solid var(--cmd-blue-500); }
.group-head h2 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); color: var(--cmd-navy-950); margin: 8px 0 6px; }
.group-head p { font-size: 14px; color: var(--gray-600); margin: 0; max-width: 760px; line-height: 1.65; }
.product-group { margin-bottom: clamp(48px, 5vw, 70px); }
.product-group:last-child { margin-bottom: 0; }

/* project cards (V16) */
.project-body h3 { font-size: 18.5px; margin: 10px 0 10px; color: var(--cmd-navy-950); line-height: 1.32; }
.project-body p { font-size: 13.75px; color: var(--gray-600); line-height: 1.65; margin-bottom: 14px; }
.project-body .proj-points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.project-body .proj-points li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--gray-700); line-height: 1.5; }
.project-body .proj-points li i { color: var(--cmd-cyan-500); margin-top: 3px; font-size: 11.5px; }
.project-body .btn { margin-top: auto; width: 100%; justify-content: center; }
.project-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.spec-badge.is-one { background: linear-gradient(135deg, rgba(10, 118, 189, 0.12), rgba(34, 211, 238, 0.16)); color: #0b6b82; }

.btn-md { padding: 12px 22px; font-size: 14px; min-height: 46px; }

.hero-visual-card.hero-composite { padding: 0 0 34px; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
.app-grid.is-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .app-grid.is-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .app-grid.is-3 { grid-template-columns: 1fr; } }
a.product-card { color: inherit; }
.sector-cloud li a:hover { color: var(--cmd-blue-600) !important; }
.hero-title .hero-sub { display: inline-block; font-size: 0.7em; line-height: 1.18; margin-top: 8px; letter-spacing: -0.02em; }

/* contact tiles (about page) */
.contact-tiles { display: flex; flex-direction: column; gap: 14px; }
.contact-tile {
  display: flex; gap: 16px; align-items: center;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 18px 20px;
}
.contact-tile .ic {
  flex: 0 0 48px; height: 48px; border-radius: var(--radius-sm);
  display: grid; place-items: center; font-size: 20px;
  background: rgba(10, 118, 189, 0.1); color: var(--cmd-blue-500);
}
.contact-tile small { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--gray-500); }
.contact-tile strong { display: block; font-size: 15px; font-weight: 750; color: var(--cmd-navy-950); line-height: 1.5; }
.contact-tile strong a { color: var(--cmd-navy-950); }
.contact-tile strong a:hover { color: var(--cmd-blue-500); }
.panel-glass .icon-list li { border-bottom-color: rgba(255, 255, 255, 0.08); font-size: 14px; }

/* project story (V16: built from projects-data.js) */
.story-block { padding: 0 0 26px; margin: 0 0 26px; border-bottom: 1px solid var(--gray-100); }
.story-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.story-block h3 { display: flex; align-items: center; gap: 12px; font-size: 20px; color: var(--cmd-navy-950); margin-bottom: 10px; }
.story-n {
  flex: 0 0 auto; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--cmd-blue-600); background: rgba(10, 118, 189, 0.09); border: 1px solid rgba(10, 118, 189, 0.2);
  padding: 3px 8px; border-radius: var(--radius-sm);
}
.story-block p { font-size: 15px; color: var(--gray-700); line-height: 1.8; margin: 0 0 12px; }
.story-block p:last-child { margin-bottom: 0; }
.story-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.story-list.is-cols { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 2px 22px; }
.story-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--gray-700); line-height: 1.6; padding: 6px 0; }
.story-list li i { color: var(--cmd-cyan-500); margin-top: 4px; font-size: 13px; flex-shrink: 0; }
.story-list li strong { color: var(--cmd-navy-950); }
#projHeroImg { cursor: zoom-in; }
.media-slot img { cursor: zoom-in; }

/* detail page banner + hero */
.detail-title { font-size: var(--fs-h1); margin-bottom: 12px; color: var(--white); }
.detail-sub { font-size: var(--fs-lead); color: var(--gray-300); max-width: 860px; line-height: 1.7; }
.detail-hero-img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; display: block; background: #0b1426; }

.detail-hero-img.is-drawing { object-fit: contain; padding: 20px; background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #eef4fb 55%, #dde8f4 100%); }
/* the filter strip bleeds to the edge on phones; match the 16px gutter below 420px */
@media (max-width: 420px) { .filter-bar { margin-inline: -16px; padding-inline: 16px; } }

/* ==========================================================================
   V17 — REVISION: cleaner transitions, stronger contrast, simpler software page
   ========================================================================== */

/* section edges: no grey gradient bands between dark and light sections */
.sw-fade { display: none !important; }
.swp-hero { background: var(--surface-dark); padding: clamp(46px, 5.4vw, 80px) 0; }

/* contrast: white text on buttons and bands needs a darker blue */
.btn-primary { background: linear-gradient(135deg, var(--cmd-blue-700) 0%, var(--cmd-blue-500) 100%); }
.btn-primary:hover { background: linear-gradient(135deg, var(--cmd-blue-600) 0%, var(--cmd-cyan-600) 100%); }
.app-tile-band.is-integrated { background: linear-gradient(90deg, var(--cmd-blue-700) 0%, var(--cmd-cyan-600) 100%); }
.section-desc { color: var(--gray-700); }
.feature-card p, .project-body p, .app-tile p, .product-card p { color: var(--gray-700); }
.surface-navy .feature-card p, .surface-dark .feature-card p { color: #b9c9dc; }
.section-subtitle { color: var(--cmd-blue-600); }
.surface-2 { background: #f1f5f9; }
.surface-blueprint { background: linear-gradient(180deg, #eef4fa 0%, #e6eef7 100%); }
.surface-blueprint::before { opacity: 0.6; }

/* ---- software page hero: text left, one framed screen right ------------- */
.swh-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.swh-grid h1 { font-size: var(--fs-hero); line-height: 1.12; letter-spacing: -0.028em; color: var(--white); margin: 0 0 16px; }
.swh-grid .lead { font-size: var(--fs-lead); color: #c2d2e4; line-height: 1.75; margin: 0 0 20px; }
.swh-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.swh-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: #e2ebf5; line-height: 1.55; }
.swh-points li i { color: var(--cmd-cyan-300); margin-top: 4px; font-size: 13px; }
.swh-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.swh-visual { position: relative; }
.swh-visual .op-window { border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 30px 70px -26px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(34, 211, 238, 0.18); }
.swh-visual .op-window img { aspect-ratio: 16 / 9; object-fit: cover; }
.swh-visual .swh-tag {
  position: absolute; left: 18px; bottom: -16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--cmd-navy-950); background: linear-gradient(135deg, var(--cmd-cyan-300), var(--cmd-cyan-200));
  box-shadow: 0 12px 28px -10px rgba(34, 211, 238, 0.7);
}
@media (max-width: 960px) { .swh-grid { grid-template-columns: 1fr; } .swh-visual { margin-bottom: 16px; } }

/* ---- anatomy, compact legend (V17) -------------------------------------- */
.anat-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: var(--hairline); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-card); overflow: hidden; }
.anat-col { padding: clamp(18px, 2.2vw, 26px); }
.anat-col + .anat-col { border-left: 1px solid var(--gray-200); }
.anat-col h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin: 0 0 4px; color: var(--cmd-navy-950); }
.anat-col h3 .dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.anat-col.is-cnc h3 .dot { background: var(--cmd-blue-500); }
.anat-col.is-cad h3 .dot { background: var(--cmd-cyan-400); }
.anat-col > p { font-size: 13.5px; color: var(--gray-600); margin: 0 0 12px; }
.anat-col ol { list-style: none; margin: 0; padding: 0; }
.anat-col li { display: flex; gap: 12px; align-items: baseline; padding: 8px 8px; margin: 0 -8px; border-radius: var(--radius-sm); font-size: 13.75px; color: var(--gray-700); line-height: 1.5; transition: background 0.2s ease; }
.anat-col li b {
  flex: 0 0 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center;
  font-family: var(--font-heading); font-size: 11.5px; font-weight: 800; transform: translateY(-1px);
}
.anat-col.is-cnc li b { color: #fff; background: var(--cmd-blue-600); }
.anat-col.is-cad li b { color: var(--cmd-navy-950); background: var(--cmd-cyan-300); }
.anat-col li strong { color: var(--cmd-navy-950); }
.anat-col li:hover, .anat-col li.is-on { background: #eef4fa; }
.anat-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.anat-benefits div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md); background: #f1f5f9; border: 1px solid var(--gray-200); font-size: 13.75px; color: var(--gray-700); line-height: 1.55; }
.anat-benefits i { color: var(--cmd-blue-500); font-size: 16px; margin-top: 2px; }
.anat-benefits strong { display: block; color: var(--cmd-navy-950); font-size: 14px; }
@media (max-width: 860px) {
  .anat-legend { grid-template-columns: 1fr; }
  .anat-col + .anat-col { border-left: 0; border-top: 1px solid var(--gray-200); }
  .anat-benefits { grid-template-columns: 1fr; }
}

/* ---- home: single hero visual (V17) ------------------------------------- */
.hero-single { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(34, 211, 238, 0.28); box-shadow: var(--shadow-dark), var(--glow-cyan); background: #0b1426; }
.hero-single img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-single figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(6, 11, 22, 0) 0%, rgba(6, 11, 22, 0.88) 45%);
  color: #dbe6f3; font-size: 13.5px; font-weight: 600;
}
.hero-single figcaption .tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em; color: var(--cmd-navy-950); background: linear-gradient(135deg, var(--cmd-cyan-300), var(--cmd-cyan-200)); }
.single-screen .op-window { box-shadow: var(--shadow-xl); }
.single-screen .op-window img { aspect-ratio: 16 / 9; object-fit: cover; }
.single-screen .steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; padding: 0; }
.single-screen .steps li { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--cmd-navy-900); padding: 7px 12px; border-radius: var(--radius-pill); background: #eef4fa; border: 1px solid rgba(10, 118, 189, 0.18); }
.single-screen .steps li b { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; color: #fff; background: var(--cmd-blue-600); }

/* ---- about: current focus vs past experience (V17) ---------------------- */
.focus-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.focus-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 20px; border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #0f2246 0%, #0b1426 100%);
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: #c2d2e4; box-shadow: var(--shadow-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.focus-card:hover { transform: translateY(-4px); border-color: var(--cmd-cyan-300); color: #c2d2e4; }
.focus-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; color: var(--cmd-navy-950); background: linear-gradient(135deg, var(--cmd-cyan-300), var(--cmd-cyan-200)); }
.focus-card h3 { color: var(--white); font-size: 16.5px; margin: 4px 0 0; line-height: 1.3; }
.focus-card p { font-size: 13px; line-height: 1.6; margin: 0; color: #b9c9dc; flex-grow: 1; }
.focus-card .go { font-size: 12.5px; font-weight: 750; color: var(--cmd-cyan-300); display: inline-flex; gap: 6px; align-items: center; }
.focus-label { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cmd-blue-600); }
.focus-label::after { content: ''; flex: 1; height: 1px; background: var(--gray-300); }
.focus-label .pill { padding: 3px 10px; border-radius: var(--radius-pill); font-size: 10.5px; letter-spacing: 0.08em; }
.focus-label .pill.is-now { color: #fff; background: var(--cmd-green); }
.focus-label .pill.is-past { color: var(--gray-700); background: var(--gray-200); }
.past-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.past-list li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--gray-300); font-size: 13.75px; color: var(--gray-600); }
.past-list li i { width: 18px; text-align: center; color: var(--gray-400); }
@media (max-width: 1100px) { .focus-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .focus-grid { grid-template-columns: 1fr 1fr; } .past-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .focus-grid, .past-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   V18 — side-by-side anatomy, tidy "one program" showcase on the home page
   ========================================================================== */
.anat-side { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(24px, 3vw, 44px); align-items: center; }
.anat-side .anatomy-stage .frame { border-radius: 12px; }
.anat-panel .section-subtitle { margin-bottom: 8px; }
.anat-panel h2 { font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.6rem); line-height: 1.25; color: var(--cmd-navy-950); margin: 0 0 8px; }
.anat-panel > p { font-size: 14px; color: var(--gray-700); margin: 0 0 14px; line-height: 1.6; }
.anat-group { padding: 12px 0; border-top: 1px solid var(--gray-200); }
.anat-group h3 { display: flex; align-items: center; gap: 9px; font-size: 14.5px; margin: 0 0 6px; color: var(--cmd-navy-950); }
.anat-group h3 small { font-family: var(--font-main); font-size: 12px; font-weight: 600; color: var(--gray-500); }
.anat-group h3 .dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.anat-group.is-cnc h3 .dot { background: var(--cmd-blue-500); }
.anat-group.is-cad h3 .dot { background: var(--cmd-cyan-400); }
.anat-group ol { list-style: none; margin: 0; padding: 0; }
.anat-group li { display: flex; gap: 10px; align-items: center; padding: 5px 8px; margin: 0 -8px; border-radius: var(--radius-sm); font-size: 13.5px; color: var(--gray-700); line-height: 1.4; transition: background 0.2s ease; }
.anat-group li b { flex: 0 0 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-family: var(--font-heading); font-size: 11.5px; font-weight: 800; }
.anat-group.is-cnc li b { color: #fff; background: var(--cmd-blue-600); }
.anat-group.is-cad li b { color: var(--cmd-navy-950); background: var(--cmd-cyan-300); }
.anat-group li strong { color: var(--cmd-navy-950); font-weight: 700; }
.anat-group li:hover, .anat-group li.is-on { background: #eef4fa; }
.anat-side + .anat-benefits { margin-top: clamp(22px, 2.6vw, 32px); }
@media (max-width: 1100px) { .anat-side { grid-template-columns: 1fr; } }

/* home: one screen + vertical steps */
.flow-showcase { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(26px, 3.6vw, 52px); align-items: center; }
.flow-showcase .op-window { box-shadow: var(--shadow-xl); }
.flow-showcase .op-window img { aspect-ratio: 16 / 9; object-fit: cover; }
.vsteps { list-style: none; margin: 0 0 24px; padding: 0; position: relative; }
.vsteps::before { content: ''; position: absolute; left: 19px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(180deg, var(--cmd-blue-500), var(--cmd-cyan-300)); opacity: 0.35; }
.vsteps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 0 16px; padding: 10px 0; }
.vsteps li .n { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--cmd-blue-700), var(--cmd-blue-500)); box-shadow: 0 0 0 5px #fff; z-index: 1; }
.vsteps li strong { font-size: 15.5px; color: var(--cmd-navy-950); line-height: 1.3; padding-top: 2px; }
.vsteps li span { font-size: 13.75px; color: var(--gray-700); line-height: 1.55; }
.surface-2 .vsteps li .n { box-shadow: 0 0 0 5px #f1f5f9; }
@media (max-width: 960px) { .flow-showcase { grid-template-columns: 1fr; } }

/* ==========================================================================
   V19 — wider content, larger screens, separated media cards, about page
   ========================================================================== */
:root { --container: 1440px; }
.container { padding: 0 40px; }
@media (max-width: 1024px) { .container { padding: 0 24px; } }
@media (max-width: 720px)  { .container { padding: 0 18px; } }
@media (max-width: 420px)  { .container { padding: 0 16px; } }
@media (max-width: 420px)  { .filter-bar { margin-inline: -16px; padding-inline: 16px; } }

/* bigger one-screen anatomy */
.anat-side { grid-template-columns: 1.85fr 1fr; }

/* application tabs: two screenshots as separate framed cards (not glued together) */
.media-grid { gap: clamp(18px, 2.2vw, 28px); }
.media-slot { background: var(--white); padding: 10px; border: 1px solid var(--gray-200); box-shadow: var(--shadow-card); }
.media-slot .frame { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #eef4fb; }
.media-slot figcaption { border-top: 0; padding: 12px 4px 4px; background: transparent; }

/* software hero: key capabilities strip + application links */
.hero-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(30px, 3.4vw, 44px); padding-top: clamp(24px, 2.6vw, 30px); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hero-specs div { display: flex; gap: 12px; align-items: flex-start; }
.hero-specs i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; font-size: 16px; color: var(--cmd-cyan-300); background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.28); }
.hero-specs strong { display: block; color: var(--white); font-size: 14.5px; margin-bottom: 2px; }
.hero-specs span { display: block; color: #a9bccf; font-size: 12.75px; line-height: 1.5; }
.hero-apps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 12.5px; color: #a9bccf; }
.hero-apps a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: var(--radius-pill); color: #dbe6f3; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); font-weight: 650; }
.hero-apps a:hover { color: var(--cmd-navy-950); background: var(--cmd-cyan-300); border-color: var(--cmd-cyan-300); }
@media (max-width: 960px) { .hero-specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hero-specs { grid-template-columns: 1fr; } }

/* about: software first, then the services that complete it */
.core-stack { display: grid; gap: 12px; margin: 6px 0 22px; }
.core-main {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center;
  padding: 18px 20px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0b1426 0%, #10284d 70%, #0b3a6b 100%);
  border: 1px solid rgba(34, 211, 238, 0.3); box-shadow: var(--shadow-lg); color: #c2d2e4;
}
.core-main:hover { color: #c2d2e4; border-color: var(--cmd-cyan-300); transform: translateY(-2px); }
.core-main .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; color: var(--cmd-navy-950); background: linear-gradient(135deg, var(--cmd-cyan-300), var(--cmd-cyan-200)); }
.core-main small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cmd-cyan-300); }
.core-main strong { display: block; font-family: var(--font-heading); font-size: 18px; color: var(--white); margin: 2px 0; }
.core-main span { font-size: 13.5px; line-height: 1.55; }
.core-main > i { color: var(--cmd-cyan-300); font-size: 18px; }
.core-label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); margin: 4px 0 0; }
.core-supports { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.core-supports a { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px; border-radius: var(--radius-md); background: var(--gray-50); border: 1px solid var(--gray-200); font-size: 13px; font-weight: 700; color: var(--cmd-navy-900); line-height: 1.35; }
.core-supports a i { color: var(--cmd-blue-500); font-size: 16px; }
.core-supports a:hover { border-color: var(--cmd-blue-400); background: var(--white); }
@media (max-width: 760px) { .core-supports { grid-template-columns: 1fr 1fr; } }

/* about: hybrid "why CMD / how we work" on navy — each step carries its reason */
.process-step .why {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 11.75px; font-weight: 700; line-height: 1.35; text-align: left;
  color: var(--cmd-cyan-200); padding: 6px 10px; border-radius: var(--radius-sm);
  background: rgba(34, 211, 238, 0.10); border: 1px solid rgba(34, 211, 238, 0.24);
}
.process-step .why i { color: var(--cmd-cyan-300); }

/* about: current applications in sector colours */
.focus-card {
  --acc: var(--cmd-blue-500); --acc-soft: rgba(10, 118, 189, 0.10);
  background: var(--white); border: 1px solid var(--gray-200); border-top: 4px solid var(--acc);
  color: var(--gray-700); box-shadow: var(--shadow-card);
}
.focus-card:hover { border-color: var(--acc); border-top-color: var(--acc); color: var(--gray-700); box-shadow: var(--shadow-lg); }
.focus-card .ic { color: var(--acc); background: var(--acc-soft); }
.focus-card h3 { color: var(--cmd-navy-950); }
.focus-card p { color: var(--gray-700); }
.focus-card .go { color: var(--acc); }
.focus-card.is-stone   { --acc: #0a76bd; --acc-soft: rgba(10, 118, 189, 0.11); }
.focus-card.is-foam    { --acc: #0891b2; --acc-soft: rgba(8, 145, 178, 0.12); }
.focus-card.is-wood    { --acc: #b07d25; --acc-soft: rgba(176, 125, 37, 0.13); }
.focus-card.is-textile { --acc: #6d5bd0; --acc-soft: rgba(109, 91, 208, 0.12); }
.focus-card.is-scan    { --acc: #0f8f7a; --acc-soft: rgba(15, 143, 122, 0.12); }

/* V19b — process chips sit on one baseline */
@media (min-width: 561px) {
  .process-step:has(.why) { display: flex; flex-direction: column; align-items: center; }
  .process-step:has(.why) p { margin-bottom: 14px; }
  .process-step .why { margin-top: auto; }
}
@media (max-width: 560px) {
  .process-step .why { grid-column: 2; justify-self: start; margin-top: 10px; }
}


/* ==========================================================================
   V20 — application sub-menu as a second row of the header
   Same navy as the header, plain text tabs, the active one marked by the
   cyan underline the main navigation uses. Solid colour, so it reads the
   same over light and dark panels.
   ========================================================================== */
.proj-tabs {
  top: var(--tabs-top, var(--header-h));
  background: #08101f;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(34, 211, 238, 0.16);
  box-shadow: 0 12px 26px -20px rgba(0, 0, 0, 0.8);
}
.proj-tabs-inner { gap: 2px; padding-top: 0; padding-bottom: 0; min-height: 54px; align-items: stretch; }
.proj-tabs-label {
  align-self: center; color: rgba(185, 201, 220, 0.62);
  margin-right: 10px; padding-right: 16px; line-height: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.proj-tab {
  position: relative; border: 0; border-radius: 0; min-height: 0;
  padding: 0 16px; font-size: 14px; color: #b9c9dc; background: transparent;
}
.proj-tab i { color: rgba(103, 232, 249, 0.72); }
.proj-tab::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--cmd-cyan-400), var(--cmd-cyan-200));
  transform: scaleX(0); transition: transform 0.25s ease;
}
.proj-tab:hover { background: rgba(255, 255, 255, 0.04); border: 0; color: var(--white); }
.proj-tab.active { background: transparent; border: 0; box-shadow: none; color: var(--white); }
.proj-tab.active i { color: var(--cmd-cyan-300); }
.proj-tab.active::after { transform: scaleX(1); }
.proj-tab:focus-visible { outline: 2px solid var(--cmd-cyan-300); outline-offset: -6px; }
@media (max-width: 720px) {
  .proj-tabs-inner { min-height: 48px; }
  .proj-tab { padding: 0 13px; font-size: 13px; }
  .proj-tab::after { left: 13px; right: 13px; }
}

/* ==========================================================================
   V22 — four languages: orbit language switcher + CJK fonts
   The current flag sits in a round "globe" button; on hover (tap on touch)
   the four flags swing out on an arc below-left of it, like the globe
   widget of the old site. Everything stays inside the viewport.
   ========================================================================== */
.lang-switch.lang-orbit { --r: 52px; --dial: 168px; width: 42px; height: 42px; flex-shrink: 0; }
.lang-orbit .lang-current {
  position: relative;
  width: 42px; height: 42px; min-height: 0; padding: 0; gap: 0;
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 32% 26%, rgba(34, 211, 238, 0.28), rgba(255, 255, 255, 0.05) 62%);
  border: 1px solid rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.07);
}
.lang-orbit:hover .lang-current, .lang-orbit:focus-within .lang-current, .lang-orbit.open .lang-current {
  border-color: var(--cmd-cyan-300); box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.14);
}
.lang-orbit .lang-flag, .lang-orbit .lang-current .lang-flag {
  display: block; width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.9), 0 2px 6px rgba(0, 0, 0, 0.35);
}
.lang-orbit .lang-flag svg { display: block; width: 100%; height: 100%; }
.lang-orbit .lang-current .lang-globe {
  position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--cmd-cyan-400); color: #062431; font-size: 10px;
  box-shadow: 0 0 0 2px #08101f;
}
.lang-orbit .lang-globe i { transition: transform 0.7s var(--ease); }
.lang-orbit:hover .lang-globe i, .lang-orbit.open .lang-globe i { transform: rotate(200deg); }

/* the dial: a round panel under the button, flags on a dashed orbit around a globe */
.lang-orbit .lang-menu {
  position: absolute; top: calc(100% + 12px); right: -8px; left: auto;
  width: var(--dial); height: var(--dial); min-width: 0; padding: 0; margin: 0;
  display: block; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #14294c 0%, #0b1528 68%, #08101f 100%);
  border: 1px solid rgba(34, 211, 238, 0.3);
  box-shadow: 0 26px 50px -18px rgba(0, 0, 0, 0.8), inset 0 0 34px rgba(34, 211, 238, 0.07);
  opacity: 0; visibility: hidden;
  transform: scale(0.35); transform-origin: calc(100% - 29px) -20px;
  transition: opacity 0.2s ease, transform 0.38s cubic-bezier(0.2, 0.9, 0.25, 1.15), visibility 0s linear 0.38s;
  z-index: 1002;
}
.lang-orbit:hover .lang-menu, .lang-orbit:focus-within .lang-menu, .lang-orbit.open .lang-menu {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
/* hover bridge across the gap between the button and the dial */
.lang-orbit .lang-menu::before { content: ''; position: absolute; top: -16px; right: 0; left: auto; width: 64px; height: 18px; }
/* dashed orbit, turning slowly */
.lang-orbit .lang-menu::after {
  content: ''; position: absolute; inset: calc(50% - var(--r)); border-radius: 50%;
  border: 1px dashed rgba(34, 211, 238, 0.4);
  animation: lang-orbit-spin 30s linear infinite;
}
@keyframes lang-orbit-spin { to { transform: rotate(360deg); } }
.lang-orbit .lang-hub {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; display: grid; place-items: center; z-index: 1;
  color: var(--cmd-cyan-300); font-size: 22px;
  background: radial-gradient(circle at 35% 30%, rgba(34, 211, 238, 0.22), rgba(34, 211, 238, 0.05));
  border: 1px solid rgba(34, 211, 238, 0.3);
  transition: opacity 0.18s ease, transform 0.3s var(--ease);
}
.lang-orbit .lang-menu:has(.lang-dot:hover) .lang-hub,
.lang-orbit .lang-menu:has(.lang-dot:focus-visible) .lang-hub { opacity: 0; transform: scale(0.7); }

.lang-orbit .lang-menu a.lang-dot {
  --a: calc(-135deg + var(--i) * 90deg);
  position: absolute; z-index: 2; left: 50%; top: 50%;
  width: 40px; height: 40px; min-height: 0; margin: -20px 0 0 -20px; padding: 0; gap: 0;
  display: grid; place-items: center; border-radius: 50%;
  background: #0b1630; border: 1px solid rgba(34, 211, 238, 0.4);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: scale(0.3);
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.2), opacity 0.2s ease,
              border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.lang-orbit:hover .lang-menu a.lang-dot, .lang-orbit:focus-within .lang-menu a.lang-dot, .lang-orbit.open .lang-menu a.lang-dot {
  opacity: 1;
  transform: translate(calc(cos(var(--a)) * var(--r)), calc(sin(var(--a)) * var(--r)));
  transition-delay: calc(80ms + var(--i) * 50ms), calc(80ms + var(--i) * 50ms), 0s, 0s, 0s;
}
.lang-orbit .lang-menu a.lang-dot .lang-flag { width: 30px; height: 30px; }
.lang-orbit .lang-menu a.lang-dot:hover, .lang-orbit .lang-menu a.lang-dot:focus-visible {
  background: #12284a; border-color: var(--cmd-cyan-300); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.22);
}
.lang-orbit .lang-menu a.lang-dot.is-active { border-color: var(--cmd-cyan-300); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.3); }
.lang-orbit .lang-menu a.is-active::after { content: none; }
/* the language name shows in the centre of the dial, where the globe was */
.lang-orbit .lang-name {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  transform: translate(-50%, -50%) translate(calc(cos(var(--a)) * var(--r) * -1), calc(sin(var(--a)) * var(--r) * -1)) scale(0.85);
  white-space: nowrap; font-size: 12.5px; font-weight: 700; line-height: 1.2; color: var(--white);
  opacity: 0; pointer-events: none; transition: opacity 0.18s ease, transform 0.25s var(--ease);
}
.lang-orbit .lang-menu a.lang-dot:hover .lang-name, .lang-orbit .lang-menu a.lang-dot:focus-visible .lang-name {
  opacity: 1;
  transform: translate(-50%, -50%) translate(calc(cos(var(--a)) * var(--r) * -1), calc(sin(var(--a)) * var(--r) * -1));
}
@media (prefers-reduced-motion: reduce) {
  .lang-orbit .lang-menu, .lang-orbit .lang-menu a.lang-dot, .lang-orbit .lang-globe i { transition: none; }
  .lang-orbit .lang-menu::after { animation: none; }
}

/* Chinese pages: CJK fallbacks behind the Latin web fonts */
html[lang^="zh"] {
  --font-main: 'Plus Jakarta Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', sans-serif;
  --font-heading: 'Space Grotesk', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', sans-serif;
}
html[lang^="zh"] body { line-height: 1.75; }
html[lang^="zh"] .section-subtitle, html[lang^="zh"] .badge-flag-cyan { letter-spacing: 0.04em; }

/* V22b — with the round language button the menu sits further right, so the
   "Applications" panel (third item from the end) also opens towards the left */
@media (min-width: 1025px) {
  .nav-item:nth-last-child(3) .mega-dropdown { left: auto; right: 0; }
}

/* V23 — the products menu has a single (CMZ) column for now */
.mega-single { grid-template-columns: 340px; min-width: 0; }

/* ==========================================================================
   V24 — CMZ product photos on their original white ground (2026-11-16)
   The background-removed cut-outs left shadow residue; the original photos are
   used instead and their white is dropped into the light tile with multiply.
   ========================================================================== */
.product-thumb-wrap.is-blend img,
.gallery-stage.is-blend img,
.gallery-thumb.is-blend img {
  mix-blend-mode: multiply;
  filter: none;
}
.product-thumb-wrap.is-blend img { max-height: 168px; }

/* ==========================================================================
   V26 — phone layout pass (2026-11-16)
   Roomier, easier to tap and read on a phone: one-line contact bar, the
   "one screen" anatomy stacked, less box-in-box padding in the software
   panels, larger small print and 40px+ tap targets. Desktop is untouched.
   ========================================================================== */

/* the anatomy two-column grid was re-declared after its own breakpoint — restore stacking */
@media (max-width: 1100px) {
  .anat-side { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  /* --- contact bar: one calm line (call + documents); e-mail lives in the bottom bar --- */
  .top-bar-inner { justify-content: space-between; flex-wrap: nowrap; gap: 12px; min-height: 36px; }
  .top-bar-left, .top-bar-right { flex-wrap: nowrap; gap: 0; min-width: 0; }
  .top-bar-left a[href^="mailto:"] { display: none; }
  .top-bar a { white-space: nowrap; font-size: 12.5px; padding: 8px 0; }
  .top-bar .top-bar-docs { overflow: hidden; text-overflow: ellipsis; }

  /* --- rhythm --- */
  .section-padding { padding: 44px 0; }
  .section-head { margin-bottom: 22px; }
  p { overflow-wrap: break-word; }

  /* --- small print up to a readable size --- */
  .section-subtitle, .swh-grid .kicker { font-size: 12.5px; }
  .app-tile-band .tag { font-size: 11px; }
  .app-tile-band { font-size: 13px; }
  .app-tile-sector, .product-card-cat { font-size: 12px; }
  .hero-stat-item p { font-size: 12px; line-height: 1.4; }
  .project-meta .spec-badge { font-size: 12.5px; }
  .project-img-wrap .project-tag { font-size: 11.5px; }
  .spec-row dt { font-size: 12px; }
  .compat-chip { font-size: 12.5px; }
  .tour-tab .t small { font-size: 11px; }
  .badge-flag-cyan { font-size: 12.25px; }
  .op-window-bar .t { font-size: 12px; }
  .anat-group h3 small { font-size: 12.5px; }
  .panel-dark p { font-size: 13.5px; }
  .vsteps li span { font-size: 14px; }
  .footer-contact-item { font-size: 14px; }

  /* --- "one screen" anatomy: screenshot full width, legend below as roomy rows --- */
  .anat-side { gap: 20px; }
  .anat-panel h2 { font-size: 1.35rem; }
  .anat-panel > p { font-size: 14.5px; }
  .anat-group { padding: 14px 0; }
  .anat-group h3 { font-size: 15.5px; flex-wrap: wrap; margin-bottom: 8px; }
  .anat-group li { font-size: 14.5px; line-height: 1.5; padding: 9px 10px; margin: 0 -10px; align-items: flex-start; gap: 12px; }
  .anat-group li b { flex-basis: 26px; height: 26px; font-size: 12.5px; }
  /* numbered hotspots on the screenshot: keep the dot small, widen the touch area */
  .hs::after { content: ''; position: absolute; inset: -10px; }

  /* --- software panels: less padding around boxes that sit inside boxes --- */
  .one-prog { padding: 28px 12px 16px; }
  .sw-integrated-box { padding: 16px 10px 12px; }
  .sw-module { padding: 16px 14px; border-radius: var(--radius-md); }
  .sw-module-head { gap: 12px; margin-bottom: 14px; }
  .sw-module-head .ico { width: 40px; height: 40px; }
  .media-grid { grid-template-columns: 1fr; gap: 14px; }
  .sw-panel-head p { font-size: 15px; line-height: 1.7; }

  /* --- sticky tab bars: fade on the right edge shows there is more to swipe --- */
  .proj-tabs-inner, .tour-tabs {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
    padding-right: 30px;
    scroll-snap-type: x proximity;
  }
  .proj-tab, .tour-tab { scroll-snap-align: start; }
  .proj-tab { font-size: 13.5px; padding: 9px 13px; min-height: 44px; }
  .tour-tab { min-width: 172px; }

  /* --- specification cards --- */
  .specs-table td { padding: 11px 14px; font-size: 14px; }
  /* label band spans the whole card (an inline width used to leave it half-width) */
  .specs-table td:first-child { font-size: 12px; width: 100% !important; padding: 8px 14px; }

  /* --- tap targets --- */
  .hero-apps a { min-height: 40px; padding: 8px 14px; font-size: 13.5px; }
  .footer-links a { padding: 9px 0; font-size: 14.5px; }
  .footer-links li { margin: 0; }
  .footer-contact-item a { display: inline-block; padding: 6px 0; margin: -6px 0; }
  .footer-bottom-links { gap: 2px 6px; justify-content: center; }
  .footer-bottom-links a { padding: 10px 9px; font-size: 13.5px; }
  .video-caption a { display: inline-block; padding: 10px 6px; font-size: 13.5px; }
  .back-link, .detail-back { display: inline-flex; align-items: center; min-height: 40px; }

  /* --- forms: 16px stops iOS from zooming into the field --- */
  .form-input, .form-select, .form-textarea { font-size: 16px; min-height: 48px; }
  .form-textarea { min-height: 110px; }

  /* --- bottom bar: slightly larger labels --- */
  .mobile-action-bar a { font-size: 11.5px; min-height: 52px; }
  .mobile-action-bar a i { font-size: 17px; }
  .site-footer { padding-bottom: 100px; }
}

@media (max-width: 380px) {
  .top-bar .top-bar-docs { display: none; }
  .top-bar-inner { justify-content: center; }
}

/* ==========================================================================
   V27 — roomier phone layout (2026-11-17)
   Dark canvas past the page edges; no fixed bottom bar (call button in the
   header instead); 24px gutter and 64px section rhythm; software panels
   without box-in-box; screenshots edge to edge; software hero with the
   application links as a 2×2 grid; the one-screen legend folds away.
   Desktop only changes where noted (hero tags removed in the HTML).
   ========================================================================== */

/* what a phone shows past the top/bottom edge (overscroll, toolbar areas) matches header and footer */
html { background-color: #060b16; }
body { background-color: var(--white); }

/* call button in the pinned header: phones only */
.nav-call { display: none; }
/* folding legend button of the one-screen anatomy: phones only */
.anat-fold { display: none; }

@media (max-width: 720px) {
  /* --- header call button (the bottom bar is gone) --- */
  .nav-call {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: var(--radius-sm);
    color: var(--cmd-cyan-300); font-size: 17px;
    background: rgba(34, 211, 238, 0.10);
    border: 1px solid rgba(34, 211, 238, 0.32);
    transition: var(--transition);
  }
  .nav-call:active { background: rgba(34, 211, 238, 0.22); }
  .nav-actions { gap: 8px; }
  .site-footer { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .main-nav { padding-bottom: 48px; }

  /* --- air: gutter and vertical rhythm --- */
  .container { padding: 0 24px; }
  .filter-bar { margin-inline: -24px; padding-inline: 24px; }
  .section-padding { padding: 64px 0; }
  .section-head { margin-bottom: 30px; }
  .section-padding p { line-height: 1.75; }
  .app-grid { gap: 22px; }

  /* --- software panels: content sits straight on the section background --- */
  .sw-integrated-box { border: 0; background: none; padding: 0; border-radius: 0; margin-top: 8px; }
  .sw-integrated-box > .sw-integrated-label { position: static; margin-bottom: 22px; }
  .sw-module { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; margin-bottom: 44px; }
  .sw-module + .sw-module { padding-top: 36px; border-top: 1px solid rgba(8, 145, 178, 0.22); }
  .sw-module-head { margin-bottom: 18px; }

  /* --- screenshots: no white frame, edge to edge --- */
  .media-grid { gap: 26px; }
  .media-slot { background: none; border: 0; box-shadow: none; padding: 0; overflow: visible; border-radius: 0; }
  .media-slot .frame { margin-inline: -24px; border-radius: 0; }
  .media-slot figcaption { padding: 10px 0 0; }

  /* --- side panels: less inner padding, specification rows as plain lines --- */
  .panel-light, .panel-dark { padding: 22px 20px; }
  .specs-table tr, .specs-table tr:nth-child(even) { border: 0; border-radius: 0; margin: 0; border-bottom: 1px solid var(--gray-100); background: none; }
  .specs-table td, .specs-table td:first-child { background: none; padding: 12px 0 2px; border: 0; }
  .specs-table td:first-child { padding-bottom: 0; }
  .specs-table td:last-child { padding: 2px 0 12px; }

  /* --- software hero: the application links as an even 2×2 grid under their label --- */
  .hero-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; font-size: 13px; }
  .hero-apps a { justify-content: center; min-height: 48px; padding: 10px 12px; font-size: 14px; border-radius: var(--radius-md); }
  .hero-apps a:nth-of-type(1) { grid-area: 2 / 1; }
  .hero-apps a:nth-of-type(2) { grid-area: 2 / 2; }
  .hero-apps a:nth-of-type(3) { grid-area: 3 / 1; }
  .hero-apps a:nth-of-type(4) { grid-area: 3 / 2; }

  /* --- one-screen anatomy: screenshot edge to edge, legend behind one button, no benefit boxes --- */
  .anat-side .anatomy-stage { margin-inline: -24px; border-radius: 0; }
  .anat-fold {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 46px; padding: 10px 18px; margin-top: 4px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(8, 145, 178, 0.45); background: var(--white);
    color: #0b6b82; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer;
  }
  .anat-fold i { font-size: 12px; transition: transform 0.25s ease; }
  .anat-panel.is-open .anat-fold i { transform: rotate(180deg); }
  .anat-panel:not(.is-open) .anat-group { display: none; }
  .anat-panel.is-open .anat-fold { margin-bottom: 8px; }
  .anat-benefits { display: none; }
}

@media (max-width: 380px) {
  .container { padding: 0 20px; }
  .filter-bar { margin-inline: -20px; padding-inline: 20px; }
  .media-slot .frame, .anat-side .anatomy-stage { margin-inline: -20px; }
}

/* V27 — full software screenshots on cards (foam): shown whole, never cropped; the dark ground
   matches the screenshot's own edges so the letterbox does not show */
.app-tile-media.is-screen, .project-img-wrap.is-screen { background: #0d1017; }
.app-tile-media.is-screen img, .project-img-wrap.is-screen img { object-fit: contain; }

/* V27 — an application card reached through a menu link (#mermer, #sunger…) lights up briefly */
.app-tile.is-target { box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.65), var(--shadow-xl); }
