/* ============================================================
   Super Admin — Administrare Imobile
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=Work+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --ink: #1c1224;
  --ink-soft: #564b64;
  --paper: #faf8fc;
  --paper-tint: #f1ecf8;
  --line: rgba(28,18,36,0.10);

  --purple-900: #241033;
  --purple-800: #2e1848;
  --purple-700: #3b1f5c;
  --purple-600: #522a7a;
  --purple-500: #6d3fa1;
  --purple-300: #a98cd0;
  --purple-100: #e8dff4;

  --gold: #d99a3f;
  --gold-soft: #f0c988;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 30px 60px -30px rgba(36, 16, 51, 0.35);
  --shadow-sm: 0 14px 30px -18px rgba(36, 16, 51, 0.4);

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur-s: .35s;
  --dur-m: .65s;
  --dur-l: 1.1s;

  --container: 1180px;
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper: #17101f;
    --paper-tint: #1e1528;
    --ink: #f2ecf8;
    --ink-soft: #c3b6d3;
    --line: rgba(242,236,248,0.12);
  }
}
:root[data-theme="dark"]{
  --paper: #17101f;
  --paper-tint: #1e1528;
  --ink: #f2ecf8;
  --ink-soft: #c3b6d3;
  --line: rgba(242,236,248,0.12);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: clip; width: 100%; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4{ margin: 0; font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; }
p{ margin: 0; }

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

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-500);
  font-weight: 500;
}
.eyebrow::before{
  content: '';
  width: 20px; height: 1px;
  background: var(--purple-500);
}

.section{ padding: 108px 0; position: relative; }
.section--tint{ background: var(--paper-tint); }
@media (max-width: 720px){
  .section{ padding: 72px 0; }
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), background var(--dur-s) var(--ease), color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
  white-space: nowrap;
}
.btn:active{ transform: scale(0.97); }
.btn--primary{ background: var(--gold); color: var(--purple-900); }
.btn--primary:hover{ background: var(--gold-soft); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.btn--ghost{ background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover{ background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn--dark{ background: var(--purple-800); color: #fff; }
.btn--dark:hover{ background: var(--purple-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn svg{ width: 16px; height: 16px; flex: none; }

/* ---------- Reveal on scroll ---------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-l) var(--ease), transform var(--dur-l) var(--ease);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"]{ transition-delay: .08s; }
[data-reveal-delay="2"]{ transition-delay: .16s; }
[data-reveal-delay="3"]{ transition-delay: .24s; }
[data-reveal-delay="4"]{ transition-delay: .32s; }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding var(--dur-m) var(--ease), background var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease);
}
.nav.is-scrolled{
  padding: 12px 0;
  background: rgba(250, 248, 252, 0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(36,16,51,0.3);
}
:root[data-theme="dark"] .nav.is-scrolled{ background: rgba(23,16,31,0.86); }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .nav.is-scrolled{ background: rgba(23,16,31,0.86); }
}
.nav .container{ display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo{ height: 40px; width: auto; transition: height var(--dur-m) var(--ease), filter var(--dur-m) var(--ease); }
.nav.is-scrolled .nav__logo{ height: 32px; }
.nav__logo--light{ display: block; filter: brightness(0) invert(1); }
.nav.is-scrolled .nav__logo--light{ display: none; }
.nav.is-scrolled .nav__logo--dark{ display: block; }
.nav__logo--dark{ display: none; }

.nav__links{ display: flex; align-items: center; gap: 34px; font-size: 14.5px; font-weight: 500; }
.nav__links a{ position: relative; padding: 4px 0; color: inherit; opacity: .92; }
.nav__links a::after{
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: currentColor;
  transition: right var(--dur-s) var(--ease);
}
.nav__links a:hover::after{ right: 0; }
.nav__cta{ display: flex; align-items: center; gap: 14px; }
.nav__phone{ font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.nav__phone svg{ width: 15px; height: 15px; }

.nav--on-dark{ color: #fff; }
.nav.is-scrolled{ color: var(--ink); }

.nav__burger{
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  cursor: pointer;
}
.nav__burger svg{ width: 18px; height: 18px; }
@media (max-width: 880px){
  .nav__links, .nav__phone-text{ display: none; }
  .nav__burger{ display: flex; }
}
@media (max-width: 560px){
  .nav__phone, .nav__cta > .btn--primary{ display: none; }
}

.mobile-menu{
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 99;
  overflow: hidden;
  background: var(--purple-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  transform: translateY(-100%);
  transition: transform var(--dur-m) var(--ease);
}
.mobile-menu.is-open{ transform: translateY(0); }
.mobile-menu a{ color: #fff; }

/* ============================================================
   HERO (scroll-scrub video track)
   ============================================================ */
/* The tall track scroll travels through; .hero itself stays pinned to the
   viewport via position:sticky while this wrapper's extra height scrolls
   underneath it, and that scroll delta is what scrub-hero.js reads to pick
   a video frame. 320vh gives roughly 2.2 viewport-heights of scrub room. */
.hero-scrub{
  position: relative;
  height: 320vh;
}
@media (max-width: 720px){
  /* Phones never scrub (see the gate in scrub-hero.js), so there is no reason
     to reserve extra scroll track for a video that will not play there. */
  .hero-scrub{ height: 100svh; }
}
.hero{
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero__media{ position: absolute; inset: 0; z-index: -2; background: var(--purple-900); }
.hero__media .hero__poster,
.hero__media .hero__video{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity var(--dur-l) var(--ease);
}
.hero__media .hero__poster{
  transform: scale(1.08);
  will-change: transform;
  opacity: 1;
}
.hero__media .hero__poster.is-hidden{ opacity: 0; }
.hero__media .hero__video{
  opacity: 0;
  pointer-events: none;
}
.hero__media .hero__video.is-ready{ opacity: 1; }
.hero__loading{
  position: absolute;
  right: 24px; bottom: 24px;
  width: 30px; height: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-s) var(--ease);
  z-index: 1;
}
.hero__loading.is-visible{ opacity: 1; }
.hero__loading-ring{
  display: block; width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: var(--gold-soft);
  animation: heroLoadingSpin 0.9s linear infinite;
}
@keyframes heroLoadingSpin{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){
  .hero__loading-ring{ animation: none; }
}
.hero__scrim{
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(28,14,44,0.55) 0%, rgba(28,14,44,0.28) 32%, rgba(24,12,38,0.55) 68%, rgba(20,10,32,0.94) 100%),
    linear-gradient(90deg, rgba(36,16,51,0.55) 0%, rgba(36,16,51,0.05) 45%);
}
.hero__captions{
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  pointer-events: none;
}
.hero__caption{
  position: absolute;
  max-width: 26ch;
  text-align: center;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 500;
  font-style: italic;
  color: #fff;
  text-shadow: 0 4px 30px rgba(20,10,32,0.55);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.hero__caption.is-visible{ opacity: 1; transform: translateY(0); }
@media (max-width: 720px){ .hero__captions{ display: none; } }

.hero__content{
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 160px 0 84px;
}
/* Only when the scrub engine is actually driving the hero (see the JS gates)
   do the headline/CTA hold back and reveal on settle; every gated fallback
   (mobile, reduced motion, load failure) leaves .hero__content at its plain,
   always-visible default so nobody loses the content. */
.scrub-active .hero__content{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  pointer-events: none;
}
.scrub-active .hero__content.is-settled{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero__tagline{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.hero__tagline::before{ content:''; width: 26px; height: 1px; background: var(--gold-soft); }
.hero h1{
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  max-width: 15ch;
  color: #fff;
  font-weight: 600;
}
.hero h1 em{
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}
.hero__sub{
  margin-top: 26px;
  max-width: 46ch;
  font-size: 18px;
  color: rgba(255,255,255,0.86);
}
.hero__actions{ margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll{
  position: absolute;
  right: 28px; bottom: 34px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  opacity: 1;
  transition: opacity var(--dur-m) var(--ease);
}
.hero__scroll.is-hidden{ opacity: 0; }
.hero__scroll .line{
  width: 1px; height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0));
  animation: scrollpulse 2.2s var(--ease) infinite;
}
@keyframes scrollpulse{
  0%{ transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%{ transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%{ transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100%{ transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
@media (max-width: 720px){
  .hero__scroll{ display: none; }
  .hero__content{ padding: 130px 0 64px; }
}

/* ---------- Stats banner ---------- */
.stats{
  position: relative;
  background: var(--purple-900);
  color: #fff;
  padding: 40px 0;
  overflow: hidden;
}
.stats__row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stats__divider{
  width: 1px;
  align-self: stretch;
  min-height: 52px;
  background: rgba(255,255,255,0.14);
  flex: none;
}
.stat{
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.stat__num{
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-soft);
  flex: none;
}
.stat__label{
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  max-width: 20ch;
}
.stat__label small{
  display: block;
  margin-top: 5px;
  font-family: 'Work Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: rgba(255,255,255,0.55);
}
.stat--icon svg{ width: 34px; height: 34px; color: var(--gold-soft); flex: none; }

@media (max-width: 720px){
  .stats{ padding: 32px 0; }
  .stats__row{ flex-direction: column; align-items: stretch; gap: 24px; }
  .stats__divider{ width: 100%; height: 1px; min-height: 0; }
  .stat{ justify-content: center; }
}

/* ============================================================
   SKYLINE MOTIF (drawn SVG)
   ============================================================ */
.skyline{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
}
.skyline svg{ width: 100%; height: 100%; display: block; }
.skyline path{
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  transition: stroke-dashoffset 1.8s var(--ease);
}
.skyline.is-visible path{ stroke-dashoffset: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head h2{ margin-top: 16px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p{ margin-top: 16px; color: var(--ink-soft); font-size: 17px; max-width: 54ch; }

.services__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px){ .services__grid{ grid-template-columns: 1fr; } }

.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease), border-color var(--dur-m) var(--ease);
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--purple-100);
  color: var(--purple-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background var(--dur-m) var(--ease), transform var(--dur-m) var(--ease);
}
.card:hover .card__icon{ background: var(--purple-700); color: #fff; transform: rotate(-6deg) scale(1.06); }
.card__icon svg{ width: 24px; height: 24px; }
.card h3{ font-size: 1.28rem; margin-bottom: 12px; }
.card p{ color: var(--ink-soft); font-size: 15px; }

.services__extra{
  margin-top: 30px;
  padding: 34px 32px;
  border-radius: var(--radius);
  background: var(--paper-tint);
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.services__extra h4{ font-family: 'Work Sans', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.services__extra p{ color: var(--ink-soft); font-size: 14.5px; max-width: 34ch; }
.services__extra ul{ display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 30px; flex: 1; min-width: 260px; }
@media (max-width: 560px){
  .services__extra ul{ grid-template-columns: 1fr; }
}
.services__extra li{ font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.services__extra li svg{ width: 15px; height: 15px; margin-top: 3px; flex: none; color: var(--purple-500); }

/* ============================================================
   FEATURE STRIP (accounting)
   ============================================================ */
.feature{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px){ .feature{ grid-template-columns: 1fr; gap: 36px; } }
.feature__media{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature__media img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; transition: transform 1.4s var(--ease); }
.feature__media:hover img{ transform: scale(1.045); }
.feature__media::after{
  content:'';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(59,31,92,0.35), rgba(59,31,92,0) 55%);
  mix-blend-mode: multiply;
}
.feature__tag{
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(250,248,252,0.92);
  backdrop-filter: blur(6px);
  color: var(--purple-800);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 10px 16px;
  border-radius: 999px;
  display: flex; align-items: center; gap: 8px;
}
.feature__body h2{ font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 14px; }
.feature__body p{ margin-top: 18px; color: var(--ink-soft); font-size: 16.5px; }
.feature__list{ margin-top: 26px; display: grid; gap: 14px; }
.feature__list li{ display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.feature__list svg{ width: 18px; height: 18px; margin-top: 2px; color: var(--gold); flex: none; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing__scroller{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(258px, 1fr);
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  padding-top: 26px;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  margin: -26px -28px 0;
  padding-left: 28px;
  padding-right: 28px;
}
.pricing__scroller::-webkit-scrollbar{ height: 6px; }
.pricing__scroller::-webkit-scrollbar-thumb{ background: var(--purple-300); border-radius: 6px; }

.plan{
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease), border-color var(--dur-m) var(--ease);
}
.plan:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--featured{
  background: var(--purple-900);
  color: #fff;
  border-color: transparent;
  position: relative;
}
.plan--featured .plan__price small{ color: rgba(255,255,255,0.65); }
.plan--featured .plan__desc{ color: rgba(255,255,255,0.6); }
.plan--featured li{ color: rgba(255,255,255,0.9); }
.plan--featured svg{ color: var(--gold-soft) !important; }
.plan__badge{
  position: absolute; top: -13px; right: 22px;
  background: var(--gold); color: var(--purple-900);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; font-weight: 600;
}
.plan__name{ font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-500); }
.plan--featured .plan__name{ color: var(--gold-soft); }
.plan__price{ margin-top: 14px; font-family: 'Fraunces', serif; font-size: 2.1rem; font-weight: 600; }
.plan__price small{ font-family: 'Work Sans', sans-serif; font-size: 13px; font-weight: 500; color: var(--ink-soft); display: block; margin-top: 4px; }
.plan__desc{ margin-top: 6px; font-size: 13px; color: var(--ink-soft); }
.plan ul{ margin-top: 22px; display: grid; gap: 12px; flex: 1; }
.plan li{ font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.plan li svg{ width: 16px; height: 16px; margin-top: 2px; color: var(--purple-500); flex: none; }
.plan .btn{ margin-top: 26px; justify-content: center; width: 100%; }

.pricing__note{ margin-top: 26px; font-size: 13.5px; color: var(--ink-soft); text-align: center; }

/* ============================================================
   ABOUT
   ============================================================ */
.about{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px){ .about{ grid-template-columns: 1fr; gap: 40px; } }
.about__body p{ margin-top: 18px; color: var(--ink-soft); font-size: 16.5px; }
.about__body p + p{ margin-top: 14px; }
.about__badges{ display: grid; gap: 16px; }
.badge{
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--paper-tint);
}
.badge__icon{
  width: 40px; height: 40px; flex: none;
  border-radius: 10px;
  background: var(--purple-700);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.badge__icon svg{ width: 19px; height: 19px; }
.badge h4{ font-family: 'Work Sans', sans-serif; font-size: 15px; font-weight: 600; }
.badge p{ margin-top: 4px; font-size: 14px; color: var(--ink-soft); }

/* ============================================================
   RECENZII
   ============================================================ */
.reviews{
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.reviews__icon{
  width: 64px; height: 64px; flex: none;
  border-radius: 18px;
  background: var(--purple-700);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.reviews__body{ flex: 1 1 380px; min-width: 260px; }
.reviews__body h2{ margin-top: 12px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.reviews__body p{ margin-top: 14px; color: var(--ink-soft); font-size: 16px; max-width: 56ch; }
.reviews__actions{ display: flex; gap: 14px; flex-wrap: wrap; flex: none; }
@media (max-width: 720px){
  .reviews{ flex-direction: column; align-items: flex-start; }
  .reviews__actions{ width: 100%; }
  .reviews__actions .btn{ flex: 1; justify-content: center; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta{
  position: relative;
  background: var(--purple-900);
  color: #fff;
  padding: 100px 0 130px;
  overflow: hidden;
  isolation: isolate;
}
.cta::before{
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(720px 420px at 18% 12%, rgba(217,154,63,0.16), transparent 60%),
              radial-gradient(600px 500px at 90% 90%, rgba(109,63,161,0.5), transparent 60%);
  z-index: -1;
}
.cta__inner{ max-width: 640px; }
.cta h2{ font-size: clamp(2rem, 4vw, 3.1rem); color: #fff; }
.cta p{ margin-top: 20px; font-size: 17.5px; color: rgba(255,255,255,0.78); max-width: 48ch; }
.cta__actions{ margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.cta .skyline{ color: rgba(255,255,255,0.5); height: 140px; opacity: 0.35; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px){ .contact__grid{ grid-template-columns: 1fr; } }
.contact-card{
  display: flex; align-items: center; gap: 20px;
  min-width: 0;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease), background var(--dur-m) var(--ease);
}
.contact-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-sm); background: var(--paper-tint); }
.contact-card__icon{
  width: 54px; height: 54px; flex: none;
  border-radius: 14px;
  background: var(--purple-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.contact-card__icon svg{ width: 24px; height: 24px; }
.contact-card__body{ min-width: 0; flex: 1; }
.contact-card__label{ font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.contact-card__value{ margin-top: 4px; font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 600; overflow-wrap: break-word; }
@media (max-width: 400px){ .contact-card__value{ font-size: 1.05rem; } }
.contact-card svg.chev{ margin-left: auto; width: 18px; height: 18px; color: var(--ink-soft); transition: transform var(--dur-s) var(--ease); }
.contact-card:hover svg.chev{ transform: translateX(4px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{
  background: var(--purple-900);
  color: rgba(255,255,255,0.72);
  padding: 56px 0 28px;
}
.footer__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__logo{ display: block; }
.footer__logo img{ height: 96px; width: auto; }
.footer__cols{ display: flex; gap: 64px; flex-wrap: wrap; }
@media (max-width: 560px){
  .footer__logo img{ height: 76px; }
}
.footer__col h4{ font-family: 'Work Sans', sans-serif; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer__col a, .footer__col span{ display: block; font-size: 14.5px; margin-bottom: 10px; color: rgba(255,255,255,0.82); transition: color var(--dur-s) var(--ease); }
.footer__col a:hover{ color: var(--gold-soft); }
.footer__bottom{ display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.45); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-hero{
  padding: 168px 0 64px;
  background: var(--purple-900);
  color: #fff;
}
.blog-hero .eyebrow{ color: var(--gold-soft); }
.blog-hero h1{ margin-top: 16px; font-size: clamp(2.2rem, 4vw, 3.2rem); color: #fff; max-width: 20ch; }
.blog-hero p{ margin-top: 18px; color: rgba(255,255,255,0.78); font-size: 17px; max-width: 56ch; }

.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px){ .blog-grid{ grid-template-columns: 1fr; } }
.blog-card{
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  transition: transform var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease);
}
.blog-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card__media{ aspect-ratio: 16/10; overflow: hidden; background: var(--purple-100); }
.blog-card__media img{ width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.blog-card:hover .blog-card__media img{ transform: scale(1.06); }
.blog-card__body{ padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card__meta{ font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple-500); }
.blog-card__body h3{ font-size: 1.2rem; line-height: 1.3; }
.blog-card__body p{ color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.blog-card__link{ margin-top: 6px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; color: var(--purple-700); }
.blog-card__link svg{ width: 15px; height: 15px; transition: transform var(--dur-s) var(--ease); }
.blog-card:hover .blog-card__link svg{ transform: translateX(4px); }

.breadcrumb{
  padding: 132px 0 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex; gap: 8px; align-items: center;
}
.breadcrumb a{ color: var(--purple-600); }
.breadcrumb a:hover{ text-decoration: underline; }

.article-hero{ padding: 28px 0 40px; }
.article-hero .eyebrow{ margin-bottom: 16px; }
.article-hero h1{ font-size: clamp(2rem, 3.6vw, 2.9rem); max-width: 22ch; }
.article-meta{ margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); font-family: 'IBM Plex Mono', monospace; }
.article-cover{ margin: 0 0 48px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-cover img{ width: 100%; aspect-ratio: 16/7; object-fit: cover; }

.prose{ max-width: 720px; margin: 0 auto; }
.prose p{ margin: 0 0 22px; font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose h2{ margin: 48px 0 18px; font-size: 1.55rem; }
.prose h3{ margin: 34px 0 14px; font-size: 1.2rem; font-family: 'Work Sans', sans-serif; font-weight: 600; }
.prose ul, .prose ol{ margin: 0 0 22px; padding-left: 22px; display: grid; gap: 10px; }
.prose li{ font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.prose strong{ color: var(--purple-800); }
.prose a{ color: var(--purple-600); text-decoration: underline; text-decoration-color: var(--purple-300); text-underline-offset: 3px; }
.prose a.btn{ text-decoration: none; }
.prose blockquote{
  margin: 32px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--purple-500);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--purple-800);
}

/* ---------- Legal pages: inline fill-in placeholders ---------- */
.prose .legal-fill{
  background: var(--paper-tint);
  border: 1px dashed var(--purple-300);
  border-radius: 6px;
  padding: 1px 7px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.92em;
  color: var(--purple-700);
  font-style: normal;
}

.article-cta{
  max-width: 720px;
  margin: 56px auto 0;
  padding: 34px 32px;
  border-radius: var(--radius);
  background: var(--paper-tint);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.article-cta p{ font-size: 15.5px; color: var(--ink-soft); max-width: 40ch; margin: 0; }
.article-cta h4{ font-family: 'Fraunces', serif; font-size: 1.25rem; }

/* ============================================================
   DOCUMENTE UTILE
   ============================================================ */
.docs-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.doc-card{
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease);
}
.doc-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow); }
.doc-card__icon{
  width: 48px; height: 48px; flex: none;
  border-radius: 13px;
  background: var(--purple-100);
  color: var(--purple-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.doc-card__icon svg{ width: 22px; height: 22px; }
.doc-card__body{ flex: 1; }
.doc-card__body h3{ font-size: 1.08rem; line-height: 1.35; margin-bottom: 8px; }
.doc-card__body p{ font-size: 14px; color: var(--ink-soft); }
.doc-card__link{
  margin-top: 20px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--purple-700);
  border: 1px solid var(--purple-300);
  border-radius: 999px;
  padding: 9px 15px;
  white-space: nowrap;
  transition: background var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}
.doc-card__link:hover{ background: var(--purple-700); color: #fff; }
.doc-card__link svg{ width: 15px; height: 15px; }
.docs-note{ margin-top: 30px; text-align: center; font-size: 14.5px; color: var(--ink-soft); }
.docs-note a{ color: var(--purple-600); text-decoration: underline; }

.docs-legal{
  margin-top: 36px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--paper-tint);
  border: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.docs-legal svg{ width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--gold); }
.docs-legal p{ margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.docs-legal strong{ color: var(--ink); }
.docs-legal a{ color: var(--purple-600); text-decoration: underline; }

/* ============================================================
   ASISTENT (FAQ chat widget)
   ============================================================ */
.assistant-launcher{
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 150;
  width: 62px; height: 62px;
  border-radius: 999px;
  border: none;
  background: var(--purple-700);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 34px -12px rgba(36,16,51,0.55);
  transition: transform var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}
.assistant-launcher:hover{ transform: translateY(-3px) scale(1.04); background: var(--purple-600); }
.assistant-launcher svg{ width: 26px; height: 26px; }
.assistant-launcher .ico-close{ display: none; }
.assistant-launcher.is-open .ico-chat{ display: none; }
.assistant-launcher.is-open .ico-close{ display: block; }
.assistant-launcher__dot{
  position: absolute; top: 6px; right: 6px;
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--gold);
  border: 2px solid var(--paper);
}
.assistant-launcher.is-open .assistant-launcher__dot{ display: none; }

/* ---------- Buton flotant WhatsApp ---------- */
.whatsapp-float{
  position: fixed;
  left: 22px; bottom: 22px;
  z-index: 150;
  width: 62px; height: 62px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 34px -12px rgba(18,140,74,0.55);
  transition: transform var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}
.whatsapp-float:hover{ transform: translateY(-3px) scale(1.04); background: #1ebe5a; }
.whatsapp-float svg{ width: 30px; height: 30px; }
@media (max-width: 560px){
  .whatsapp-float{ left: 16px; bottom: 16px; }
}

.assistant-panel{
  position: fixed;
  right: 22px; bottom: 96px;
  z-index: 150;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: min(600px, 74vh);
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 40px 80px -30px rgba(20,10,32,0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity var(--dur-m) var(--ease), transform var(--dur-m) var(--ease);
  border: 1px solid var(--line);
}
.assistant-panel.is-open{ opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.assistant-panel__head{
  background: var(--purple-900);
  color: #fff;
  padding: 18px 20px;
  display: flex; align-items: center; gap: 12px;
}
.assistant-panel__head img{ height: 30px; width: auto; }
.assistant-panel__head h4{ font-family: 'Work Sans', sans-serif; font-size: 14.5px; font-weight: 600; }
.assistant-panel__head p{ font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 2px; }

.assistant-panel__body{
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper-tint);
}
.assistant-msg{
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
}
.assistant-msg a{ color: inherit; text-decoration: underline; }
.assistant-msg--bot{
  align-self: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  color: var(--ink);
}
.assistant-msg--user{
  align-self: flex-end;
  background: var(--purple-700);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.assistant-msg--typing{ display: flex; gap: 4px; align-items: center; padding: 13px 16px; }
.assistant-msg--typing span{ width: 6px; height: 6px; border-radius: 999px; background: var(--purple-300); animation: assistantTyping 1.1s ease-in-out infinite; }
.assistant-msg--typing span:nth-child(2){ animation-delay: .15s; }
.assistant-msg--typing span:nth-child(3){ animation-delay: .3s; }
@keyframes assistantTyping{ 0%, 60%, 100%{ transform: translateY(0); opacity: .5; } 30%{ transform: translateY(-3px); opacity: 1; } }

.assistant-chips{ display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 4px; }
.assistant-chip{
  border: 1px solid var(--purple-300);
  color: var(--purple-700);
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}
.assistant-chip:hover{ background: var(--purple-700); color: #fff; }

.assistant-panel__foot{
  padding: 12px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.assistant-form{ display: flex; gap: 8px; }
.assistant-form input{
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  background: var(--paper-tint);
  color: var(--ink);
  outline: none;
}
.assistant-form input:focus{ border-color: var(--purple-500); }
.assistant-form button{
  width: 42px; height: 42px; flex: none;
  border-radius: 999px;
  border: none;
  background: var(--purple-700);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--dur-s) var(--ease);
}
.assistant-form button:hover{ background: var(--purple-600); }
.assistant-form button svg{ width: 17px; height: 17px; }
.assistant-disclaimer{ margin-top: 8px; font-size: 11px; color: var(--ink-soft); text-align: center; }

@media (max-width: 480px){
  .assistant-panel{ right: 16px; bottom: 88px; }
  .assistant-launcher{ right: 16px; bottom: 16px; }
}

/* ============================================================
   MISC
   ============================================================ */
.divider-motif{ color: var(--purple-300); }
::selection{ background: var(--purple-500); color: #fff; }

.toast{
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--purple-900); color: #fff;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-m) var(--ease), transform var(--dur-m) var(--ease);
  z-index: 200;
}
.toast.is-shown{ opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

/* ===== Banner cookie-uri ===== */
.cookie-banner{
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 880px; margin: 0 auto;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px;
}
.cookie-banner__main{ display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.cookie-banner__text{ flex: 1 1 320px; margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink-soft); }
.cookie-banner__text strong{ color: var(--ink); }
.cookie-banner__text a{ color: var(--purple-500); text-decoration: underline; }
.cookie-banner__actions{ display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-btn{
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  border-radius: 999px; padding: 10px 18px; border: 1.5px solid transparent;
  transition: background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}
.cookie-btn--solid{ background: var(--purple-700); color: #fff; }
.cookie-btn--solid:hover{ background: var(--purple-600); }
.cookie-btn--line{ background: transparent; color: var(--ink); border-color: var(--ink); }
.cookie-btn--line:hover{ background: var(--paper-tint); }
.cookie-btn--text{ background: transparent; color: var(--purple-500); text-decoration: underline; padding-inline: 10px; }
.cookie-btn:focus-visible{ outline: 3px solid var(--gold); outline-offset: 2px; }
.cookie-banner__panel{ margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.cookie-opt{ display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.cookie-opt input{ margin-top: 4px; width: 18px; height: 18px; accent-color: var(--purple-600); flex: none; }
.cookie-opt strong{ display: block; font-size: .92rem; }
.cookie-opt small{ display: block; color: var(--ink-soft); font-size: .84rem; line-height: 1.45; }
@media (max-width: 560px){
  .cookie-banner{ left: 10px; right: 10px; bottom: 10px; padding: 16px; max-height: 80vh; overflow-y: auto; }
  .cookie-banner__actions{ width: 100%; }
  .cookie-banner__actions .cookie-btn--solid, .cookie-banner__actions .cookie-btn--line{ flex: 1; }
}
