/* ==========================================================================
   Simetrix Business Software — stylesheet
   Brand: navy #051736 / sky #85B7E2, GT Walsheim Pro
   ========================================================================== */

@font-face {
  font-family: 'GT Walsheim';
  src: url('../fonts/gt-walsheim-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GT Walsheim';
  src: url('../fonts/gt-walsheim-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GT Walsheim';
  src: url('../fonts/gt-walsheim-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GT Walsheim';
  src: url('../fonts/gt-walsheim-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-900: #051736;
  --navy-800: #0a2148;
  --navy-700: #123262;
  --sky-300: #aed0ec;
  --sky-400: #85b7e2;
  --sky-500: #5c9bd1;
  --sky-600: #3f7fb8;
  --ink: #0f1b2d;
  --slate-600: #48556c;
  --slate-500: #67748c;
  --slate-400: #93a1b8;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 24px -12px rgba(5, 23, 54, 0.18);
  --shadow: 0 24px 48px -20px rgba(5, 23, 54, 0.28);
  --font: 'GT Walsheim', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1180px;
  --nav-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

.section { padding: 112px 0; }
.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-600);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--sky-500);
  display: inline-block;
}
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; margin: 0; color: var(--navy-900); }
h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.01em; }
h3 { font-size: 21px; }
p { margin: 0; }
.lede { font-size: 19px; color: var(--slate-600); }
.bg-soft { background: var(--bg-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--sky-400); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--sky-300); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn-outline:hover { border-color: var(--sky-500); color: var(--sky-600); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- top strip ---------- */
.top-strip {
  background: var(--navy-900);
  color: var(--sky-300);
  font-size: 13.5px;
}
.top-strip .container { display: flex; justify-content: flex-end; gap: 28px; padding-top: 9px; padding-bottom: 9px; }
.top-strip a { display: inline-flex; align-items: center; gap: 7px; color: #cfe1f3; transition: color .2s ease; }
.top-strip a:hover { color: #fff; }
.top-strip svg { width: 14px; height: 14px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(5,23,54,0.35); }
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-600);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--navy-900); background: var(--bg-soft); }
.nav-links a.active { color: var(--navy-900); background: var(--bg-soft); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 22px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; color: var(--navy-900); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1100px 520px at 82% -10%, #123a68 0%, var(--navy-900) 55%), var(--navy-900);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 120px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 78%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 13.5px;
  color: var(--sky-300);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky-400); box-shadow: 0 0 0 4px rgba(133,183,226,.25); }
.hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -0.015em; }
.hero h1 em { font-style: normal; color: var(--sky-400); }
.hero .lede { color: #cbd9ea; font-size: 18.5px; max-width: 540px; margin: 22px 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-lists { display: flex; flex-direction: column; gap: 22px; margin-top: 52px; }
.hero-list-label { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: #7f97b7; margin-bottom: 11px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-chips span {
  font-size: 13.5px;
  font-weight: 500;
  color: #eaf1fa;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 7px 14px;
  border-radius: 999px;
}
.hero-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: #eaf1fa;
}
.hero-steps svg { width: 13px; height: 13px; color: #5c7ba0; flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-panel {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}
.hero-panel-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.hero-panel-row .tag { font-size: 12.5px; color: #9db3cd; letter-spacing: .06em; text-transform: uppercase; }
.hero-mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin: 6px 0 22px; }
.hero-mock-chart i {
  flex: 1;
  background: linear-gradient(180deg, var(--sky-400), rgba(133,183,226,0.25));
  border-radius: 6px 6px 2px 2px;
}
.hero-mock-list { display: grid; gap: 10px; }
.hero-mock-list .row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; }
.hero-mock-list .ico { width: 30px; height: 30px; border-radius: 9px; background: rgba(133,183,226,0.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-mock-list .ico svg { width: 16px; height: 16px; color: var(--sky-400); }
.hero-mock-list .meta { flex: 1; }
.hero-mock-list .meta b { display: block; font-size: 14px; color: #eef4fb; }
.hero-mock-list .meta span { font-size: 12.5px; color: #91a7c2; }
.pill-ok { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: rgba(133,183,226,.18); color: var(--sky-300); }
.float-card {
  position: absolute;
  right: -18px;
  bottom: -22px;
  background: #fff;
  color: var(--navy-900);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
}
.float-card .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.float-card .ico svg { width: 20px; height: 20px; color: var(--sky-600); }
.float-card b { display: block; font-size: 13.5px; }
.float-card span { font-size: 12px; color: var(--slate-500); }

/* ---------- logos strip ---------- */
.strip { padding: 40px 0; border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip-label { font-size: 13px; color: var(--slate-500); letter-spacing: .04em; white-space: nowrap; }
.strip-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.strip-tags span { font-size: 13.5px; color: var(--navy-800); background: var(--bg-soft); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-weight: 500; }

/* ---------- despre ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-copy p + p { margin-top: 16px; }
.about-copy .lede { margin-bottom: 4px; }
.value-cards { display: grid; gap: 16px; }
.value-card {
  display: flex; gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.value-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: var(--sky-300); }
.value-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.value-card .ico svg { width: 22px; height: 22px; color: var(--sky-600); }
.value-card h4 { font-size: 16px; margin-bottom: 6px; }
.value-card p { font-size: 14.5px; color: var(--slate-600); }

/* ---------- produse ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--sky-300); }
.product-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.product-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-900); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.product-ico svg { width: 26px; height: 26px; color: var(--sky-400); }
.product-kicker { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--sky-600); background: #eef5fc; padding: 6px 11px; border-radius: 999px; }
.product-card h3 { margin-bottom: 10px; }
.product-card > p { color: var(--slate-600); font-size: 15px; margin-bottom: 18px; }
.product-features { display: grid; gap: 9px; margin-bottom: 8px; }
.product-features li { display: flex; gap: 10px; font-size: 14px; color: var(--navy-800); align-items: flex-start; }
.product-features svg { width: 17px; height: 17px; color: var(--sky-600); flex-shrink: 0; margin-top: 2px; }
.product-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--navy-900);
  cursor: pointer; padding: 0; background: none; border: none;
}
.product-more svg { width: 15px; height: 15px; transition: transform .25s ease; }
.product-card.open .product-more svg { transform: rotate(180deg); }
.product-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.product-detail > div { overflow: hidden; }
.product-card.open .product-detail { grid-template-rows: 1fr; }
.product-detail p { font-size: 14px; color: var(--slate-600); padding-top: 14px; border-top: 1px solid var(--line); margin-top: 14px; }

/* ---------- servicii ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step { position: relative; padding: 28px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.process-step .num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-900); color: var(--sky-400);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; margin-bottom: 18px;
}
.process-step h4 { font-size: 16.5px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--slate-600); }
.process-arrow { display: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: stretch; }
.contact-card {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-row .ico { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .ico svg { width: 19px; height: 19px; color: var(--sky-400); }
.contact-row span { display: block; font-size: 12.5px; color: #9db3cd; margin-bottom: 3px; }
.contact-row b, .contact-row a { font-size: 15px; font-weight: 500; }
.contact-map { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); margin-top: auto; }
.contact-map iframe { width: 100%; height: 160px; display: block; border: 0; filter: grayscale(0.15) contrast(1.05); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 500; color: var(--navy-800); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky-500); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--slate-500); margin-top: 12px; text-align: center; }
.form-success { display: none; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 10px; background: #eef7ee; color: #2f6b34; font-size: 14px; margin-bottom: 16px; }
.form-success.show { display: flex; }
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-error { display: none; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 10px; background: #fdecec; color: #a13232; font-size: 14px; margin-bottom: 16px; }
.form-error.show { display: flex; }
.form-error svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-error a { color: inherit; text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: #cbd9ea; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 26px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: #9db3cd; max-width: 280px; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; color: #b7c8de; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; color: #7f93b0; flex-wrap: wrap; gap: 10px; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--sky-400);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  border: none; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .section { padding: 76px 0; }
  .hero { padding: 56px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 440px; }
  .hero-lists { margin-top: 36px; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .process { grid-template-columns: 1fr 1fr; }
  .top-strip .container { justify-content: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .product-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .float-card { position: static; margin-top: 16px; max-width: none; }
  .hero-actions .btn { flex: 1; }
}

/* ---------- mobile nav sheet ---------- */
.mobile-nav {
  position: fixed;
  top: var(--nav-h); right: 0; bottom: 0; left: 0;
  background: #fff;
  z-index: 99;
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { padding: 16px 4px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 20px; }
