/* =========================================================
   Nexoratech — Software Development & Support
   Design system + components
   ========================================================= */

:root {
  --bg: #070b18;
  --bg-soft: #0c1226;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eaf0ff;
  --text-soft: #b9c4e2;
  --muted: #8b97b8;

  --primary: #4f7cff;
  --primary-2: #7c5cff;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --pink: #f472b6;

  --grad: linear-gradient(135deg, #4f7cff 0%, #7c5cff 55%, #22d3ee 130%);
  --grad-soft: linear-gradient(135deg, rgba(79, 124, 255, 0.16), rgba(124, 92, 255, 0.1));

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 22px 60px rgba(4, 8, 22, 0.55);
  --shadow-soft: 0 12px 34px rgba(4, 8, 22, 0.4);

  --font-head: "Space Grotesk", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Inter", "Segoe UI", Tahoma, sans-serif;

  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* `hidden` strică pin-ul ScrollTrigger — `clip` nu creează scroll container */
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.35rem, 5.4vw, 4.15rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.45rem); }
p { margin: 0 0 1.1em; color: var(--text-soft); }

section { position: relative; }

.container {
  width: min(100% - 2.6rem, var(--container));
  margin-inline: auto;
}

/* ---------- Background decoration ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.orb-a { width: 520px; height: 520px; background: rgba(79, 124, 255, 0.32); top: -180px; right: -120px; }
.orb-b { width: 460px; height: 460px; background: rgba(124, 92, 255, 0.24); top: 320px; left: -180px; }
.orb-c { width: 420px; height: 420px; background: rgba(34, 211, 238, 0.16); bottom: -160px; right: 8%; }

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 78%);
  pointer-events: none;
}

/* ---------- Text helpers ---------- */
.grad-text {
  background: linear-gradient(120deg, #8fb0ff 0%, #a78bff 45%, #6ee7f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.95rem;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.lead {
  font-size: clamp(1.03rem, 1.55vw, 1.22rem);
  color: var(--text-soft);
  max-width: 62ch;
}

.section { padding: clamp(4.2rem, 8vw, 7rem) 0; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.text-muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 34px rgba(79, 124, 255, 0.36);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(79, 124, 255, 0.5);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-light { background: #fff; color: #0b1020; }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(255, 255, 255, 0.18); }

.btn-sm { padding: 0.62rem 1.25rem; font-size: 0.9rem; }

.btn-block { width: 100%; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 11, 24, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 11, 24, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}
.brand .logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(79, 124, 255, 0.42);
}
.brand .logo-mark svg { width: 21px; height: 21px; }
.brand .accent { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-links a {
  padding: 0.52rem 0.95rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.22s ease, background 0.22s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active {
  color: #fff;
  background: rgba(79, 124, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(79, 124, 255, 0.38);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Language switcher */
.lang-switch {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.34rem 0.72rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.22s ease;
}
.lang-switch button.active {
  background: var(--grad);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3.6rem, 8vw, 6.4rem) 0 clamp(3.2rem, 6vw, 5.2rem);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2.2rem, 5vw, 4.2rem);
  align-items: center;
}

.hero h1 { margin-bottom: 1.25rem; }
.hero .lead { margin-bottom: 2.1rem; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-bottom: 2.6rem;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-note .avatars { display: flex; }
.hero-note .avatars span {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}
.hero-note .avatars span:first-child { margin-left: 0; }

/* Hero visual (code card) */
.hero-visual { position: relative; }
.code-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(20, 28, 58, 0.92), rgba(12, 18, 38, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.code-card .bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.code-card .bar i {
  width: 11px; height: 11px; border-radius: 50%;
  display: inline-block;
}
.code-card .bar i:nth-child(1) { background: #ff5f57; }
.code-card .bar i:nth-child(2) { background: #febc2e; }
.code-card .bar i:nth-child(3) { background: #28c840; }
.code-card .bar .file {
  margin-left: 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}
.code-card pre {
  margin: 0;
  padding: 1.35rem 1.45rem 1.6rem;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.835rem;
  line-height: 1.85;
  color: #c7d3f5;
  overflow-x: auto;
}
.tok-key { color: #a78bff; }
.tok-fn { color: #6ee7f9; }
.tok-str { color: #86efac; }
.tok-com { color: #64748b; }
.tok-num { color: #fbbf24; }

.float-card {
  position: absolute;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: rgba(14, 21, 44, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.72rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.86rem;
}
.float-card strong { display: block; font-size: 0.95rem; }
.float-card small { color: var(--muted); }
.float-card .pill {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
}
.float-card .pill svg { width: 19px; height: 19px; }
.float-1 { top: -26px; left: -34px; animation: floaty 6s ease-in-out infinite; }
.float-2 { bottom: -30px; right: -26px; animation: floaty 7s ease-in-out infinite reverse; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.stat {
  padding: 1.55rem 1.45rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label { color: var(--muted); font-size: 0.93rem; }

/* ---------- Trust strip ---------- */
.trust {
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.trust p {
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.35rem;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.4rem 2.8rem;
}
.trust-logos span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.16rem;
  color: rgba(234, 240, 255, 0.42);
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}
.trust-logos span:hover { color: rgba(234, 240, 255, 0.85); }

/* ---------- Cards / grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.card {
  position: relative;
  padding: 1.85rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.32s ease, border-color 0.32s ease, background 0.32s ease;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 220px at 20% -20%, rgba(79, 124, 255, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card:hover {
  transform: translateY(-7px);
  border-color: rgba(79, 124, 255, 0.42);
  background: var(--surface-2);
}
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  background: var(--grad-soft);
  border: 1px solid rgba(79, 124, 255, 0.3);
}
.card .icon svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: 0.55rem; }
.card p { font-size: 0.96rem; margin-bottom: 1.15rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--cyan);
}
.card-link svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

/* Tag list inside cards */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag {
  padding: 0.28rem 0.72rem;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
}

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.2rem, 5vw, 4.4rem);
  align-items: center;
}
.split.reverse .split-visual { order: -1; }

.check-list { display: grid; gap: 1.05rem; margin: 1.9rem 0 2.2rem; }
.check-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.check-list .check {
  flex: none;
  width: 26px; height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(52, 211, 153, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.42);
}
.check-list .check svg { width: 14px; height: 14px; }
.check-list strong { display: block; margin-bottom: 0.12rem; }
.check-list p { margin: 0; font-size: 0.95rem; }

.panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(165deg, rgba(22, 31, 62, 0.85), rgba(12, 18, 38, 0.9));
  padding: 1.65rem;
  box-shadow: var(--shadow);
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  margin-bottom: 0.85rem;
}
.panel-row:last-child { margin-bottom: 0; }
.panel-row .left { display: flex; align-items: center; gap: 0.85rem; }
.panel-row .badge-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(79, 124, 255, 0.3);
}
.panel-row .badge-ico svg { width: 20px; height: 20px; }
.panel-row .title { font-weight: 600; font-size: 0.95rem; }
.panel-row .sub { color: var(--muted); font-size: 0.82rem; }

.status-pill {
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 700;
}
.status-green { background: rgba(52, 211, 153, 0.16); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.35); }
.status-amber { background: rgba(251, 191, 36, 0.14); color: var(--amber); border: 1px solid rgba(251, 191, 36, 0.32); }
.status-blue { background: rgba(79, 124, 255, 0.16); color: #9db6ff; border: 1px solid rgba(79, 124, 255, 0.36); }

.meter {
  height: 9px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  border-radius: 100px;
  background: var(--grad);
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.9rem 1.55rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.step .n {
  font-family: var(--font-head);
  font-size: 2.55rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(120deg, rgba(79, 124, 255, 0.95), rgba(124, 92, 255, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.85rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.925rem; margin: 0; }

/* ---------- Tech chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.chip {
  padding: 0.72rem 1.35rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: all 0.25s ease;
}
.chip:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 124, 255, 0.45);
  color: var(--text);
  background: var(--surface-2);
}

/* ---------- Testimonial ---------- */
.quote-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(150deg, rgba(24, 33, 66, 0.9), rgba(12, 18, 38, 0.92));
  padding: clamp(2rem, 4.4vw, 3.3rem);
  position: relative;
  overflow: hidden;
}
.quote-card .qmark {
  position: absolute;
  top: -14px;
  right: 26px;
  font-family: var(--font-head);
  font-size: 9rem;
  line-height: 1;
  color: rgba(79, 124, 255, 0.16);
}
.quote-card blockquote {
  margin: 0 0 1.65rem;
  font-family: var(--font-head);
  font-size: clamp(1.18rem, 2.35vw, 1.72rem);
  line-height: 1.5;
  color: var(--text);
}
.quote-author { display: flex; align-items: center; gap: 0.95rem; }
.quote-author .ava {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  background: var(--grad);
  color: #fff;
}
.quote-author .name { font-weight: 700; }
.quote-author .role { color: var(--muted); font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 3.75rem);
  background: var(--grad);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 260px at 12% 110%, rgba(255, 255, 255, 0.22), transparent 65%),
    radial-gradient(420px 240px at 90% -20%, rgba(255, 255, 255, 0.18), transparent 65%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255, 255, 255, 0.92); max-width: 58ch; margin-inline: auto; font-size: 1.06rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.95rem; justify-content: center; margin-top: 1.95rem; }

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: clamp(3.1rem, 6.5vw, 5.1rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(79, 124, 255, 0.1), transparent 78%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 1.05rem; max-width: 20ch; }
.page-hero .lead { margin-bottom: 1.95rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.35rem;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.7; }

/* ---------- Portfolio ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.work-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.32s ease, border-color 0.32s ease;
}
.work-card:hover { transform: translateY(-7px); border-color: rgba(79, 124, 255, 0.45); }
.work-thumb {
  height: 210px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.work-thumb svg { width: 74px; height: 74px; opacity: 0.92; }
.work-thumb .glass {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.85rem 1.15rem;
  display: flex;
  gap: 0.45rem;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 24, 0.72));
}
.thumb-1 { background: linear-gradient(140deg, #1e3a8a, #4f7cff 55%, #7c5cff); }
.thumb-2 { background: linear-gradient(140deg, #0f766e, #22d3ee 60%, #4f7cff); }
.thumb-3 { background: linear-gradient(140deg, #6d28d9, #a78bff 55%, #f472b6); }
.thumb-4 { background: linear-gradient(140deg, #b45309, #fbbf24 55%, #f472b6); }
.thumb-5 { background: linear-gradient(140deg, #065f46, #34d399 55%, #22d3ee); }
.thumb-6 { background: linear-gradient(140deg, #be123c, #f472b6 55%, #7c5cff); }

.work-body { padding: 1.45rem 1.5rem 1.65rem; }
.work-body .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
}
.work-body .cat { color: var(--cyan); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.work-body .year { color: var(--muted); font-size: 0.84rem; }
.work-body h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.work-body p { font-size: 0.945rem; margin-bottom: 1.05rem; }

.work-kpis {
  display: flex;
  gap: 1.65rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--border);
}
.work-kpis .kpi .v {
  font-family: var(--font-head);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--text);
}
.work-kpis .kpi .l { color: var(--muted); font-size: 0.8rem; }

/* ---------- Pricing / support plans ---------- */
.plan {
  display: flex;
  flex-direction: column;
  padding: 2.15rem 1.85rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.plan:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.plan.featured {
  border-color: rgba(79, 124, 255, 0.55);
  background: linear-gradient(170deg, rgba(79, 124, 255, 0.16), rgba(12, 18, 38, 0.6));
  box-shadow: 0 26px 60px rgba(79, 124, 255, 0.22);
}
.plan .plan-tag {
  align-self: flex-start;
  padding: 0.32rem 0.85rem;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.1);
  margin-bottom: 1.05rem;
}
.plan h3 { font-size: 1.32rem; margin-bottom: 0.35rem; }
.plan .price {
  font-family: var(--font-head);
  font-size: 2.45rem;
  font-weight: 700;
  margin: 0.65rem 0 0.15rem;
}
.plan .price span { font-size: 0.98rem; color: var(--muted); font-weight: 500; }
.plan .desc { font-size: 0.95rem; margin-bottom: 1.45rem; }
.plan .plan-list { display: grid; gap: 0.72rem; margin-bottom: 1.85rem; }
.plan .plan-list li {
  display: flex;
  gap: 0.68rem;
  align-items: flex-start;
  font-size: 0.935rem;
  color: var(--text-soft);
}
.plan .plan-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--green); }
.plan .btn { margin-top: auto; }

/* ---------- Service detail blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(1.9rem, 3.6vw, 2.75rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 1.5rem;
}
.service-block .icon {
  width: 58px; height: 58px;
  border-radius: 17px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(79, 124, 255, 0.32);
  margin-bottom: 1.15rem;
}
.service-block .icon svg { width: 28px; height: 28px; }
.service-block h2 { font-size: clamp(1.42rem, 2.5vw, 1.85rem); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.95rem 1.55rem;
}
.feature-grid li {
  display: flex;
  gap: 0.62rem;
  align-items: flex-start;
  font-size: 0.955rem;
  color: var(--text-soft);
}
.feature-grid svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--cyan); }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}
.member {
  padding: 1.85rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.member:hover { transform: translateY(-6px); border-color: rgba(79, 124, 255, 0.42); }
.member .ava {
  width: 84px; height: 84px;
  margin: 0 auto 1.05rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
}
.member .ava.alt-1 { background: linear-gradient(135deg, #22d3ee, #4f7cff); }
.member .ava.alt-2 { background: linear-gradient(135deg, #f472b6, #7c5cff); }
.member .ava.alt-3 { background: linear-gradient(135deg, #34d399, #22d3ee); }
.member h3 { font-size: 1.08rem; margin-bottom: 0.18rem; }
.member .role { color: var(--cyan); font-size: 0.88rem; font-weight: 600; margin-bottom: 0.72rem; }
.member p { font-size: 0.9rem; margin: 0; }

/* ---------- Values ---------- */
.value {
  padding: 1.75rem 1.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.value:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.value .icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 1.05rem;
  background: var(--grad-soft);
  border: 1px solid rgba(79, 124, 255, 0.3);
}
.value .icon svg { width: 23px; height: 23px; }
.value h3 { font-size: 1.12rem; }
.value p { font-size: 0.945rem; margin: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 2.15rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2), transparent);
}
.tl-item { position: relative; padding-bottom: 2.05rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -2.15rem;
  top: 7px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--primary);
  box-shadow: 0 0 16px rgba(79, 124, 255, 0.75);
}
.tl-item .year {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--cyan);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.tl-item h3 { font-size: 1.12rem; margin: 0.28rem 0 0.35rem; }
.tl-item p { margin: 0; font-size: 0.955rem; }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 0.85rem; }
.faq-item {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.28s ease;
}
.faq-item.open { border-color: rgba(79, 124, 255, 0.45); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 1.18rem 1.45rem;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.04rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-q .plus {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  color: var(--cyan);
  transition: transform 0.3s ease;
}
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  margin: 0;
  padding: 0 1.45rem 1.35rem;
  font-size: 0.965rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.65rem;
  align-items: start;
}

.form-card {
  padding: clamp(1.75rem, 3.4vw, 2.55rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(170deg, rgba(22, 31, 62, 0.72), rgba(12, 18, 38, 0.85));
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  margin-bottom: 0.48rem;
  font-size: 0.885rem;
  font-weight: 600;
  color: var(--text-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.88rem 1.12rem;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.965rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select option { background: #10172f; color: var(--text); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(79, 124, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(79, 124, 255, 0.18);
}
.field.error input,
.field.error textarea,
.field.error select { border-color: #f87171; }
.field .err-msg {
  display: none;
  color: #fca5a5;
  font-size: 0.82rem;
  margin-top: 0.36rem;
}
.field.error .err-msg { display: block; }

.form-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.85rem 0 0;
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.25rem;
  border-radius: 14px;
  background: rgba(52, 211, 153, 0.13);
  border: 1px solid rgba(52, 211, 153, 0.38);
  color: #a7f3d0;
  margin-bottom: 1.35rem;
  font-size: 0.94rem;
}
.form-success.show { display: flex; }
.form-success svg { width: 21px; height: 21px; flex: none; }

.info-card {
  display: flex;
  gap: 1.05rem;
  padding: 1.42rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 1.05rem;
  transition: transform 0.28s ease, border-color 0.28s ease;
}
.info-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.info-card .icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(79, 124, 255, 0.3);
}
.info-card .icon svg { width: 21px; height: 21px; }
.info-card .label { color: var(--muted); font-size: 0.83rem; margin-bottom: 0.16rem; }
.info-card .value { font-weight: 600; font-size: 1rem; }
.info-card .value a:hover { color: var(--cyan); }

.map-card {
  height: 250px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(340px 200px at 62% 42%, rgba(79, 124, 255, 0.35), transparent 70%),
    linear-gradient(150deg, #131c38, #0b1226);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.map-card .lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-card .pin {
  position: relative;
  z-index: 1;
  text-align: center;
}
.map-card .pin .dot {
  width: 54px; height: 54px;
  margin: 0 auto 0.72rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad);
  box-shadow: 0 0 0 10px rgba(79, 124, 255, 0.18), 0 18px 40px rgba(79, 124, 255, 0.4);
}
.map-card .pin .dot svg { width: 25px; height: 25px; }
.map-card .pin .t { font-weight: 700; }
.map-card .pin .s { color: var(--text-soft); font-size: 0.88rem; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(3.6rem, 7vw, 6rem);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2.4rem;
  padding: clamp(2.8rem, 5vw, 4.2rem) 0 2.6rem;
}
.footer-brand p { font-size: 0.955rem; max-width: 34ch; margin: 1.15rem 0 1.45rem; }
.socials { display: flex; gap: 0.62rem; }
.socials a {
  width: 41px; height: 41px;
  border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  transition: all 0.25s ease;
}
.socials a:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 124, 255, 0.5);
  color: #fff;
  background: rgba(79, 124, 255, 0.22);
}
.socials svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-size: 0.92rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.15rem;
  font-weight: 600;
}
.footer-col ul { display: grid; gap: 0.66rem; }
.footer-col a {
  color: var(--text-soft);
  font-size: 0.955rem;
  transition: color 0.22s ease, padding-left 0.22s ease;
}
.footer-col a:hover { color: var(--cyan); padding-left: 5px; }
.footer-contact li {
  display: flex;
  gap: 0.72rem;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 0.955rem;
  margin-bottom: 0.72rem;
}
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.55rem 0 1.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.885rem;
}
.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 1.35rem; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Scroll-driven video section (GSAP + Lenis) ---------- */
/* Numele NU trebuie să conțină „lenis" — Lenis curăță clasele /lenis(-\w+)?/g */
html.sv-smooth-off { scroll-behavior: auto; }

.sv-section { position: relative; }

.sv-pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #05070f;
}

.sv-media {
  position: absolute;
  inset: 0;
}

.sv-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #05070f;
}

/* scrim direcțional serios — textul trebuie să se citească și pe cadre luminoase */
.sv-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 24, 0.82) 0%, rgba(7, 11, 24, 0.12) 32%, rgba(7, 11, 24, 0.2) 62%, rgba(7, 11, 24, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 11, 24, 0.72) 0%, rgba(7, 11, 24, 0.08) 46%, rgba(7, 11, 24, 0.55) 100%);
  pointer-events: none;
}

.sv-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 1.5rem;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
  z-index: 2;
}

.sv-overlay .sv-content {
  max-width: 860px;
  text-align: center;
}

.sv-overlay--hero .sv-content { max-width: 980px; }

/* overlay-ul nu prinde click-uri, dar butoanele din el trebuie să fie active */
.sv-overlay .btn { pointer-events: auto; }

.sv-overlay .hero-cta {
  justify-content: center;
  margin: 1.9rem 0 0;
}

.sv-overlay .hero-note {
  justify-content: center;
  margin-top: 1.65rem;
  color: rgba(234, 240, 255, 0.85);
}

.sv-content > .btn { margin: 1.75rem 0.42rem 0; }

.sv-overlay .lead {
  max-width: 60ch;
  margin: 0 auto;
}

.sv-overlay h1,
.sv-overlay h2 {
  color: #fff;
  margin-bottom: 0.9rem;
  text-shadow: 0 6px 34px rgba(4, 8, 22, 0.6);
}

.sv-overlay h2 { font-size: clamp(1.95rem, 4.6vw, 3.45rem); }

.sv-overlay p {
  font-size: clamp(1.02rem, 1.75vw, 1.24rem);
  color: rgba(234, 240, 255, 0.94);
  max-width: 58ch;
  margin: 0 auto;
  text-shadow: 0 4px 26px rgba(4, 8, 22, 0.7);
}

.sv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.95rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(10, 16, 34, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #dbe6ff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}
.sv-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.sv-overlay--hint {
  place-items: end center;
  padding-bottom: 4.2rem;
}
.sv-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: rgba(234, 240, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sv-hint svg {
  width: 22px;
  height: 22px;
  animation: svbob 1.8s ease-in-out infinite;
}
@keyframes svbob {
  0%, 100% { transform: translateY(0); opacity: 0.65; }
  50% { transform: translateY(7px); opacity: 1; }
}

.sv-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.13);
  z-index: 3;
}
.sv-progress i {
  display: block;
  height: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Degradare: fără GSAP / fără video decodabil → secțiune normală, nepinned */
.sv-fallback .sv-pin { height: auto; overflow: visible; }
.sv-fallback .sv-media { position: relative; inset: auto; height: 58vh; }
.sv-fallback .sv-overlay {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: none;
  padding: 2.4rem 1.5rem;
}
.sv-fallback .sv-overlay--hint { display: none; }
.sv-fallback .sv-progress { display: none; }

@media (max-width: 620px) {
  .sv-overlay { padding: 0 1.15rem; }
  .sv-overlay--hint { padding-bottom: 3.2rem; }
  .sv-overlay--hero h1 { font-size: 1.85rem; }
  .sv-overlay--hero p { font-size: 0.95rem; }
  .sv-overlay--hero .hero-note { display: none; }
}

/* ---------- Legal pages & cookie settings ---------- */
.legal { max-width: 820px; }

.legal .legal-updated {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 2.15rem;
}

.legal h3 {
  font-size: 1.22rem;
  margin: 2.15rem 0 0.65rem;
}
.legal h3:first-of-type { margin-top: 0; }
.legal p { font-size: 0.985rem; }

.cookie-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.65rem;
  padding: 1.45rem 1.55rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 1.05rem;
  transition: border-color 0.28s ease;
}
.cookie-item:hover { border-color: var(--border-strong); }
.cookie-item h3 { margin: 0 0 0.35rem; font-size: 1.08rem; }
.cookie-item p { margin: 0; font-size: 0.93rem; }

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex: none;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  transition: background 0.25s ease;
}
.switch .slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s ease;
}
.switch input:checked + .slider {
  background: var(--grad);
  border-color: transparent;
}
.switch input:checked + .slider::before { transform: translateX(24px); }
.switch input:disabled + .slider { opacity: 0.55; cursor: not-allowed; }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

@media (max-width: 620px) {
  .cookie-item { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.1rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-visual { order: 0; }
  .service-block { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1.15rem 1.35rem 1.65rem;
    background: rgba(8, 12, 26, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-135%);
    transition: transform 0.35s ease;
    z-index: 80;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.85rem 1.15rem; font-size: 1.02rem; }
  .nav-actions .btn { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .grid-3, .grid-2, .work-grid, .steps, .team-grid, .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .float-1 { left: -8px; top: -18px; }
  .float-2 { right: -4px; bottom: -18px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
