/* ============================================================
   INDAS Tech -- Shared Stylesheet
   Edit variables in :root for global rebranding
   ============================================================ */

/* -- BRAND VARIABLES -- */
:root {
  --paper:   #FFFFFF;
  --paper2:  #F5F7FA;
  --paper3:  #EBEEF3;
  --ink:     #1E293B;
  --ink2:    #334155;
  --steel:   #64748B;
  --mid:     #94A3B8;
  --light:   #CBD5E1;
  --r:       #C32A3C;
  --r2:      #A82030;
  --r3:      #E03348;
  --line:    rgba(71,85,105,.14);
  --line2:   rgba(71,85,105,.07);

  --font-serif: 'DM Serif Display', serif;
  --font-sans:  'DM Sans', sans-serif;
  --font-mono:  'IBM Plex Mono', monospace;

  --max-w: 1240px;
  --section-pad: 96px 48px;
}

/* -- RESET -- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* -- TYPOGRAPHY -- */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(38px, 4.2vw, 58px); }
h2 { font-size: clamp(30px, 3.8vw, 48px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); }
em { font-style: italic; color: var(--r); }

/* -- NAVBAR LANGUAGE FLAGS -- */
.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}
.nav-lang-globe {
  color: var(--mid);
  margin-right: 2px;
  flex-shrink: 0;
}
.lang-flag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 3px;
  color: var(--mid);
  opacity: .6;
  transition: opacity .2s, background .2s, color .2s;
  display: block;
}
.lang-flag:hover { opacity: 1; color: var(--steel); }
.lang-flag.lang-active { opacity: 1; color: var(--ink); background: var(--paper3); }

/* -- NAVBAR -- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(30,41,59,.08); }
.nav-logo img { display: block; height: 34px; width: auto; }
.nav-logo { transition: opacity .3s, transform .3s; }
.nav-logo.hidden { opacity: 0; transform: translateY(-4px); pointer-events: none; }
.nav-lang {
  transition: transform .4s ease, border-color .4s ease;
}
nav.hero-visible .nav-lang {
  border-right-color: transparent;
}
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 6px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--steel);
  border-radius: 5px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--paper2); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta {
  padding: 8px 18px !important;
  background: var(--r) !important;
  color: white !important;
  border-radius: 5px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--r2) !important; color: white !important; }

/* -- BUTTONS -- */
.btn-r {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--r);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: 5px;
  transition: background .2s, transform .15s;
}
.btn-r:hover { background: var(--r2); transform: translateY(-1px); color: white; }

.btn-o {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1.5px solid var(--light);
  color: var(--ink2);
  font-weight: 500;
  font-size: 14px;
  border-radius: 5px;
  background: white;
  transition: border-color .2s;
}
.btn-o:hover { border-color: var(--mid); }

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1.5px solid var(--mid);
  color: var(--ink2);
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  background: white;
  transition: border-color .2s;
}
.btn-sm:hover { border-color: var(--steel); }

/* -- LAYOUT -- */
.si { max-width: var(--max-w); margin: 0 auto; padding: var(--section-pad); }
.bg-white  { background: white; border-top: 1px solid var(--line); }
.bg-paper  { background: var(--paper); border-top: 1px solid var(--line); }
.bg-paper2 { background: var(--paper2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-ink    { background: var(--ink); }
.two-col   { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col-text p { font-size: 16px; font-weight: 300; color: var(--steel); line-height: 1.75; margin-bottom: 20px; }

/* -- COMMON COMPONENTS -- */
.ey {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--r);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ey::before { content: ''; width: 20px; height: 1px; background: var(--r); display: block; }
.slead { font-size: 16px; font-weight: 300; color: var(--steel); max-width: 540px; line-height: 1.7; }
.badge-tag {
  padding: 4px 12px;
  background: var(--r);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
}
.mono { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--mid); }
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--paper2);
  border: 1px solid var(--line);
  border-left: 3px solid #4ADE80;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink2);
  letter-spacing: .01em;
}
.sdot {
  width: 6px; height: 6px;
  background: #4ADE80;
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* -- FIRST FOLD (hero + metrics = 100vh) -- */
.first-fold {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 60px);
}
.first-fold .hero { flex: 1; }

/* -- HERO (homepage) -- */
.hero {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 48px 60px;
  gap: 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--light) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .4;
  mask-image: radial-gradient(ellipse 55% 70% at 65% 50%, black 10%, transparent 80%);
  pointer-events: none;
}
.hero-left { position: relative; z-index: 1; }
.hero-right { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .6s .15s forwards;
}
.hero-badge-sub { font-size: 13px; color: var(--steel); }

/* -- HERO TILES (homepage capability grid) -- */
.hero-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hero-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color .2s, box-shadow .2s;
  color: inherit;
}
.hero-tile:hover {
  border-color: var(--mid);
  box-shadow: 0 2px 12px rgba(30,41,59,.06);
}
.hero-tile-top { display: flex; align-items: center; justify-content: space-between; }
.hero-tile-ico {
  width: 30px; height: 30px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.hero-tile-ico svg { display: block; }
.hero-tile-arrow {
  color: var(--light);
  transition: color .2s;
}
.hero-tile:hover .hero-tile-arrow { color: var(--steel); }
.hero-tile-title { font-weight: 600; font-size: 13.5px; color: var(--ink); line-height: 1.3; letter-spacing: -.01em; }
.hero-tile-tags {
  display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px;
}
.hero-tile-tags span {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--steel);
  letter-spacing: .02em;
  background: transparent;
}
/* -- HERO LOGO (homepage) -- */
.hero-logo { position: absolute; top: 20px; left: 48px; height: 80px; display: block; z-index: 2; }

/* -- HERO SLIDESHOW (homepage) -- */
.hero-slideshow { position: relative; min-height: 280px; overflow: hidden; background: var(--paper2); border-radius: 12px; padding: 8px; }
.hero-slide {
  position: absolute; top: 0; left: 0; right: 0;
  opacity: 0; transition: opacity .5s ease;
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.hero-slide.active { opacity: 1; position: relative; }
.hero-slide-num { font-family: var(--font-mono); font-size: 12px; color: var(--mid); letter-spacing: .1em; }
.hero-slide-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.3;
}
.hero-slide-desc { font-size: 14px; color: var(--steel); line-height: 1.7; font-weight: 300; }
.hero-slide-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.hero-slide-tags span {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--steel);
  letter-spacing: .02em;
}
.hero-slide-link { font-size: 13px; font-weight: 600; color: var(--r); }
.hero-slide-link:hover { color: var(--r2); }
.hero-slide-nav { position: relative; display: flex; align-items: center; justify-content: flex-end; margin-top: 20px; padding: 0 10%; }
.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--light); border: none; cursor: pointer;
  padding: 0; transition: background .2s;
}
.hero-dot.active { background: var(--r); }
.hero-dot:hover { background: var(--mid); }
.hero-dot.active:hover { background: var(--r); }
.hero-controls { display: flex; align-items: center; gap: 6px; }
.hero-arrow {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--steel);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.hero-arrow:hover { border-color: var(--mid); color: var(--ink); }
.hero-timer { display: block; }
.hero-timer-track { stroke: var(--line); }
.hero-timer-fill {
  stroke: var(--r);
  stroke-dasharray: 69.115;
  stroke-dashoffset: 69.115;
  transform: rotate(-90deg);
  transform-origin: center;
}
.hero-timer-fill.running { animation: timerFill 5s linear forwards; }
@keyframes timerFill { to { stroke-dashoffset: 0; } }
.hero-pause {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--steel);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.hero-pause:hover { border-color: var(--mid); color: var(--ink); }

/* Homepage hero (separate from .hero defaults for inline-style removal) */
.hero-home { max-width: var(--max-w); margin: 0 auto; padding: 48px 48px 40px; }

.hero-h1 { margin-bottom: 24px; }
.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--steel);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 40px;
}
.hero-sub strong { color: var(--ink2); font-weight: 500; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* -- PAGE HERO (interior pages) -- */
.page-hero {
  min-height: 44vh;
  display: flex;
  align-items: flex-end;
  padding: 64px 48px 56px;
  background: var(--paper3);
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--r);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--light) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .4;
  mask-image: radial-gradient(ellipse 60% 80% at 80% 50%, black 10%, transparent 75%);
  pointer-events: none;
}
.page-hero-inner { max-width: var(--max-w); width: 100%; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .ey { color: var(--r); }
.page-hero .ey::before { background: var(--r); }
.page-hero h1 { color: var(--ink); margin-bottom: 20px; }
.page-hero .hero-sub { color: var(--steel); max-width: 580px; margin-bottom: 32px; }
.page-hero-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.page-hero-tag {
  padding: 6px 14px;
  border: 1px solid var(--line);
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 4px;
}

/* -- PROFILE CARD -- */
.hc {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 48px rgba(30,41,59,.09), 0 1px 4px rgba(30,41,59,.04);
}
.hc-head {
  background: var(--paper3);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hc-head-title { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); }
.hc-live { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; color: #16A34A; }
.hc-stats { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line2); }
.hc-stat { padding: 20px 24px; border-right: 1px solid var(--line2); }
.hc-stat:last-child { border-right: none; }
.hc-stat-num { font-family: var(--font-serif); font-size: 34px; line-height: 1; color: var(--ink); margin-bottom: 4px; }
.hc-stat-num em { color: var(--r); font-style: normal; }
.hc-stat-label { font-size: 12px; color: var(--mid); }
.hc-lines { padding: 16px 20px; display: flex; flex-direction: column; gap: 7px; }
.hc-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--paper2);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink2);
}
.hc-line .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hc-line .tag { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--mid); }
.hc-foot {
  padding: 12px 24px;
  background: var(--paper);
  border-top: 1px solid var(--line2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hc-foot span { font-family: var(--font-mono); font-size: 10px; color: var(--mid); }
.hc-foot strong { color: var(--r); font-weight: 500; }
.hc-foot a { color: var(--r); font-family: var(--font-mono); font-size: 10px; }

/* -- METRICS STRIP -- */
.metrics {
  background: var(--paper3);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 3px solid var(--r);
  border-bottom: 1px solid var(--line);
}
.metric { padding: 18px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.metric:last-child { }
.metric-num {
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.metric-unit { font-family: var(--font-sans); font-size: 18px; color: var(--r); font-weight: 600; }
.metric-label { font-size: 13px; font-weight: 500; color: var(--steel); margin-bottom: 3px; }
.metric-sub { font-family: var(--font-mono); font-size: 10px; color: var(--mid); letter-spacing: .03em; }
.metric-text { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.cert-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 4px; }
.cert-tag {
  padding: 2px 8px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
}
.cert-badges { display: flex; gap: 8px; margin: 6px 0 0; justify-content: center; width: 100%; }
.cert-badges img { height: 56px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.metric:hover .cert-badges img { filter: grayscale(0); opacity: 1; }
.cert-badges.cert-badges-lg img { height: 96px; }
.cert-badges.cert-badges-sm img { height: 36px; }

/* -- SERVICE CARDS -- */
.lines-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px 64px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .2s;
  display: block;
  color: inherit;
}
.lcard::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--r);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
  border-radius: 10px 10px 0 0;
}
.lcard:hover { border-color: var(--mid); box-shadow: 0 8px 40px rgba(30,41,59,.10); transform: translateY(-3px); }
.lcard:hover::before { transform: scaleX(1); }
.lcard:hover .lcard-ico { background: var(--r); }
.lcard-num { font-family: var(--font-mono); font-size: 10px; color: var(--light); letter-spacing: .1em; margin-bottom: 18px; }
.lcard-ico {
  width: 40px; height: 40px;
  background: var(--ink);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: background .25s;
}
.lcard-title { font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 9px; line-height: 1.25; }
.lcard-desc { font-size: 13px; font-weight: 300; color: var(--steel); line-height: 1.65; }
.lcard-link {
  position: absolute; bottom: 22px; left: 24px;
  font-size: 13px; font-weight: 600; color: var(--r);
  opacity: 0; transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}
.lcard:hover .lcard-link { opacity: 1; transform: translateY(0); }
.lcard-dark { background: var(--ink); border-color: transparent; }
.lcard-dark .lcard-num { color: rgba(255,255,255,.22); }
.lcard-dark .lcard-title { color: white; }
.lcard-dark .lcard-desc { color: rgba(255,255,255,.5); }
.lcard-dark .lcard-ico { background: var(--r); }
.lcard-dark:hover { background: #283548; border-color: transparent; }
.lcard-dark .lcard-link { color: #f08090; }

/* -- LINES LIST (homepage highlight) -- */
.lines-list { display: flex; flex-direction: column; gap: 0; }
.lines-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: background .2s, padding-left .2s;
}
.lines-item:first-child { border-top: 1px solid var(--line); }
.lines-item:hover { background: var(--paper2); padding-left: 32px; }
.lines-num {
  font-family: var(--font-mono); font-size: 11px; color: var(--mid);
  letter-spacing: .1em; flex-shrink: 0; width: 28px;
  transition: color .2s;
}
.lines-title { font-weight: 600; font-size: 15px; color: var(--ink); flex-shrink: 0; min-width: 200px; }
.lines-desc { font-size: 13px; font-weight: 300; color: var(--steel); line-height: 1.5; flex: 1; }
.lines-arrow { font-size: 16px; color: var(--light); transition: color .2s, transform .2s; flex-shrink: 0; }
.lines-item:hover .lines-arrow { color: var(--r); transform: translateX(4px); }
.lines-item:hover .lines-num { color: var(--r); }

/* -- FEATURE CARDS -- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  transition: border-color .2s, box-shadow .2s;
}
.feature-card:hover { border-color: var(--mid); box-shadow: 0 4px 24px rgba(30,41,59,.07); }
.feature-card-ico {
  display: none;
}
.feature-card-title { font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.feature-card-desc { font-size: 13px; font-weight: 300; color: var(--steel); line-height: 1.65; }

/* -- PRODUCT CARDS (eWON) -- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .2s;
}
.product-card:hover { border-color: var(--mid); box-shadow: 0 8px 32px rgba(30,41,59,.10); transform: translateY(-2px); }
.product-card-img {
  background: var(--paper2);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  border-bottom: 1px solid var(--line);
}
.product-card-img img { max-height: 100px; max-width: 100%; object-fit: contain; }
.product-card-img .product-placeholder {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mid);
  text-align: center;
}
.product-card-body { padding: 20px 22px 24px; }
.product-card-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--r);
  margin-bottom: 8px;
}
.product-card-title { font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.product-card-desc { font-size: 13px; font-weight: 300; color: var(--steel); line-height: 1.6; margin-bottom: 16px; }
.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.product-spec {
  padding: 3px 10px;
  background: var(--paper2);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--steel);
}
.product-card-cta {
  display: flex;
  gap: 8px;
}
.product-card-cta a {
  flex: 1;
  text-align: center;
  padding: 9px 14px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s, border-color .2s;
}
.product-cta-primary { background: var(--r); color: white; }
.product-cta-primary:hover { background: var(--r2); color: white; }
.product-cta-secondary { border: 1.5px solid var(--light); color: var(--ink2); }
.product-cta-secondary:hover { border-color: var(--mid); }

/* -- PRODUCT CATEGORIES -- */
.product-category { margin-bottom: 56px; }
.product-category:last-of-type { margin-bottom: 0; }
.product-category-header { margin-bottom: 24px; }
.product-category-header .ey { margin-bottom: 8px; }
.product-category-header h3 { font-family: var(--font-serif); color: var(--ink); margin-bottom: 0; }

/* -- USE CASES -- */
.usecase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.usecase-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .2s;
}
.usecase-item:hover { border-color: var(--mid); }
.usecase-num { font-family: var(--font-mono); font-size: 11px; color: var(--r); font-weight: 500; flex-shrink: 0; padding-top: 2px; }
.usecase-title { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.usecase-desc { font-size: 13px; font-weight: 300; color: var(--steel); line-height: 1.6; }

/* -- TECH STRIP -- */
.tech-strip { background: var(--paper2); padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tech-strip-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 48px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.tech-pill {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  transition: border-color .2s;
}
.tech-pill:hover { border-color: var(--mid); }
.tech-pill-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--r); flex-shrink: 0; }
.tech-pill-text { font-family: var(--font-mono); font-size: 11px; color: var(--steel); letter-spacing: .04em; }

/* -- PHILOSOPHY -- */
.ph-section { background: var(--paper2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ph-grid { display: grid; grid-template-columns: 5fr 4fr; gap: 72px; align-items: center; }
blockquote {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink2);
  border-left: 3px solid var(--r);
  padding-left: 26px;
  margin-bottom: 20px;
}
blockquote strong { font-style: normal; color: var(--ink); }
.ph-attr { font-family: var(--font-mono); font-size: 10px; color: var(--mid); letter-spacing: .08em; text-transform: uppercase; padding-left: 29px; }

/* -- PROOF POINTS -- */
.proof-list { display: flex; flex-direction: column; gap: 12px; }
.proof-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: box-shadow .2s;
}
.proof-item:hover { box-shadow: 0 4px 20px rgba(30,41,59,.06); }
.proof-ico { display: none; }
.proof-title { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 3px; }
.proof-desc { font-size: 13px; font-weight: 300; color: var(--steel); line-height: 1.55; }

/* -- INDUSTRIES -- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ind-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 24px 20px;
  background: var(--paper);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.ind-card:hover { border-color: var(--mid); background: white; box-shadow: 0 4px 24px rgba(30,41,59,.06); }
.ind-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ind-card-icon { font-size: 18px; }
.ind-card-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.ind-card-desc { font-size: 13px; font-weight: 300; color: var(--steel); line-height: 1.6; }

/* -- PARTNERS -- */
.partners-section { background: var(--paper2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners-label { font-family: var(--font-mono); font-size: 10px; color: var(--mid); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 32px; text-align: center; }
.partners-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 18px; }
.pcard {
  background: white; border: 1px solid var(--line);
  border-radius: 8px; padding: 18px 14px;
  display: flex; align-items: center; justify-content: center;
  height: 72px;
  transition: border-color .2s, box-shadow .2s;
}
.pcard:hover { border-color: var(--mid); box-shadow: 0 2px 12px rgba(30,41,59,.06); }
.pcard img { max-height: 52px; max-width: 160px; object-fit: contain; filter: grayscale(100%) opacity(.55); transition: filter .3s; }
.pcard:hover img { filter: grayscale(0%) opacity(1); }
.pname { font-weight: 600; font-size: 12px; color: var(--mid); text-align: center; width: 100%; transition: color .2s; }
.pcard:hover .pname { color: var(--ink2); }

/* -- CERTS -- */
.certs-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.cpill {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 14px;
  background: white; border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color .2s;
}
.cpill:hover { border-color: var(--mid); }
.cpill-text { font-family: var(--font-mono); font-size: 10px; color: var(--mid); letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; }
.cpill-text strong { color: var(--ink2); font-weight: 500; display: block; }
.cpill-logo { height: 32px; width: auto; object-fit: contain; }
.cpill-logos { display: flex; gap: 8px; align-items: center; }

/* -- ENG STRIP -- */
.eng-strip {
  margin-top: 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 20px 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  background: var(--paper2);
}
.eng-strip-title { font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 3px; }
.eng-strip-desc { font-size: 13px; color: var(--steel); font-weight: 300; }

/* -- CTA / CONTACT -- */
.cta-section { background: var(--paper); border-top: 1px solid var(--line); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.cta-lead { font-size: 16px; font-weight: 300; color: var(--steel); line-height: 1.7; margin-bottom: 28px; }
.cta-contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.contact-item { display: flex; flex-direction: column; gap: 2px; }
.contact-key { font-family: var(--font-mono); font-size: 9px; color: var(--mid); letter-spacing: .1em; text-transform: uppercase; }
.contact-val { font-size: 13px; font-weight: 500; color: var(--ink2); }
.cta-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 40px rgba(30,41,59,.06);
}
.cta-form-label { font-family: var(--font-mono); font-size: 10px; color: var(--mid); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.cta-opts { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.cta-opt {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  font-size: 13.5px; font-weight: 500; color: var(--ink2);
  background: var(--paper);
  transition: border-color .2s, background .2s;
}
.cta-opt:hover { border-color: var(--mid); background: var(--paper2); }
.cta-opt.selected { border-color: var(--r); background: #FDF2F3; }
.cta-opt-icon { display: none; }
.cta-opt-desc { font-size: 11px; font-weight: 300; color: var(--mid); }

/* -- FOOTER -- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
}
.footer-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 48px 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  height: 28px;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
  display: block;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}
.footer-address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact-list a {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-contact-list a:hover { color: #fff; }
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer-legal a:hover { color: rgba(255,255,255,.7); }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

/* -- PAGE LOADER (diamond) -- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s ease, visibility .4s ease;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-diamond {
  width: 40px;
  height: 40px;
  border: 2.5px solid var(--light);
  border-top-color: var(--r);
  transform: rotate(45deg);
  animation: diamondSpin 1s linear infinite;
}
@keyframes diamondSpin {
  to { transform: rotate(405deg); }
}

/* -- ANIMATIONS -- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* -- HAMBURGER MENU -- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -- HIGHLIGHT BOX (OT Cybersecurity) -- */
.highlight-box {
  background: #FDF2F3;
  border: 1.5px solid rgba(195,42,60,.2);
  border-radius: 10px;
  padding: 24px 28px;
}
.highlight-box-title { font-weight: 600; font-size: 15px; color: var(--r); margin-bottom: 8px; }
.highlight-box p { font-size: 14px; font-weight: 300; color: var(--steel); line-height: 1.65; }

/* -- EXCLUSION LIST (Despre noi) -- */
.exclusion-list { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.exclusion-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.exclusion-icon {
  width: 32px; height: 32px;
  background: #FDF2F3;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  color: var(--r);
}
.exclusion-text { font-size: 14px; font-weight: 400; color: var(--ink2); line-height: 1.6; }

/* -- TIMELINE (Despre noi) -- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -32px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--light);
  z-index: 1;
}
.timeline-item.milestone .timeline-dot {
  background: var(--r);
  border-color: var(--r);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--r);
  min-width: 54px;
  flex-shrink: 0;
  padding-top: 1px;
}
.timeline-text { font-size: 14px; font-weight: 400; color: var(--ink2); line-height: 1.55; }

/* -- INDUSTRY DETAIL (Industrii) -- */
.ind-detail {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  margin-bottom: 16px;
}
.ind-detail:last-child { margin-bottom: 0; }
.ind-detail:hover { border-color: var(--mid); box-shadow: 0 4px 24px rgba(30,41,59,.07); }
.ind-detail-header {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line2);
}
.ind-detail-icon { display: none; }
.ind-detail-name { font-weight: 600; font-size: 17px; color: var(--ink); }
.ind-detail-sub { font-size: 13px; color: var(--mid); font-weight: 300; margin-left: auto; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.ind-detail-body { padding: 22px 26px; }
.ind-detail-body p { font-size: 14px; font-weight: 300; color: var(--steel); line-height: 1.7; margin-bottom: 16px; }
.ind-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ind-detail-tags span {
  padding: 4px 10px;
  background: var(--paper2);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--steel);
}

/* -- CONTACT BLOCK (Contact) -- */
.contact-block { margin-bottom: 28px; }
.contact-block-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
}
.contact-block-value { font-size: 15px; font-weight: 500; color: var(--ink2); line-height: 1.6; }
.contact-block-value a { color: var(--r); transition: color .2s; }
.contact-block-value a:hover { color: var(--r2); }
.contact-address { font-size: 14px; font-weight: 300; color: var(--steel); line-height: 1.7; }
.contact-legal {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mid);
  display: flex;
  gap: 20px;
}

/* -- RESPONSIVE -- */
@media (max-width: 1024px) {
  :root { --section-pad: 64px 32px; }
  .nav-toggle { display: flex; }
  nav.menu-open {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    height: auto;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow-y: auto;
    background: white;
  }
  nav.menu-open .nav-logo { opacity: 1; transform: none; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 24px 32px;
    gap: 4px;
    order: 10;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 15px; }
  .nav-lang { border-right: none; margin-right: 0; padding: 12px 16px 0; order: 99; }
  .first-fold { min-height: auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 56px 32px 40px; }
  .hero-home { padding: 56px 32px 40px; }
  .hero-logo { display: none; }
  .hero-right { display: none; }
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .metric { padding: 14px 12px; }
  .metric-label { font-size: 12px; }
  .cert-badges img { height: 44px; }
  .cert-badges.cert-badges-lg img { height: 64px; }
  .cert-badges.cert-badges-sm img { height: 30px; }
  .lines-grid { grid-template-columns: repeat(2, 1fr); }
  .lines-item { flex-wrap: wrap; gap: 8px 16px; }
  .lines-title { min-width: auto; }
  .lines-desc { flex-basis: 100%; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .ph-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .usecase-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .topbar { padding: 8px 24px; }
  nav { padding: 0 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 36px 32px 28px; gap: 32px; }
  .footer-bottom-inner { padding: 14px 32px; }
}

@media (max-width: 640px) {
  :root { --section-pad: 48px 20px; }
  .topbar { padding: 8px 16px; }
  .topbar-contact { gap: 12px; }
  nav { padding: 0 16px; }
  .hero { padding: 40px 20px 32px; }
  .hero-home { padding: 40px 20px 32px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric { padding: 16px 12px; }
  .metric-label { font-size: 11px; }
  .metric-sub { font-size: 9px; }
  .cert-badges img { height: 36px; }
  .cert-badges.cert-badges-lg img { height: 48px; }
  .cert-badges.cert-badges-sm img { height: 26px; }
  .cert-badges { gap: 6px; }
  .lines-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .eng-strip { flex-direction: column; align-items: flex-start; }
  .cta-contacts { flex-direction: column; gap: 14px; }
  .footer-main { grid-template-columns: 1fr; padding: 28px 20px 20px; gap: 24px; }
  .footer-bottom-inner { padding: 14px 20px; flex-direction: column; align-items: flex-start; }
  .contact-legal { flex-direction: column; gap: 4px; }
  .page-hero { min-height: auto; padding: 48px 20px 40px; }
  .certs-row { gap: 6px; }
  .cpill { padding: 7px 10px; }
  .cpill-logo { height: 24px; }
  .cpill-text { font-size: 9px; }
  .pcard { height: 56px; padding: 12px 10px; }
  .pcard img { max-height: 38px; max-width: 100px; }
}
