:root{--bg: #0b0f17;
  --surface: #0f1624;
  --text: #e6eaf2;
  --muted: #9aa3b2;
  --primary: #4f8cff;
  --accent: #22D3EE;
  --ring: rgba(79,140,255,.35);
  --elev: #121a2b;
  --card: #121826;
  --primary-600: #3d78ef;
  --primary-700: #2e63d8;
  --border: rgba(255,255,255,.08);
  --ok: #16a34a;
  --warn: #f59e0b;
  --err: #ef4444;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --shadow-sm: 0 6px 18px rgba(0,0,0,.18);
  --container: 1200px;
  --gap: clamp(12px,1.6vw,22px);
  --pad: clamp(12px,2.2vw,28px);
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
--bg: #f7f9fc;
  --surface: #ffffff;
  --elev: #ffffff;
  --card: #ffffff;
  --primary: #2b6cff;
  --primary-600: #205ae0;
  --primary-700: #1c4fc2;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15,23,42,.08);
  --ring: rgba(43,108,255,.25);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-sm: 0 6px 18px rgba(0,0,0,.06);
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: linear-gradient(180deg, var(--bg), #0a0d14);
  color: var(--text);
  line-height: 1.6;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: .2px;
}

a {
  color: var(--text);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1 {
  line-height: 1.1;
  font-size: clamp(32px, 4.6vw, 54px);
  margin: 0 0 16px;
  letter-spacing: -.02em;
}

h2 {
  line-height: 1.1;
  font-size: clamp(24px, 3.2vw, 36px);
  margin: 0 0 16px;
  letter-spacing: -.02em;
}

h3 {
  line-height: 1.2;
  font-size: clamp(20px, 2.4vw, 28px);
  margin: .5rem 0;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.7;
}

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

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

.btn {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: all .2s ease;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  color: #fff !important;
}

.btn:not(.ghost) {
  background: var(--primary);
  color: #321fe2;
  border: none;
}

.btn-ghost {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: all .2s ease;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  color: #fff !important;
}

.btn-ghost:hover {
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-color: rgba(255,255,255,.2);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

section {
  margin-block: 2rem;
  padding: clamp(40px,6vw,84px) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 1rem;
  background: rgba(11,15,23,.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand img {
  width: 40.5px;
  height: 32px;
}

.nav {
  position: sticky;
  backdrop-filter: blur(10px) saturate(130%);
  background: color-mix(in oklab, var(--surface) 80%, transparent);
  border-bottom: 1px solid var(--border);
  top: 0;
  z-index: 40;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  font-size: 1.5rem;
  color: var(--text);
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: .8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  padding: .6rem .8rem;
  border-radius: 10px;
}

.nav-list a:hover {
  background: rgba(255,255,255,.06);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.shell {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section-title {
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}

a:hover {
  color: var(--primary);
}

nav {
  backdrop-filter: blur(10px) saturate(130%);
  background: color-mix(in oklab, var(--surface) 80%, transparent);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav .container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

.nav a {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
}

.nav a:hover {
  color: white;
  background: rgba(255,255,255,.06);
}

.hero {
  padding: clamp(64px,10vw,160px) 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: var(--gap);
}

.hero .eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 600;
  font-size: 13px;
}

.hero .lead {
  font-size: clamp(18px, 1.8vw, 20px);
}

.hero .glass {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(16px,2.4vw,24px);
}

.hero .stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 18px;
}

.stat {
  background: rgba(255,255,255,.04);
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.stat .num {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
}

.grid {
  display: grid;
  gap: var(--gap);
}

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

.cols {
  display: grid;
  gap: var(--gap);
}

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

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

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(16px, 2.6vw, 28px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.16);
}

.card .title {
  margin-bottom: 8px;
}

.card p {
  margin: 0;
}

button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 650;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  transition: all .2s ease;
}

.btn.primary {
  background: var(--primary);
  color: white;
}

.btn.cta {
  background: var(--primary);
  color: white;
}

.btn.primary:hover {
  background: var(--primary-600);
}

.btn.link {
  padding: 0;
  border: 0;
  color: var(--primary);
}

.features .card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size: 13px;
}

.testimonials .card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}

.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--primary), transparent);
}

input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  color: inherit;
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

select {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  color: inherit;
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus {
  border-color: var(--primary);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

select:focus {
  border-color: var(--primary);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.table th {
  padding: 12px 16px;
  text-align: left;
}

.table thead th {
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-weight: 600;
}

.table tbody tr + tr td {
  border-top: 1px solid var(--border);
}

footer {
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  border-top: 1px solid var(--border);
}

footer .container {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 3fr 1fr 1fr;
}

footer .brand {
  color: var(--muted);
}

.center {
  text-align: center;
}

.max-w-md {
  max-width: 760px;
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

.shadow {
  border-bottom: 1px solid var(--border);
}

.hero .cta {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.services .card .title {
  font-weight: 700;
}

.blog-list .card .title {
  font-weight: 700;
}

.blog-list .card img {
  border-radius: 14px;
  border: 1px solid var(--border);
}

.pagination a {
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
}

.pagination a:hover {
  background: rgba(255,255,255,.06);
  color: white;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}



:root[data-theme="light"] body {
  background: linear-gradient(180deg, #f7f9fc, #eef2f7);
  color: var(--text);
}

:root[data-theme="light"] .nav {
  background: linear-gradient(to bottom, rgba(255,255,255,.85), rgba(255,255,255,.7));
  border-bottom: 1px solid var(--border);
}

:root[data-theme="light"] .card {
  background: var(--card);
  border-color: var(--border);
}

:root[data-theme="light"] a {
  color: #0b1e5b;
}

:root[data-theme="light"] a:hover {
  color: var(--primary);
}

:root[data-theme="light"] .stat {
  background: rgba(15,23,42,.03);
  border-color: var(--border);
}

:root[data-theme="light"] footer {
  background: linear-gradient(180deg, rgba(15,23,42,.03), transparent);
  border-top: 1px solid var(--border);
}



.theme-toggle:hover {
  background: rgba(255,255,255,.07);
  color: inherit;
}

.theme-toggle .icon {
  font-size: 16px;
  line-height: 1;
}

body .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

body .shell {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

body p {
  color: var(--text);
}

body a {
  color: var(--text);
}

body small {
  color: var(--text);
}

body nav.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient( to bottom, rgba(10,14,22,.85), rgba(10,14,22,.6) );
  border-bottom: 1px solid var(--border);
}

:root[data-theme="light"] body nav.nav {
  background: linear-gradient(to bottom, rgba(255,255,255,.9), rgba(255,255,255,.75));
}

body .nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

body .nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.015em;
}

body .nav .menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

body .nav .menu ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body .nav .menu a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
}

body .nav .menu a:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
}

:root[data-theme="light"] body .nav .menu a:hover {
  background: rgba(15,23,42,.06);
}

.nav-toggle:focus {
  height: 2px;
  background: currentColor;
  display: block;
  position: relative;
}

.nav-toggle .bar::before {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
  top: -6px;
}

.nav-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
  top: 6px;
}

.menu-panel {
  border-radius: 12px !important;
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(6px);
  z-index: 2000 !important;
  align-items: flex-start !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
  align-self: flex-start !important;
  margin-top: 12px !important;
}

.menu-sheet {
  margin-left: auto;
  width: min(86vw, 420px);
  height: auto;
  background: var(--surface);
  border-left: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
}

.menu-sheet a {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text);
}

.menu-sheet a:hover {
  background: rgba(255,255,255,.06);
}

:root[data-theme="light"] .menu-panel {
  border-radius: 12px;
  background: rgba(15,23,42,.25);
}

:root[data-theme="light"] .menu-sheet a:hover {
  background: rgba(15,23,42,.06);
}

html.menu-open {
  overflow: hidden;
}

body .nav.open .nav-toggle .bar {
  background: transparent;
}

body .nav.open .nav-toggle .bar::before {
  top: 0;
  transform: rotate(45deg);
}

body .nav.open .nav-toggle .bar::after {
  top: 0;
  transform: rotate(-45deg);
}

body .hero {
  padding: clamp(72px, 10vw, 160px) 0;
}

body .hero .container {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: var(--gap);
}

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

body .services .card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}

body .services .card .title {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 750;
  letter-spacing: -.01em;
}

body .services .card p {
  flex: 1;
}

body .services .card .btn {
  align-self: flex-start;
}

body .card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}

body .blog-list {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0,1fr));
}

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

body footer .container {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 3fr 1fr 1fr;
}

body .nav .menu ul ul {
  display: none;
}

body .nav.open .menu-panel ul ul {
  border-radius: 12px;
  display: block;
}

#servicii .grid3 {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.features .grid3 {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0,1fr));
}

#servicii .card h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 750;
  letter-spacing: -0.01em;
  margin: 6px 0 8px;
  text-wrap: balance;
}

#servicii h2 {
  text-align: center;
}

.features .card h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 750;
  letter-spacing: -0.01em;
  margin: 6px 0 8px;
  text-wrap: balance;
}

#servicii .card p {
  margin: 0;
  color: var(--muted);
}

#servicii .card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  min-height: 210px;
}

.menu-sheet .sheet-nav a {
  display: block;
  color: var(--text);
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  padding: 12px 14px;
}

:root[data-theme="light"] .menu-sheet .sheet-nav a {
  color: #0f172a;
}

a.btn {
  color: #fff !important;
}

.theme-switch {
  display: none !important;
}

.menu-panel .menu-sheet {
  border-radius: 12px;
  background: color-mix(in oklab, var(--surface) 80%, transparent);
  backdrop-filter: blur(10px) saturate(130%);
  border: 1px solid var(--border);
}



.theme-icon:hover {
  background: color-mix(in oklab, var(--text) 10%, transparent);
}

:root[data-theme="dark"] input {
  background: rgba(255,255,255,.03);
}

:root[data-theme="dark"] select {
  background: rgba(255,255,255,.03);
}

.mobile-menu {
  display: flex;
  align-items: flex-start !important;
}

.offcanvas {
  display: flex;
  align-items: flex-start !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
  align-self: flex-start !important;
  margin-top: 12px !important;
  border-radius: 12px !important;
}

.nav-drawer {
  display: flex;
  align-items: flex-start !important;
}

.navbar-menu {
  display: flex;
  align-items: flex-start !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
  align-self: flex-start !important;
  margin-top: 12px !important;
  border-radius: 12px !important;
}

.sidebar-menu {
  display: flex;
  align-items: flex-start !important;
}

.mobile-menu .panel {
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
  align-self: flex-start !important;
  margin-top: 12px !important;
  border-radius: 12px !important;
}

.nav-drawer .panel {
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
  align-self: flex-start !important;
  margin-top: 12px !important;
  border-radius: 12px !important;
}

.sidebar-menu .panel {
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
  align-self: flex-start !important;
  margin-top: 12px !important;
  border-radius: 12px !important;
}

.offcanvas.show {
  height: auto !important;
  max-height: none !important;
}

.offcanvas.offcanvas-end {
  height: auto !important;
  max-height: none !important;
}

.offcanvas.offcanvas-bottom {
  height: auto !important;
  max-height: none !important;
}

.offcanvas-body {
  height: auto !important;
  overflow: visible !important;
}

.offcanvas-header {
  border-bottom: 1px solid rgba(0,0,0,.08);
}

@media (max-width:820px) {
  .nav-toggle {
    display: inline-block;
  }
  .nav-list {
    position: absolute;
    right: 0;
    top: 3rem;
    display: grid;
    flex-direction: column;
    min-width: 220px;
    padding: 2.5rem 1rem;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    isolation: isolate;
    overflow: hidden;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    margin: 0;
  }
  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 100%;
  }
  .hero .cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .hero-art {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }
  .hero-art .grid {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 95%, rgba(255,255,255,.06) 95%) 0 0/100% 20px,
    linear-gradient(90deg, transparent 95%, rgba(255,255,255,.06) 95%) 0 0/20px 100%;
  }
  .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(32px);
  }
  .orb.blue {
    width: 320px;
    height: 320px;
    left: 10%;
    top: 20%;
    background: radial-gradient(circle at 30% 30%, var(--accent), transparent 60%);
  }
  .orb.purple {
    width: 240px;
    height: 240px;
    right: 15%;
    top: 40%;
    background: radial-gradient(circle at 30% 30%, var(--primary), transparent 60%);
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 1.75rem 1rem;
  }
  .grid3 {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 1rem;
  }
  .card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 1rem;
  }
  .timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
  }
  .timeline li {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    padding: .8rem 1rem;
  }
  .stat {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 1rem;
    text-align: center;
  }
  .carousel {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  }
  .faq details {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.06);
    padding: 1rem;
    border-radius: 14px;
    margin: .5rem 0;
  }
  .cta-final {
    text-align: center;
  }
  .cta-final .btn {
    margin-top: .5rem;
  }
  .form label {
    display: block;
    font-weight: 600;
    margin-bottom: .5rem;
  }
  .form input {
    width: 100%;
    margin-top: .3rem;
    padding: .7rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: #0a0f18;
    color: var(--text);
    outline: none;
  }
  .form select {
    width: 100%;
    margin-top: .3rem;
    padding: .7rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: #0a0f18;
    color: var(--text);
    outline: none;
  }
  .form textarea {
    width: 100%;
    margin-top: .3rem;
    padding: .7rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: #0a0f18;
    color: var(--text);
    outline: none;
  }
  .form input:focus {
    border-color: var(--ring);
    left: -10000px;
    opacity: 0;
    height: 0;
    width: 0;
  }
  .form select:focus {
    border-color: var(--ring);
    left: -10000px;
    opacity: 0;
    height: 0;
    width: 0;
  }
  .form textarea:focus {
    border-color: var(--ring);
    left: -10000px;
    opacity: 0;
    height: 0;
    width: 0;
  }
  .site-footer {
    margin-top: 3rem;
    padding: 2rem 1rem;
    background: #0a0f18;
    border-top: 1px solid rgba(255,255,255,.06);
  }
  .site-footer .cols {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  footer img.footer-logo, img.footer-logo, .footer-logo {
  width: 46px !important;
  height: 36px !important;
  max-width: 46px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  display: block !important;
}
  .copy {
    text-align: center;
    color: var(--muted);
    margin-top: 1rem;
  }
  .reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: all .6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
  .hero.reveal.visible {
    transform: none !important;
  }
  body.light {
    --bg: #f7f7fb;
    --surface: #ffffff;
    --text: #111827;
    --muted: #6B7280;
  }
  body.light .site-header {
    background: rgba(255,255,255,.9);
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  body.light .nav-list {
    background: #fff;
    border-color: rgba(0,0,0,.08);
  }
  body.light .nav-list a:hover {
    background: rgba(0,0,0,.06);
  }
  body.light .card {
    background: #fff;
    border-color: rgba(0,0,0,.08);
  }
  body.light .timeline li {
    background: #fff;
    border-color: rgba(0,0,0,.08);
  }
  body.light .stat {
    background: #fff;
    border-color: rgba(0,0,0,.08);
  }
  body.light .faq details {
    background: #fff;
    border-color: rgba(0,0,0,.08);
  }
  body.light .site-footer {
    background: #f2f4f8;
    border-top: 1px solid rgba(0,0,0,.06);
  }
  .mobile-menu {
    display: flex;
    align-items: flex-start !important;
  }
  .menu-mobile {
    display: flex;
    align-items: flex-start !important;
  }
  .offcanvas {
    display: flex;
    align-items: flex-start !important;
    height: auto !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    align-self: flex-start !important;
    margin-top: 12px !important;
    border-radius: 12px !important;
  }
  .nav-drawer {
    display: flex;
    align-items: flex-start !important;
  }
  .drawer {
    display: flex;
    align-items: flex-start !important;
  }
  .menu-panel {
    display: flex;
    align-items: flex-start !important;
    height: auto !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    align-self: flex-start !important;
    margin-top: 12px !important;
    border-radius: 12px !important;
  }
  .navbar-menu {
    display: flex;
    align-items: flex-start !important;
    height: auto !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    align-self: flex-start !important;
    margin-top: 12px !important;
    border-radius: 12px !important;
  }
  .sidebar-menu {
    display: flex;
    align-items: flex-start !important;
  }
  .menu-overlay {
    display: flex;
    align-items: flex-start !important;
  }
  .mobile-menu .panel {
    height: auto !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    align-self: flex-start !important;
    margin-top: 12px !important;
    border-radius: 12px !important;
  }
  .menu-mobile .panel {
    height: auto !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    align-self: flex-start !important;
    margin-top: 12px !important;
    border-radius: 12px !important;
  }
  .nav-drawer .panel {
    height: auto !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    align-self: flex-start !important;
    margin-top: 12px !important;
    border-radius: 12px !important;
  }
  .drawer .panel {
    height: auto !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    align-self: flex-start !important;
    margin-top: 12px !important;
    border-radius: 12px !important;
  }
  .sidebar-menu .panel {
    height: auto !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    align-self: flex-start !important;
    margin-top: 12px !important;
    border-radius: 12px !important;
  }
  .offcanvas.show {
    height: auto !important;
    max-height: none !important;
  }
  .offcanvas.offcanvas-start {
    height: auto !important;
    max-height: none !important;
  }
  .offcanvas.offcanvas-end {
    height: auto !important;
    max-height: none !important;
  }
  .offcanvas.offcanvas-top {
    height: auto !important;
    max-height: none !important;
  }
  .offcanvas.offcanvas-bottom {
    height: auto !important;
    max-height: none !important;
  }
  .offcanvas-body {
    height: auto !important;
    overflow: visible !important;
  }
  .offcanvas-header {
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
}

@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .services {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio {
    grid-template-columns: 1fr 1fr;
  }
  body .hero .container {
    grid-template-columns: 1fr;
  }
  body .services {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  #servicii .grid3 {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .features .grid3 {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 680px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .portfolio {
    grid-template-columns: 1fr;
  }
}

@media (max-width:700px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width:880px) {
  footer .container {
    grid-template-columns: 1fr 1fr 1fr;
  }
  body footer .container {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width:640px) {
  footer .container {
    grid-template-columns: 1fr;
  }
  body .blog-list {
    grid-template-columns: 1fr;
  }
  body #blogList {
    grid-template-columns: 1fr;
  }
  body .portfolio {
    grid-template-columns: 1fr;
  }
  body footer .container {
    grid-template-columns: 1fr;
  }
  #servicii .grid3 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 900px) {
  body .nav .menu ul {
    display: none !important;
  }
  body .nav .container {
    gap: 10px;
  }
  .nav-toggle {
    display: flex;
  }
  body .nav.open .menu-panel {
    border-radius: 12px;
    display: flex;
  }
  body .nav .menu li:hover > ul {
    display: none !important;
  }
  body .nav .menu li:focus-within > ul {
    display: none !important;
  }
}

@media (max-width: 640px) {
  body .services {
    grid-template-columns: 1fr;
  }
  #servicii .grid3 {
    grid-template-columns: 1fr;
  }
  .features .grid3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width:980px) {
  body .blog-list {
    grid-template-columns: 1fr 1fr;
  }
  body #blogList {
    grid-template-columns: 1fr 1fr;
  }
  body .portfolio {
    grid-template-columns: 1fr 1fr;
  }
  #servicii .grid3 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

section.metrics {
  text-align: center;
}

section.metrics .grid3 {
  justify-content: center;
}

section.metrics .stat {
  text-align: center;
}

section.testimonials .grid3 {
  justify-content: center;
}

section.testimonials .stat {
  text-align: center;
}

section.faq .grid3 {
  justify-content: center;
}

section.faq .stat {
  text-align: center;
}

section.cta-final .grid3 {
  justify-content: center;
}

section.cta-final .stat {
  text-align: center;
}


@media (max-width: 960px) {
  .nav:not(.open) .menu ul {
    display: none !important;
  }
  .nav.open .menu ul {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    right: 16px;
    left: 16px;
    top: calc(100% + 8px);
    background: color-mix(in oklab, var(--surface) 80%, transparent);
    backdrop-filter: blur(10px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
    gap: 6px;
  }
  .nav .menu {
    position: relative;
  }
}




/* === Proces DEVIX Chart centered === */
.process{
  text-align: center;
  margin: 5px auto;
}
.process h2{
  text-align: center;
  margin-bottom: 20px;
}
.process .dx-chart-wrap{
  width: min(480px, 90vw);
  margin: 0 auto 8px;
}
.process .dx-chart{
  width: 100%;
  height: auto;
  display: block;
}


/* === Ajustare spatii sectiune Proces === */
section.process {
  margin-block: 1rem !important;   /* reducere fata de 2rem */
  padding: 20px 0 !important;      /* reducere fata de clamp(40px,6vw,84px) */
}
section.process h2 {
  margin-bottom: 30px !important;   /* spatiu mai mic sub titlu */
}
section.process .dx-chart-wrap {
  margin-bottom: 20px !important;   /* spatiu mai mic sub chart */
}


.site-footer {
  padding-top: 10px;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.site-footer .cols {

  padding-left: 7px;
  padding-right: 7px;
}


.site-footer .cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;   /* trei coloane */
  gap: 24px;
}

/* Primul div (brand) pe toată lățimea */
.site-footer .cols > div:nth-child(1) {
  grid-column: 1 / -1;
}

/* Navigație și Legal ocupă fiecare câte o coloană */
.site-footer .cols > div:nth-child(2) {
  grid-column: 1 / 3;
}
.site-footer .cols > div:nth-child(3) {
  grid-column: 2 / 3;
}
.site-footer .cols > div:nth-child(3) {
  grid-column: 3 / 3;
}

/* Abonare centrat jos */
.site-footer .cols > div:nth-child(4) {
  grid-column: 1 / -1;
  text-align: center;
}
.site-footer .cols > div:nth-child(4) .newsletter {
  display: inline-flex;
  gap: 8px;
  justify-content: center;
}

/* Responsiv: pe ecrane mici totul pe o coloană */
@media (max-width: 768px) {
  .site-footer .cols {
    grid-template-columns: 1fr;
  }
  .site-footer .cols > div {
    grid-column: 1 / -1 !important;
    text-align: center;
  }
}

.site-footer .copy {
  text-align: center;   /* centrează textul */
  padding-top: 7px;     /* spațiu de 7px deasupra */
  margin: 0;            /* elimină marginile implicite */
}

/* === Eliminare bullet-uri în liste footer === */
.site-footer .cols ul {
  list-style: none;     /* scoate bulinele */
  padding-left: 0;      /* elimină indentarea implicită */
  margin: 0;
}

.site-footer .cols ul li {
  margin-bottom: 6px;   /* spațiu mic între elemente */
}

.footer-column h4 {
  margin: 15px 0 10px;
  font-size: 16px;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-column a {
  color: inherit;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;

}

.footer-contact p {
  margin: 0;
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
}
.footer-contact a:hover {
  text-decoration: underline;
}

/* ---- DEVIX Footer layout overrides (Nav | Legal | Contact on one row; Abonare centered) ---- */
.site-footer .cols {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr 1fr;
}

/* Brand (1) full width */
.site-footer .cols > div:nth-child(1) { grid-column: 1 / -1; }

/* Nav (2) | Legal (3) | Contact (4) on one row */
.site-footer .cols > div:nth-child(2) { grid-column: 1; }
.site-footer .cols > div:nth-child(3) { grid-column: 2; }
.site-footer .cols > div:nth-child(4) { grid-column: 3; }

/* Abonare (5) centered under the columns */
.site-footer .cols > div:nth-child(5) { grid-column: 1 / -1; text-align: center; }
.site-footer .cols > div:nth-child(5) .newsletter { 
  display: inline-flex; 
  gap: 8px; 
  justify-content: center; 
  align-items: center; 
  flex-wrap: wrap;
}

/* Notice styling for subscription result */
.notice { margin-top: 8px; font-size: 14px; }
.notice.ok { color: var(--ok); }
.notice.err { color: var(--err); }

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .site-footer .cols {
    grid-template-columns: 1fr;
  }
  .site-footer .cols > div { grid-column: 1 / -1 !important; text-align: center; }
}


/* === Footer: coloane mai înguste, aliniate la stânga === */
.site-footer .cols {
  /* trei coloane înguste */
  grid-template-columns: repeat(3, minmax(180px, 240px));
  justify-content: start;          /* aliniere la stânga a pistelor de grid */
  column-gap: 40px;
  row-gap: 16px;

  /* lățime totală restrânsă și ancorată la stânga */
  max-width: 780px;                /* ajustează 720–900px după gust */
  margin-left: 0;
  margin-right: auto;
}

/* (opțional) titlurile și listele rămân neschimbate; nu e nevoie de altceva */

/* Responsive: pe mobil revine pe o coloană, tot left-aligned */
@media (max-width: 768px) {
  .site-footer .cols {
    max-width: none;
    grid-template-columns: 1fr;
  }
  .site-footer .cols > div { text-align: left; }
}
/* === Footer: abonare pe ACELAȘI rând (input + buton) === */
footer .newsletter{
  display: flex;            /* pune elementele pe un rând */
  align-items: center;
  justify-content: center;  /* sau flex-start dacă vrei aliniat la stânga */
  gap: 12px;
  flex-wrap: nowrap;
}

footer .newsletter input[type="email"]{
  /* anulăm eventualele width:100% din stilurile generale */
  width: auto;
  flex: 1 1 420px;          /* se întinde până la ~420px */
  max-width: 420px;
  margin: 0;
}

footer .newsletter button{
  flex: 0 0 auto;
  white-space: nowrap;      /* nu rupe textul butonului */
  height: 44px;             /* aliniere vizuală cu inputul */
  margin: 0;
}

/* pe ecrane mici: permitem să “cadă” pe două rânduri */
@media (max-width: 540px){
  footer .newsletter{ flex-wrap: wrap; }
  footer .newsletter input[type="email"]{
    flex: 1 1 240px;
    max-width: 100%;
  }
}



/* === FOOTER – FINAL OVERRIDES (4 columns: Navigație | Legal | Contact | Abonare) === */
.site-footer .cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 220px));
  column-gap: 40px;
  row-gap: 16px;
  justify-content: start;
  max-width: 960px;
  margin-left: 0;
  margin-right: auto;
}

/* Abonare: formular pe un singur rând (input + buton) */
footer .newsletter{
  display:flex !important;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  flex-wrap:nowrap;
}
footer .newsletter input[type="email"]{
  width:auto;
  flex:1 1 360px;
  max-width:420px;
  margin:0;
}
footer .newsletter button{
  flex:0 0 auto;
  white-space:nowrap;
  height:44px;
  margin:0;
}

/* Responsive */
@media (max-width: 900px){
  .site-footer .cols {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    max-width: 640px;
  }
}
@media (max-width: 640px){
  .site-footer .cols {
    grid-template-columns: 1fr;
    max-width: none;
  }
  footer .newsletter{
    justify-content:center;
    flex-wrap:wrap;
  }
  footer .newsletter input[type="email"]{
    flex: 1 1 240px;
    max-width: 100%;
  }
}

