/* =========================================================
   „Amedeolux” S.R.L. — stiluri site
   Culorile principale se schimbă din variabilele de mai jos.
   ========================================================= */

/* Fontul Plus Jakarta Sans e găzduit local (assets/fonts, licență OFL):
   se încarcă mai repede decât de pe Google Fonts și nu blochează afișarea. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #3b3fe0;
  --primary-600: #2d31c4;
  --accent: #7c5cff;
  --grad: linear-gradient(135deg, #3b3fe0 0%, #6a4cff 55%, #8b5cf6 100%);

  --ink: #0e1330;
  --text: #4b5270;
  --muted: #636a86;
  --line: #e7e9f6;
  --bg: #ffffff;
  --bg-soft: #f6f7ff;
  --bg-tint: #eef0ff;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(24, 28, 80, .06);
  --shadow: 0 12px 32px -12px rgba(40, 45, 140, .18), 0 2px 6px rgba(24, 28, 80, .05);
  --shadow-lg: 0 30px 60px -20px rgba(45, 40, 160, .28);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --container: 1200px;
  --header-h: 76px;
}

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

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
address { font-style: normal; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 3px solid rgba(124, 92, 255, .55);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding: 104px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p:last-child { margin-bottom: 0; font-size: 1.05rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before,
.section-head .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.eyebrow-light { color: #e6e4ff; }
.eyebrow-light::before { background: #e6e4ff; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .icon-arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(59, 63, 224, .55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(59, 63, 224, .65);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm { min-height: 44px; padding: 8px 20px; font-size: .9rem; white-space: nowrap; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(20, 24, 80, .3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
}
.logo svg { width: 40px; height: 40px; }
.logo .lux {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a:not(.btn) {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.nav a:not(.btn):hover { color: var(--primary); }
.nav a.active { color: var(--primary); background: var(--bg-tint); }
.nav .nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 72px;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% 8%, #ebe6ff 0%, rgba(235, 230, 255, 0) 62%),
    radial-gradient(700px 480px at -5% 35%, #e7eeff 0%, rgba(231, 238, 255, 0) 60%),
    linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 35%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 35%, #000 0%, transparent 70%);
  opacity: .55;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
}
.live-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(34, 197, 94, .35);
  animation: pulse 2s ease-out infinite;
}

.hero h1 { margin-bottom: 22px; }
.hero-lead { max-width: 540px; margin-bottom: 32px; font-size: 1.12rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--primary);
  stroke-width: 3;
}

/* Ilustrația din hero — dimensiunile interne sunt în em,
   scalate după lățimea containerului (cqw). */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  aspect-ratio: 1 / .9;
  container-type: inline-size;
}
.hero-visual > * { font-size: 14px; font-size: 2.45cqw; }

.hv-glow {
  position: absolute;
  inset: 12% 6% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 92, 255, .32), rgba(124, 92, 255, 0));
  filter: blur(20px);
}
.hv-platform {
  position: absolute;
  left: 8%;
  right: 2%;
  bottom: 1%;
  height: 17%;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff 0%, #ebe8ff 100%);
  box-shadow: 0 30px 50px -22px rgba(80, 60, 200, .45), inset 0 -.6em 1.4em rgba(124, 92, 255, .22);
}

.hv-browser {
  position: absolute;
  left: 13%;
  top: 9%;
  width: 83%;
  overflow: hidden;
  border: 1px solid rgba(231, 233, 246, .9);
  border-radius: 1.2em;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.hv-bar {
  display: flex;
  align-items: center;
  gap: .45em;
  height: 2.3em;
  padding: 0 .9em;
  border-bottom: 1px solid var(--line);
  background: #f4f5fb;
}
.hv-bar > span { width: .7em; height: .7em; border-radius: 50%; background: #ff6b6b; }
.hv-bar > span:nth-child(2) { background: #ffc44d; }
.hv-bar > span:nth-child(3) { background: #3dd68c; }
.hv-url {
  display: flex;
  align-items: center;
  gap: .4em;
  flex: 0 1 55%;
  height: 1.45em;
  margin-left: .9em;
  padding: 0 .7em;
  border: 1px solid var(--line);
  border-radius: .45em;
  background: #fff;
  font-size: .75em;
  font-weight: 700;
  color: var(--muted);
}
.hv-url .icon { width: 1em; height: 1em; color: #22c55e; }

.hv-screen { display: flex; flex-direction: column; gap: 1.2em; padding: 1em 1.3em 1.3em; }
.hv-nav { display: flex; align-items: center; gap: .75em; }
.hv-logo { width: 1.5em; height: 1.5em; border-radius: .45em; background: var(--grad); }
.hv-link { width: 2.2em; height: .45em; border-radius: .3em; background: #e3e6f3; }
.hv-link:first-of-type { margin-left: auto; }
.hv-navbtn { width: 3.4em; height: 1.2em; border-radius: 999px; background: var(--grad); }

.hv-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.2em; }
.hv-h { display: block; height: .9em; margin-bottom: .55em; border-radius: .35em; background: var(--ink); }
.hv-h.l1 { width: 92%; }
.hv-h.l2 { width: 68%; background: var(--grad); }
.hv-p { display: block; height: .45em; margin-bottom: .45em; border-radius: .3em; background: #e3e6f3; }
.hv-p.short { width: 60%; }
.hv-btns { display: flex; gap: .55em; margin-top: 1em; }
.hv-btns span { width: 4.4em; height: 1.5em; border-radius: 999px; background: var(--grad); }
.hv-btns span.ghost { border: 1.5px solid #dcdff0; background: #fff; }

.hv-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / .85;
  overflow: hidden;
  border-radius: 1em;
  background: linear-gradient(145deg, #eef0ff 0%, #e2dbff 100%);
}
.hv-art::before,
.hv-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(124, 92, 255, .25);
  border-radius: 50%;
}
.hv-art::before { width: 80%; aspect-ratio: 1; }
.hv-art::after { width: 115%; aspect-ratio: 1; }
.hv-art svg {
  position: relative;
  z-index: 1;
  width: 46%;
  height: auto;
  aspect-ratio: 1;
  filter: drop-shadow(0 .8em 1.2em rgba(59, 63, 224, .35));
}

.hv-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75em; }
.hv-feats > div { padding: .75em; border: 1px solid var(--line); border-radius: .75em; }
.hv-ico { display: block; width: 1.35em; height: 1.35em; margin-bottom: .6em; border-radius: .4em; background: var(--bg-tint); }

.hv-phone {
  position: absolute;
  left: 0;
  bottom: 5%;
  width: 26%;
  aspect-ratio: 9 / 18.5;
  padding: .45em;
  border-radius: 1.7em;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.hv-phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .5em;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 1.3em .65em .65em;
  border-radius: 1.3em;
  background: #fff;
}
.hv-phone-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32%;
  width: 36%;
  height: .75em;
  border-radius: 0 0 .6em .6em;
  background: var(--ink);
}
.hv-phone-screen .hv-nav { justify-content: space-between; }
.hv-phone-screen .hv-logo { width: 1.1em; height: 1.1em; }
.hv-burger { width: 1.1em; height: .7em; border-top: 2px solid #c9cde3; border-bottom: 2px solid #c9cde3; }
.hv-phone-img { display: block; height: 28%; border-radius: .6em; background: var(--grad); opacity: .9; }
.hv-phone-screen .hv-h { height: .7em; margin: .2em 0 0; }
.hv-phone-screen .hv-p { margin: 0; }
.hv-phone-btn { display: block; width: 60%; height: 1.2em; margin-top: .2em; border-radius: 999px; background: var(--grad); }
.hv-phone-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .4em; margin-top: auto; }
.hv-phone-cards span { height: 2.6em; border-radius: .5em; background: var(--bg-tint); }

.hv-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .75em;
  padding: .85em 1.1em;
  border: 1px solid rgba(231, 233, 246, .9);
  border-radius: 1.1em;
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
  font-size: .82em;
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted);
}
.hv-card strong { display: block; font-size: 1.35em; font-weight: 800; color: var(--ink); }
.hv-score { top: 1%; right: 0; }
.gauge { width: 3.4em; height: 3.4em; }
.hv-chart {
  right: -1%;
  bottom: 12%;
  flex-direction: column;
  align-items: stretch;
}
.bars { display: flex; align-items: flex-end; gap: .4em; height: 3em; }
.bars span { width: .75em; border-radius: .25em; background: var(--bg-tint); }
.bars span:nth-child(1) { height: 30%; }
.bars span:nth-child(2) { height: 46%; }
.bars span:nth-child(3) { height: 40%; }
.bars span:nth-child(4) { height: 62%; background: #c9c1ff; }
.bars span:nth-child(5) { height: 78%; background: #9f8cff; }
.bars span:nth-child(6) { height: 100%; background: var(--grad); }
.hv-chart-label { display: flex; align-items: center; gap: .6em; }
.hv-chart-label strong { font-size: 1.1em; }
.hv-chart-label .icon {
  width: 2.2em;
  height: 2.2em;
  padding: .45em;
  border-radius: .7em;
  background: #e9fbf0;
  color: #16a34a;
}

.hv-pill {
  position: absolute;
  top: 3%;
  left: 3%;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .6em 1em;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: .82em;
  font-weight: 700;
  color: #fff;
}
.hv-pill .icon { width: 1.2em; height: 1.2em; color: #a99bff; }

.float-slow { animation: float 8s ease-in-out infinite; }
.float-mid { animation: float 6.5s ease-in-out -2s infinite; }
.float-fast { animation: float 5.5s ease-in-out -1s infinite; }

/* ---------- Domenii (bandă derulantă) ---------- */
.industries { padding: 28px 0 8px; }
.industries-title {
  margin-bottom: 22px;
  text-align: center;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee {
  overflow: hidden;
  padding: 6px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0 14px 0 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink);
}
.chip .icon { color: var(--primary); }

/* ---------- Despre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 72px;
}

.about-visual { position: relative; padding: 36px 28px 64px 0; }
.av-bg {
  position: absolute;
  inset: 0 0 0 12%;
  border-radius: 36px;
  background: linear-gradient(145deg, #eef0ff 0%, #e6dfff 100%);
  transform: rotate(-3deg);
}
.code-window {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #0f1433;
  box-shadow: var(--shadow-lg);
}
.code-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.code-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff6b6b; }
.code-bar span:nth-child(2) { background: #ffc44d; }
.code-bar span:nth-child(3) { background: #3dd68c; }
.code-bar em {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: .78rem;
  font-style: normal;
  color: #8a91c0;
}
.code-window pre {
  margin: 0;
  padding: 20px 24px 30px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: .84rem;
  line-height: 1.85;
  color: #c9d1ff;
}
.c-tag { color: #7aa2ff; }
.c-attr { color: #c792ea; }
.c-str { color: #9ee6a8; }
.c-txt { color: #fff; }
.c-com { color: #6b7399; font-style: italic; }
.c-sel { color: #ffcb6b; }

.av-badge {
  position: absolute;
  left: -18px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  border: 4px solid #fff;
  border-radius: 20px;
  background: var(--grad);
  box-shadow: var(--shadow-lg);
  line-height: 1.25;
  color: #fff;
}
.av-badge strong { font-size: 1.9rem; font-weight: 800; }
.av-badge span { font-size: .85rem; font-weight: 600; opacity: .9; }

.av-card {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  line-height: 1.3;
}
.av-card strong { display: block; font-size: .95rem; color: var(--ink); }
.av-card span { font-size: .78rem; color: var(--muted); }
.av-card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--primary);
}

.about-content > p { font-size: 1.04rem; }

.checklist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 20px;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
  font-weight: 600;
  color: var(--ink);
}
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; line-height: 1.45; }
.checklist .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  stroke-width: 3;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
}
.stat strong {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { font-size: .82rem; font-weight: 600; line-height: 1.4; color: var(--muted); }

/* ---------- Servicii ---------- */
.services {
  position: relative;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(124, 92, 255, .08), transparent 70%),
    var(--bg-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { opacity: 1; }

.service-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: #eef0fb;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--bg-tint);
  color: var(--primary);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.service-icon .icon { width: 26px; height: 26px; }
.service-card:hover .service-icon {
  background: var(--grad);
  color: #fff;
  transform: rotate(-6deg);
}
.service-card p { margin-bottom: 18px; font-size: .95rem; }

/* ---------- Portofoliu ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: -16px auto 44px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
}
.filter-btn {
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.filter-btn:hover { color: var(--primary); }
.filter-btn[aria-pressed="true"] {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.project {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project[hidden] { display: none; }
.project.pop { animation: pop .45s ease both; }

/* 9:5 lasă pentru captură (sub bara browserului) exact formatul 2:1 */
.project-media {
  position: relative;
  display: block;
  aspect-ratio: 9 / 5;
  padding: 20px 20px 0;
  overflow: hidden;
  background: var(--bg-soft);
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--c) 20%, #fff) 0%,
    color-mix(in srgb, var(--c) 6%, #fff) 100%);
  container-type: inline-size;
  text-decoration: none;
}

.frame {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #fff;
  box-shadow: 0 -2px 24px rgba(20, 24, 80, .12);
  font-size: 10px;
  font-size: 2.7cqw;
  transition: transform .4s ease;
}
.project:hover .frame { transform: translateY(-4px); }
.frame > img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top;
  transition: object-position 4s ease;
}
.project:hover .frame > img { object-position: bottom; }

/* Bara de browser de deasupra capturii */
.mock-bar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: .5em;
  height: 2.3em;
  padding: 0 1em;
  border-bottom: 1px solid #eceef6;
  background: #f3f4f9;
}
.mock-bar > span { width: .75em; height: .75em; border-radius: 50%; background: #dcdfeb; }
.mock-url {
  display: flex;
  align-items: center;
  gap: .4em;
  flex: 0 1 58%;
  height: 1.55em;
  min-width: 0;
  margin-left: .8em;
  padding: 0 .7em;
  border-radius: .45em;
  background: #fff;
  font-size: .85em;
  font-weight: 700;
  color: #9aa0b8;
  white-space: nowrap;
}
.mock-url .icon { width: 1em; height: 1em; color: #22c55e; }
.mock-url b { overflow: hidden; text-overflow: ellipsis; font-weight: 700; }

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--bg-tint);
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
}
.tag-soft { background: #f2f3f8; color: var(--muted); }
.project h3 { margin-bottom: 6px; font-size: 1.14rem; }
.project p { margin-bottom: 16px; font-size: .92rem; line-height: 1.55; }
.project .link-arrow { margin-top: auto; }

.portfolio-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 48px;
  padding: 22px 22px 22px 30px;
  border: 1px dashed #cfd3f0;
  border-radius: 20px;
  background: var(--bg-soft);
}
.portfolio-cta p { margin: 0; font-weight: 700; color: var(--ink); }

/* ---------- Proces ---------- */
.process { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 12.5%;
  right: 12.5%;
  border-top: 2px dashed #d5d9f3;
}
.step { position: relative; padding: 0 8px; text-align: center; }
.step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--primary);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.step-icon .icon { width: 28px; height: 28px; }
.step:hover .step-icon { transform: translateY(-4px); background: var(--grad); color: #fff; }
.step-num {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--grad);
  font-size: .75rem;
  font-weight: 800;
  color: #fff;
}
.step p { margin: 0; font-size: .95rem; }

/* ---------- Întrebări frecvente ---------- */
.faq { background: var(--bg-soft); padding-top: 24px; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 64px;
}
.faq-intro > p { margin-bottom: 26px; font-size: 1.04rem; }

.faq-list details {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.faq-list details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 20px 24px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline-offset: -3px; border-radius: 16px; }
.plus {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--primary);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.plus .icon { width: 16px; height: 16px; stroke-width: 2.5; }
details[open] .plus { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { margin: 0; font-size: .96rem; }

/* ---------- Contact ---------- */
.contact { padding: 0 0 104px; background: linear-gradient(180deg, var(--bg-soft) 0 30%, #fff 30% 100%); }

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
  overflow: hidden;
  padding: 64px;
  border-radius: 32px;
  background: linear-gradient(135deg, #2c31cc 0%, #4f3ce6 55%, #7c4ff0 100%);
  box-shadow: 0 40px 80px -30px rgba(70, 50, 220, .55);
  color: rgba(255, 255, 255, .9);
}
.contact-card::before,
.contact-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.contact-card::before {
  top: -160px;
  right: -120px;
  width: 460px;
  height: 460px;
  border: 70px solid rgba(255, 255, 255, .06);
}
.contact-card::after {
  bottom: -200px;
  left: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent);
}
.contact-plane {
  position: absolute;
  top: 40px;
  left: 44%;
  width: 54px;
  height: 54px;
  color: rgba(255, 255, 255, .35);
  stroke-width: 1.5;
  transform: rotate(8deg);
  animation: float 6s ease-in-out infinite;
}

.contact-info { position: relative; z-index: 1; }
.contact-info h2 { color: #fff; }
.contact-info > p { max-width: 420px; font-size: 1.05rem; }

.contact-list {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.contact-list li,
.contact-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.contact-list a:hover .ci-icon { background: rgba(255, 255, 255, .25); }
.contact-list small {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}
.ci-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
  transition: background .2s ease;
}

.contact-form {
  position: relative;
  z-index: 1;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(20, 10, 80, .45);
  color: var(--text);
}
.contact-form h3 { margin-bottom: 20px; font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #a3a8c0; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23636a86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
.field textarea { min-height: 116px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, .15);
}
.field-error { display: none; font-size: .8rem; font-weight: 600; color: #d0343a; }
.field.invalid input,
.field.invalid textarea { border-color: #d0343a; }
.field.invalid .field-error { display: block; }

.form-status { margin: 12px 0 0; font-size: .9rem; font-weight: 600; text-align: center; }
.form-status:empty { display: none; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #d0343a; }
.form-note { margin: 12px 0 0; font-size: .8rem; text-align: center; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 76px;
  background:
    radial-gradient(800px 320px at 90% 0%, rgba(124, 92, 255, .22), transparent 60%),
    linear-gradient(180deg, #0e1235 0%, #090c26 100%);
  color: #aab0d0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 40px;
  padding-bottom: 52px;
}
.logo-light { color: #fff; }
.logo-light .lux {
  background: linear-gradient(135deg, #a5b4fc, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
}
.footer-about p { max-width: 320px; margin: 18px 0 22px; font-size: .94rem; }

.socials { display: flex; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.socials a:hover { transform: translateY(-3px); border-color: transparent; background: var(--grad); }
.socials .icon { width: 18px; height: 18px; }

.footer-col h4 { margin-bottom: 18px; font-size: 1rem; color: #fff; }
.footer-col ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.footer-col a { font-size: .94rem; color: #aab0d0; text-decoration: none; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; line-height: 1.5; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 2px; color: #a99bff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.nowrap { white-space: nowrap; }

/* Linkul din copyright care deschide datele firmei */
.legal-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(170, 176, 208, .55);
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color .2s ease;
}
.legal-link:hover { color: #fff; text-decoration-color: currentColor; }
.legal-link .icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 6px;
  vertical-align: -3px;
  color: #a99bff;
}

/* Fereastra cu datele de identificare ale firmei */
.legal-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 40px 80px -20px rgba(9, 12, 38, .55);
  color: var(--text);
  overscroll-behavior: contain;
}
.legal-dialog[open] { animation: pop .3s ease both; }
.legal-dialog::backdrop {
  background: rgba(9, 12, 38, .6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.legal-dialog[open]::backdrop { animation: fade .3s ease both; }

.legal-dialog-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px 20px 28px;
  border-bottom: 1px solid var(--line);
}
.legal-dialog-head h2 { margin: 0; font-size: 1.3rem; }
.legal-dialog-head p { margin: 0; font-size: .9rem; color: var(--muted); }
.legal-dialog-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
}
.legal-dialog-icon .icon { width: 22px; height: 22px; }

.dialog-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  align-self: flex-start;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.dialog-close:hover { border-color: var(--primary); color: var(--primary); }

.legal-list { margin: 0; padding: 6px 28px 18px; }
.legal-list > div {
  display: grid;
  grid-template-columns: 11em minmax(0, 1fr);
  gap: 2px 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.legal-list > div:last-child { border-bottom: 0; }
.legal-list dt { font-size: .85rem; font-weight: 600; line-height: 1.6; color: var(--muted); }
.legal-list dd { margin: 0; font-size: .95rem; font-weight: 700; line-height: 1.45; color: var(--ink); }

/* textul de jos nu trebuie să ajungă sub butonul „înapoi sus” */
@media (max-width: 1340px) {
  .footer-bottom { padding-right: 64px; }
}

/* ---------- Pagina 404 ---------- */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 48px 20px;
  text-align: center;
  background:
    radial-gradient(700px 420px at 85% 10%, #ebe6ff 0%, rgba(235, 230, 255, 0) 62%),
    linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}
.error-code {
  margin: 36px 0 4px;
  font-size: clamp(5rem, 18vw, 8.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-page h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.error-page p:not(.error-code) { max-width: 440px; margin-bottom: 26px; }

/* ---------- Înapoi sus ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 12px 24px -8px rgba(59, 63, 224, .6);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Animații ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* Hero: animația pornește direct din CSS, fără să aștepte JavaScript,
   ca textul principal să apară imediat (contează la viteză și SEO). */
.js .hero .reveal {
  opacity: 1;
  transform: none;
  animation: rise .7s ease both;
  animation-delay: var(--d, 0s);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@keyframes pulse {
  0% { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes pop {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
}
@keyframes fade {
  from { opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav a:not(.btn) { padding: 8px 10px; }
  .services-grid,
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contact-card { padding: 48px; gap: 40px; }
  .about-grid { gap: 56px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + 4px);
    left: 12px;
    right: 12px;
    max-height: calc(100vh - var(--header-h) - 16px);
    max-height: calc(100dvh - var(--header-h) - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a:not(.btn) { padding: 12px 16px; border-radius: 12px; font-size: 1rem; }
  .nav .nav-cta { display: block; margin-top: 8px; }
  .nav .nav-cta .btn { width: 100%; }

  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-visual { margin: 0 auto; }

  .about-grid,
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .about-visual { max-width: 560px; margin: 0 auto; width: 100%; }

  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; }
  .process-grid::before { display: none; }

  .contact-card { grid-template-columns: minmax(0, 1fr); }
  .contact-plane { left: auto; right: 48px; }
}

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }

  .hero-actions .btn { flex: 1 1 100%; }

  .about-visual { padding: 30px 8px 56px 0; }
  .av-badge { left: -6px; padding: 14px 18px; }
  .av-badge strong { font-size: 1.5rem; }
  .code-window pre { padding: 16px 18px 26px; font-size: .72rem; }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 10px; }
  .stat { padding: 14px 12px; }
  .stat strong { font-size: 1.35rem; }
  .stat span { font-size: .76rem; }

  .services-grid,
  .portfolio-grid { grid-template-columns: minmax(0, 1fr); }
  .filters { border-radius: 20px; }
  .filter-btn { padding: 9px 14px; }
  .portfolio-cta { padding: 22px; text-align: center; justify-content: center; }
  .portfolio-cta .btn { width: 100%; }

  .process-grid { grid-template-columns: minmax(0, 1fr); }

  .contact { padding-bottom: 76px; }
  .contact-card { padding: 36px 20px 20px; border-radius: 26px; }
  .contact-plane { top: 28px; right: 24px; width: 40px; height: 40px; }
  .contact-form { padding: 24px 18px; border-radius: 20px; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }

  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 20px; }
  .footer-about,
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }

  .legal-dialog-head { padding: 18px 16px 16px 20px; }
  .legal-list { padding: 4px 20px 14px; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px; }
  .stat strong { flex: 0 0 66px; }
  .stat span { font-size: .82rem; }
  .legal-list > div { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .marquee-track { animation: none !important; width: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-list { flex-wrap: wrap; justify-content: center; padding: 0 20px; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero .reveal { animation: none; }
}
