/* ASV Digital — public site. Palette and type from the art director's visual guide:
   black studio, chrome, one cold accent used sparingly. No images: type + light carry it. */
:root {
  --bg: #050506;
  --bg2: #0e0f12;
  --surface: #16181d;
  --line: #2a2d34;
  --line-hi: #4a4f59;
  --text: #f2f4f7;
  --text2: #d2d6dd;   /* Mr. ASV, 18 Oct: "gri pe negru, noi oamenii nu prea le vedem" — was #a7adb8 */
  --text3: #9ba2ae;   /* was #6b7280 */
  --accent: #8fb4ff;
  --error: #e5484d;
  --chrome: linear-gradient(180deg, #ffffff 0%, #e4e6ea 28%, #8f949c 52%, #eef0f3 70%, #a8adb6 100%);
  --head: "Montserrat", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text2);
  font: 400 18px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.center { text-align: center; margin-top: 48px; }

/* ASCII dunes behind everything — faint and slow, never competing with the text */
.ascii-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .38; }

/* ---------------------------------------------------------------- type */
.eyebrow {
  font: 500 13px/1.4 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 18px;
}
.h-page, .h-sec, .h-final, .motto {
  font-family: var(--head);
  color: var(--text);
  text-transform: uppercase;
  text-wrap: balance;
}
.h-page { font-weight: 800; font-size: clamp(34px, 5.6vw, 84px); line-height: .98; letter-spacing: -.03em; max-width: 18ch; }
.h-sec { font-weight: 700; font-size: clamp(30px, 4.5vw, 64px); line-height: 1; letter-spacing: -.02em; max-width: 20ch; }
.h-final { font-weight: 800; font-size: clamp(38px, 7vw, 112px); line-height: .95; letter-spacing: -.03em; }
.h-sub { font: 600 clamp(22px, 2.2vw, 28px)/1.25 var(--head); color: var(--text); margin-bottom: 20px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--text2); max-width: 62ch; margin-top: 22px; }
.chrome, .h-final, .motto span {
  background: var(--chrome);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------- buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  font: 600 16px/1 var(--body); letter-spacing: .02em;
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
  border: 1px solid transparent;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: linear-gradient(180deg, #ffffff, #c9ced6); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text2); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.arr { display: inline-block; transition: transform .2s var(--ease); }

/* ---------------------------------------------------------------- header */
/* The blur sits on a pseudo-element: backdrop-filter on the header itself would become the
   containing block of the fixed mobile menu and squash it to the header's height. */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(5, 5, 6, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .25s var(--ease);
}
.site-header.scrolled::before, .nav-open .site-header::before { opacity: 1; }
.bar { max-width: var(--max); margin: 0 auto; padding: 12px var(--gut); display: flex; align-items: center; gap: 20px; }
.brand img { width: 112px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav > ul { display: flex; gap: 26px; }
.nav a { text-decoration: none; color: var(--text2); font-size: 15px; transition: color .15s; }
.nav > ul > li > a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1180px) { .nav > ul { gap: 18px; } .nav a { font-size: 14px; } }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .nav-cta { color: var(--bg); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 240px;
  background: rgba(14, 15, 18, .96); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.sub::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; }
.sub a:hover { background: var(--surface); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.lang {
  font: 600 13px/1 var(--body); letter-spacing: .1em; color: var(--text2); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px;
}
.lang:hover { color: var(--text); border-color: var(--text2); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text);
  transition: transform .2s var(--ease), top .2s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.nav-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.nav .ni, .nav-logo, .nav-close { display: none; }

@media (max-width: 960px) {
  .burger { display: block; }
  .lang { margin-left: auto; }
  /* the phone menu IS the team panel's rail (Mr. ASV, 18 Oct 2026): a full-height glass column on the right, the logo on
     top, coloured glowing icons, the active page with a light bar sticking out of the glass, the round arrow on the left
     edge that closes it, and "Cere o ofertă" at the bottom */
  .nav {
    position: fixed; top: 12px; bottom: 12px; right: 12px; left: auto; margin: 0; z-index: 60;
    width: min(262px, calc(100vw - 40px));
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px 14px 16px;
    border: 1px solid rgba(255, 255, 255, .08); border-radius: 30px;
    background: linear-gradient(180deg, rgba(18, 18, 20, .82), rgba(8, 8, 10, .92));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
    transform: translateX(calc(100% + 40px)); transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility .45s;
    visibility: hidden;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-logo { display: block; padding: 4px 8px 22px; }
  .nav-logo img { display: block; width: 100%; max-width: 170px; height: auto; }
  .nav-close {
    display: grid; place-items: center; position: absolute; left: -15px; top: 70px; z-index: 3;
    width: 30px; height: 30px; padding: 0; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .14); background: #141416; color: #e4e4e8; cursor: pointer;
    box-shadow: 0 0 0 4px rgba(5, 5, 5, .6), 0 0 18px rgba(235, 235, 240, .2);
  }
  .nav-close svg { width: 14px; height: 14px; }
  .nav > ul { flex: 1; min-height: 0; flex-direction: column; gap: 2px; padding: 0 2px; }   /* no overflow: the light bar sticks out of the glass */
  .nav > ul > li > a { position: relative; display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 12px; border-radius: 14px;
    font: 400 15px/1 var(--body); color: #b9bcc4; transition: background .25s, color .25s; }
  .nav > ul > li > a:hover { background: rgba(255, 255, 255, .06); color: #f4f5f7; }
  .nav .ni { display: block; flex: none; width: 19px; height: 19px; fill: none; stroke-width: 1.5;
    stroke: var(--c, currentColor); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c, #fff) 55%, transparent)); }
  .nav > ul > li > a[aria-current="page"] { color: #f4f5f7;
    background: linear-gradient(270deg, color-mix(in srgb, var(--c) 32%, transparent), color-mix(in srgb, var(--c) 6%, transparent) 70%, transparent); }
  .nav > ul > li > a[aria-current="page"]::before { content: ""; position: absolute; right: -17px; top: 50%; width: 5px; height: 28px;
    margin-top: -14px; border-radius: 4px; background: var(--c); box-shadow: 0 0 14px var(--c), 0 0 34px color-mix(in srgb, var(--c) 60%, transparent); }
  .nav .has-sub { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0;
    padding: 0 0 0 45px; min-width: 0; gap: 0; }
  .sub a { padding: 6px 0; font-size: 13px; color: #9aa0aa; }
  .sub a:hover { background: none; color: #fff; }
  .nav .nav-cta { align-self: stretch; text-align: center; margin: 14px 0 0; position: relative; }
  .nav .nav-cta::before { content: ""; position: absolute; left: -6px; right: -6px; top: -14px; height: 1px; background: rgba(255, 255, 255, .08); }
  /* the page dims behind the open rail; a tap outside closes it (assets/site.js) */
  body::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .5);
    opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
  body.nav-open::after { opacity: 1; pointer-events: auto; }
}
@media (max-width: 960px) and (max-height: 720px) {
  .nav .sub { display: none; }                        /* short phones: the services list lives on the Servicii page */
  .nav .has-sub { padding-bottom: 2px; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden; isolation: isolate;
  padding: 120px 0 110px;
}
.hero-fx-svg { position: absolute; }
.hero-liquid {
  position: absolute; inset: -20%; z-index: -2;
  background:
    radial-gradient(22% 14% at 22% 28%, #6e6e6e 0%, #2a2a2a 45%, transparent 75%),
    radial-gradient(28% 18% at 78% 22%, #5a5a5a 0%, #222 50%, transparent 78%),
    radial-gradient(30% 16% at 62% 78%, #7a7a7a 0%, #2e2e2e 45%, transparent 75%),
    radial-gradient(18% 22% at 28% 82%, #4a4a4a 0%, #1a1a1a 50%, transparent 78%),
    linear-gradient(135deg, #060606 0%, #121212 45%, #070707 100%);
  filter: url(#liquid) contrast(1.35) brightness(.9);
  opacity: .78;
  animation: drift 22s ease-in-out infinite alternate;
}
.hero-sheen {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .05) 50%, transparent 65%) 100% 0 / 250% 100%,
    linear-gradient(90deg, rgba(5, 5, 6, .7) 0%, rgba(5, 5, 6, .2) 60%, rgba(5, 5, 6, 0) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, .4) 0%, transparent 35%, rgba(5, 5, 6, .95) 100%);
  animation: sheen 9s ease-in-out infinite;
}
.paused .hero-liquid, .paused .hero-sheen, .paused .motto span { animation-play-state: paused; }
@keyframes drift { to { transform: translate(-4%, 3%) scale(1.08) rotate(6deg); } }
@keyframes sheen { 50% { background-position: 0 0, 0 0, 0 0; } }

.hero-h1 { max-width: 46ch; }
.motto { display: flex; flex-direction: column; font-weight: 800; font-size: clamp(44px, 8.4vw, 132px);
  line-height: .95; letter-spacing: -.035em; }
.motto span {
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, .95) 50%, transparent 58%) 160% 0 / 260% 100% no-repeat,
              var(--chrome);
  -webkit-background-clip: text; background-clip: text;
  animation: sweep 7s var(--ease) infinite;
  padding-bottom: .04em;
}
.motto span + span { animation-delay: .35s; }
@keyframes sweep { 0%, 55% { background-position: 160% 0, 0 0; } 100% { background-position: -60% 0, 0 0; } }
.hero-sub { font: 600 clamp(18px, 1.7vw, 22px)/1.4 var(--body); color: var(--text); margin-top: 30px; max-width: 46ch; }
.hero-body { margin-top: 12px; max-width: 56ch; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 500 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--text3); text-decoration: none;
}
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(var(--accent), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------------------------------------------------------------- reel: the "film" without footage */
.reel { position: relative; height: 340vh; border-top: 1px solid var(--line); }
.reel-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.reel-words { margin: 28px 0 26px; }
.reel .h-sec { font-size: clamp(24px, min(3.4vw, 5.6vh), 52px); }
.reel-in { padding-top: 70px; }
.reel-words li {
  font: 800 clamp(28px, min(5.6vw, 8.4vh), 96px)/1.02 var(--head); text-transform: uppercase; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px var(--line-hi);
  transition: color .4s var(--ease), -webkit-text-stroke-color .4s var(--ease), transform .4s var(--ease), opacity .4s;
  opacity: .55; transform-origin: left center;
}
.reel-words li.on {
  opacity: 1; -webkit-text-stroke-color: transparent;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text;
  transform: translateX(14px);
}
.reel-words li.done { opacity: .8; -webkit-text-stroke-color: var(--text3); }
.reel-sub { max-width: 60ch; }
.reel-bar { margin-top: 28px; height: 1px; background: var(--line); max-width: 420px; }
.reel-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.reel.static { height: auto; }
.reel.static .reel-stick { position: static; height: auto; padding: 120px 0; }
.reel.static .reel-words li { color: var(--text); -webkit-text-stroke: 0; opacity: 1; }
.reel.static .reel-bar { display: none; }

/* ---------------------------------------------------------------- sections */
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sec-tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec-alt { background: rgba(14, 15, 18, .82); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 56px; }
.page-head { padding: clamp(150px, 18vw, 220px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 80% at 85% 0%, rgba(143, 180, 255, .06), transparent 60%); }
.num { font: 600 13px/1 var(--body); letter-spacing: .14em; color: var(--text3); }

/* cards */
.svc-grid, .proj-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.proj-grid.one { grid-template-columns: minmax(0, 560px); }
.svc-card, .proj-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 30px 28px 28px; min-height: 100%;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 18px;
  text-decoration: none; overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.svc-card::after, .proj-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .06) 50%, transparent 70%) 120% 0 / 250% 100% no-repeat;
  transition: background-position .8s var(--ease);
}
.svc-card:hover, .proj-card:hover { border-color: var(--line-hi); transform: translateY(-3px); background: var(--surface); }
.svc-card:hover::after, .proj-card:hover::after { background-position: -40% 0; }
.svc-card:hover .arr, .proj-card:hover .arr { transform: translateX(4px); }
.svc-tag, .proj-type { font: 500 12px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--text3); }
.svc-card h3 { font: 700 24px/1.15 var(--head); color: var(--text); }
.svc-sub { color: var(--text); font-weight: 600; font-size: 16px; }
.svc-card p, .proj-card p { font-size: 16px; }
.proj-name { font: 800 clamp(28px, 3vw, 38px)/1 var(--head); text-transform: uppercase; letter-spacing: -.02em;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .05em; }
.more { margin-top: auto; padding-top: 8px; color: var(--text); font-weight: 600; font-size: 15px; }

/* steps */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: s; }
.step { border-top: 1px solid var(--line-hi); padding-top: 22px; }
.step h3 { font: 700 22px/1.2 var(--head); color: var(--text); margin: 14px 0 10px; }
.step p { font-size: 16px; }

/* blocks */
.blocks { display: grid; gap: 16px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); margin-top: 56px; }
.blocks.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: 40px; }
.block { border-top: 1px solid var(--line); padding: 26px 0 12px; }
.block h2, .block h3 { font: 700 clamp(21px, 2vw, 26px)/1.2 var(--head); color: var(--text); margin: 12px 0 12px; }
.block p { max-width: 60ch; }
.cta-inline .btns { margin-top: 0; }

/* final CTA */
.final { padding: clamp(100px, 14vw, 200px) 0; text-align: center;
  background: radial-gradient(50% 60% at 50% 100%, rgba(255, 255, 255, .06), transparent 70%); border-top: 1px solid var(--line); }
.final-in { display: flex; flex-direction: column; align-items: center; }
.final-in .lead { margin-left: auto; margin-right: auto; color: var(--text); }
.final-in > p:not(.lead) { margin-top: 10px; max-width: 56ch; }
.final-in .btns { justify-content: center; }
.final-sm { padding: clamp(72px, 9vw, 120px) 0; }
.final-sm .h-sec { max-width: 24ch; }
.also { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 44px; font-size: 15px; }
.also a { text-decoration: none; color: var(--text2); }
.also a:hover { color: var(--text); }

/* band */
.band { border-top: 1px solid var(--line); background: rgba(14, 15, 18, .82); }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.band-t { font: 700 clamp(22px, 2.4vw, 30px)/1.2 var(--head); color: var(--text); }

/* case study */
.case-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: start; }
.glance { border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: var(--bg2); position: sticky; top: 100px; }
.glance dl { display: grid; gap: 16px; margin-bottom: 22px; }
.glance dt, .company dt { font: 500 12px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--text3); }
.glance dd { color: var(--text); font-size: 16px; overflow-wrap: anywhere; }
.glance dd a { color: var(--text); text-decoration-color: var(--line-hi); text-underline-offset: 3px; margin-right: 10px; }
.glance .btn { width: 100%; }
.built li { position: relative; padding: 22px 0 22px 44px; border-top: 1px solid var(--line); color: var(--text); font-size: 19px; }
.built li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
@media (max-width: 820px) { .case-grid { grid-template-columns: 1fr; } .glance { position: static; } }

/* prose / legal / company */
.prose p { margin-bottom: 20px; font-size: clamp(18px, 1.5vw, 20px); }
.prose .btns { margin-top: 12px; }
.legal h2 { font: 700 22px/1.3 var(--head); color: var(--text); margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 17px; }
.legal a, .form a, .form-done a { color: var(--text); text-underline-offset: 3px; }
.company { display: grid; gap: 0; border-top: 1px solid var(--line); }
.company div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.company dd { color: var(--text); overflow-wrap: anywhere; }
@media (max-width: 600px) { .company div { grid-template-columns: 1fr; gap: 4px; } }

/* FAQ */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font: 600 clamp(18px, 1.6vw, 21px)/1.35 var(--head); color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 28px/1 var(--body); color: var(--text3); transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 24px; max-width: 66ch; }

/* ---------------------------------------------------------------- contact form */
.contact-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); align-items: start; }
.form, .form-done { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 40px); }
.form-done { grid-column: 1; }
.form-done p { margin-top: 6px; }
.row2 { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; border: 0; min-width: 0; }
.field label, .field legend { font: 600 14px/1.4 var(--body); color: var(--text); }
.field legend { margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font: 400 16px/1.4 var(--body); transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field.bad input, .field.bad textarea { border-color: var(--error); }
.err { color: var(--error); font-size: 14px; min-height: 0; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--text2); transition: all .15s; }
.chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font: 400 15px/1.5 var(--body); color: var(--text2); margin-bottom: 18px; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--text); }
.field .check { margin-bottom: 0; }
.note { font-size: 14px; color: var(--text3); margin-bottom: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--error); color: var(--text); font-size: 15px; }
.aside { border-top: 1px solid var(--line-hi); padding-top: 22px; position: sticky; top: 100px; }
.aside ol { counter-reset: a; display: grid; gap: 18px; margin-top: 16px; }
.aside li { counter-increment: a; position: relative; padding-left: 40px; color: var(--text); font-size: 16px; }
.aside li::before { content: counter(a, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 600 13px/1.4 var(--body); color: var(--text3); letter-spacing: .1em; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .aside { position: static; } }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 72px 0 32px; font-size: 15px; }
.foot-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
.foot-brand img { width: 150px; }
.brand-line { color: var(--text); margin: 16px 0 20px; font-weight: 600; }
.foot-h { font: 500 12px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--text3); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a { text-decoration: none; color: var(--text2); }
.site-footer ul a:hover { color: var(--text); }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text3); font-size: 13px; display: grid; gap: 4px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- solo pages (root, 404) */
body.solo { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.solo-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.solo-in .btns { justify-content: center; }

/* ---------------------------------------------------------------- reveal */
.js .rv { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* phones: no SVG displacement (heavy on mobile GPUs) — static chrome gradient instead */
@media (max-width: 767px) {
  .hero-liquid { filter: contrast(1.2) brightness(.55) blur(20px); animation: none; }
  .hero { align-items: flex-end; padding-bottom: 120px; }
  .reel { height: 300vh; }
  body { font-size: 16px; }
  .built li { font-size: 17px; padding-left: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hero-liquid { filter: contrast(1.2) brightness(.55) blur(20px); }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- hero: the ASV mark tells the story
   A (you ask) rises → S (we build) is drawn → V (the A turned over = what you get) flips into place */
@media (min-width: 1024px) {
  .hero-in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 48px; align-items: center; }
}
.hero .motto { font-size: clamp(36px, 5.2vw, 88px); line-height: 1.08; }
.hero .motto span { padding-top: .06em; }
.asv-mark { width: 100%; max-width: 620px; justify-self: end; }
.asv-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.asv-mark g { transform-box: fill-box; transform-origin: center; }
.m-a { animation: asvRise 1s var(--ease) .2s both; }
.s-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: asvDraw 1.1s ease-in-out 1.1s forwards; }
.s-rim { opacity: 0; animation: asvFade .5s ease-out 2.1s forwards; }
.m-v { opacity: 0; transform: scaleY(-1); animation: asvFlip 1.1s var(--ease) 2.3s forwards; }
.m-lab { opacity: 0; }
.lab-a { animation: asvFade .5s ease-out .9s forwards; }
.lab-s { animation: asvFade .5s ease-out 2s forwards; }
.lab-v { animation: asvFade .5s ease-out 3.2s forwards; }
.m-lab text { font: 700 52px/1 var(--head); fill: var(--text); text-anchor: middle; letter-spacing: .08em; }
.m-lab text.sm { font: 400 36px/1 var(--body); fill: var(--text2); letter-spacing: 0; }
@keyframes asvRise { from { opacity: 0; transform: translateY(60px); } }
@keyframes asvDraw { to { stroke-dashoffset: 0; } }
@keyframes asvFade { to { opacity: 1; } }
@keyframes asvFlip {
  0% { opacity: 0; transform: scaleY(-1); }
  25% { opacity: 1; transform: scaleY(-1); }
  100% { opacity: 1; transform: scaleY(1); }
}
.paused .asv-mark * { animation-play-state: paused; }
@media (max-width: 1023px) {
  .asv-mark { max-width: 420px; margin: 0 0 28px; order: -1; }
  .hero-in { display: flex; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .asv-mark g, .asv-mark path { opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; }
}

/* phones: the whole first screen — mark, motto and "Cere o ofertă" — fits without scrolling */
@media (max-width: 767px) {
  .hero { min-height: 0; align-items: flex-start; padding: 84px 0 40px; }
  .asv-mark { max-width: 320px; margin: 0 0 18px; }
  .hero-h1 { margin-bottom: 14px; font-size: 12px; }
  .hero .motto { font-size: clamp(34px, 10.4vw, 46px); }
  .hero-sub { margin-top: 18px; font-size: 17px; }
  .hero-body { font-size: 16px; margin-top: 8px; }
  .hero .btns { margin-top: 20px; }
  .hero .btn { min-height: 52px; }
  .scroll-cue { display: none; }
}
@media (max-width: 767px) and (max-height: 760px) {
  .hero-body { display: none; }
}
@media (max-width: 767px) {
  .hero-in { align-items: center; text-align: center; }
  .asv-mark { margin-left: auto; margin-right: auto; }
  .hero .motto { align-items: center; }
  .hero-sub, .hero-body, .hero-h1 { margin-left: auto; margin-right: auto; }
  .hero .btns { justify-content: center; }
}

/* ---------------------------------------------------------------- contact: pick a form, multi-step brief */
.forms { min-width: 0; }
.picks { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-bottom: 16px; }
.pick { text-align: left; display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; cursor: pointer;
  background: var(--bg2); border: 1px solid var(--line); color: var(--text2); font: inherit; transition: border-color .2s, background .2s; }
.pick:hover { border-color: var(--line-hi); }
.pick[aria-pressed="true"] { border-color: var(--text); background: var(--surface); box-shadow: 0 0 0 1px var(--text) inset; }
.pick-t { font: 700 20px/1.2 var(--head); color: var(--text); text-transform: uppercase; letter-spacing: -.01em; }
.pick-time { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pick-d { font-size: 15px; }
.progress { height: 2px; background: var(--line); border-radius: 2px; margin: -4px 0 26px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--accent); transition: width .3s var(--ease); }
.step-title { font: 700 clamp(24px, 2.6vw, 32px)/1.15 var(--head); color: var(--text); text-transform: uppercase; margin: -6px 0 22px; }
.step-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 8px; }
.step-nav .btn-primary:only-child { margin-left: auto; }
.chips.col { flex-direction: column; align-items: flex-start; }
.field select { width: 100%; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font: 400 16px/1.4 var(--body); appearance: none; }
.field select:focus { outline: none; border-color: var(--accent); }
.upsell { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.upsell p { margin-bottom: 14px; color: var(--text); }
@media (min-width: 640px) {
  .step-pane:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
  .step-pane > * { grid-column: 1 / -1; }
  .step-pane > .field:has(> input:not([type="checkbox"])), .step-pane > .field:has(> select) { grid-column: auto; }
}
@media (max-width: 639px) {
  .picks { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pick { padding: 14px; }
  .pick-t { font-size: 16px; }
  .pick-d { display: none; }
}

/* "Știri & finanțări": the Digital department's news (Mr. ASV, 18 Oct 2026) */
.news-card .proj-name { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; }
.news-empty { color: var(--text3); margin-bottom: 24px; }
.news-note { margin-top: 32px !important; font-size: 14px !important; color: var(--text3); max-width: 70ch; }
.news-all { margin-top: 18px; }
.news-all a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-hi); padding-bottom: 2px; }
.news-meta { font-size: 14px !important; color: var(--text3); margin-bottom: 28px !important; }
.news-meta a { color: var(--text); }
.news-article h2 { margin: 36px 0 12px; font: 700 clamp(21px, 2vw, 26px)/1.25 var(--head); color: var(--text); }
.news-article ul { margin: 0 0 20px; padding-left: 22px; list-style: disc; }
.news-article li::marker { color: var(--accent); }
.news-article li { margin-bottom: 8px; font-size: clamp(17px, 1.4vw, 19px); }
.news-article a { color: var(--accent); }
.news-article strong { color: var(--text); }
.news-facts { display: grid; gap: 0; margin: 0 0 32px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg2); }
.news-facts div { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line); }
.news-facts div:first-child { border-top: 0; }
.news-facts dt { font-size: 14px; color: var(--text3); }
.news-facts dd { font-size: 16px; color: var(--text); overflow-wrap: anywhere; }
@media (max-width: 640px) { .news-facts div { grid-template-columns: 1fr; gap: 2px; } }
.news-faq { margin-top: 40px; padding-top: 8px; border-top: 1px solid var(--line); }
.news-faq h3 { margin: 22px 0 6px; font: 600 clamp(17px, 1.5vw, 19px)/1.35 var(--head); color: var(--text); }
.ai-page h3 { margin: 22px 0 6px; font: 600 clamp(17px, 1.5vw, 19px)/1.35 var(--head); color: var(--text); }
.ai-page code { font-size: .92em; padding: 1px 6px; border-radius: 6px; background: var(--bg2); border: 1px solid var(--line); color: var(--text); }
.ai-page .btns { margin-top: 28px; }

/* readable articles: near-white text on a calm dark column, the ASCII waves don't show through the letters */
.news-article { background: rgba(5, 5, 6, .9); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 48px);
  box-shadow: 0 0 0 60px rgba(5, 5, 6, .35); }
.news-article p, .news-article li { color: #eef0f4; }
.news-article .news-meta, .news-article .news-note { color: var(--text3); }
.news-faq p { color: #e6e9ee; }

/* ---------------------------------------------------------------- brief clarity score */
.clarity { position: relative; overflow: hidden; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center;
  margin: 0 0 26px; padding: 18px 20px 92px; border: 1px solid var(--line); border-radius: 16px; background: rgba(5, 5, 6, .55); }
.clarity-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.clarity-ring, .clarity-text { position: relative; z-index: 1; }
.clarity-ring { width: 112px; height: 112px; display: grid; place-items: center; }
.clarity-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.clarity-ring circle { fill: none; stroke-width: 7; }
.clarity-ring .track { stroke: var(--line); }
.clarity-ring .bar { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .5s var(--ease), stroke .3s; }
.clarity.crystal .bar { stroke: var(--text); filter: drop-shadow(0 0 6px rgba(242, 244, 247, .6)); }
.clarity-n { font: 800 34px/1 var(--head); color: var(--text); }
.clarity-title { font: 600 14px/1.4 var(--body); color: var(--text); letter-spacing: .02em; }
.clarity-level { font: 700 18px/1.3 var(--head); color: var(--text); text-transform: uppercase; margin-top: 4px; }
.clarity-missing { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text3); margin-top: 12px; }
.clarity-hints { display: grid; gap: 4px; margin-top: 6px; }
.clarity-hints li { position: relative; padding-left: 16px; font-size: 14px; color: var(--text2); }
.clarity-hints li::before { content: "?"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.clarity-note { font-size: 12px; color: var(--text3); margin-top: 10px; }
@media (max-width: 520px) {
  .clarity { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 14px 14px 88px; }
  .clarity-ring { width: 84px; height: 84px; }
  .clarity-n { font-size: 26px; }
  .clarity-level { font-size: 15px; }
  .clarity-hints li:nth-child(n+3) { display: none; }
}

/* ---- home: AI video productions (film + order form) ---- */
.vp-in { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.vp-film { position: sticky; top: 96px; }
.vp-video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.vp-copy .lead { margin-top: 10px; }
.vp-copy > p:not(.eyebrow):not(.lead) { margin-top: 12px; color: var(--text); opacity: .86; }
.vp-form, .vp-done { margin-top: 28px; }
.vp-done { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 40px); }
.vp-fail { color: var(--error); margin: 4px 0 12px; }
@media (max-width: 860px) {
  .vp-in { grid-template-columns: 1fr; }
  .vp-film { position: static; max-width: 380px; margin: 0 auto; width: 100%; }
}
.case-video { max-width: 380px; margin-bottom: 32px; }
.case-how { margin-top: 48px; }
.case-body .blocks { margin-top: 18px; }
/* public phone: footer, contact aside, video form */
.tel { color: var(--text); font-weight: 600; text-decoration: none; white-space: nowrap; }
.tel:hover { text-decoration: underline; text-underline-offset: 3px; }
.tel-name { color: var(--text2); white-space: nowrap; }
/* the phone behind a button (no number in the page for bots): looks like the link it becomes */
.tel-reveal { font: inherit; font-weight: 600; color: var(--text); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 210, 122, .6); }
.foot-phone { margin: 10px 0 16px; }
.aside-phone { margin-top: 24px; display: flex; flex-direction: column; gap: 4px; }
.vp-call { margin-top: 16px; }

/* ---------------------------------------------------------------- home: the promise + the new sections (11 Nov 2026) */
.hero .motto.promise { display: block; font-size: clamp(30px, 4.2vw, 68px); line-height: 1.04; max-width: 17ch; }
.hero .motto.promise span { display: inline; }
.theme-synaptic.is-home .motto.promise, .theme-wave .hero .motto.promise { font-size: clamp(28px, 4vw, 64px); max-width: 18ch; margin-left: auto; margin-right: auto; }
.hero-h1.eyebrow { font-size: 13px; letter-spacing: .14em; }
.svc-keys { font: 600 11px/1.5 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--text3); margin-top: 4px; }
.case-line { margin-top: 14px; font-weight: 600; color: var(--text); }
.motto-sign { font: 700 clamp(15px, 1.4vw, 18px)/1.4 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--text3); margin-bottom: 18px; }

.connect-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.connect-box { border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 36px); background: rgba(14, 15, 18, .82); }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--accent); }
.connect-proof { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
@media (max-width: 860px) { .connect-in { grid-template-columns: 1fr; } }

.tools { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.tool { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: rgba(14, 15, 18, .82); }
.tool b { display: block; font: 800 18px/1.2 var(--head); color: var(--text); letter-spacing: .02em; }
.tool p { margin-top: 8px; font-size: 15px; }

.packs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.pack { border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 34px); background: var(--bg); }
.pack h3 { font: 800 clamp(22px, 2.2vw, 28px)/1.15 var(--head); color: var(--text); margin: 4px 0 10px; text-transform: uppercase; }
.pack ul { display: grid; gap: 8px; margin-top: 16px; }
.pack li { position: relative; padding-left: 22px; color: var(--text); font-size: 15px; }
.pack li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pack-note { margin-top: 18px; color: var(--text3); font-size: 15px; }

.plat-label { margin: 18px 0 10px; font: 600 12px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--text3); }
.plat-row { display: flex; flex-wrap: wrap; gap: 8px; }
.plat-row li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--text2); background: rgba(14, 15, 18, .6); }
.plat-row.strong li { color: var(--text); border-color: var(--line-hi); font-weight: 600; }
