/* ============================================================
   CNC Machine World — Stylesheet v3
   Professional light theme, mobile-first, bilingual RO/EN
   ============================================================ */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(179, 54, 34, .06), transparent 28%),
    linear-gradient(180deg, #fcfcfa 0%, #f4f1eb 100%);
  color: #1e293b;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --font-body: 'Segoe UI', 'Aptos', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Bahnschrift', 'DIN Alternate', 'Franklin Gothic Medium', 'Arial Narrow', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', 'SFMono-Regular', monospace;

  /* Light content palette */
  --bg:       #fcfcfa;
  --bg-2:     #f3efe8;
  --bg-3:     #e5ded1;
  --surface:  #fffdfa;
  --surface-2:#f6f0e7;
  --border:   rgba(30,41,59,.10);
  --border-2: rgba(30,41,59,.20);

  /* Dark zone palette (header, hero, footer) */
  --navy:     #101a2a;
  --navy-2:   #182233;
  --navy-3:   #243041;

  /* Accent */
  --accent:   #c44a2c;
  --accent-h: #a63c22;
  --accent-light: rgba(196,74,44,.10);
  --sand:     #d8c7aa;
  --steel:    #5f6c7a;

  /* Typography */
  --text:     #1f2937;
  --text-2:   #586473;
  --text-3:   #7c8794;
  --white:    #ffffff;
  --color-navy: var(--navy);

  /* Misc */
  --header-h: 68px;
  --r:        20px;
  --ease:     .2s ease;
  --ease-long:.42s ease;
  --shadow-card: 0 14px 34px rgba(16,24,40,.08);
  --shadow-lg:   0 28px 60px rgba(16,24,40,.16);
}

/* ── Language ───────────────────────────────────────────────── */
body:not(.lang-en) .lang-en { display: none !important; }
body.lang-en .lang-ro        { display: none !important; }

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: .01em;
  color: #0f172a;
  text-transform: uppercase;
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
h4 { font-size: 1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-muted  { color: var(--text-2); }
.text-accent { color: var(--accent); }
.text-white  { color: #fff; }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: .8rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: .8rem;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section        { padding: 88px 0; }
.section-sm     { padding: 52px 0; }
.section-xs     { padding: 32px 0; }
.section-alt    { background: var(--bg-2); }
.section-dark   { background: var(--navy); }

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header p { color: var(--text-2); max-width: 780px; margin-top: .6rem; }
.section-header.centered p { margin-inline: auto; }

/* Legacy alias */
.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; }
.section-head p { color: var(--text-2); max-width: 780px; margin-top: .6rem; }
.section-head.center p { margin-inline: auto; }

/* Grids */
.grid   { display: grid; gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.55rem;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(185,28,28,.3);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-2);
}
.btn-outline-dark:hover {
  background: var(--bg-3);
  border-color: var(--text-3);
  color: var(--text);
}
/* btn-outline-dark inside dark sections */
.section-dark .btn-outline-dark,
.page-banner .btn-outline-dark,
#footer .btn-outline-dark {
  color: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.25);
}
.section-dark .btn-outline-dark:hover,
.page-banner .btn-outline-dark:hover {
  color: #fff;
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.08);
}

.btn-sm { padding: .48rem 1.15rem; font-size: .81rem; }
.btn-lg { padding: .9rem 2.2rem; font-size: .97rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Header ──────────────────────────────────────────────────── */
#header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  background: rgba(15,30,56,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  z-index: 1000;
  transition: box-shadow var(--ease);
}
#header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.35); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.logo img { width: 96px; height: auto; }

/* Nav */
.nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: .1rem; }

.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: .28rem;
  padding: .44rem .8rem;
  font-size: .855rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  border-radius: 5px;
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
  letter-spacing: .01em;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-link.active { color: #fff; background: rgba(255,255,255,.07); }
.caret { font-size: .58rem; transition: transform var(--ease); opacity: .6; }
.nav-item:hover .caret { transform: rotate(180deg); opacity: 1; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 185px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all var(--ease);
  z-index: 200;
  padding: .3rem;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: none;
}
.dropdown a {
  display: block;
  padding: .55rem .8rem;
  font-size: .845rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 4px;
  transition: all var(--ease);
}
.dropdown a:hover { color: var(--accent); background: var(--bg-2); }

/* Lang toggle */
.lang-toggle {
  display: flex;
  gap: .2rem;
  margin-left: 1.2rem;
  padding-left: 1.2rem;
  border-left: 1px solid rgba(255,255,255,.12);
}
.lang-btn {
  padding: .26rem .58rem;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: rgba(255,255,255,.38);
  transition: all var(--ease);
}
.lang-btn:hover { color: rgba(255,255,255,.8); }
.lang-btn.active {
  color: #fff;
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: .5rem;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,.8); border-radius: 2px;
  transition: all var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Page wrapper ────────────────────────────────────────────── */
.page-wrapper { padding-top: var(--header-h); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: calc(100svh - var(--header-h));
  min-height: 540px;
  max-height: 840px;
  overflow: hidden;
  background: var(--navy);
}

.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.slide-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,18,34,.88) 30%, rgba(10,18,34,.4) 100%);
}
.slide.active { opacity: 1; }

.hero-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center;
}
.hero-text { max-width: 680px; }

.hero-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: .35rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: -.025em;
}
.hero h1 span { color: inherit; }

.hero p {
  font-size: 1.08rem;
  color: rgba(255,255,255,.68);
  margin-bottom: 2.25rem;
  line-height: 1.72;
  max-width: 580px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-home {
  min-height: 760px;
  max-height: none;
}

.hero-home .slide::after {
  background:
    linear-gradient(110deg, rgba(10,18,34,.90) 18%, rgba(10,18,34,.58) 54%, rgba(10,18,34,.82) 100%),
    radial-gradient(circle at 82% 28%, rgba(196,74,44,.30), transparent 25%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .9fr);
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .9rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.78);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-kicker::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(196,74,44,.16);
}

.hero-home .hero-text {
  max-width: 720px;
}

.hero-home h1 {
  max-width: 12ch;
  margin-bottom: 1.2rem;
  line-height: .98;
  text-wrap: balance;
}

.hero-home p {
  max-width: 58ch;
  font-size: 1rem;
}

.hero-subline {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.2rem;
  margin: 2rem 0 0;
  color: rgba(255,255,255,.72);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-subline span {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.hero-subline span::before {
  content: '';
  width: 18px;
  height: 1px;
  background: rgba(255,255,255,.3);
}

.hero-panel {
  position: relative;
  padding: 1.4rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 50px rgba(0,0,0,.24);
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(216,199,170,.16), transparent 35%),
    linear-gradient(180deg, transparent 0%, rgba(196,74,44,.08) 100%);
  pointer-events: none;
}

.hero-panel-head,
.hero-panel-foot {
  position: relative;
  z-index: 1;
}

.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.hero-panel-head span,
.hero-panel-foot span {
  color: rgba(255,255,255,.72);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-chip {
  padding: .38rem .72rem;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
}

.hero-metric-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}

.hero-metric {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(10,18,34,.42);
  border: 1px solid rgba(255,255,255,.08);
}

.hero-metric strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
  margin-bottom: .35rem;
}

.hero-metric span {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  line-height: 1.5;
}

.hero-note {
  position: relative;
  z-index: 1;
  margin-top: .9rem;
  padding: 1rem 1.05rem;
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
}

.hero-note p {
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: .88rem;
  line-height: 1.65;
}

.hero-panel-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.hero-home .slider-dots {
  bottom: 1.4rem;
}

/* ── Home redesign ───────────────────────────────────────────── */
.command-band {
  background:
    linear-gradient(135deg, rgba(16,26,42,.98), rgba(24,34,51,.98)),
    var(--navy);
  color: #fff;
}

.command-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.command-intro {
  padding-right: 1rem;
}

.command-intro p {
  color: rgba(255,255,255,.66);
}

.command-card {
  padding: 1.35rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.04);
}

.command-card .overline {
  display: block;
  margin-bottom: .55rem;
  color: rgba(216,199,170,.75);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.command-card h3 {
  color: #fff;
  margin-bottom: .45rem;
}

.command-card p {
  color: rgba(255,255,255,.62);
  font-size: .88rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.showcase-card {
  position: relative;
  min-height: 280px;
  padding: 1.45rem;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.showcase-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  transition: transform .5s ease;
  z-index: -2;
}

.showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,26,42,.08) 0%, rgba(16,26,42,.86) 100%),
    linear-gradient(135deg, transparent 35%, rgba(196,74,44,.22) 100%);
  z-index: -1;
}

.showcase-card:hover::before {
  transform: scale(1.06);
}

.showcase-grid .showcase-card:nth-child(1)::before {
  background-image: url('../images/products/mvp10.jpg');
}

.showcase-grid .showcase-card:nth-child(2)::before {
  background-image: url('../images/products/5a-65e.jpg');
}

.showcase-grid .showcase-card:nth-child(3)::before {
  background-image: url('../images/products/hmc.jpg');
}

.showcase-grid .showcase-card:nth-child(4)::before {
  background-image: url('../images/software/rhinocam-mill.webp');
}

.showcase-card.large {
  grid-column: span 7;
  min-height: 420px;
}

.showcase-card.tall {
  grid-column: span 5;
  min-height: 420px;
}

.showcase-card.wide {
  grid-column: span 6;
}

.showcase-content {
  max-width: 28rem;
}

.showcase-index {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .8rem;
  color: rgba(255,255,255,.74);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.showcase-index::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,.35);
}

.showcase-card h3 {
  color: #fff;
  margin-bottom: .55rem;
}

.showcase-card p {
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  max-width: 48ch;
}

.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1rem;
  color: #fff;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.story-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 2rem;
  align-items: center;
}

.story-media {
  position: relative;
  min-height: 560px;
}

.story-main,
.story-float {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.story-main {
  inset: 0 10% 0 0;
}

.story-float {
  width: 48%;
  right: 0;
  bottom: 8%;
  border: 8px solid var(--surface);
}

.story-main img,
.story-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.capability-list {
  display: grid;
  gap: .8rem;
  margin-top: 1.5rem;
}

.capability-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.capability-item:first-child {
  border-top: none;
  padding-top: 0;
}

.capability-key {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.capability-copy h3 {
  margin-bottom: .35rem;
}

.capability-copy p {
  color: var(--text-2);
  font-size: .92rem;
  margin: 0;
}

.home-stat-cluster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: 1.6rem;
}

.home-stat-block {
  padding: 1rem;
  border-radius: 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
}

.home-stat-block strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.home-stat-block span {
  color: var(--text-2);
  font-size: .8rem;
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.machine-panel {
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.machine-panel-media {
  height: 220px;
  background: var(--navy);
}

.machine-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.machine-panel-body {
  padding: 1.4rem;
}

.machine-panel-body p {
  color: var(--text-2);
  font-size: .9rem;
}

.software-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.software-mini-card {
  padding: 1.3rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #fffdfa, #f4ecdf);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.software-mini-card .code {
  display: inline-block;
  margin-bottom: .8rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.software-mini-card p {
  color: var(--text-2);
  font-size: .9rem;
}

.news-card {
  border-radius: 24px;
}

.cta-banner {
  background:
    radial-gradient(circle at 50% 0%, rgba(196,74,44,.22) 0%, transparent 38%),
    linear-gradient(135deg, #101a2a 0%, #243041 100%);
}

/* Slider */
.slider-dots {
  position: absolute;
  bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .5rem; z-index: 3;
}
.dot {
  width: 22px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.22);
  border: none; cursor: pointer;
  transition: all var(--ease);
}
.dot.active { background: var(--accent); width: 34px; }

.slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.8);
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  transition: all var(--ease);
}
.slider-arrow:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.35); color: #fff; }
.slider-arrow.prev { left: 2rem; }
.slider-arrow.next { right: 2rem; }

/* ── Page banner (inner pages) ───────────────────────────────── */
.page-banner {
  padding: 64px 0 56px;
  background:
    radial-gradient(ellipse 80% 110% at 110% -10%, rgba(50,100,200,.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80%  at -10% 110%, rgba(185,28,28,.14) 0%, transparent 55%),
    linear-gradient(130deg, #0d1f3c 0%, #162a48 55%, #0b1a30 100%);
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(185,28,28,.7) 20%, rgba(185,28,28,.7) 80%, transparent 100%);
}
.page-banner h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.8rem); }
.page-banner .breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  margin-top: .85rem; font-size: .82rem; color: rgba(255,255,255,.45);
}
.page-banner .breadcrumb a { color: rgba(255,255,255,.45); transition: color var(--ease); }
.page-banner .breadcrumb a:hover { color: rgba(255,255,255,.85); }
.page-banner .breadcrumb span { color: rgba(255,255,255,.3); }

/* ── Services strip ───────────────────────────────────────────── */
.services-strip {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.service-item {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
}
.service-item:last-child { border-right: none; }
.service-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: var(--r);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  color: var(--accent);
}
.service-item h3 { font-size: .97rem; color: #0f172a; margin-bottom: .35rem; }
.service-item p  { font-size: .85rem; color: var(--text-2); margin: 0; line-height: 1.55; }

/* ── Feature cards ────────────────────────────────────────────── */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: var(--r);
  padding: 1.85rem;
  transition: all var(--ease);
  position: relative;
  box-shadow: var(--shadow-card);
}
.feature-card:hover {
  border-top-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.icon-wrap {
  width: 46px; height: 46px;
  border-radius: var(--r);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1.15rem;
}
.feature-card h3 { font-size: 1rem; color: #0f172a; margin-bottom: .45rem; }
.feature-card p  { font-size: .86rem; color: var(--text-2); margin: 0; }

/* ── Product cards ────────────────────────────────────────────── */
/* Supports both .product-card-* (HTML) and .pc-* (legacy CSS) naming */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--ease);
  box-shadow: var(--shadow-card);
}
.product-card:hover {
  border-color: rgba(185,28,28,.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.13);
}

.product-card-img, .pc-img {
  height: 220px;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.product-card-img img, .pc-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform .5s ease;
}
.product-card:hover .product-card-img img,
.product-card:hover .pc-img img { transform: scale(1.05); }

.product-card-badge, .pc-badge {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--accent);
  color: #fff;
  font-size: .66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .18rem .55rem;
  border-radius: 50px;
}

.product-card-body, .pc-body {
  padding: 1.2rem 1.4rem;
  flex: 1;
  display: flex; flex-direction: column;
}
.product-card-cat, .pc-cat {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-3);
  margin-bottom: .35rem;
}
.product-card-body h3, .pc-body h3 {
  font-size: .97rem; color: #0f172a; margin-bottom: .5rem;
}
.product-card-body p, .pc-body p {
  font-size: .845rem; color: var(--text-2); flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer, .pc-footer {
  padding: .9rem 1.4rem;
  border-top: 1px solid var(--border);
  display: flex; gap: .5rem;
}

/* Filter bar */
.filter-bar { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .42rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border-2);
  background: transparent;
  font-size: .81rem; font-weight: 600;
  cursor: pointer;
  color: var(--text-2);
  transition: all var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Product detail page ──────────────────────────────────────── */
.product-hero {
  position: relative;
  min-height: 400px;
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.product-hero-info {
  padding: 64px 2rem 64px 0;
  display: flex; flex-direction: column; justify-content: center;
}
.product-hero-img {
  background: var(--navy-2);
  position: relative;
  overflow: hidden;
}
.product-hero-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 2.5rem;
  transition: transform .6s ease;
}
.product-hero-img:hover img { transform: scale(1.04); }

.product-cat-tag {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.6);
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: .25rem .75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.product-hero-info h2 { color: #fff; }
.product-hero-info p  { color: rgba(255,255,255,.65); }

.features-list { display: grid; grid-template-columns: repeat(2,1fr); gap: .9rem; margin-top: 1.75rem; }
.feat-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 3px solid var(--accent);
  padding: 1.15rem;
  border-radius: 0 var(--r) var(--r) 0;
}
.feat-item h4 { font-size: .88rem; color: #fff; margin-bottom: .28rem; }
.feat-item p  { font-size: .81rem; color: rgba(255,255,255,.55); margin: 0; line-height: 1.5; }

/* Feat items in light sections */
.section-alt .feat-item, .section .feat-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}
.section-alt .feat-item h4, .section .feat-item h4 { color: #0f172a; }
.section-alt .feat-item p,  .section .feat-item p  { color: var(--text-2); }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.spec-table caption {
  text-align: left;
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  padding-bottom: .75rem;
}
.spec-table th, .spec-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
  text-align: left;
}
.spec-table th {
  background: var(--bg-3);
  color: #0f172a;
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.spec-table td { color: var(--text-2); }
.spec-table tr:hover td { background: var(--bg-2); color: var(--text); }
.spec-table .row-label { color: #0f172a; font-weight: 600; }

/* Product images gallery */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.product-gallery img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: contain;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: .75rem;
  transition: all var(--ease);
}
.product-gallery img:hover { border-color: rgba(185,28,28,.3); transform: scale(1.02); box-shadow: var(--shadow-card); }

/* ── Stats / About ────────────────────────────────────────────── */
.about-img-wrap {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img, .about-img img { width: 100%; height: 440px; object-fit: cover; }

.about-stat-bar, .stats-bar {
  display: grid; grid-template-columns: repeat(3,1fr);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 2rem;
}
.about-stat, .stat-item {
  padding: 1.4rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.about-stat:last-child, .stat-item:last-child { border-right: none; }
.about-stat strong, .stat-item strong {
  display: block; font-size: 2rem; font-weight: 800;
  color: var(--accent); letter-spacing: -.04em;
}
.about-stat span, .stat-item span { font-size: .78rem; color: var(--text-2); }

/* ── Technology cards ─────────────────────────────────────────── */
.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: all var(--ease);
  box-shadow: var(--shadow-card);
}
.tech-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.12); border-color: var(--border-2); }
.tech-card-img { height: 175px; overflow: hidden; }
.tech-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tech-card:hover .tech-card-img img { transform: scale(1.07); }
.tech-card-body { padding: 1.25rem; }
.tech-card-body h3 { font-size: .95rem; color: #0f172a; margin-bottom: .4rem; }
.tech-card-body p  { font-size: .845rem; color: var(--text-2); margin: 0; }

/* section-dark overrides for tech cards (technology section uses section-dark) */
.section-dark .tech-card {
  background: var(--navy-2);
  border-color: rgba(255,255,255,.08);
}
.section-dark .tech-card-body h3 { color: #fff; }
.section-dark .tech-card-body p  { color: rgba(255,255,255,.55); }

/* ── Software pages ───────────────────────────────────────────── */
.sw-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.sw-intro img {
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.module-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-top: 2.5rem; }
.module-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.2rem;
  transition: all var(--ease);
}
.module-card:hover { border-color: rgba(185,28,28,.25); box-shadow: var(--shadow-card); }
.module-card .mod-ico { font-size: 1.5rem; margin-bottom: .6rem; }
.module-card h4 { font-size: .95rem; color: #0f172a; margin-bottom: .3rem; }
.module-card p  { font-size: .83rem; color: var(--text-2); margin: 0; }

.screenshot-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .85rem; margin-top: 2.5rem; }
.screenshot-grid img {
  border-radius: var(--r);
  border: 1px solid var(--border);
  transition: all var(--ease);
  box-shadow: var(--shadow-card);
}
.screenshot-grid img:hover { border-color: rgba(185,28,28,.3); transform: scale(1.02); }

/* ── Gallery ──────────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .85rem; }
.gallery-item {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--bg-2);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(15,30,56,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--ease);
}
.gallery-item-overlay span {
  width: 48px; height: 48px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  transform: scale(.7);
  transition: transform var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item:hover .gallery-item-overlay span { transform: scale(1); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.96);
  z-index: 9999;
  display: none;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: var(--r); }
.lb-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 1.2rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--ease);
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 1.5rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--ease);
}
.lb-arrow:hover { background: rgba(255,255,255,.22); }
.lb-arrow.prev { left: 1.25rem; }
.lb-arrow.next { right: 1.25rem; }

/* ── Contact ──────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }

.contact-info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.4rem;
}
.ci-icon {
  flex-shrink: 0; width: 42px; height: 42px;
  border-radius: var(--r);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; color: var(--accent);
}
.contact-info-item h4 {
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-3); margin-bottom: .2rem;
}
.contact-info-item p  { font-size: .93rem; color: var(--text); margin: 0; }
.contact-info-item a  { color: var(--text); transition: color var(--ease); }
.contact-info-item a:hover { color: var(--accent); }

.hours-table { width: 100%; border-collapse: collapse; font-size: .875rem; margin-top: .4rem; }
.hours-table td { padding: .35rem 0; border-bottom: 1px solid var(--border); color: var(--text-2); }
.hours-table td:last-child { text-align: right; color: var(--text); font-weight: 600; }

/* Contact form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}
.contact-form h3 { font-size: 1.25rem; margin-bottom: .5rem; color: #0f172a; }
.contact-form > p { color: var(--text-2); font-size: .875rem; margin-bottom: 1.75rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-label {
  display: block;
  font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-2);
  margin-bottom: .45rem;
}
.form-label .req { color: var(--accent); margin-left: 2px; }
.form-control {
  width: 100%; padding: .72rem 1rem;
  background: var(--bg-2);
  border: 1.5px solid var(--border-2);
  border-radius: var(--r);
  font-size: .9rem; font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color var(--ease), background var(--ease);
}
.form-control:focus { border-color: var(--accent); background: #fff; }
.form-control::placeholder { color: var(--text-3); }
textarea.form-control { resize: vertical; min-height: 130px; }

.form-msg { display: none; padding: .85rem 1.1rem; border-radius: var(--r); font-size: .875rem; font-weight: 500; margin-top: .85rem; }
.form-msg.success { display: block; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.25); color: #15803d; }
.form-msg.error   { display: block; background: rgba(185,28,28,.08); border: 1px solid rgba(185,28,28,.25); color: #991b1b; }

/* ── Video ────────────────────────────────────────────────────── */
.video-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.video-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-card); }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-card-body { padding: 1rem 1.25rem; }
.video-card-body h3 { font-size: .95rem; color: #0f172a; margin-bottom: .25rem; }
.video-card-body p  { font-size: .845rem; color: var(--text-2); margin: 0; }

/* ── News cards ───────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--ease);
  box-shadow: var(--shadow-card);
}
.news-card:hover {
  border-color: rgba(185,28,28,.25);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,.12);
}
.news-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex; flex-direction: column;
}
.news-card-meta {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: .85rem;
}
.news-card-date {
  font-size: .72rem; font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase; letter-spacing: .08em;
}
.news-card-tag {
  font-size: .66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent);
  background: var(--accent-light);
  padding: .15rem .55rem;
  border-radius: 50px;
}
.news-card h3 { font-size: 1rem; color: #0f172a; margin-bottom: .6rem; line-height: 1.4; }
.news-card p  { font-size: .855rem; color: var(--text-2); flex: 1; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.news-card-link {
  font-size: .82rem; font-weight: 600;
  color: var(--accent);
  display: flex; align-items: center; gap: .35rem;
  transition: gap var(--ease);
}
.news-card-link:hover { gap: .6rem; }

/* make entire news card clickable */
.news-card-link-wrap { display: contents; }

/* ── Article page ─────────────────────────────────────────────── */
.article-wrap {
  max-width: 800px;
  margin-inline: auto;
}
.article-meta {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 2rem;
}
.article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}
.article-body h2 {
  font-size: 1.45rem; font-weight: 700;
  color: var(--navy); margin: 2rem 0 .75rem;
}
.article-body h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy); margin: 1.5rem 0 .5rem;
  border-left: 3px solid var(--accent);
  padding-left: .75rem;
}
.article-body h4 {
  font-size: .975rem; font-weight: 700;
  color: var(--text); margin: 1.25rem 0 .4rem;
}
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol {
  margin: .5rem 0 1rem 1.5rem;
}
.article-body li { margin-bottom: .35rem; }
.article-body strong { color: var(--navy); }
.article-back { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }

/* ── CTA banner ───────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d50 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(185,28,28,.15) 0%, transparent 65%);
}
.cta-banner h2 { color: #fff; margin-bottom: .75rem; position: relative; }
.cta-banner p  { color: rgba(255,255,255,.72); font-size: 1.05rem; margin-bottom: 2rem; position: relative; }
.cta-banner .btn {
  background: var(--accent); color: #fff; border-color: var(--accent);
  font-size: .97rem;
  position: relative;
}
.cta-banner .btn:hover {
  background: var(--accent-h); border-color: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(185,28,28,.35);
}

/* ── Footer ───────────────────────────────────────────────────── */
#footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,.07); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { margin-bottom: 1.1rem; }
.footer-logo img {
  width: 86px;
  height: auto;
}
#footer > .container > .footer-grid > div > p { font-size: .855rem; color: rgba(255,255,255,.5); line-height: 1.7; }
.footer-title {
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { font-size: .855rem; color: rgba(255,255,255,.5); transition: color var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: .6rem; }
.footer-contact p { font-size: .855rem; color: rgba(255,255,255,.5); display: flex; gap: .6rem; align-items: flex-start; margin: 0; }
.footer-contact a { color: rgba(255,255,255,.5); transition: color var(--ease); }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--r);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .95rem;
  transition: all var(--ease);
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; color: rgba(255,255,255,.3);
}

/* ── section-dark content overrides ──────────────────────────── */
.section-dark .section-label, .section-dark .eyebrow { color: rgba(255,255,255,.5); }
.section-dark .section-label::before, .section-dark .eyebrow::before { background: rgba(255,255,255,.3); }
.section-dark h2 { color: #fff; }
.section-dark p  { color: rgba(255,255,255,.62); }

/* ── Scroll reveal ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Misc ─────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }

/* ── Map ──────────────────────────────────────────────────────── */
.map-wrap { height: 360px; overflow: hidden; border-bottom: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sw-intro { grid-template-columns: 1fr; gap: 2rem; }
  .product-hero { grid-template-columns: 1fr; }
  .product-hero-img { min-height: 300px; }
  .product-hero-info { padding: 2.5rem 0; }
  .hero-grid,
  .story-shell,
  .command-grid,
  .machine-grid,
  .software-rail { grid-template-columns: 1fr; }
  .showcase-card.large,
  .showcase-card.tall,
  .showcase-card.wide { grid-column: span 12; min-height: 320px; }
  .story-media { min-height: 420px; }
  .story-main { inset: 0 12% 0 0; }
  .home-stat-cluster { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .header-inner { padding-inline: 1rem; }
  .logo img { width: 82px; }
  .lang-btn {
    padding: .22rem .48rem;
    font-size: .68rem;
  }
  .hamburger { margin-left: .25rem; }

  /* Mobile nav */
  .nav-list {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: .75rem;
    gap: .1rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    box-shadow: 0 16px 40px rgba(0,0,0,.3);
  }
  .nav-list.open { display: flex; }
  .hamburger { display: flex; }
  .lang-toggle { margin-left: auto; padding-left: 0; border-left: none; }

  .nav-link { padding: .7rem 1rem; font-size: .9rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none;
    background: rgba(255,255,255,.04);
    border: none; margin-left: 1rem;
    padding: .2rem;
  }
  .dropdown a { color: rgba(255,255,255,.6); }
  .dropdown a:hover { color: #fff; background: rgba(255,255,255,.06); }

  /* Sections */
  .section { padding: 60px 0; }
  .hero { min-height: 0; max-height: none; }
  .hero-home {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .hero-home .hero-content {
    position: relative;
    inset: auto;
    display: block;
    padding: 4.5rem 0 5rem;
  }
  .hero-home .slide-media { object-position: center top; }
  .hero-grid {
    gap: 1.1rem;
    align-items: start;
  }
  .hero-home .hero-text { max-width: none; }
  .hero-kicker {
    font-size: .64rem;
    margin-bottom: .9rem;
  }
  .hero-home h1 {
    max-width: 13ch;
    font-size: clamp(2rem, 8vw, 2.9rem);
    margin-bottom: .9rem;
  }
  .hero-home p {
    font-size: .95rem;
    line-height: 1.55;
    margin-bottom: 1.6rem;
  }
  .hero-subline {
    gap: .7rem 1rem;
    margin-top: 1.5rem;
    font-size: .72rem;
  }
  .hero-home .slider-dots { bottom: 1rem; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2.keep-2 { grid-template-columns: repeat(2,1fr); }
  .grid-3.keep-2 { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .module-grid  { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }

  /* Services */
  .services-strip .grid-3 { grid-template-columns: 1fr; }
  .service-item { border-right: none; border-bottom: 1px solid var(--border); }
  .service-item:last-child { border-bottom: none; }

  .hero-panel {
    padding: 1rem;
    border-radius: 24px;
  }
  .hero-panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
  }
  .hero-chip { align-self: flex-start; }
  .hero-metric-grid,
  .home-stat-cluster { grid-template-columns: 1fr 1fr; }
  .hero-metric { padding: .9rem; }
  .hero-note {
    padding: .85rem .95rem;
    margin-top: .75rem;
  }
  .hero-note p { font-size: .84rem; }
  .hero-panel-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: .45rem;
  }
  .showcase-grid { grid-template-columns: 1fr; }
  .capability-item { grid-template-columns: 1fr; gap: .35rem; }
  .story-media { min-height: 360px; }
  .story-main { inset: 0 8% 0 0; }
  .story-float { width: 42%; bottom: 5%; }

  /* Stats */
  .about-stat-bar, .stats-bar { grid-template-columns: 1fr; }
  .about-stat, .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .about-stat:last-child, .stat-item:last-child { border-bottom: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .4rem; text-align: center; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .header-inner { padding-inline: .85rem; }
  .logo img { width: 74px; }
  .lang-toggle { gap: .15rem; }
  .lang-btn {
    padding: .2rem .42rem;
    font-size: .64rem;
  }
  .section { padding: 44px 0; }
  .section-header { margin-bottom: 2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; }
  .hero h1 { font-size: 1.9rem; }
  .hero-home .hero-content { padding: 5rem 0 4rem; }
  .hero-kicker {
    font-size: .6rem;
    padding: .42rem .75rem;
  }
  .hero-home p { font-size: .92rem; }
  .hero-actions { gap: .75rem; }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-subline { margin-top: 1.25rem; }
  .contact-form { padding: 1.4rem; }
  .hero-metric-grid,
  .home-stat-cluster { grid-template-columns: 1fr; }
  .story-media { min-height: 300px; }
  .story-main { inset: 0 16% 0 0; }
  .story-float { width: 50%; border-width: 6px; }
  .slider-arrow { display: none; }
}
