/* ============================================
   AMADI — style.css
   ============================================ */

@import url('variables.css');

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--color-deep-navy);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-amadi-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-deep-navy);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Tipografie --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-deep-navy);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--space-4);
  color: var(--color-slate);
}

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

.section {
  padding: var(--space-20) 0;
}

.section--frost {
  background: var(--color-frost);
  position: relative;
}

.section--frost::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(30, 90, 168, 0.03) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.section--navy {
  background: var(--color-deep-navy);
  color: var(--color-white);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy h5,
.section--navy h6,
.section--navy p,
.section--navy li,
.section--navy span {
  color: var(--color-white);
}

.section--navy a:not(.btn) {
  color: var(--color-ice-cyan);
}

.section--navy svg {
  color: var(--color-white);
  stroke: currentColor;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
  position: relative;
}

.section__header h2 {
  margin-bottom: var(--space-4);
}

.section__header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: var(--text-lg);
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: var(--space-8);
}

.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); }

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: var(--z-sticky);
  transition: box-shadow var(--transition-base), background var(--transition-base);
  border-bottom: 1px solid transparent;
}

/* Scroll progress bar */
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--color-ice-cyan), var(--color-amadi-blue));
  z-index: 2;
  transition: none;
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 12px rgba(10, 37, 64, 0.06);
  border-bottom: 1px solid rgba(107, 197, 232, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  font-size: var(--text-xl);
  color: var(--color-deep-navy);
}

.header__logo img {
  height: 40px;
  width: auto;
  transition: height var(--transition-base);
}

.header--scrolled .header__logo img {
  height: 36px;
}

.header__logo:hover {
  color: var(--color-amadi-blue);
}

/* Navigație principală */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-deep-navy);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--color-amadi-blue);
  background: var(--color-frost);
}

.nav__link--active {
  color: var(--color-amadi-blue);
  font-weight: var(--font-semibold);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(10, 37, 64, 0.12), 0 0 0 1px rgba(107, 197, 232, 0.1);
  padding: var(--space-3);
  opacity: 0;
  visibility: hidden;
  z-index: var(--z-dropdown);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-deep-navy);
  border-radius: var(--radius-md);
  line-height: var(--leading-snug);
  transition: background var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
}

.nav__dropdown a:hover {
  background: var(--color-frost);
  color: var(--color-amadi-blue);
  padding-left: var(--space-5);
}

.nav__dropdown a::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-amadi-blue);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.nav__dropdown a:hover::before {
  opacity: 1;
}

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.header__phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-deep-navy);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.header__phone:hover {
  background: var(--color-frost);
  color: var(--color-amadi-blue);
}

.header__phone svg {
  width: 16px;
  height: 16px;
  color: var(--color-amadi-blue);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  cursor: pointer;
  z-index: var(--z-mobile-menu);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: var(--color-frost);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-deep-navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger--active span:nth-child(2) {
  opacity: 0;
}

.hamburger--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--color-white);
  box-shadow: -8px 0 32px rgba(10, 37, 64, 0.12);
  z-index: var(--z-mobile-menu);
  padding: var(--space-5) var(--space-6) var(--space-8);
  overflow-y: auto;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer--open {
  right: 0;
}

.mobile-drawer__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: calc(var(--z-mobile-menu) - 1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer__overlay--visible {
  opacity: 1;
}

.mobile-drawer__overlay--visible {
  display: block;
}

.mobile-drawer .nav__link {
  display: block;
  padding: var(--space-4) var(--space-3);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  border-bottom: 1px solid rgba(107, 197, 232, 0.1);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-drawer .nav__link:hover {
  background: var(--color-frost);
  color: var(--color-amadi-blue);
  padding-left: var(--space-5);
}

.mobile-drawer .nav__link--active {
  color: var(--color-amadi-blue);
  font-weight: var(--font-semibold);
  background: var(--color-frost);
}

.mobile-drawer .nav__dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  padding: 0;
  padding-left: var(--space-4);
}

.mobile-drawer .nav__dropdown a {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-slate);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast);
}

.mobile-drawer .nav__dropdown a:hover {
  color: var(--color-amadi-blue);
}

/* Mobile drawer header with logo */
.mobile-drawer__header {
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.mobile-drawer__logo {
  display: inline-block;
}

.mobile-drawer__logo img {
  height: 32px;
  width: auto;
}

/* Mobile drawer sub-links (servicii) */
.mobile-drawer__sub {
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
}

.mobile-drawer__sub a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-slate);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-drawer__sub a:hover {
  color: var(--color-amadi-blue);
  padding-left: var(--space-5);
}

/* Body scroll lock */
body.menu-open {
  overflow: hidden;
}

body.menu-open .floating-cta,
body.menu-open .whatsapp-wrap {
  transform: translateY(100%) !important;
  opacity: 0;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: var(--header-height);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: var(--space-16) 0;
}

.hero__content h1 {
  font-size: var(--text-6xl);
  color: var(--color-white);
  margin-bottom: var(--space-6);
  line-height: var(--leading-tight);
}

.hero__content p {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  line-height: var(--leading-snug);
}

.hero__buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero badge */
.hero__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ice-cyan);
  background: rgba(107, 197, 232, 0.15);
  border: 1px solid rgba(107, 197, 232, 0.25);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Hero trust badges */
.hero__trust {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
}

.hero__trust-item svg {
  color: var(--color-ice-cyan);
  stroke: currentColor;
  flex-shrink: 0;
}

/* ============================================
   Hero pagini interioare — Industrial Frost
   ============================================ */
.hero--page {
  min-height: 44vh;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  text-align: left;
  background-attachment: fixed;
}

/* Gradient overlay - deeper, asymmetric */
.hero--page::before {
  background:
    linear-gradient(160deg, rgba(10, 37, 64, 0.92) 0%, rgba(30, 90, 168, 0.65) 50%, rgba(10, 37, 64, 0.85) 100%);
}

/* Bottom transition - crisp diagonal slice */
.hero--page::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--color-white);
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
  z-index: 3;
  pointer-events: none;
}

/* Geometric frost accent - top right corner */
.hero--page .container::before {
  content: '';
  position: absolute;
  top: calc(var(--header-height) + var(--space-8));
  right: var(--container-padding);
  width: 120px;
  height: 120px;
  border: 2px solid rgba(107, 197, 232, 0.15);
  border-radius: var(--radius-lg);
  transform: rotate(15deg);
  z-index: 2;
  pointer-events: none;
}

.hero--page .container::after {
  content: '';
  position: absolute;
  top: calc(var(--header-height) + var(--space-12));
  right: calc(var(--container-padding) + 40px);
  width: 64px;
  height: 64px;
  background: rgba(107, 197, 232, 0.08);
  border-radius: var(--radius-md);
  transform: rotate(-10deg);
  z-index: 2;
  pointer-events: none;
}

.hero--page .container {
  position: relative;
  width: 100%;
}

/* Content positioning */
.hero--page .hero__content {
  max-width: 720px;
  margin: 0;
  padding: var(--space-12) 0 var(--space-16);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Breadcrumb redesign - pill style, left-aligned */
.hero--page .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-5);
  margin-right: auto;
  padding: var(--space-2) var(--space-4);
  background: rgba(107, 197, 232, 0.1);
  border: 1px solid rgba(107, 197, 232, 0.2);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero--page .breadcrumb a {
  color: var(--color-ice-cyan);
  transition: color var(--transition-fast);
}

.hero--page .breadcrumb a:hover {
  color: var(--color-white);
}

.hero--page .breadcrumb__sep {
  color: rgba(107, 197, 232, 0.4);
  font-size: 0.6rem;
}

.hero--page .breadcrumb__current {
  color: rgba(255, 255, 255, 0.9);
}

/* Title - left-aligned with accent bar */
.hero--page h1 {
  font-size: var(--text-5xl);
  text-shadow: none;
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}

.hero--page h1::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  background: linear-gradient(180deg, var(--color-ice-cyan), var(--color-amadi-blue));
  border-radius: 2px;
}

/* Description */
.hero--page .hero__content p {
  font-size: var(--text-lg);
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--leading-normal);
}

/* Staggered reveal animation for page heroes */
.hero--page .breadcrumb {
  opacity: 0;
  transform: translateY(16px);
  animation: heroPageReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero--page h1 {
  opacity: 0;
  transform: translateY(20px);
  animation: heroPageReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero--page .hero__content p {
  opacity: 0;
  transform: translateY(16px);
  animation: heroPageReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes heroPageReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Decorative frost line - bottom accent */
.hero--page .hero__content::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-ice-cyan), transparent);
  border-radius: 2px;
  margin-top: var(--space-6);
  opacity: 0;
  animation: heroLineReveal 0.6s ease 0.7s forwards;
}

@keyframes heroLineReveal {
  to {
    opacity: 1;
    width: 120px;
  }
}

/* Legal pages variant - more compact, no description line */
.hero--page .hero__content:not(:has(p))::after {
  display: none;
}

/* First section after page hero - compensate for diagonal clip overlap */
.hero--page + .section,
.hero--page + .stats {
  position: relative;
  z-index: 4;
}

/* ============================================
   Butoane
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  height: 44px;
  min-width: 180px;
}

.btn--primary {
  background: var(--color-amadi-blue);
  color: var(--color-white);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn--primary:hover {
  background: var(--color-deep-navy);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(30, 90, 168, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

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

.btn--outline-blue {
  background: transparent;
  color: var(--color-amadi-blue);
  border: 2px solid var(--color-amadi-blue);
}

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

.btn--white {
  background: var(--color-white);
  color: var(--color-amadi-blue);
  border: none;
  font-weight: var(--font-bold);
}

.btn--white:hover {
  background: var(--color-ice-cyan);
  color: var(--color-deep-navy);
  box-shadow: 0 4px 20px rgba(107, 197, 232, 0.4);
}

.btn--sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
  height: 36px;
  min-width: 120px;
}

.btn--lg {
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-base);
  height: 48px;
  min-width: 200px;
}

/* ============================================
   Strip cifre
   ============================================ */
.stats {
  background: linear-gradient(135deg, var(--color-deep-navy) 0%, #0e3358 100%);
  padding: var(--space-12) 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(107, 197, 232, 0.06) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.stats::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-ice-cyan), transparent);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  text-align: center;
  position: relative;
  z-index: 1;
}

.stats__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  background: rgba(107, 197, 232, 0.12);
  border: 1px solid rgba(107, 197, 232, 0.3);
  border-radius: var(--radius-lg);
  color: var(--color-ice-cyan);
}

.stats__icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
}

/* Stats - global overrides for dark background */
.stats h1,
.stats h2,
.stats h3,
.stats h4,
.stats h5,
.stats h6 {
  color: var(--color-white);
}

.stats p {
  color: rgba(255, 255, 255, 0.7);
}

.stats a:not(.btn) {
  color: var(--color-ice-cyan);
}

.stats svg {
  color: var(--color-ice-cyan);
  stroke: currentColor;
}

.stats__item h3 {
  font-size: var(--text-5xl);
  color: var(--color-white);
  margin-bottom: var(--space-2);
  font-variant-numeric: tabular-nums;
}

.stats__item p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--font-medium);
}

/* ============================================
   Cum lucrăm — Process Timeline
   ============================================ */
.process-section {
  padding: var(--space-20) 0;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 76px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-ice-cyan), var(--color-amadi-blue), var(--color-ice-cyan));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__number {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--color-amadi-blue);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  opacity: 0.6;
}

.process-step__icon {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f5fa, #e4eff8);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-6);
  color: var(--color-amadi-blue);
  box-shadow: 0 8px 32px rgba(30, 90, 168, 0.12);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.process-step__icon svg {
  width: 40px;
  height: 40px;
}

.process-step:hover .process-step__icon {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(30, 90, 168, 0.2);
}

.process-step h4 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--color-deep-navy);
  margin-bottom: var(--space-3);
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--color-slate);
  line-height: var(--leading-normal);
  margin-bottom: 0;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Carduri servicii
   ============================================ */
.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-amadi-blue);
}

.card__link:hover {
  gap: var(--space-3);
}

/* ============================================
   Servicii — layout orizontal (homepage)
   ============================================ */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 800px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-8);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateX(8px) translateY(-2px);
  box-shadow:
    0 16px 40px rgba(10, 37, 64, 0.1),
    -4px 0 0 0 var(--color-amadi-blue);
  border-color: transparent;
}

.service-card__icon {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-frost), rgba(107, 197, 232, 0.12));
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  position: relative;
}

.service-card__icon img {
  width: 52px;
  height: 52px;
}

.service-card__content {
  flex: 1;
}

.service-card__content h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
  color: var(--color-deep-navy);
}

.service-card__content p {
  font-size: var(--text-sm);
  color: var(--color-slate);
  margin-bottom: 0;
}

.service-card__arrow {
  flex-shrink: 0;
  font-size: var(--text-xl);
  color: var(--color-amadi-blue);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.service-card:hover .service-card__arrow {
  transform: translateX(4px);
  color: var(--color-ice-cyan);
}

/* Featured service card */
.service-card--featured {
  background: linear-gradient(135deg, var(--color-amadi-blue) 0%, #164d8f 100%);
  border-color: transparent;
  color: var(--color-white);
}

.service-card--featured .service-card__icon {
  background: rgba(255, 255, 255, 0.15);
}

.service-card--featured .service-card__icon svg,
.service-card--featured .service-card__icon img {
  filter: brightness(0) invert(1);
}

.service-card--featured .service-card__content h3 {
  color: var(--color-white);
  font-size: var(--text-xl);
}

.service-card--featured .service-card__content p {
  color: rgba(255, 255, 255, 0.8);
}

.service-card--featured .service-card__arrow {
  color: var(--color-ice-cyan);
}

.service-card--featured:hover {
  transform: translateX(6px) translateY(-2px);
  box-shadow: 0 12px 40px rgba(30, 90, 168, 0.35);
  border-color: transparent;
}

.service-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ice-cyan);
  background: rgba(107, 197, 232, 0.2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
}

/* ============================================
   De ce AMADI (beneficii)
   ============================================ */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.benefit {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.benefit__icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-frost), rgba(107, 197, 232, 0.12));
  border-radius: var(--radius-xl);
  padding: var(--space-5);
}

.benefit__icon img {
  width: 48px;
  height: 48px;
}

.benefit h4 {
  margin-bottom: var(--space-2);
}

.benefit p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* ============================================
   Testimonial
   ============================================ */
.testimonial {
  max-width: 700px;
  margin: var(--space-16) auto 0;
  background: var(--color-frost);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-10) var(--space-8);
  position: relative;
  border: 1px solid var(--color-border);
}

.testimonial__quote {
  position: relative;
}

.testimonial__quote svg {
  position: absolute;
  top: -8px;
  left: -4px;
  color: var(--color-amadi-blue);
}

.testimonial__quote blockquote {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-normal);
  color: var(--color-deep-navy);
  line-height: var(--leading-snug);
  margin: 0;
  padding-left: var(--space-8);
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-amadi-blue), var(--color-deep-navy));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.testimonial__author strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-deep-navy);
}

.testimonial__author span {
  font-size: var(--text-xs);
  color: var(--color-slate);
}

/* ============================================
   Carduri portofoliu
   ============================================ */
.portfolio-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.portfolio-card__image-wrapper {
  width: 100%;
  height: 240px;
  background: var(--color-frost);
  overflow: hidden;
  position: relative;
}

.portfolio-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-card__body {
  padding: var(--space-5);
}

.portfolio-card__badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-amadi-blue);
  background: var(--color-frost);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.portfolio-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.portfolio-card__desc {
  font-size: var(--text-sm);
  color: var(--color-slate);
  margin-bottom: 0;
}

/* ============================================
   CTA strip
   ============================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--color-amadi-blue) 0%, var(--color-deep-navy) 100%);
  color: var(--color-white);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(107, 197, 232, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-strip::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-ice-cyan), transparent);
}

.cta-strip__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-strip__text h2 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
  text-align: left;
}

.cta-strip__text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-lg);
  margin: 0;
}

.cta-strip__actions-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.cta-strip__phone {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.cta-strip__phone:hover {
  color: var(--color-ice-cyan);
}

.cta-strip__phone svg {
  color: var(--color-ice-cyan);
  stroke: currentColor;
}

.cta-strip__hours {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* CTA actions (inner pages - centered layout) */
.cta-strip__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

/* Inner page CTA - centered dramatic layout */
.cta-strip:not(:has(.cta-strip__grid)) {
  text-align: center;
  padding: var(--space-24) 0;
}

.cta-strip:not(:has(.cta-strip__grid)) h2 {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-4);
  font-size: var(--text-4xl);
}

.cta-strip:not(:has(.cta-strip__grid)) > .container > p {
  max-width: 540px;
  margin: 0 auto;
  font-size: var(--text-lg);
}

/* CTA strip - global dark background overrides */
.cta-strip h1,
.cta-strip h2,
.cta-strip h3,
.cta-strip h4,
.cta-strip h5,
.cta-strip h6 {
  color: var(--color-white);
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-strip a:not(.btn) {
  color: var(--color-ice-cyan);
}

.cta-strip svg {
  color: var(--color-ice-cyan);
  stroke: currentColor;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb__current {
  color: var(--color-white);
}

/* ============================================
   Service pages — industrial elegance
   ============================================ */

/* Section header accent */
.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
  position: relative;
}

.section__header h2 {
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
}

.section__header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-ice-cyan), var(--color-amadi-blue));
  border-radius: 2px;
}

.section__header p {
  max-width: 640px;
  margin: 0 auto;
  margin-top: var(--space-4);
  font-size: var(--text-lg);
}

/* Split row: text + image with accent */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.split-row__text h2 {
  margin-top: 0;
  margin-bottom: var(--space-5);
  position: relative;
  padding-left: var(--space-5);
}

.split-row__text h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: linear-gradient(180deg, var(--color-ice-cyan), var(--color-amadi-blue));
  border-radius: 2px;
}

.split-row__text p {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-slate);
}

.split-row__image {
  position: relative;
}

.split-row__image::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(107, 197, 232, 0.2), rgba(30, 90, 168, 0.1));
  border-radius: var(--radius-lg);
  z-index: 0;
}

.split-row__image::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: -8px;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(107, 197, 232, 0.3);
  border-radius: var(--radius-md);
  z-index: 0;
}

.split-row__image img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-xl);
}

/* Features grid — editorial layout */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all var(--transition-base);
}

.feature-item:hover {
  background: var(--color-white);
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

.feature-item__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-frost), rgba(107, 197, 232, 0.12));
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  position: relative;
}

.feature-item__icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-xl) + 4px);
  background: linear-gradient(135deg, rgba(107, 197, 232, 0.25), transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-item:hover .feature-item__icon::after {
  opacity: 1;
}

.feature-item__icon img {
  width: 48px;
  height: 48px;
}

.feature-item h4 {
  font-family: var(--font-body);
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
  color: var(--color-deep-navy);
}

.feature-item p {
  font-size: var(--text-sm);
  color: var(--color-slate);
  margin-bottom: 0;
  line-height: var(--leading-normal);
}

/* Steps grid — gradient connector, glowing numbers */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-ice-cyan), var(--color-amadi-blue), var(--color-ice-cyan));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-amadi-blue) 0%, #164d8f 100%);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-5);
  box-shadow: 0 4px 16px rgba(30, 90, 168, 0.35);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.step:hover .step__number {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(30, 90, 168, 0.45);
}

.step h4 {
  font-family: var(--font-body);
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
  color: var(--color-deep-navy);
}

.step p {
  font-size: var(--text-sm);
  color: var(--color-slate);
  margin-bottom: 0;
}

/* Card list (styled bullets inside cards) */
.card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card__list li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-slate);
  margin-bottom: var(--space-2);
}

.card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-amadi-blue);
}

/* ============================================
   Content (pagini interioare)
   ============================================ */
.content {
  padding: var(--space-16) 0;
}

.content__text {
  max-width: 800px;
}

.content__text h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.content__text h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.content__text p {
  line-height: var(--leading-normal);
}

.content__text ul {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.content__text ul li {
  margin-bottom: var(--space-2);
  color: var(--color-slate);
}

/* ============================================
   Pagina proiect detaliat (portofoliu)
   ============================================ */

/* Wrapper */
.project-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

/* Imaginea principala - hero-style */
.project-detail__main-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-frost);
  aspect-ratio: 16/9;
  max-height: 520px;
  box-shadow: var(--shadow-xl);
}

.project-detail__main-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(107, 197, 232, 0.15);
  pointer-events: none;
}

.project-detail__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.project-detail__main-image img:hover {
  transform: scale(1.02);
}

/* Gallery navigation arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: var(--color-deep-navy);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.gallery-nav:hover {
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.2);
}

.gallery-nav--prev {
  left: var(--space-4);
}

.gallery-nav--prev:hover {
  transform: translateY(-50%) translateX(-2px);
}

.gallery-nav--next {
  right: var(--space-4);
}

.gallery-nav--next:hover {
  transform: translateY(-50%) translateX(2px);
}

.gallery-counter {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 37, 64, 0.7);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}

/* Galerie thumbnails */
.project-gallery {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.project-gallery::-webkit-scrollbar {
  height: 4px;
}

.project-gallery::-webkit-scrollbar-track {
  background: var(--color-frost);
  border-radius: 2px;
}

.project-gallery::-webkit-scrollbar-thumb {
  background: var(--color-amadi-blue);
  border-radius: 2px;
}

.project-gallery__thumb {
  flex-shrink: 0;
  width: 100px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  opacity: 0.7;
}

.project-gallery__thumb:hover {
  opacity: 1;
}

.project-gallery__thumb.active {
  border-color: var(--color-amadi-blue);
  box-shadow: 0 0 0 2px rgba(30, 90, 168, 0.2);
  opacity: 1;
}

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

/* Informatii proiect */
.project-detail__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.project-detail__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.project-detail__meta-item {
  padding: var(--space-5);
  background: var(--color-frost);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.project-detail__meta-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-ice-cyan), var(--color-amadi-blue));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.project-detail__meta-item:hover::before {
  opacity: 1;
}

.project-detail__meta-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-slate);
  margin-bottom: var(--space-2);
}

.project-detail__meta-value {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--color-deep-navy);
}

/* Descriere proiect */
.project-detail__description {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-slate);
}

.project-detail__description p {
  margin-bottom: var(--space-4);
  color: var(--color-slate);
}

.project-detail__description p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
}

.lightbox--open {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  font-size: var(--text-xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__close {
  top: var(--space-6);
  right: var(--space-6);
}

.lightbox__prev {
  left: var(--space-6);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: var(--space-6);
  top: 50%;
  transform: translateY(-50%);
}

/* ============================================
   Formular contact
   ============================================ */
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.contact-form .form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  margin-bottom: var(--space-2);
  color: var(--color-deep-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-deep-navy);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-amadi-blue);
  box-shadow: 0 0 0 3px rgba(30, 90, 168, 0.15);
}

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

.form-group .error-msg {
  display: none;
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-1);
}

.form-group--error input,
.form-group--error select,
.form-group--error textarea {
  border-color: var(--color-error);
}

.form-group--error .error-msg {
  display: block;
}

/* Checkbox GDPR custom */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

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

.checkbox span {
  font-size: var(--text-sm);
  color: var(--color-slate);
}

.checkbox a {
  text-decoration: underline;
}

/* Form messages */
.form-message {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  display: none;
}

.form-message--success {
  background: rgba(40, 167, 69, 0.1);
  color: var(--color-success);
  border: 1px solid var(--color-success);
  display: block;
}

.form-message--error {
  background: rgba(220, 53, 69, 0.1);
  color: var(--color-error);
  border: 1px solid var(--color-error);
  display: block;
}

/* Form scurt homepage */
.contact-form--short {
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
}

.contact-form--short .form-group--full {
  grid-column: auto;
}

/* ============================================
   Contact info
   ============================================ */
.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.contact-info__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-info__item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-amadi-blue);
}

.contact-info__item h4 {
  margin-bottom: var(--space-1);
  font-size: var(--text-base);
}

.contact-info__item p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* Harta */
.contact-map {
  margin-top: var(--space-10);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-deep-navy);
  color: var(--color-white);
  padding: var(--space-16) 0 0;
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: var(--space-10);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  font-size: var(--text-xl);
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.footer__logo img {
  height: 36px;
}

.footer__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--leading-normal);
}

.footer svg {
  color: rgba(255, 255, 255, 0.7);
  stroke: currentColor;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
  color: var(--color-white);
}

.footer h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-5);
  font-family: var(--font-body);
  font-weight: var(--font-semibold);
}

.footer__links li {
  margin-bottom: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

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

/* Social link */
.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.footer__social-link:hover {
  border-color: rgba(107, 197, 232, 0.4);
  color: var(--color-ice-cyan);
  background: rgba(107, 197, 232, 0.08);
  transform: translateY(-2px);
}

.footer__social-link svg {
  flex-shrink: 0;
  color: var(--color-ice-cyan);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.footer__social-link:hover svg {
  opacity: 1;
}

.footer__contact p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-3);
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact a:hover {
  color: var(--color-ice-cyan);
}

/* Copyright bar */
.footer__bottom {
  margin-top: var(--space-12);
  padding: var(--space-5) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
  display: flex;
  gap: var(--space-4);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal a:hover {
  color: var(--color-ice-cyan);
}

/* ============================================
   Cookie consent banner
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -4px 24px rgba(10, 37, 64, 0.15);
  padding: var(--space-6);
  z-index: var(--z-cookie-banner);
  display: none;
}

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

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

.cookie-banner__text {
  font-size: var(--text-sm);
  color: var(--color-slate);
  line-height: var(--leading-normal);
}

.cookie-banner__text a {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Cookie settings modal */
.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.5);
  z-index: calc(var(--z-cookie-banner) + 1);
  align-items: center;
  justify-content: center;
}

.cookie-modal--open {
  display: flex;
}

.cookie-modal__dialog {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 560px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal__dialog h3 {
  margin-bottom: var(--space-5);
}

.cookie-modal__category {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.cookie-modal__category h4 {
  font-family: var(--font-body);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2);
}

.cookie-modal__category p {
  font-size: var(--text-sm);
  color: var(--color-slate);
}

.cookie-modal__actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
  justify-content: flex-end;
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.faq-item[open] {
  border-color: rgba(107, 197, 232, 0.4);
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.06);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-deep-navy);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition-fast);
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: var(--space-4);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%231E5AA8' stroke-width='2.5' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(180deg);
}

.faq-item__question:hover {
  color: var(--color-amadi-blue);
}

.faq-item__answer {
  padding: 0 var(--space-6) var(--space-6);
}

.faq-item__answer p {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-slate);
  margin-bottom: 0;
}

.faq-item__answer a {
  font-weight: var(--font-medium);
}

/* ============================================
   Animații
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
}

/* ============================================
   Legal pages
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.legal-content h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-4);
}

.legal-content ul,
.legal-content ol {
  padding-left: var(--space-6);
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: var(--space-2);
  color: var(--color-slate);
}

/* ============================================
   Colaboratori — Trust Wall Premium
   ============================================ */

/* Intro */
.trust-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.trust-intro__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-amadi-blue);
  background: rgba(30, 90, 168, 0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border-left: 3px solid var(--color-ice-cyan);
  margin-bottom: var(--space-4);
}

.trust-intro__text h2 {
  margin-bottom: var(--space-4);
}

.trust-intro__text p {
  color: var(--color-slate);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.trust-intro__stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.trust-intro__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-amadi-blue);
  line-height: 1;
}

.trust-intro__stat span {
  font-size: var(--text-sm);
  color: var(--color-slate);
}

.trust-intro__image {
  position: relative;
}

.trust-intro__image::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 100px;
  height: 100px;
  border: 2px solid var(--color-ice-cyan);
  border-radius: var(--radius-lg);
  opacity: 0.4;
}

.trust-intro__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* Supplier grid — 3 columns, spacious */
.supplier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.supplier-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-8) var(--space-6) var(--space-6);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

/* Gradient accent top bar — hidden until hover */
.supplier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-ice-cyan), var(--color-amadi-blue));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.supplier-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 48px rgba(10, 37, 64, 0.1),
    0 0 0 1px rgba(107, 197, 232, 0.1);
  border-color: transparent;
}

.supplier-card:hover::before {
  opacity: 1;
}

.supplier-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  margin-bottom: var(--space-5);
}

.supplier-card__logo img {
  max-width: 160px;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter var(--transition-base);
}

.supplier-card:hover .supplier-card__logo img {
  filter: grayscale(0%);
}

.supplier-card__divider {
  width: 40px;
  height: 2px;
  background: var(--color-border);
  border-radius: 2px;
  margin: 0 auto var(--space-4);
  transition: width var(--transition-base), background var(--transition-base);
}

.supplier-card:hover .supplier-card__divider {
  width: 60px;
  background: linear-gradient(90deg, var(--color-ice-cyan), var(--color-amadi-blue));
}

.supplier-card__info {
  text-align: center;
}

.supplier-card__info h4 {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-deep-navy);
  margin-bottom: var(--space-1);
}

.supplier-card__info p {
  font-size: var(--text-xs);
  color: var(--color-slate);
  margin: 0;
  line-height: 1.6;
}

/* Client trust wall */
.client-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.client-wall__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  background: var(--color-frost);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.client-wall__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(107, 197, 232, 0.2);
  border-color: var(--color-ice-cyan);
}

.client-wall__item img {
  max-height: 56px;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(60%);
  opacity: 0.7;
  transition: filter var(--transition-base), opacity var(--transition-base);
}

.client-wall__item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* CTA navy variant */
.cta-strip--navy {
  background: var(--color-deep-navy);
  color: var(--color-white);
}

.cta-strip--navy h1,
.cta-strip--navy h2,
.cta-strip--navy h3,
.cta-strip--navy h4,
.cta-strip--navy h5,
.cta-strip--navy h6 {
  color: var(--color-white);
}

.cta-strip--navy p {
  color: rgba(255, 255, 255, 0.7);
}

.cta-strip--navy svg {
  color: var(--color-ice-cyan);
  stroke: currentColor;
}

.btn--outline-light {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-weight: var(--font-semibold);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.btn--outline-light:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-deep-navy);
}

/* ============================================
   Site-wide improvements (Context7 research)
   ============================================ */

/* --- 1. Staggered animations pe griduri --- */
.fade-in-up:nth-child(1) { transition-delay: 0.05s; }
.fade-in-up:nth-child(2) { transition-delay: 0.10s; }
.fade-in-up:nth-child(3) { transition-delay: 0.15s; }
.fade-in-up:nth-child(4) { transition-delay: 0.20s; }
.fade-in-up:nth-child(5) { transition-delay: 0.25s; }
.fade-in-up:nth-child(6) { transition-delay: 0.30s; }
.fade-in-up:nth-child(7) { transition-delay: 0.35s; }
.fade-in-up:nth-child(8) { transition-delay: 0.40s; }
.fade-in-up:nth-child(9) { transition-delay: 0.45s; }
.fade-in-up:nth-child(10) { transition-delay: 0.50s; }
.fade-in-up:nth-child(11) { transition-delay: 0.55s; }
.fade-in-up:nth-child(12) { transition-delay: 0.60s; }

/* Fade-blur-in variant */
.fade-blur-in {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, filter 0.7s ease-out, transform 0.7s ease-out;
}

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

/* --- 2. Portfolio card hover effects --- */
/* (consolidated into Design Upgrade section) */

/* --- 3. Micro-interactiuni --- */

/* Link underline animation - doar nav top-level */
.nav__list > .nav__item > .nav__link {
  position: relative;
}

.nav__list > .nav__item > .nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: var(--space-3);
  right: var(--space-3);
  height: 2px;
  background: linear-gradient(90deg, var(--color-ice-cyan), var(--color-amadi-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 1px;
}

.nav__list > .nav__item > .nav__link:hover::after,
.nav__list > .nav__item > .nav__link--active::after {
  transform: scaleX(1);
}

/* Footer links underline */
.footer__links a {
  position: relative;
}

/* Button glow — consolidated into Design Upgrade shimmer section */

/* Badge pulse */
.portfolio-card__badge {
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.portfolio-card:hover .portfolio-card__badge {
  background: rgba(30, 90, 168, 0.15);
  transform: translateX(2px);
}

/* Service card arrow enhance — consolidated into original */

/* --- 4. Section effects premium --- */

/* Noise texture overlay pe frost */
.section--frost::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Ensure frost content stays above texture */
.section--frost > .container {
  position: relative;
  z-index: 1;
}

/* Section header animated accent */
@keyframes accentSlide {
  from { transform: translateX(-50%) scaleX(0); }
  to { transform: translateX(-50%) scaleX(1); }
}

.fade-in-up.visible .section__header h2::after,
.section__header.visible h2::after {
  animation: accentSlide 0.6s ease-out 0.2s both;
}

/* CTA strip subtle gradient shift */
.cta-strip {
  background-size: 150% 150%;
}

@keyframes ctaGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Apply animation only when in viewport */
.cta-strip.visible {
  animation: ctaGradient 10s ease infinite;
}

/* --- 5. Lightbox improvements --- */
.lightbox {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 37, 64, 0.88);
}

.lightbox__img {
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.lightbox--open .lightbox__img {
  transform: scale(1);
  opacity: 1;
}

.lightbox__counter {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.lightbox__close:hover {
  transform: rotate(90deg);
}

.lightbox__prev:hover {
  transform: translateY(-50%) translateX(-2px);
}

.lightbox__next:hover {
  transform: translateY(-50%) translateX(2px);
}

/* --- 6. Project detail enhancements --- */

/* Scroll-snap pe galerie thumbnails */
.project-gallery {
  scroll-snap-type: x proximity;
}

.project-gallery__thumb {
  scroll-snap-align: start;
}

/* Meta items hover glow */
.project-detail__meta-item {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.project-detail__meta-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(107, 197, 232, 0.15);
}

/* Main image parallax hint */
.project-detail__main-image img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 7. Focus & accessibility --- */
:focus-visible {
  outline: 2px solid var(--color-amadi-blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Screen reader only */
.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;
}

/* --- 8. Performance --- */
/* content-visibility only pe sectiuni care nu sunt above-the-fold */
.section--frost {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* --- 9. prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in-up,
  .fade-in,
  .fade-blur-in,
  .scale-in,
  .slide-in-left,
  .slide-in-right,
  .clip-reveal,
  .reveal-up {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
  }

  .hero__content .hero__badge,
  .hero__content h1,
  .hero__content p,
  .hero__content .hero__buttons,
  .hero__content .hero__trust {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero--page .breadcrumb,
  .hero--page h1,
  .hero--page .hero__content p,
  .hero--page .hero__content::after {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero::after {
    animation: none;
  }

  .page-loader__pulse::before,
  .page-loader__pulse::after {
    animation: none;
  }

  .portfolio-card__image {
    transition: none;
  }

  .cta-strip {
    animation: none;
    background-size: 100% 100%;
  }

  .process-step__icon {
    transition: none;
  }

  .scroll-progress {
    animation: none;
  }

  .footer::before {
    animation: none;
  }
}

/* ============================================
   Clienti de referinta - homepage cards
   ============================================ */
.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.reference-card {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.reference-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-ice-cyan), var(--color-amadi-blue));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.reference-card:hover {
  transform: translateY(-4px) translateX(4px);
  box-shadow:
    0 16px 40px rgba(10, 37, 64, 0.1),
    -3px 0 0 0 var(--color-amadi-blue);
  border-color: transparent;
}

.reference-card:hover::before {
  opacity: 1;
}

.reference-card__logo {
  flex-shrink: 0;
  width: 104px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-frost);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.reference-card__logo img {
  max-width: 80px;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter var(--transition-base);
}

.reference-card:hover .reference-card__logo img {
  filter: grayscale(0%);
}

.reference-card__body {
  flex: 1;
  min-width: 0;
}

.reference-card__body h4 {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--color-deep-navy);
  margin-bottom: var(--space-1);
}

.reference-card__location {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-amadi-blue);
  margin-bottom: var(--space-2);
}

.reference-card__body p {
  font-size: var(--text-sm);
  color: var(--color-slate);
  margin-bottom: 0;
  line-height: var(--leading-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reference-card__arrow {
  flex-shrink: 0;
  font-size: var(--text-lg);
  color: var(--color-amadi-blue);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.reference-card:hover .reference-card__arrow {
  transform: translateX(4px);
  color: var(--color-ice-cyan);
}

/* ============================================
   Design Upgrade 2026 — Premium Effects
   ============================================ */

/* --- Page Loading Animation --- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__pulse {
  width: 48px;
  height: 48px;
  position: relative;
}

.page-loader__pulse::before,
.page-loader__pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-amadi-blue);
  animation: loaderPulse 1.5s ease-out infinite;
}

.page-loader__pulse::after {
  animation-delay: 0.5s;
}

.page-loader__pulse span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--color-amadi-blue);
  border-radius: var(--radius-full);
}

@keyframes loaderPulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* --- Hero Enhanced --- */

/* Staggered text reveal on page load */
.hero__content .hero__badge,
.hero__content h1,
.hero__content p,
.hero__content .hero__buttons,
.hero__content .hero__trust {
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__content .hero__badge { animation-delay: 0.2s; }
.hero__content h1 { animation-delay: 0.4s; }
.hero__content p { animation-delay: 0.6s; }
.hero__content .hero__buttons { animation-delay: 0.8s; }
.hero__content .hero__trust { animation-delay: 1.0s; }

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero gradient text */
.hero__content h1 {
  background: linear-gradient(135deg, #ffffff 0%, #dceefb 50%, var(--color-ice-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero frost crystal particles overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background:
    radial-gradient(2px 2px at 15% 25%, rgba(107, 197, 232, 0.35), transparent),
    radial-gradient(2px 2px at 35% 65%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1.5px 1.5px at 55% 15%, rgba(107, 197, 232, 0.4), transparent),
    radial-gradient(1px 1px at 75% 45%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(3px 3px at 25% 85%, rgba(107, 197, 232, 0.15), transparent),
    radial-gradient(1.5px 1.5px at 65% 75%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(2px 2px at 85% 10%, rgba(107, 197, 232, 0.2), transparent),
    radial-gradient(1px 1px at 45% 50%, rgba(255, 255, 255, 0.15), transparent),
    radial-gradient(2px 2px at 92% 60%, rgba(107, 197, 232, 0.25), transparent),
    radial-gradient(1px 1px at 8% 70%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1.5px 1.5px at 60% 92%, rgba(107, 197, 232, 0.3), transparent),
    radial-gradient(2px 2px at 30% 8%, rgba(255, 255, 255, 0.18), transparent);
  z-index: 2;
  pointer-events: none;
  animation: heroFloat 20s ease-in-out infinite alternate;
}

@keyframes heroFloat {
  0% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-15px) translateX(8px); }
  50% { transform: translateY(10px) translateX(-5px); }
  75% { transform: translateY(-20px) translateX(12px); }
  100% { transform: translateY(-10px) translateX(3px); }
}

/* Hero page variant - simpler, no particles */
.hero--page .hero__content h1 {
  background: none;
  -webkit-text-fill-color: var(--color-white);
}

/* Override crystal particles for inner page heroes - diagonal slice transition */
.hero--page::after {
  top: auto;
  bottom: 0;
  right: auto;
  left: 0;
  width: 100%;
  height: 64px;
  background: var(--color-white);
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
  animation: none;
}

/* Hero trust items enhanced */
.hero__trust-item {
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hero__trust-item:hover {
  transform: translateX(4px);
}

/* --- Section Dividers --- */
.section-divider {
  position: relative;
}

.section-divider--wave::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 48px;
  background: inherit;
  clip-path: polygon(
    0% 100%,
    0% 70%,
    3% 65%, 8% 55%, 13% 50%, 18% 52%, 23% 58%,
    28% 65%, 33% 70%, 38% 68%, 43% 60%, 48% 52%,
    53% 48%, 58% 50%, 63% 58%, 68% 65%, 73% 68%,
    78% 62%, 83% 55%, 88% 50%, 93% 55%, 97% 62%,
    100% 70%,
    100% 100%
  );
  z-index: 1;
}

.section-divider--curve::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 48px;
  background: inherit;
  clip-path: ellipse(60% 100% at 50% 100%);
  z-index: 1;
}

.section-divider--diagonal::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 64px;
  background: inherit;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

/* --- Enhanced Scroll Animations --- */

/* Slide in from left */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide in from right */
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale in */
.scale-in {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Clip-path reveal */
.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.clip-reveal.visible {
  clip-path: inset(0 0 0 0);
}

/* Stagger children with custom property */
.stagger > * {
  transition-delay: calc(var(--stagger-index, 0) * 0.07s);
}

/* Enhanced fade-in-up with more drama */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Button Shimmer Effect --- */
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
}

.btn--primary:hover::after {
  animation: btnShimmer 0.7s ease forwards;
}

@keyframes btnShimmer {
  from { left: -100%; }
  to { left: 100%; }
}

/* Button scale on hover */
.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
}

/* White button glow */
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 20px rgba(107, 197, 232, 0.4),
    0 0 40px rgba(107, 197, 232, 0.15);
}

/* --- Card — consolidated definition --- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-ice-cyan), var(--color-amadi-blue));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 20px 48px rgba(10, 37, 64, 0.1),
    0 0 0 1px rgba(107, 197, 232, 0.08);
  border-color: transparent;
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-frost), rgba(107, 197, 232, 0.15));
  border-radius: var(--radius-xl);
  padding: var(--space-4);
}

.card__icon img {
  width: 48px;
  height: 48px;
}

.card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
}

/* Portfolio card enhanced - image overlay gradient */
.portfolio-card__image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(10, 37, 64, 0.6) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.portfolio-card:hover .portfolio-card__image-wrapper::after {
  opacity: 1;
}

.portfolio-card__image {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-card__image {
  transform: scale(1.1);
}

/* Reference card enhanced — hover consolidated into original definition */

/* --- Stats Enhanced --- */
.stats__item {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  transition: background 0.4s ease;
}

.stats__item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(107, 197, 232, 0.4), rgba(30, 90, 168, 0.4));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.stats__item:hover::after {
  opacity: 1;
}

.stats__item:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Stats number glow */
.stats__item h3 {
  text-shadow: 0 0 40px rgba(107, 197, 232, 0.3);
}

/* --- Header Enhanced --- */
.header {
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 2px 24px rgba(10, 37, 64, 0.08),
    0 0 0 1px rgba(107, 197, 232, 0.06);
}

/* Scroll progress bar enhanced */
.scroll-progress {
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-amadi-blue),
    var(--color-ice-cyan),
    var(--color-amadi-blue)
  );
  background-size: 200% 100%;
  animation: progressGradient 4s linear infinite;
}

@keyframes progressGradient {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Nav link enhanced underline */
.nav__list > .nav__item > .nav__link::after {
  height: 2px;
  background: linear-gradient(90deg, var(--color-ice-cyan), var(--color-amadi-blue));
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Footer Enhanced --- */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-ice-cyan) 20%,
    var(--color-amadi-blue) 50%,
    var(--color-ice-cyan) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: footerGlow 8s ease-in-out infinite;
}

@keyframes footerGlow {
  0%, 100% { background-position: -200% 0; }
  50% { background-position: 200% 0; }
}

/* Footer links enhanced */
.footer__links a {
  position: relative;
  display: inline-block;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer__links a:hover {
  transform: translateX(4px);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.12), 0 0 0 1px var(--color-border);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
  border: none;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.18), 0 0 0 1px var(--color-amadi-blue);
  transform: translateY(-3px) scale(1.05);
}

.back-to-top svg {
  color: var(--color-amadi-blue);
  stroke: currentColor;
}

/* Circular progress around back-to-top */
.back-to-top__progress {
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-full);
  pointer-events: none;
}

.back-to-top__progress circle {
  fill: none;
  stroke: var(--color-amadi-blue);
  stroke-width: 2;
  stroke-dasharray: 164;
  stroke-dashoffset: 164;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 0.15s linear;
}

/* --- WhatsApp Button + Tooltip --- */
.whatsapp-wrap {
  position: fixed;
  bottom: var(--space-8);
  left: var(--space-8);
  z-index: var(--z-overlay);
  display: flex;
  align-items: flex-end;
  gap: var(--space-4);
}

.whatsapp-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  color: var(--color-white);
}

/* Tooltip bubble */
.whatsapp-tooltip {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.12), 0 0 0 1px var(--color-border);
  max-width: 260px;
  opacity: 0;
  transform: translateX(-10px);
  animation: tooltipAppear 0.5s ease 4s forwards;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: -6px;
  bottom: 20px;
  width: 12px;
  height: 12px;
  background: var(--color-white);
  border-left: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transform: rotate(45deg);
}

.whatsapp-tooltip {
  order: 2;
}

.whatsapp-tooltip p {
  font-size: var(--text-sm);
  color: var(--color-deep-navy);
  margin: 0;
  line-height: var(--leading-snug);
}

.whatsapp-tooltip__close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  color: var(--color-slate);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.whatsapp-tooltip__close:hover {
  background: var(--color-frost);
  color: var(--color-deep-navy);
}

.whatsapp-tooltip--hidden {
  display: none;
}

@keyframes tooltipAppear {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .whatsapp-wrap {
    left: auto;
    right: var(--space-4);
    bottom: calc(var(--space-6) + 76px + 50px);
    flex-direction: column;
    align-items: flex-end;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    order: 2;
  }

  .whatsapp-btn svg {
    width: 24px;
    height: 24px;
  }

  /* Hide tooltip on mobile - button is self-explanatory */
  .whatsapp-tooltip {
    display: none;
  }
}

/* --- Floating Mobile CTA --- */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4) var(--space-5);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(107, 197, 232, 0.2);
  box-shadow: 0 -4px 24px rgba(10, 37, 64, 0.08);
  z-index: var(--z-overlay);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cta--visible {
  transform: translateY(0);
}

.floating-cta__inner {
  display: flex;
  gap: var(--space-3);
  max-width: var(--container-max);
  margin: 0 auto;
}

.floating-cta .btn {
  flex: 1;
}

/* --- Process Timeline Enhanced --- */
.process-step__icon {
  position: relative;
}

.process-step__icon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(107, 197, 232, 0.25), rgba(30, 90, 168, 0.08));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.process-step:hover .process-step__icon::before {
  opacity: 1;
}

/* --- Split Row Image Enhanced --- */
.split-row__image img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}

.split-row__image:hover img {
  transform: scale(1.03);
  box-shadow: 0 24px 64px rgba(10, 37, 64, 0.2);
}

/* --- Testimonial Enhanced --- */
.testimonial {
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-ice-cyan), var(--color-amadi-blue));
}

/* Testimonial quote icon animated */
.testimonial__quote svg {
  transition: transform 0.4s ease;
}

.testimonial:hover .testimonial__quote svg {
  transform: scale(1.1);
}

/* Supplier card hover — consolidated into original definition */

/* --- Feature Item Enhanced --- */
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* --- Benefit Items Enhanced --- */
.benefit {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  transition: background 0.3s ease, transform 0.3s ease;
}

.benefit:hover {
  background: var(--color-frost);
  transform: translateY(-2px);
}

.benefit__icon {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit:hover .benefit__icon {
  transform: scale(1.08);
}

/* --- Contact Info Enhanced --- */
.contact-info__item {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact-info__item:hover {
  background: var(--color-white);
  transform: translateX(4px);
}

.contact-info__item svg {
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-info__item:hover svg {
  transform: scale(1.15);
  color: var(--color-ice-cyan);
}

/* --- Mobile Drawer Enhanced --- */
.mobile-drawer {
  border-left: 3px solid var(--color-ice-cyan);
  border-image: linear-gradient(180deg, var(--color-ice-cyan), var(--color-amadi-blue)) 1;
}

/* --- Form Enhanced --- */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(30, 90, 168, 0.12), 0 0 0 1px var(--color-amadi-blue);
}

/* --- Mobile Enhanced Styles --- */
@media (max-width: 768px) {
  .floating-cta {
    display: block;
  }

  .back-to-top {
    bottom: calc(var(--space-6) + 76px);
    right: var(--space-4);
    width: 42px;
    height: 42px;
  }

  /* No gradient text on mobile for readability */
  .hero__content h1 {
    background: none;
    -webkit-text-fill-color: var(--color-white);
  }

  /* Reduce particle overlay on mobile */
  .hero:not(.hero--page)::after {
    width: 100%;
    opacity: 0.4;
  }

  /* Faster hero reveal on mobile */
  .hero:not(.hero--page) .hero__content .hero__badge { animation-delay: 0.1s; }
  .hero:not(.hero--page) .hero__content h1 { animation-delay: 0.2s; }
  .hero:not(.hero--page) .hero__content p { animation-delay: 0.3s; }
  .hero:not(.hero--page) .hero__content .hero__buttons { animation-delay: 0.4s; }
  .hero:not(.hero--page) .hero__content .hero__trust { animation-delay: 0.5s; }

  /* Page hero faster on mobile */
  .hero--page .breadcrumb { animation-delay: 0.1s; }
  .hero--page h1 { animation-delay: 0.2s; }
  .hero--page .hero__content p { animation-delay: 0.35s; }
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: calc(var(--space-4) + 76px);
  }

  .hero:not(.hero--page) .hero__content h1 {
    background: none;
    -webkit-text-fill-color: var(--color-white);
  }
}

/* ============================================
   Responsive
   ============================================ */

/* Tabletă mare */
@media (max-width: 1024px) {
  .supplier-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .trust-intro {
    gap: var(--space-10);
  }

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

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

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

  .split-row {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .split-row__image {
    order: -1;
  }

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

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

  .steps-grid::before {
    display: none;
  }

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

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

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

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

  .process-timeline::before {
    display: none;
  }

  .cta-strip__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }

  .cta-strip__actions-col {
    align-items: center;
  }

  .cta-strip__text h2 {
    text-align: center;
  }
}

/* Tabletă */
@media (max-width: 768px) {
  .service-card {
    flex-direction: column;
    text-align: center;
    padding: var(--space-6);
  }

  .service-card--featured {
    text-align: center;
  }

  .service-card__arrow {
    display: none;
  }

  /* Section dividers simplified on tablet */
  .section-divider--wave::before,
  .section-divider--diagonal::before {
    height: 32px;
  }

  .section-divider--curve::before {
    height: 32px;
  }

  :root {
    --header-height: 64px;
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-xl); }

  .nav { display: none; }
  .hamburger { display: flex; }
  .mobile-drawer { display: block; }

  /* Hide phone + CTA button in header - they're in floating CTA */
  .header__phone,
  .header__actions .btn--sm {
    display: none;
  }

  /* Buttons - reduce min-width on tablet */
  .btn {
    min-width: 140px;
  }

  .hero__content h1 {
    font-size: var(--text-4xl);
  }

  /* Page hero responsive */
  .hero--page {
    min-height: 36vh;
    background-attachment: scroll;
  }

  /* Contact map smaller on tablet */
  .contact-map {
    height: 320px;
  }

  .hero--page h1 {
    font-size: var(--text-3xl);
    padding-left: var(--space-5);
  }

  .hero--page .hero__content {
    padding: var(--space-8) 0 var(--space-12);
  }

  .hero--page .container::before {
    width: 80px;
    height: 80px;
    top: calc(var(--header-height) + var(--space-4));
  }

  .hero--page .container::after {
    width: 40px;
    height: 40px;
    top: calc(var(--header-height) + var(--space-6));
  }

  .hero--page::after {
    height: 40px;
  }

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

  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  .stats__icon {
    width: 52px;
    height: 52px;
  }

  .stats__icon svg {
    width: 26px;
    height: 26px;
  }

  .stats__item h3 {
    font-size: var(--text-4xl);
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .process-step__icon {
    width: 72px;
    height: 72px;
  }

  .process-step__icon svg {
    width: 28px;
    height: 28px;
  }

  .hero__trust {
    flex-direction: column;
    gap: var(--space-3);
  }

  .testimonial {
    padding: var(--space-6);
  }

  .testimonial__quote blockquote {
    font-size: var(--text-base);
    padding-left: var(--space-6);
  }

  .split-row {
    grid-template-columns: 1fr;
  }

  .split-row__image {
    order: -1;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .benefit__icon {
    width: 56px;
    height: 56px;
    padding: var(--space-3);
  }

  .benefit__icon img {
    width: 32px;
    height: 32px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form--short {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    padding-bottom: 76px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner__actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section {
    padding: var(--space-12) 0;
  }

  /* CTA strip - smaller text on mobile/tablet */
  .cta-strip h2 {
    font-size: var(--text-2xl);
  }

  .cta-strip p {
    font-size: var(--text-base);
  }

  .cta-strip {
    padding: var(--space-12) 0;
  }

  .cta-strip:not(:has(.cta-strip__grid)) {
    padding: var(--space-16) 0;
  }

  .cta-strip__actions {
    margin-top: var(--space-5);
  }

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

  .project-detail__main-image {
    max-height: 360px;
  }

  .project-gallery__thumb {
    width: 80px;
    height: 60px;
  }
}

/* Mobil mare */
@media (max-width: 480px) {
  .hero__content h1 {
    font-size: var(--text-3xl);
  }

  .hero__content p {
    font-size: var(--text-base);
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .btn {
    width: 100%;
  }

  .hero__trust {
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero__badge {
    font-size: 0.65rem;
  }

  /* Page hero mobile */
  .hero--page {
    min-height: 32vh;
    background-attachment: scroll;
  }

  .hero--page h1 {
    font-size: var(--text-2xl);
    padding-left: var(--space-4);
  }

  .hero--page h1::before {
    width: 3px;
  }

  .hero--page .hero__content p {
    font-size: var(--text-base);
  }

  .hero--page .hero__content {
    padding: var(--space-6) 0 var(--space-10);
  }

  .hero--page .container::before,
  .hero--page .container::after {
    display: none;
  }

  .hero--page::after {
    height: 32px;
  }

  .hero--page .breadcrumb {
    font-size: 0.65rem;
    padding: var(--space-1) var(--space-3);
  }

  .hero--page .hero__content::after {
    margin-top: var(--space-4);
  }

  /* Buttons even smaller on mobile */
  .btn {
    min-width: 0;
    width: 100%;
  }

  .btn--sm {
    width: auto;
    min-width: 100px;
  }

  /* CTA strip actions stack vertically */
  .cta-strip__actions {
    flex-direction: column;
    align-items: center;
    margin-top: var(--space-5);
  }

  .cta-strip__actions .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Contact map smaller */
  .contact-map {
    height: 260px;
  }

  /* Footer social link wrap */
  .footer__social-link {
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-4);
  }

  /* Floating CTA buttons */
  .floating-cta .btn {
    min-width: 0;
    font-size: var(--text-sm);
    padding: var(--space-3) var(--space-4);
    height: 42px;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-strip__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-strip__actions-col {
    align-items: center;
  }

  .cta-strip__text h2 {
    text-align: center;
  }

  .testimonial__quote blockquote {
    font-size: var(--text-sm);
  }

  .stats__item h3 {
    font-size: var(--text-4xl);
  }

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

  .supplier-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .client-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .client-wall__item {
    height: 80px;
    padding: var(--space-3);
  }

  .client-wall__item img {
    max-height: 40px;
    max-width: 100px;
  }

  .trust-intro {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .trust-intro__image {
    order: -1;
  }

  .trust-intro__image::before {
    display: none;
  }

  .trust-intro__stats {
    gap: var(--space-6);
  }

  .reference-grid {
    grid-template-columns: 1fr;
  }

  .reference-card {
    padding: var(--space-4) var(--space-5);
  }

  .reference-card__logo {
    width: 72px;
    height: 64px;
  }

  .reference-card__logo img {
    max-width: 54px;
    max-height: 44px;
  }

  .project-detail__meta {
    grid-template-columns: 1fr 1fr;
  }

  .project-detail__main-image {
    max-height: 280px;
  }

  .project-gallery__thumb {
    width: 70px;
    height: 52px;
  }
}

/* Mobil mic */
@media (max-width: 320px) {
  :root {
    --container-padding: var(--space-4);
  }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }

  .hero__content h1 {
    font-size: var(--text-2xl);
  }

  .hero--page h1 {
    font-size: var(--text-xl);
  }

  .btn {
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
  }

  .header__actions .btn--sm {
    padding: var(--space-2) var(--space-3);
    font-size: 0.65rem;
    min-width: 80px;
  }

  .floating-cta__inner {
    gap: var(--space-2);
  }

  .floating-cta .btn {
    font-size: var(--text-xs);
    height: 38px;
  }

  .footer__social-link {
    font-size: 0.65rem;
  }

  .reference-card__logo {
    width: 56px;
    height: 52px;
  }

  .reference-card__logo img {
    max-width: 44px;
    max-height: 36px;
  }
}
