/* ============================================
   NOVEX3D — Design System & Global Styles
   Paleta din brief: albastru otel #003c8c + cyan #50b4dc + portocaliu CTA #f59e0b
   Font: Inter (Google Fonts)
   ZERO fundal negru. Doar light mode.
   ============================================ */

/* --- CSS Variables --- */
:root {
  --blue-primary: #003c8c;
  --blue-hover: #1450a0;
  --cyan: #50b4dc;
  --cyan-light: #50a0dc;
  --blue-medium: #3c8cc8;
  --orange-cta: #F97316;
  --orange-hover: #EA580C;
  --white: #ffffff;
  --gray-bg: #f5f7fb;
  --gray-text: #1a1a1a;
  --gray-secondary: #666666;
  --gray-border: #e5e7eb;
  --gray-input: #d1d5db;
  --red-error: #dc2626;
  --green-ok: #16a34a;
  --yellow-partial: #f59e0b;
  --red-bad: #ef4444;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1280px;
  --radius-card: 12px;
  --radius-btn: 9999px;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-header: 0 1px 3px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-text);
  background: var(--gray-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cyan); }

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--blue-primary); font-weight: 700; line-height: 1.15; font-family: 'Space Grotesk', sans-serif; }
h1 { font-size: 56px; line-height: 1.1; }
h2 { font-size: 32px; font-weight: 600; line-height: 1.2; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.3; }
h4 { font-size: 20px; font-weight: 600; line-height: 1.4; }
p { margin-bottom: 1em; }
.text-secondary { color: var(--gray-secondary); }
.text-small { font-size: 14px; line-height: 1.5; }

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--gray-bg);
}

.section--blue {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--cyan) 100%);
  color: var(--white);
}

.section--blue h2,
.section--blue h3,
.section--blue h4 {
  color: var(--white);
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--gray-bg);
  height: 72px;
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-header);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  position: relative;
  overflow: visible;
}

.header__logo img {
  height: 40px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 8px rgba(80, 180, 220, 0.5)) drop-shadow(0 0 20px rgba(0, 60, 140, 0.25));
  animation: logoBrightness 2s ease-in-out infinite;
}

@keyframes logoBrightness {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(80, 180, 220, 0.5)) drop-shadow(0 0 20px rgba(0, 60, 140, 0.25)) brightness(1); }
  30% { filter: drop-shadow(0 0 12px rgba(80, 180, 220, 0.7)) drop-shadow(0 0 28px rgba(0, 60, 140, 0.35)) brightness(1.15); }
}


.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.header__nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-text);
  transition: color var(--transition);
  position: relative;
}

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

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown__trigger::after {
  content: '';
  border: solid var(--gray-secondary);
  border-width: 0 1.5px 1.5px 0;
  display: inline-block;
  padding: 2.5px;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown__trigger::after {
  transform: rotate(-135deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  margin-top: 12px;
  list-style: none;
}

.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  margin-top: 4px;
}

.nav-dropdown__menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--gray-text);
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown__menu a:hover {
  background: var(--gray-bg);
  color: var(--blue-primary);
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--cyan);
  color: var(--white);
  border-color: var(--cyan);
  border-radius: var(--radius-pill);
}

.btn--primary:hover {
  background: #3a9fc7;
  border-color: #3a9fc7;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn--cta {
  background: var(--orange-cta);
  color: var(--white);
  border-color: var(--orange-cta);
  border-radius: var(--radius-pill);
}

.btn--cta:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
  border-radius: var(--radius-pill);
}

.btn--outline:hover {
  background: var(--cyan);
  color: var(--white);
}

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

.btn--white:hover {
  background: var(--gray-bg);
  color: var(--blue-primary);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-primary);
  border-color: transparent;
  padding: 8px 4px;
}

.btn--ghost:hover {
  color: var(--cyan);
}

.btn--sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__body {
  padding: 24px;
}

.card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cyan);
  margin-bottom: 8px;
}

.card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card__text {
  font-size: 15px;
  color: var(--gray-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card__link:hover {
  color: var(--cyan);
  gap: 8px;
}

.card__link::after {
  content: '\2192';
  transition: all var(--transition);
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* --- Hero --- */
.hero {
  position: relative;
  padding: 100px 0 80px;
  background: var(--gray-bg);
  overflow: hidden;
}

.hero__content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.hero__title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--blue-primary);
  text-shadow: 0 0 40px rgba(80, 180, 220, 0.4), 0 0 80px rgba(0, 60, 140, 0.15);
  margin-bottom: 24px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.5px;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-secondary);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero__bullets {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
}

.hero__bullets li {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__bullets li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.15;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__image {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  z-index: 1;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: -40px auto 0;
  position: relative;
  z-index: 10;
  max-width: 900px;
  box-shadow: var(--shadow-lg);
}

.stats-bar__item {
  background: var(--white);
  text-align: center;
  padding: 28px 20px;
}

.stats-bar__number {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stats-bar__label {
  font-size: 13px;
  color: var(--gray-secondary);
  line-height: 1.3;
}

/* --- Process Steps --- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.process__step {
  text-align: center;
  position: relative;
  counter-increment: step;
}

.process__step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.process__step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.process__step p {
  font-size: 15px;
  color: var(--gray-secondary);
  line-height: 1.6;
}

/* Connector lines between steps */
.process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(50% + 32px);
  width: calc(100% - 64px);
  height: 2px;
  background: var(--gray-border);
}

/* --- Comparison Rating Bars --- */
.rating-compare {
  max-width: 960px;
  margin: 0 auto;
}

.rating-row {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.rating-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.rating-row__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cyan);
}

.rating-row__bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rating-row__note {
  font-size: 13px;
  color: var(--gray-secondary);
  margin-top: 10px;
  padding-left: 2px;
  font-style: italic;
  line-height: 1.5;
}

.rating-row__notes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.rating-row__notes span {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.rating-row__notes .rn-label {
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 70px;
  flex-shrink: 0;
}

.rn-label--novex,
.rn-label--matrita,
.rn-label--china { color: var(--blue-primary); }

.rating-row__notes .rn-text {
  color: var(--gray-secondary);
}

.rating-bar {
  display: grid;
  grid-template-columns: 120px 1fr 36px;
  align-items: center;
  gap: 12px;
}

.rating-bar__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-secondary);
}

.rating-bar__track {
  height: 10px;
  background: var(--gray-bg);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.rating-bar__fill {
  height: 100%;
  border-radius: 99px;
  transition: width 1s ease-out;
  min-width: 4px;
}

.rating-bar__fill--5 { width: 100%; background: var(--green-ok); }
.rating-bar__fill--4 { width: 80%; background: #4ade80; }
.rating-bar__fill--3 { width: 60%; background: var(--yellow-partial); }
.rating-bar__fill--2 { width: 40%; background: #fb923c; }
.rating-bar__fill--1 { width: 20%; background: var(--red-bad); }
.rating-bar__fill--0 { width: 4%; background: var(--gray-input); }

.rating-bar__score {
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.rating-bar__score--5 { color: var(--green-ok); }
.rating-bar__score--4 { color: #4ade80; }
.rating-bar__score--3 { color: var(--yellow-partial); }
.rating-bar__score--2 { color: #fb923c; }
.rating-bar__score--1 { color: var(--red-bad); }
.rating-bar__score--0 { color: var(--gray-input); }

/* Total score cards */
.rating-totals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.rating-total {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--gray-border);
  position: relative;
  overflow: hidden;
}

.rating-total--winner {
  border-color: var(--green-ok);
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  box-shadow: 0 8px 32px rgba(22, 163, 74, 0.12);
}

.rating-total__name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-secondary);
  margin-bottom: 8px;
}

.rating-total--winner .rating-total__name {
  color: var(--blue-primary);
}

.rating-total__score {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--gray-text);
}

.rating-total--winner .rating-total__score {
  color: var(--green-ok);
}

.rating-total__max {
  font-size: 18px;
  font-weight: 400;
  color: var(--gray-secondary);
}

.rating-total__bar {
  height: 6px;
  background: var(--gray-border);
  border-radius: 99px;
  margin: 16px auto 0;
  max-width: 160px;
  overflow: hidden;
}

.rating-total__fill {
  height: 100%;
  border-radius: 99px;
}

.rating-total--winner .rating-total__fill {
  background: var(--green-ok);
}

.rating-total__fill--mid { background: var(--yellow-partial); }
.rating-total__fill--low { background: var(--red-bad); }

.rating-total__badge {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--green-ok);
  color: var(--white);
  border-radius: 99px;
}

/* Legend */
.rating-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--gray-secondary);
}

.rating-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

/* --- Discount Serie Section --- */
.discount-serie {
  background: linear-gradient(135deg, var(--blue-primary) 0%, #1a5fb4 50%, var(--cyan) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.discount-serie::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(80,180,220,0.1) 0%, transparent 40%);
  animation: discountShimmer 8s ease-in-out infinite alternate;
}

@keyframes discountShimmer {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(20px, -20px) rotate(3deg); }
}

.discount-serie__badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  position: relative;
}

.discount-serie__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 40px;
  position: relative;
}

.discount-serie__highlight {
  display: inline-block;
  color: var(--orange-cta);
  font-size: 48px;
  animation: pulseHighlight 2s ease-in-out infinite;
}

@keyframes pulseHighlight {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.discount-serie__features {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}

.discount-serie__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.3s, transform 0.3s;
}

.discount-serie__feature:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.discount-serie__icon {
  color: #4ade80;
  font-weight: 700;
  font-size: 18px;
}

@media (max-width: 768px) {
  .discount-serie { padding: 56px 0; }
  .discount-serie__title { font-size: 26px; }
  .discount-serie__highlight { font-size: 36px; }
  .discount-serie__features { gap: 12px; }
  .discount-serie__feature { font-size: 14px; padding: 8px 14px; }
}

@media (max-width: 768px) {
  .rating-row { padding: 18px 16px; }
  .rating-bar { grid-template-columns: 90px 1fr 30px; gap: 8px; }
  .rating-bar__label { font-size: 12px; }
  .rating-totals { grid-template-columns: 1fr; gap: 12px; }
  .rating-total__score { font-size: 42px; }
  .rating-legend { flex-wrap: wrap; gap: 12px; }
}

/* --- Case Study Cards --- */
.case-study {
  background: var(--white);
  border-left: 4px solid var(--cyan);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.case-study__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 8px;
}

.case-study__text {
  font-size: 15px;
  color: var(--gray-secondary);
  line-height: 1.6;
}

.case-study__meta {
  font-size: 13px;
  color: var(--gray-secondary);
  margin-top: 8px;
  font-weight: 500;
}

/* --- FAQ --- */
.faq-item {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-card);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--blue-primary);
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  transition: background var(--transition);
}

.faq-item__question:hover {
  background: var(--gray-bg);
}

.faq-item__question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--gray-secondary);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-item__question::after {
  content: '\2212';
}

.faq-item__answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-item__answer {
  padding: 0 24px 20px;
  max-height: 500px;
}

.faq-item__answer p {
  font-size: 15px;
  color: var(--gray-secondary);
  line-height: 1.7;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-text);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  border: 1px solid var(--gray-input);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--gray-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0, 60, 140, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-input.error {
  border-color: var(--red-error);
}

.form-error {
  font-size: 13px;
  color: var(--red-error);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-secondary);
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--blue-primary);
}

/* --- Footer --- */
.footer {
  background: var(--blue-primary);
  color: var(--white);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer__title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* --- GDPR Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-border);
  padding: 20px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner__text {
  font-size: 14px;
  color: var(--gray-secondary);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--blue-primary);
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* --- Page Hero (internal pages) --- */
.page-hero {
  background: var(--gray-bg);
  padding: 48px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 18px;
  color: var(--gray-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 13px;
  color: var(--gray-secondary);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--gray-secondary);
}

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

.breadcrumb span {
  margin: 0 8px;
  color: var(--gray-border);
}

/* --- Blog cards --- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card__body {
  padding: 24px;
}

.blog-card__category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  background: var(--cyan);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.blog-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: 14px;
  color: var(--gray-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-secondary);
}

/* --- Utility classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.max-w-640 { max-width: 640px; margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* --- Section headers --- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: var(--gray-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-hover) 100%);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-section .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Pillar boxes --- */
.pillar {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--gray-border);
  text-align: center;
}

.pillar__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.pillar__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 8px;
}

.pillar__text {
  font-size: 15px;
  color: var(--gray-secondary);
  line-height: 1.6;
}

/* --- Category card (homepage grid) --- */
.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cat-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cat-card__body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cat-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 6px;
}

.cat-card__desc {
  font-size: 14px;
  color: var(--gray-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.cat-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cat-card__link:hover {
  color: var(--cyan);
  gap: 8px;
}

.cat-card__link::after {
  content: '\2192';
  transition: all var(--transition);
}

/* --- Portfolio / Case study grid cards --- */
.portfolio-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--gray-border);
  overflow: hidden;
}

.portfolio-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.portfolio-card__body {
  padding: 24px;
}

.portfolio-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 8px;
}

.portfolio-card__text {
  font-size: 15px;
  color: var(--gray-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.portfolio-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.portfolio-card__tag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--gray-bg);
  color: var(--gray-secondary);
  border-radius: 4px;
}

/* --- Audience tags (capsule) --- */
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-primary);
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: 99px;
  transition: all 0.2s;
  cursor: default;
}

.tag:hover {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 60, 140, 0.15);
}

/* --- Newsletter --- */
.newsletter {
  background: var(--white);
  padding: 64px 0;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}

.newsletter__title {
  font-size: 28px;
  margin-bottom: 12px;
}

.newsletter__text {
  color: var(--gray-secondary);
  font-size: 16px;
  margin-bottom: 28px;
}

.newsletter__form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  padding: 14px 20px;
  border: 1.5px solid var(--gray-border);
  border-radius: 9999px;
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.newsletter__input:focus {
  border-color: var(--cyan);
}

.newsletter__btn {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .newsletter__form {
    flex-direction: column;
  }
  .newsletter__title { font-size: 22px; }
}

/* --- Service cards (hub) --- */
.service-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-card);
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.service-card__content {
  flex: 1;
}

.service-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 6px;
}

.service-card__text {
  font-size: 14px;
  color: var(--gray-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--blue-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  z-index: 99;
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .back-to-top { bottom: 76px; right: 16px; width: 40px; height: 40px; }
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__links {
  list-style: none;
}

.mobile-nav__links li {
  border-bottom: 1px solid var(--gray-border);
}

.mobile-nav__links a {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-text);
}

.mobile-nav__accordion {
  list-style: none;
  padding-left: 16px;
  display: none;
}

.mobile-nav__accordion.open {
  display: block;
}

.mobile-nav__accordion a {
  font-size: 14px;
  padding: 10px 0;
  color: var(--gray-secondary);
}

/* ============================================
   RESPONSIVE — Mobile First (< 768px)
   ============================================ */

@media (max-width: 1024px) {
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }

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

  .process__step:not(:last-child)::after {
    display: none;
  }

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

  .hero__image {
    display: none;
  }

  .blog-layout {
    grid-template-columns: 1fr 280px;
  }

  .blog-grid.grid--3 {
    grid-template-columns: 1fr 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr 260px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  body { font-size: 16px; }

  h1 { font-size: 36px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; }

  .section { padding: 48px 0; }

  .hero {
    padding: 64px 0 48px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__bullets {
    flex-direction: column;
    gap: 8px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .page-hero p {
    font-size: 16px;
  }

  /* Header mobile */
  .header__nav { display: none; }
  .header__hamburger { display: flex; }
  .header .btn--cta { display: none; }

  /* Grids */
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5 { grid-template-columns: 1fr; }

  .process {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .stats-bar__number {
    font-size: 22px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* CTA section */
  .cta-section {
    padding: 48px 0;
  }

  .cta-section .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Cookie banner */
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  /* Table scroll */
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* comparison-table removed — replaced by .compare checklist */

  /* Service card stack on mobile */
  .service-card {
    flex-direction: column;
  }

  /* Blog card */
  .blog-card__title {
    font-size: 16px;
  }
}

/* --- Fade-in animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grids */
.grid .fade-in:nth-child(2) { transition-delay: 0.08s; }
.grid .fade-in:nth-child(3) { transition-delay: 0.16s; }
.grid .fade-in:nth-child(4) { transition-delay: 0.24s; }
.grid .fade-in:nth-child(5) { transition-delay: 0.32s; }
.grid .fade-in:nth-child(6) { transition-delay: 0.4s; }

/* --- Card image zoom on hover --- */
.cat-card__image,
.blog-card__image,
.portfolio-card__image {
  transition: transform 0.4s ease;
}

.cat-card:hover .cat-card__image,
.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}

.cat-card,
.blog-card {
  overflow: hidden;
}

/* Image container needs overflow hidden */
.cat-card > img,
.blog-card > img {
  overflow: hidden;
}

/* --- Process step enhanced animation --- */
.process__step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.process__step.visible {
  opacity: 1;
  transform: translateY(0);
}

.process__step:nth-child(2) { transition-delay: 0.15s; }
.process__step:nth-child(3) { transition-delay: 0.3s; }
.process__step:nth-child(4) { transition-delay: 0.45s; }

/* Step number pulse animation */
.process__step.visible::before {
  animation: stepPulse 0.6s ease forwards;
}

@keyframes stepPulse {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

/* Connector line draw animation */
.process__step:not(:last-child)::after {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.8s ease 0.3s;
}

.process__step.visible:not(:last-child)::after {
  transform: scaleX(1);
}

/* --- Counter animation class --- */
.counter-animated {
  transition: all 0.3s ease;
}

/* --- Pillar hover enhancement --- */
.pillar {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cyan);
}

/* --- CTA section subtle animation --- */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(80, 180, 220, 0.08);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

/* --- Focus visible for accessibility --- */
*:focus-visible {
  outline: 2px solid var(--blue-primary);
  outline-offset: 2px;
}

/* --- Skip link (accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--blue-primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: 8px;
}

/* --- Scroll progress (optional) --- */
.scroll-progress {
  position: fixed;
  top: 72px;
  left: 0;
  height: 3px;
  background: var(--cyan);
  z-index: 999;
  transition: width 0.1s linear;
}

/* --- Pre-consent: ascunde float-urile până userul alege la banner cookies (mobil-friendly) --- */
body.pre-consent .whatsapp-float,
body.pre-consent #novex-chat,
body.pre-consent .back-to-top {
  display: none !important;
}

/* --- WhatsApp float button --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  height: 42px;
  background: #25d366;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 12px;
  color: var(--white);
  font-size: 20px;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.3);
  z-index: 100;
  text-decoration: none;
  animation: waPulse 3s ease-in-out infinite;
  transition: transform 0.2s;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

.whatsapp-float:hover {
  transform: scale(1.06);
  color: var(--white);
  animation-play-state: paused;
}

.whatsapp-float__text {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font);
  white-space: nowrap;
  animation: waTextSlide 6s ease-in-out infinite;
}

@keyframes waTextSlide {
  0%, 100% { opacity: 1; }
  45%, 55% { opacity: 0; }
}

@media (max-width: 768px) {
  .whatsapp-float { left: 16px; bottom: 16px; padding: 0 14px 0 12px; height: 48px; }
  .whatsapp-float svg { width: 22px; height: 22px; }
  .whatsapp-float__text { font-size: 12px; }
}

/* ============================================
   PAGE HERO — Internal Pages
   ============================================ */
.hero--page {
  padding: 64px 0 48px;
  text-align: center;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-hover) 100%);
}

.hero--page .hero__title {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 0;
}

.hero--page .hero__subtitle {
  color: rgba(255,255,255,0.85);
  margin: 16px auto 0;
}

/* ============================================
   BLOCKQUOTE ACCENT — cyan border-left
   ============================================ */
.blockquote--accent {
  border-left: 4px solid var(--cyan);
  padding: 20px 24px;
  margin: 0;
  font-size: 19px;
  font-style: italic;
  line-height: 1.7;
  color: var(--blue-primary);
  background: var(--gray-bg);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

/* ============================================
   ABOUT STORY — text + image side by side
   ============================================ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-story__text h2 {
  margin-bottom: 20px;
}

.about-story__text p {
  font-size: 16px;
  color: var(--gray-secondary);
  line-height: 1.8;
}

.about-story__image {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.about-story__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
}

/* ============================================
   ABOUT LIST — bullet points bold + desc
   ============================================ */
.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-border);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-secondary);
}

.about-list li:last-child {
  border-bottom: none;
}

.about-list li strong {
  color: var(--blue-primary);
  display: block;
  margin-bottom: 4px;
}

.about-list--honest li strong {
  color: var(--gray-text);
}

/* ============================================
   ABOUT VALUES — serioși, pasionați, tehnici
   ============================================ */
.about-values {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.about-values__item h3 {
  margin-bottom: 8px;
}

.about-values__item p {
  font-size: 16px;
  color: var(--gray-secondary);
  line-height: 1.8;
}

/* ============================================
   CONTACT LAYOUT — 2 columns
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  border: 1px solid var(--gray-input);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--gray-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0, 60, 140, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  padding-top: 28px; /* aer suplimentar sus — textul nu mai e lipit de margine */
}

.contact-form .required {
  color: var(--red-error);
}

.contact-form__submit {
  width: 100%;
  margin-top: 8px;
}

.contact-form__note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-secondary);
  margin-top: 12px;
}

/* ============================================
   FILE UPLOAD — custom label
   ============================================ */
.file-upload {
  position: relative;
}

.file-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.file-upload__label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 2px dashed var(--gray-input);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  font-size: 14px;
  color: var(--gray-secondary);
}

.file-upload__label:hover {
  border-color: var(--blue-primary);
  background: var(--gray-bg);
}

.file-upload__icon {
  font-size: 20px;
}

.file-upload__info {
  display: block;
  font-size: 12px;
  color: var(--gray-secondary);
  margin-top: 6px;
}

/* ============================================
   RADIO GROUP & CHECKBOX
   ============================================ */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--gray-text);
  cursor: pointer;
}

.radio-label input[type="radio"] {
  accent-color: var(--blue-primary);
  width: 18px;
  height: 18px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-secondary);
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--blue-primary);
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ============================================
   CONTACT INFO — sidebar
   ============================================ */
.contact-info-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-border);
}

.contact-info-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info-block h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.contact-method {
  margin-bottom: 20px;
}

.contact-method:last-child {
  margin-bottom: 0;
}

.contact-method h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-method p {
  margin-bottom: 4px;
}

/* ============================================
   BLOG LAYOUT — grid + sidebar
   ============================================ */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

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

.blog-card__image-link {
  display: block;
  overflow: hidden;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--cyan);
}

.blog-card__readmore {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-primary);
}

.blog-card__readmore:hover {
  color: var(--cyan);
}

/* Category badge color variants */
.blog-card__category--bricolaj { background: #2563eb; }
.blog-card__category--materiale { background: #7c3aed; }
.blog-card__category--studiu { background: var(--cyan); }
.blog-card__category--branding { background: var(--orange-cta); }
.blog-card__category--industrial { background: #475569; }
.blog-card__category--inspiratie { background: #ec4899; }
.blog-card__category--b2b { background: #059669; }

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 96px;
}

.blog-sidebar__widget {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 24px;
}

.blog-sidebar__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 16px;
}

.blog-sidebar__categories {
  list-style: none;
}

.blog-sidebar__categories li {
  margin-bottom: 8px;
}

.blog-sidebar__categories a {
  font-size: 14px;
  color: var(--gray-secondary);
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-border);
  transition: color var(--transition);
}

.blog-sidebar__categories a:hover {
  color: var(--blue-primary);
}

.blog-sidebar__categories li:last-child a {
  border-bottom: none;
}

.blog-sidebar__cta {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 24px;
}

.blog-sidebar__cta p {
  font-size: 14px;
  color: var(--gray-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============================================
   ARTICLE LAYOUT — single blog post
   ============================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.article {
  max-width: 800px;
}

.article__header {
  margin-bottom: 32px;
}

.article__title {
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 16px;
  margin-top: 12px;
}

.article__meta {
  font-size: 14px;
  color: var(--gray-secondary);
}

.article__featured {
  margin-bottom: 32px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.article__featured img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article__content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-text);
}

.article__content h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.article__content p {
  margin-bottom: 20px;
}

.article__intro {
  font-size: 19px;
  color: var(--gray-secondary);
  line-height: 1.8;
}

.article__cta-inline {
  background: var(--gray-bg);
  border-left: 4px solid var(--cyan);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 24px 28px;
  margin: 32px 0;
}

.article__cta-inline p {
  margin-bottom: 12px;
  font-size: 16px;
}

.article__cta-inline .btn {
  margin-top: 4px;
}

.article__author {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-border);
  font-size: 14px;
  color: var(--gray-secondary);
}

/* ============================================
   BREADCRUMB — list style
   ============================================ */
.breadcrumb {
  background: var(--white);
  padding: 16px 0;
  font-size: 13px;
}

.breadcrumb__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb__list li:not(:last-child)::after {
  content: '>';
  margin-left: 8px;
  color: var(--gray-border);
}

.breadcrumb__list a {
  color: var(--gray-secondary);
}

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

.breadcrumb__list li[aria-current="page"] {
  color: var(--blue-primary);
  font-weight: 500;
}

/* ============================================
   404 ERROR PAGE
   ============================================ */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.error-page__content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.error-page__image {
  max-width: 280px;
  margin: 0 auto 32px;
}

.error-page__title {
  font-size: 42px;
  margin-bottom: 16px;
}

.error-page__text {
  font-size: 18px;
  color: var(--gray-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.error-page__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   LEGAL CONTENT — termeni, cookies, GDPR
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content__intro {
  font-size: 18px;
  color: var(--gray-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-border);
}

.legal-content h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 16px;
  color: var(--gray-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content ul li {
  font-size: 16px;
  color: var(--gray-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-content ul li strong {
  color: var(--gray-text);
}

.legal-content code {
  background: var(--gray-bg);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--blue-primary);
}

.legal-content__update {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-border);
  font-size: 14px;
  color: var(--gray-secondary);
}

/* ============================================
   RESPONSIVE — New page styles
   ============================================ */
@media (max-width: 768px) {
  .hero--page {
    padding: 48px 0 32px;
  }

  .hero--page .hero__title {
    font-size: 28px;
  }

  .about-story {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-story__image {
    order: 2;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form__submit {
    width: 100%;
  }

  .blockquote--accent {
    font-size: 16px;
    padding: 16px 20px;
  }

  .radio-group {
    gap: 8px;
  }

  /* Blog layout mobile */
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog-grid.grid--3 {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  /* Article layout mobile */
  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article__title {
    font-size: 26px;
  }

  .article__intro {
    font-size: 16px;
  }

  /* 404 mobile */
  .error-page__title {
    font-size: 28px;
  }

  .error-page__text {
    font-size: 16px;
  }

  .error-page__buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Legal mobile */
  .legal-content h2 {
    font-size: 20px;
    margin-top: 32px;
  }
}

/* ============================================
   CHATBOT WIDGET
   ============================================ */
#novex-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--font);
}

.nc-toggle {
  height: 42px;
  border-radius: 99px;
  background: #25d366;
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 12px;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s, background 0.2s;
  position: relative;
  animation: ncFloat 3s ease-in-out infinite;
}

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

.nc-toggle:hover {
  animation-play-state: paused;
  transform: scale(1.06);
  background: #1fb855;
}

.nc-toggle--active {
  background: var(--gray-secondary);
  animation: none;
  padding: 0;
  width: 56px;
  justify-content: center;
}

.nc-text {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font);
  white-space: nowrap;
  animation: ncTextPulse 6s ease-in-out infinite;
}

@keyframes ncTextPulse {
  0%, 100% { opacity: 1; }
  45%, 55% { opacity: 0; }
}

.nc-toggle--active .nc-text { display: none; }

/* Robot icon animation */
.nc-robot { position: relative; }

.nc-robot__antenna {
  animation: ncBlink 2s ease-in-out infinite;
}

@keyframes ncBlink {
  0%, 90%, 100% { fill: #50b4dc; }
  95% { fill: #fff; }
}

.nc-robot__eye {
  animation: ncLook 4s ease-in-out infinite;
}

@keyframes ncLook {
  0%, 40%, 100% { transform: translateX(0); }
  45%, 55% { transform: translateX(2px); }
  60%, 90% { transform: translateX(-1px); }
}

.nc-toggle svg {
  width: 24px;
  height: 24px;
}

.nc-window {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 370px;
  height: 500px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ncSlideUp 0.3s ease-out;
}

@keyframes ncSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.nc-header {
  background: var(--blue-primary);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nc-header__info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nc-header__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.nc-header__name {
  font-size: 15px;
  font-weight: 700;
}

.nc-header__status {
  font-size: 12px;
  opacity: 0.75;
}

.nc-header__close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.nc-header__close:hover {
  opacity: 1;
}

.nc-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--gray-bg);
}

.nc-msg {
  display: flex;
  max-width: 85%;
}

.nc-msg--bot {
  align-self: flex-start;
}

.nc-msg--user {
  align-self: flex-end;
}

.nc-msg__bubble {
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.nc-msg--bot .nc-msg__bubble {
  background: var(--white);
  color: var(--gray-text);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.nc-msg--user .nc-msg__bubble {
  background: var(--blue-primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

/* Typing dots */
.nc-dots {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}

.nc-dots span {
  width: 7px;
  height: 7px;
  background: var(--gray-input);
  border-radius: 50%;
  animation: ncBounce 1.2s infinite;
}

.nc-dots span:nth-child(2) { animation-delay: 0.2s; }
.nc-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes ncBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.nc-input {
  display: flex;
  padding: 12px;
  gap: 8px;
  border-top: 1px solid var(--gray-border);
  background: var(--white);
}

.nc-input__field {
  flex: 1;
  border: 1px solid var(--gray-border);
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.nc-input__field:focus {
  border-color: var(--blue-primary);
}

.nc-input__send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nc-input__send:hover {
  background: var(--blue-hover);
}

.nc-input__send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  #novex-chat { bottom: 16px; right: 16px; }
  .nc-window {
    width: calc(100vw - 32px);
    height: calc(100vh - 120px);
    right: -8px;
    bottom: 64px;
  }
}

/* ============================================
   BEFORE/AFTER SLIDER
   ============================================ */
.ba-slider {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  cursor: col-resize;
  aspect-ratio: 16/10;
}

.ba-slider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.ba-slider__before {
  z-index: 1;
  clip-path: inset(0 50% 0 0);
}

.ba-slider__after {
  z-index: 0;
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--white);
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.ba-slider__handle::before,
.ba-slider__handle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
}

.ba-slider__handle::before {
  left: -12px;
  transform: translateY(-50%);
  border-width: 8px 8px 8px 0;
  border-color: transparent var(--white) transparent transparent;
}

.ba-slider__handle::after {
  right: -12px;
  transform: translateY(-50%);
  border-width: 8px 0 8px 8px;
  border-color: transparent transparent transparent var(--white);
}

.ba-slider__circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  z-index: 4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--blue-primary);
  font-weight: 700;
}

.ba-slider__label {
  position: absolute;
  bottom: 12px;
  padding: 4px 12px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 99px;
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ba-slider__label--before {
  left: 12px;
}

.ba-slider__label--after {
  right: 12px;
}
