/* ═══════════════════════════════════════════════════════════════
   CUMPARAUTODELUX — Dark Luxury Design System
   Paletă: negru profund + auriu champagne + alb pur
   Tipografie: Playfair Display (serif) + Inter (sans)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Culori */
  --black: #0a0a0a;
  --black-soft: #111110;
  --black-card: #161614;
  --gold: #c9a962;
  --gold-light: #e2c98a;
  --gold-dim: rgba(201, 169, 98, 0.14);
  --gold-border: rgba(201, 169, 98, 0.25);
  --white: #ffffff;
  --grey: #a7a29a;
  /* era #6b675f: doar 3.36:1 pe --black-soft, sub pragul WCAG AA (4.5:1)
     pentru text normal — afecta footer__bottom, eval-form__note, brands__origin.
     #85806f trece 4.5:1+ pe --black-soft și --black, păstrând nuanța caldă. */
  --grey-dark: #85806f;
  --border: rgba(255, 255, 255, 0.08);

  /* Tipografie */
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spațiere generoasă (density: spacious) */
  --space-section: clamp(96px, 12vw, 180px);
  --space-lg: clamp(48px, 6vw, 96px);
  --space-md: clamp(24px, 3vw, 48px);

  /* Mișcare */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-luxe: cubic-bezier(0.65, 0, 0.15, 1);

  /* Straturi z-index */
  --z-nav: 100;
  --z-menu: 90;
  --z-sticky: 110;
  --z-cursor: 1000;
  --z-preloader: 2000;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* scroll NATIV (fără Lenis): roata mișcă pagina instant; smooth doar
   pentru ancorele interne. scroll-margin ține titlurile sub nav-ul fix. */
html { scroll-behavior: smooth; overflow-x: clip; }
section[id], main[id] { scroll-margin-top: 80px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* clip, nu hidden: hidden ar forța overflow-y:auto pe body (scroll-container)
     și ar rupe position:sticky al cardurilor pe mobil */
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
ol, ul { list-style: none; }

::selection { background: var(--gold); color: var(--black); }

/* Scrollbar custom — dark + auriu */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #8a713d, var(--gold));
  border-radius: 8px; border: 2px solid var(--black);
}
html { scrollbar-color: #9a7f45 var(--black); scrollbar-width: thin; }

/* Granulație de film peste tot site-ul — textură premium */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 900;
  pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Text cu gradient auriu — pentru cuvintele-cheie
   (și pe literele individuale injectate de JS, altfel ar fi transparente) */
.gold-grad, .hero__title em, .hero__title em .hero__char,
.section__title em, .final-cta__title em, .parallax__title em {
  background: linear-gradient(105deg, #a8863f 0%, #ecd9a6 38%, #c9a962 62%, #f0e2b6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

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

.container { width: min(100% - 48px, 1240px); margin-inline: auto; }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--space-section); }

/* Efect „cortină": hero-ul stă fixat (pin, pinSpacing:false) iar secțiunile
   următoare urcă PESTE el — au nevoie de strat superior și fundal opac. */
main > section:not(.hero) { position: relative; z-index: 1; }
.steps, .bento, .faq, .final-cta {
  background-color: var(--black);
}
/* .brands NU are fundal fix: culoarea e animată la scroll din JS —
   transparent la început (hero-ul se vede prin cortină), negru la final */
.brands { background-color: rgba(10, 10, 10, 0); }
/* cortina: strat gradient cu „pană" în partea de sus — întunecarea se
   estompează în hero fără muchie; opacitatea (--curtain) e animată la scroll */
.brands::before {
  content: ""; position: absolute;
  left: 0; right: 0; top: -300px; bottom: 0;
  z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(10, 10, 10, 0) 0,
    rgba(10, 10, 10, 0.55) 200px,
    rgba(10, 10, 10, 0.92) 320px,
    #0a0a0a 460px);
  opacity: var(--curtain, 0);
  will-change: opacity; /* strat promovat o dată — fără repaint la fiecare frame */
}
.brands > * { position: relative; z-index: 1; }

.steps > * { position: relative; z-index: 1; }



/* ═══════════════ PRELOADER ═══════════════ */
.preloader {
  position: fixed; inset: 0; z-index: var(--z-preloader);
  background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
  transition: opacity 0.7s var(--ease-luxe), visibility 0.7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__car {
  width: min(230px, 50vw); height: auto;
  margin-bottom: 20px;
  animation: preloaderFade 1.1s var(--ease-out) both;
}
.preloader__word {
  font-family: var(--serif); font-size: clamp(20px, 4vw, 34px);
  letter-spacing: 0.35em; font-weight: 500;
  animation: preloaderFade 1.1s var(--ease-out) both;
}
.preloader__word span { color: var(--gold); }
.preloader__sub {
  display: flex; align-items: center; gap: 16px;
  margin-top: 10px; margin-bottom: 8px;
  font-size: 11px; letter-spacing: 0.7em; text-indent: 0.7em;
  color: var(--gold-light);
  animation: preloaderFade 1.1s var(--ease-out) both;
}
.preloader__sub::before, .preloader__sub::after {
  content: ""; width: 44px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.preloader__sub::after { transform: scaleX(-1); }
.preloader__line {
  width: min(240px, 50vw); height: 1px; background: var(--border);
  overflow: hidden; position: relative;
}
.preloader__line span {
  position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  animation: preloaderLine 1s var(--ease-luxe) 0.15s forwards;
}
@keyframes preloaderFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes preloaderLine { to { transform: scaleX(1); } }

/* ═══════════════ CURSOR CUSTOM ═══════════════ */
.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: var(--z-cursor); border-radius: 50%;
  display: none;
}
.cursor { width: 6px; height: 6px; background: var(--gold); }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid var(--gold-border);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              border-color 0.3s, background-color 0.3s;
}
body.cursor-hover .cursor-ring {
  width: 64px; height: 64px;
  border-color: var(--gold);
  background: rgba(201, 169, 98, 0.08);
}
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor, .cursor-ring { display: block; }
}

/* Bară de progres a scroll-ului */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 130;
  background: linear-gradient(to right, #8a713d, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  pointer-events: none;
}

/* ═══════════════ NAVIGAȚIE ═══════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  padding-block: 6px;
  transition: background-color 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  padding-block: 4px;
}
.nav__inner {
  width: min(100% - 48px, 1320px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo {
  font-family: var(--serif); font-size: 16px; letter-spacing: 0.2em; font-weight: 600;
  white-space: nowrap; padding-block: 0;
  display: flex; align-items: center; gap: 12px;
}
.nav__logo span { color: var(--gold); }
.nav__logo-car { height: 108px; width: auto; flex-shrink: 0; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.nav__logo-text small {
  font-family: var(--sans); font-weight: 400;
  font-size: 8.5px; letter-spacing: 0.62em;
  color: var(--gold-light);
}
.nav__links { display: flex; gap: 36px; }
.nav__links a {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--grey); position: relative; padding-block: 4px;
  transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-luxe);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__burger {
  display: none; flex-direction: column; gap: 7px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav__burger span {
  display: block; width: 26px; height: 1.5px; background: var(--white);
  transition: transform 0.35s var(--ease-luxe), opacity 0.3s;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* Meniu mobil */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 48px; padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease-luxe), visibility 0.45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: clamp(28px, 7vw, 40px);
  padding: 8px 16px; color: var(--white);
  transition: color 0.3s;
}
.mobile-menu nav a:hover { color: var(--gold); }

/* ═══════════════ BUTOANE ═══════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 16px 32px; min-height: 48px;
  border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: color 0.35s var(--ease-out), border-color 0.35s, background-color 0.35s,
              box-shadow 0.35s, transform 0.35s var(--ease-out);
  touch-action: manipulation;
}
/* shine sweep — trece o dâră de lumină la hover */
.btn::after {
  content: ""; position: absolute; top: 0; left: -160%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-22deg);
  transition: left 0.7s var(--ease-luxe);
  pointer-events: none;
}
.btn:hover::after { left: 170%; }
/* starea de bază = fostele culori de hover; hover = fostele culori de bază */
.btn--gold {
  background: linear-gradient(140deg, #ecd49a 0%, var(--gold-light) 45%, #c9a962 100%);
  color: var(--black); border-color: rgba(240, 226, 182, 0.7);
  box-shadow: 0 0 44px rgba(201, 169, 98, 0.4), inset 0 0 0 1px rgba(255,255,255,0.25);
}
.btn--gold:hover {
  background: linear-gradient(140deg, #dcc084 0%, var(--gold) 45%, #ad8c4a 100%);
  box-shadow: 0 0 18px rgba(201, 169, 98, 0.2);
}
.btn--ghost {
  background: transparent; color: var(--gold); border-color: var(--gold);
  box-shadow: 0 0 32px rgba(201, 169, 98, 0.18);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5); color: var(--white);
  box-shadow: none;
}
.btn--lg { padding: 19px 40px; font-size: 14px; }
.btn--xl { padding: 22px 56px; font-size: 17px; letter-spacing: 0.1em; }
.btn--nav { padding: 12px 22px; min-height: 44px; white-space: nowrap; }
.btn--full { width: 100%; }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover;
  /* Ken Burns pe poster / video */
  animation: kenburns 24s var(--ease-out) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.32) 42%, rgba(10,10,10,1) 100%),
    radial-gradient(ellipse at center 38%, transparent 0%, rgba(10,10,10,0.55) 100%);
}
/* linii aurii decorative pe marginile hero-ului */
.hero__frame {
  position: absolute; inset: clamp(16px, 2.5vw, 36px); z-index: 1;
  pointer-events: none;
}
.hero__frame::before, .hero__frame::after {
  content: ""; position: absolute; background: linear-gradient(to bottom, transparent, var(--gold-border), transparent);
  width: 1px; top: 12%; bottom: 12%;
}
.hero__frame::before { left: 0; }
.hero__frame::after { right: 0; }

/* badge circular rotativ */
.hero__badge {
  position: absolute; right: clamp(90px, 9vw, 150px); bottom: clamp(56px, 6vw, 84px);
  width: 128px; height: 128px; z-index: 2; display: none;
}
.hero__badge svg.spin {
  width: 100%; height: 100%;
  animation: badgeSpin 22s linear infinite;
}
.hero__badge svg.spin text {
  font-family: var(--sans); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.32em; fill: var(--gold);
}
.hero__badge .hero__badge-arrow {
  position: absolute; inset: 0; margin: auto;
  width: 22px; height: 22px; color: var(--gold-light);
}
@keyframes badgeSpin { to { transform: rotate(360deg); } }
@media (min-width: 1025px) { .hero__badge { display: block; } }
.hero__content {
  position: relative; z-index: 1; text-align: center;
  width: min(100% - 48px, 1160px);
  padding-block: 120px 130px;
}
.hero__eyebrow {
  font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.hero__eyebrow span { display: inline-block; }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 7.6vw, 104px);
  line-height: 1.06; letter-spacing: -0.015em;
  margin-bottom: 32px;
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.55);
}
.hero__title em {
  font-style: italic; color: var(--gold);
}
.hero__line { display: block; overflow: hidden; }
/* cuvinte + litere injectate din JS pentru animația literă-cu-literă */
.hero__word { display: inline-block; white-space: nowrap; }
.hero__char { display: inline-block; will-change: transform, opacity; }
.hero__sub {
  max-width: 620px; margin: 0 auto 48px;
  color: #f0ede6; font-size: clamp(16px, 2.2vw, 19px); font-weight: 400;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
}
.hero__cta { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hero__scroll span {
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--grey);
}
.hero__scroll-line {
  width: 1px; height: 56px; background: var(--border); position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  animation: scrollPulse 2.2s var(--ease-luxe) infinite;
}
@keyframes scrollPulse {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

/* ═══════════════ MĂRCILE — carduri în marquee infinit ═══════════════ */
.brands__marquee {
  display: flex; overflow: hidden; user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.brands__track {
  display: flex; align-items: stretch; gap: 20px;
  flex-shrink: 0; padding-right: 20px;
  animation: brandsMarquee 90s linear infinite;
  will-change: transform;
}
@keyframes brandsMarquee { to { transform: translateX(-100%); } }
.brands__marquee:hover .brands__track { animation-play-state: paused; }
/* pauză când secțiunea nu e pe ecran (clasa e pusă din JS) — altfel
   animația consumă GPU pe toată durata vizitei, mai ales pe telefon */
.brands__marquee.is-paused .brands__track { animation-play-state: paused; }
.brands__cell {
  background: var(--black-soft);
  border: 1px solid var(--border); border-radius: 4px;
  padding: clamp(24px, 2.5vw, 36px) clamp(28px, 3vw, 48px);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  position: relative; overflow: hidden;
  white-space: nowrap;
  transition: background-color 0.45s var(--ease-out), border-color 0.45s;
  cursor: default;
}
.brands__cell::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-luxe);
}
.brands__cell:hover { background: var(--black-card); border-color: var(--gold-border); }
.brands__cell:hover::after { transform: scaleX(1); }
/* sigla = mască SVG colorată prin background — permite trecerea pe auriu la hover.
   mask-image vine inline din HTML (url relativ la document); aici doar longhand-uri,
   NU shorthand-ul `mask:` — ar reseta mask-image-ul inline. */
.brands__logo {
  display: block; width: clamp(96px, 10vw, 130px); height: clamp(44px, 4.5vw, 58px);
  background-color: var(--gold-light); /* aurii din start */
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  transition: background-color 0.4s;
}
.brands__cell:hover .brands__logo { background-color: #f5e9c4; }
.brands__origin {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--grey-dark);
  transition: color 0.4s;
}
.brands__cell:hover .brands__origin { color: var(--gold); }

/* ═══════════════ SECȚIUNI — HEADERE (centrate) ═══════════════ */
.section__head {
  max-width: 1100px; margin-inline: auto; margin-bottom: var(--space-lg);
  position: relative; text-align: center;
}
/* cuvânt-fantomă gigant, doar contur, în spatele titlului — aer editorial */
.section__head::before {
  content: attr(data-ghost); position: absolute;
  top: -0.28em; left: 50%; z-index: -1;
  font-family: var(--serif); font-weight: 700; font-style: italic;
  font-size: clamp(80px, 13vw, 190px); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 98, 0.13);
  white-space: nowrap; pointer-events: none; user-select: none;
  /* centrat + --ghost-x animat de GSAP la scroll — cuvântul plutește lateral */
  transform: translateX(calc(-50% + var(--ghost-x, 0px)));
  will-change: transform;
}
.section__eyebrow {
  font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.section__eyebrow::before,
.section__eyebrow::after { content: ""; width: 40px; height: 1px; background: var(--gold); }
.section__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 6vw, 68px); line-height: 1.1;
  margin-bottom: 24px;
  text-wrap: balance; /* dacă totuși se rupe (mobil), rândurile ies echilibrate */
}
.section__title em { font-style: italic; color: var(--gold); }
.section__lead { color: var(--grey); font-size: 17px; max-width: 560px; margin-inline: auto; }

/* ═══════════════ PAȘI ═══════════════ */
/* praf de aur: canvas cu particule fine care plutesc peste secțiune (JS) */
.steps__dust {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
/* linie aurie care „crește" pe măsură ce parcurgi secțiunea */
.steps__line {
  height: 2px; margin-bottom: 24px; position: relative; z-index: 1;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
}
.steps__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.steps__card {
  background: var(--black-soft); padding: clamp(32px, 3.5vw, 56px) clamp(24px, 2.5vw, 40px);
  border: 1px solid var(--border); border-radius: 6px;
  position: relative; overflow: hidden;
  transition: background-color 0.45s var(--ease-out), border-color 0.45s;
}
.steps__card:hover { border-color: var(--gold-border); }
.steps__card:hover { background: var(--black-card); }
/* imagine de fundal relevantă în fiecare card, întunecată; reveal la hover */
.steps__bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.steps__bg img {
  width: 100%; height: 100%; object-fit: cover;
  /* --bg-reveal (0→1) e animat la scroll din JS, per card, cu stagger */
  opacity: calc(var(--bg-reveal, 1) * 0.22);
  filter: saturate(0.55) brightness(0.7) contrast(1.05);
  transform: scale(1.03);
  transition: opacity 0.5s, transform 0.8s var(--ease-out), filter 0.5s;
}
.steps__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.94) 12%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.3));
}
.steps__card:hover .steps__bg img {
  opacity: calc(var(--bg-reveal, 1) * 0.42); transform: scale(1.08);
  filter: saturate(0.85) brightness(0.85) contrast(1.05);
}
/* conținutul cardului stă deasupra imaginii */
.steps__card > :not(.steps__bg) { position: relative; z-index: 1; }

/* numeral gigant fantomă în colțul cardului */
.steps__card::before {
  content: attr(data-num); position: absolute;
  top: -18px; right: -6px; z-index: 1;
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: 130px; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 98, 0.14);
  pointer-events: none; user-select: none;
  transition: -webkit-text-stroke-color 0.5s;
}
.steps__card:hover::before { -webkit-text-stroke-color: rgba(201, 169, 98, 0.4); }
.steps__card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; z-index: 1;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-luxe);
}
.steps__card:hover::after { transform: scaleX(1); }
.steps__num {
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--gold);
  display: block; margin-bottom: 36px;
}
.steps__icon {
  width: 52px; height: 52px; margin-bottom: 28px;
  color: var(--gold);
  border: 1px solid var(--gold-border); border-radius: 50%;
  display: grid; place-items: center;
  transition: background-color 0.4s, transform 0.4s var(--ease-out);
}
.steps__icon svg { width: 22px; height: 22px; }
.steps__card:hover .steps__icon {
  background: var(--gold-dim); transform: scale(1.06);
}
.steps__card h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 14px;
}
.steps__card p { color: var(--grey); font-size: 14.5px; }

/* ═══════════════ PARALLAX BREAK ═══════════════ */
.parallax {
  position: relative; overflow: hidden;
  padding-block: clamp(120px, 16vw, 220px);
}
.parallax__bg {
  position: absolute; inset: -20% 0;
  background-size: cover; background-position: center;
  will-change: transform;
}
.parallax__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.96), rgba(10,10,10,0.78) 50%, rgba(10,10,10,0.96));
}
.parallax__content { position: relative; z-index: 1; text-align: center; }
/* semnul întrebării gigantic decorativ, în spatele titlului */
.parallax__content::before {
  content: "?"; position: absolute;
  top: -0.35em; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: clamp(160px, 24vw, 320px); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 98, 0.20);
  pointer-events: none; user-select: none;
}
.parallax__eyebrow {
  color: var(--gold); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  margin-bottom: 20px;
}
.parallax__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 5.5vw, 64px); line-height: 1.15;
  max-width: 880px; margin: 0 auto 20px;
}
.parallax__title em { font-style: italic; color: var(--gold); }
.parallax__text {
  color: #e6e2d8; font-size: clamp(15px, 2vw, 18px);
  max-width: 560px; margin: 0 auto 40px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}
.parallax__cta { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════ BENTO GRID ═══════════════ */
.bento__grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
}
.bento__card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: clamp(28px, 3vw, 44px);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  /* transform-ul e animat de GSAP (tilt 3D) — nu-l pune în transition */
  transition: border-color 0.45s, box-shadow 0.45s;
  transform-style: preserve-3d;
}
.bento__card:hover {
  border-color: var(--gold-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--gold-dim);
}
.bento__card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%),
              rgba(201, 169, 98, 0.08), transparent 45%);
  opacity: 0; transition: opacity 0.5s;
}
.bento__card:hover::before { opacity: 1; }
.bento__card--tall { grid-row: span 2; }
.bento__card--wide { grid-column: span 2; }
.bento__card--gold { background: linear-gradient(150deg, #1d1809, var(--black-card) 65%); }
.bento__icon {
  width: 46px; height: 46px; color: var(--gold); margin-bottom: 24px;
  display: grid; place-items: center;
  border: 1px solid var(--gold-border); border-radius: 12px;
  background: var(--gold-dim);
  transition: transform 0.5s var(--ease-out), background-color 0.5s,
              border-color 0.5s, box-shadow 0.5s;
}
/* pe telefon: „spotlight" pe cardul din centrul ecranului (clasa din JS) —
   bordura se aprinde, cardul se ridică ușor, iconița pulsează auriu */
.bento__card.is-active {
  border-color: var(--gold-border);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--gold-dim);
}
.bento__card.is-active::before { opacity: 1; }
.bento__card.is-active .bento__icon {
  transform: scale(1.14) rotate(-5deg);
  background: rgba(201, 169, 98, 0.24);
  border-color: var(--gold);
  box-shadow: 0 0 22px rgba(201, 169, 98, 0.35);
}
.bento__icon svg { width: 21px; height: 21px; }
.bento__card h3 {
  font-family: var(--serif); font-size: clamp(20px, 2vw, 25px);
  font-weight: 500; margin-bottom: 14px;
}
.bento__card p { color: var(--grey); font-size: 15px; }
.bento__card--tall img {
  margin-top: auto; padding-top: 28px;
  border-radius: 4px; object-fit: cover; aspect-ratio: 4/3; width: 100%;
  filter: saturate(0.85);
}

/* ═══════════════ TESTIMONIALE ═══════════════ */
.testimonials { background: var(--black-soft); border-block: 1px solid var(--border); position: relative; overflow: hidden; }
/* strălucire aurie discretă în fundal */
.testimonials::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 50% 62%, rgba(201, 169, 98, 0.07), transparent);
}
.testimonials__carousel { overflow: hidden; position: relative; }
.testimonials__track {
  display: flex;
  transition: transform 0.7s var(--ease-luxe);
}
.testimonials__card {
  flex: 0 0 100%;
  text-align: center;
  /* limitează conținutul la ~760px, dar slide-ul rămâne 100% */
  padding-inline: max(12px, calc((100% - 760px) / 2));
}
.testimonials__stars { color: var(--gold); letter-spacing: 6px; margin-bottom: 28px; font-size: 15px; }
.testimonials__card p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(19px, 2.6vw, 27px); line-height: 1.45;
  margin-bottom: 32px;
}
.testimonials__card footer strong {
  display: block; font-weight: 500; letter-spacing: 0.08em; font-size: 15px;
}
.testimonials__card footer span { color: var(--grey); font-size: 13px; }
.testimonials__nav {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  margin-top: 48px;
}
.testimonials__arrow {
  width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 50%;
  display: grid; place-items: center; color: var(--grey);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.testimonials__arrow:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.testimonials__dots { display: flex; gap: 10px; }
.testimonials__dots button {
  width: 44px; height: 44px; display: grid; place-items: center;
}
.testimonials__dots button::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--grey-dark); transition: background-color 0.3s, transform 0.3s;
}
.testimonials__dots button[aria-selected="true"]::before {
  background: var(--gold); transform: scale(1.5);
}

/* ═══════════════ FAQ ═══════════════ */
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 4px; cursor: pointer; list-style: none;
  transition: color 0.3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-light); }
.faq__item summary h3 {
  font-family: var(--serif); font-size: clamp(18px, 2.4vw, 23px); font-weight: 500;
}
.faq__plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__plus::before, .faq__plus::after {
  content: ""; position: absolute; background: var(--gold);
  transition: transform 0.4s var(--ease-luxe);
}
.faq__plus::before { left: 0; top: 7px; width: 16px; height: 1.5px; }
.faq__plus::after { left: 7px; top: 0; width: 1.5px; height: 16px; }
.faq__item[open] .faq__plus::after { transform: scaleY(0); }
.faq__body { overflow: hidden; }
.faq__body p { color: var(--grey); padding: 0 4px 30px; max-width: 90%; }

/* ═══════════════ FORMULAR ═══════════════ */
.form-section { background: var(--black-soft); border-block: 1px solid var(--border); }
.eval-form { display: flex; flex-direction: column; gap: 24px; }
.eval-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.eval-form__row--3 { grid-template-columns: repeat(3, 1fr); }
.eval-form__field { display: flex; flex-direction: column; gap: 10px; }
.eval-form__field label {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey);
}
.eval-form__field label span { color: var(--gold); }
.eval-form__field input,
.eval-form__field select {
  background: var(--black); border: 1px solid var(--border); border-radius: 2px;
  color: var(--white); font-family: var(--sans); font-size: 16px; font-weight: 300;
  padding: 15px 18px; min-height: 52px; width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
}
.eval-form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a962' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
  cursor: pointer;
}
.eval-form__field input::placeholder { color: var(--grey-dark); }
.eval-form__field input:focus, .eval-form__field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.12);
}
.eval-form__field input.is-invalid, .eval-form__field select.is-invalid {
  border-color: #b5453c;
}
.eval-form__error { color: #d3766e; font-size: 14px; }
.eval-form__note { color: var(--grey-dark); font-size: 13px; text-align: center; }
.eval-form__note a { color: var(--grey); text-decoration: underline; text-underline-offset: 3px; }
.eval-form__note a:hover { color: var(--gold); }

/* ═══════════════ CTA FINAL ═══════════════ */
.final-cta {
  padding-block: var(--space-section);
  text-align: center;
  position: relative; overflow: hidden; /* pentru fundalul cu parallax */
}
.final-cta__bg {
  position: absolute; inset: -20% 0;
  background-size: cover; background-position: center;
  will-change: transform;
}
.final-cta__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 110%, rgba(201, 169, 98, 0.13), transparent),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.97), rgba(10, 10, 10, 0.86) 55%, rgba(10, 10, 10, 0.97));
}
.final-cta > .container { position: relative; z-index: 1; }
.final-cta__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 5.5vw, 64px); line-height: 1.12; margin-bottom: 20px;
}
.final-cta__title em { font-style: italic; color: var(--gold); }
.final-cta p { color: var(--grey); margin-bottom: 44px; font-size: 17px; }

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--black-soft);
  padding-top: var(--space-lg);
  position: relative; overflow: hidden;
}
/* watermark gigant în fundalul footer-ului */
.footer__watermark {
  position: absolute; left: 50%; bottom: -0.34em; transform: translateX(-50%);
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(70px, 11.5vw, 168px); line-height: 1; letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.footer__grid, .footer__bottom { position: relative; z-index: 1; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
}
.footer__logo-car { width: 120px; height: auto; margin-bottom: 12px; margin-left: -4px; }
.footer__logo {
  font-family: var(--serif); font-size: 19px; letter-spacing: 0.22em; font-weight: 600;
  margin-bottom: 18px;
}
.footer__logo span { color: var(--gold); }
.footer__brand p { color: var(--grey); font-size: 14px; max-width: 340px; }
.footer__col h3 {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 20px;
}
.footer__col a, .footer__col p {
  display: block; color: var(--grey); font-size: 14.5px; margin-bottom: 2px;
  padding-block: 10px;
  transition: color 0.3s; width: fit-content;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: 26px;
  color: var(--grey-dark); font-size: 13px;
}
.footer__credit { margin-top: 6px; }
.footer__credit a {
  color: var(--gold); text-decoration: underline; text-underline-offset: 3px;
}
.footer__credit a:hover { color: var(--gold-light); }

/* ═══════════════ WHATSAPP FLOTANT (desktop) ═══════════════ */
.whatsapp-float {
  position: fixed; right: 32px; bottom: 32px; z-index: var(--z-sticky);
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: none; place-items: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease-out);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; z-index: -1;
  animation: waPulse 2.4s var(--ease-out) infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.55; }
  70%, 100% { transform: scale(1.65); opacity: 0; }
}

/* ═══════════════ BARĂ STICKY MOBIL ═══════════════ */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  display: grid; grid-template-columns: 1fr 1fr;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  /* taie glow-ul auriu al butoanelor la marginea barei — altfel se
     revarsă sub bară ca o linie aurie (vizibil pe telefoane) */
  overflow: hidden;
}
.sticky-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; border-radius: 2px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  position: relative; overflow: hidden;
  touch-action: manipulation;
  transition: transform 0.2s var(--ease-out), box-shadow 0.3s;
}
.sticky-bar__btn:active { transform: scale(0.97); }
/* aceeași finisare ca butoanele aurii de pe desktop */
.sticky-bar__btn--call {
  background: linear-gradient(140deg, #ecd49a 0%, var(--gold-light) 45%, #c9a962 100%);
  color: var(--black);
  border: 1px solid rgba(240, 226, 182, 0.7);
  box-shadow: 0 0 24px rgba(201, 169, 98, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
/* dâra de lumină trece periodic (pe telefon nu există hover) */
.sticky-bar__btn--call::after {
  content: ""; position: absolute; top: 0; left: -160%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-22deg);
  animation: stickyShine 5s var(--ease-luxe) infinite;
  pointer-events: none;
}
@keyframes stickyShine { 0%, 55% { left: -160%; } 88%, 100% { left: 170%; } }
.sticky-bar__btn--wa {
  background: linear-gradient(140deg, #2fae63 0%, #22904f 55%, #1a6f3c 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* ═══════════════ ANIMAȚII SCROLL (stări inițiale setate din JS) ═══════════════ */
[data-reveal] { will-change: transform, opacity; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (min-width: 1025px) {
  .whatsapp-float { display: grid; }
  .sticky-bar { display: none; }
}

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .btn--nav { display: none; }
  .nav__burger { display: flex; }
  body { padding-bottom: 70px; } /* spațiu pentru bara sticky */
  .steps__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  /* masca de fade peste toată zona animată e scumpă pe GPU-ul telefoanelor —
     o înlocuim cu două fade-uri statice pe margini */
  .brands__marquee {
    -webkit-mask-image: none; mask-image: none;
    position: relative;
  }
  .brands__marquee::before, .brands__marquee::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 32px;
    z-index: 2; pointer-events: none;
  }
  .brands__marquee::before { left: 0; background: linear-gradient(to right, rgba(10,10,10,0.9), transparent); }
  .brands__marquee::after { right: 0; background: linear-gradient(to left, rgba(10,10,10,0.9), transparent); }
  .nav__logo { font-size: 13px; gap: 9px; }
  .nav__logo-car { height: 88px; }
  .nav__logo-text small { font-size: 7px; letter-spacing: 0.5em; }
  .bento__grid { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: auto; }
  .bento__card--tall { grid-row: auto; }
  .eval-form__row, .eval-form__row--3 { grid-template-columns: 1fr; }
  /* pe telefon CTA-urile din hero dispar — bara sticky de jos le acoperă rolul */
  .hero__cta { display: none; }
  .hero__scroll { display: none; }
}

@media (max-width: 560px) {
  /* stacking cards: grila devine bloc (în grid, sticky-ul ar fi limitat la
     rândul propriu), fiecare card se lipește sus cu un mic decalaj de „pachet"
     iar următorul urcă peste el la scroll */
  .steps__grid { display: block; }
  .steps__card {
    position: sticky;
    top: calc(16px + var(--stack-i, 0) * 12px);
    margin-bottom: 20px;
  }
  .steps__card:nth-child(2) { --stack-i: 1; }
  .steps__card:nth-child(3) { --stack-i: 2; }
  .steps__card:nth-child(4) { --stack-i: 3; }
  .footer__grid { grid-template-columns: 1fr; }
  .container { width: calc(100% - 40px); }
  .section__head::before { font-size: clamp(64px, 22vw, 90px); opacity: 0.8; }
}

/* ═══════════════ REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero__video { animation: none; }
  .brands__track { animation: none; flex-wrap: wrap; }
  .preloader { display: none; }
}
