/* Ubuntu, gazduit local: un singur fisier variabil acopera greutatile
   300-700, deci nu depindem de ce font are instalat vizitatorul si nu
   cerem nimic de la servere straine. Licenta Ubuntu Font Licence 1.0
   permite gazduirea si folosirea in pagini web; textul ei se afla in
   assets/fonts/LICENTA-Ubuntu-Font.txt si trebuie sa ramana acolo. */
@font-face {
  font-family: 'Ubuntu';
  src: url('/assets/fonts/ubuntu-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* =======================================================================
   CLICK & QUICK S.R.L. / style.css
   Culorile brandului sunt extrase din Logo_Final.png:
     #0F0E14  negrul rece al literelor C si Q
     #FB8022  portocaliul cursorului
   Portocaliul e rezervat acțiunilor. Dacă poate fi apăsat, e portocaliu.
   Dacă nu, nu e.
   ======================================================================= */

:root {
  /* --- brand (extrase din logo) --- */
  --ink:            #0F0E14;
  --bolt:           #FB8022;
  /* Portocaliul de brand are doar 2.3:1 pe fundal deschis, sub pragul de
     4.5:1 pentru text. Nuanta de mai jos e cea mai deschisa din aceeasi
     familie care trece. Sigla, butoanele si tot ce e pe negru raman pe
     --bolt; --bolt-ink e DOAR pentru text portocaliu pe fundal deschis. */
  --bolt-ink:       #B55003;
  /* Gri-violet pentru texte discrete pe fundal inchis: subsol, mentiuni.
     Cea mai inchisa nuanta care trece 4.5:1 pe negru, pe panouri si in
     campurile formularului. */
  --muted:          #827F93;

  /* --- derivate --- */
  --ink-2:          #17161F;
  --ink-3:          #24212F;
  --bolt-deep:      #E56A0C;
  --bolt-soft:      rgba(251, 128, 34, .14);
  --paper:          #F4F4F7;
  --paper-2:        #FFFFFF;
  --line:           #DFDFE6;
  --line-ink:       rgba(255, 255, 255, .12);
  --text:           #0F0E14;
  --text-soft:      #56535F;
  --text-inv:       #F4F4F7;
  --text-inv-soft:  #A3A0B0;
  --wa:             #25D366;

  /* --- ritm --- */
  --wrap:           1180px;
  --gut:            clamp(20px, 5vw, 40px);
  --sec-y:          clamp(72px, 9vw, 128px);
  --r:              4px;

  --sans: 'Ubuntu', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* Acelasi font si pentru datele tehnice. Cifrele tabulare si spatierea
     mai larga le pastreaza aspectul de cod, fara a aduce a doua familie. */
  --mono: 'Ubuntu', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------- baza ---------------- */
*, *::before, *::after { box-sizing: border-box; }

/* Atributul hidden trebuie să învingă orice display din foaia de stil.
   Fără !important, o regulă ca .form { display: grid } îl anulează în
   tăcere și elementul rămâne vizibil deși JS-ul îl crede ascuns. */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;   /* 17px la radacina implicita; scade odata cu ea */
  line-height: 1.62;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.032em;
  line-height: 1.04;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.mono {
  font-family: var(--mono);
  font-size: .88em;
  letter-spacing: .015em;
  font-variant-numeric: tabular-nums slashed-zero;
}

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

:where(a, button, input, textarea, summary):focus-visible {
  outline: 2px solid var(--bolt);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--bolt);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------------- butoane ---------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 26px;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: .97rem;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn--solid { --btn-bg: var(--bolt); --btn-fg: #1A1206; --btn-bd: var(--bolt); }
.btn--solid:hover { --btn-bg: var(--bolt-deep); --btn-bd: var(--bolt-deep); box-shadow: 0 6px 22px rgba(251, 128, 34, .3); }
.btn--ghost { --btn-fg: var(--text-inv); --btn-bd: rgba(255, 255, 255, .28); }
.btn--ghost:hover { --btn-bd: var(--bolt); --btn-fg: var(--bolt); }
.btn--quiet { --btn-bd: transparent; --btn-fg: var(--text-soft); text-decoration: underline; text-underline-offset: 4px; padding-inline: 10px; }
.btn--quiet:hover { --btn-fg: var(--text); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--full { width: 100%; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; pointer-events: none; }

.linkish {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------------- navigație ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  color: var(--text-inv);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}
/* Paginile legale nu au hero: fundalul e deschis de sus, deci navul
   trebuie să fie închis la culoare din prima, nu doar după derulare. */
.nav--solid {
  background: rgba(244, 244, 247, .88);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
}
.brand__mark { width: 46px; height: auto; color: currentColor; }
.brand__word {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .01em;
}
.brand__amp { color: var(--bolt); margin-inline: .18em; }
.nav--solid .brand__amp { color: var(--bolt-ink); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .95rem;
  font-weight: 500;
}
.nav__links a { text-decoration: none; opacity: .84; transition: opacity .18s var(--ease), color .18s var(--ease); }
.nav__links a:hover { opacity: 1; color: var(--bolt); }
.nav__cta { opacity: 1 !important; color: #1A1206 !important; }
.nav__cta:hover { color: #1A1206 !important; }

.nav__tools { display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex;
  border: 1px solid currentColor;
  border-radius: var(--r);
  overflow: hidden;
}
.lang__btn {
  border: 0;
  background: none;
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}
.lang__btn[aria-pressed="true"] { background: var(--bolt); color: #1A1206; }

.burger {
  display: none;
  width: 40px; height: 36px;
  border: 1px solid currentColor;
  border-radius: var(--r);
  background: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.8px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { bottom: 13px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.6px) rotate(-45deg); }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-inv);
  /* Fara vh: pe telefoane si tablete inaltimea ecranului se schimba cand bara
     de adrese apare sau dispare, iar hero-ul s-ar redimensiona la derulare. */
  padding: clamp(120px, 11vw, 180px) 0 clamp(70px, 10vw, 110px);
  overflow: hidden;
  isolation: isolate;
}
/* grilă tehnică, desenată din gradienți , zero imagini de descărcat */
.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 80% at 60% 25%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 80% at 60% 25%, #000 20%, transparent 78%);
}
/* halo care urmărește cursorul */
.hero__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), var(--bolt-soft), transparent 62%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.hero:hover .hero__field { opacity: 1; }

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.042em;
}
.hero__title .ln { display: block; }
.hero__title .ln:last-child { color: var(--bolt); }

.hero__sub {
  margin: 26px 0 0;
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.5vw, 1.17rem);
  color: var(--text-inv-soft);
  line-height: 1.6;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__notes {
  list-style: none;
  margin: 40px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-ink);
  display: grid;
  gap: 9px;
  font-size: .92rem;
  color: var(--text-inv-soft);
}
.hero__notes li { position: relative; padding-left: 20px; }
.hero__notes li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bolt);
}

/* semnul de brand + cursorul care „aterizează” la încărcare */
.hero__art { position: relative; justify-self: center; width: min(100%, 460px); }
/* Semnul de brand, estompat, fără portocaliul propriu: cursorul și razele
   vin ca straturi separate, decupate din același logo și în aceleași
   coordonate, deci se suprapun perfect. Proprietățile personalizate trec
   prin <use>, selectorii CSS nu , de aici --logo-accent. */
.hero__mark {
  width: 100%;
  color: rgba(255, 255, 255, .07);
  --logo-accent: transparent;
}
.hero__cursor,
.hero__burst {
  position: absolute;
  inset: 0;
  width: 100%;
  color: var(--bolt);
}
.hero__cursor {
  filter: drop-shadow(0 10px 26px rgba(251, 128, 34, .3));
  transform-origin: 72% 60%;
  animation: land .9s var(--ease) both .15s;
}
.hero__burst {
  transform-origin: 66% 47%;
  opacity: 0;
  animation: pop .7s var(--ease) both .8s;
}
@keyframes land {
  from { transform: translate(30px, 38px) scale(1.35); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
@keyframes pop {
  0%   { opacity: 0; transform: scale(.35); }
  55%  { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

/* stropul portocaliu la click în hero */
.ripple {
  position: absolute;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid var(--bolt);
  border-radius: 50%;
  pointer-events: none;
  animation: ripple .62s var(--ease) forwards;
}
@keyframes ripple {
  to { transform: scale(9); opacity: 0; border-width: .5px; }
}

/* ---------------- secțiuni ---------------- */
.sec { padding-block: var(--sec-y); }
.sec--paper { background: var(--paper); }
.sec--tight { padding-top: 0; }
.sec--ink { background: var(--ink); color: var(--text-inv); }
.sec--contact { padding-top: clamp(20px, 4vw, 48px); }

.sec__head { max-width: 62ch; margin-bottom: clamp(40px, 5vw, 64px); }
.sec__title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
/* Accent portocaliu in interiorul unui titlu, ca ampersandul din sigla. */
.hl { color: var(--bolt); }
.sec__lead {
  margin-top: 16px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--text-soft);
  max-width: 58ch;
}
.sec--ink .sec__lead, .sec--ink p { color: var(--text-inv-soft); }

/* trei domenii, despărțite de linii , nu de trei cartonașe identice */
.cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.col {
  padding: 32px clamp(18px, 2.4vw, 32px);
  border-right: 1px solid var(--line);
  transition: background-color .28s var(--ease);
}
.col:last-child { border-right: 0; }
.col:hover { background: var(--paper-2); }

.col__name {
  font-size: 1.32rem;
  letter-spacing: -.02em;
  padding-bottom: 12px;
  position: relative;
}
.col__name::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  background: var(--bolt);
  transition: width .3s var(--ease);
}
.col:hover .col__name::after { width: 58px; }
.col__def { margin: 14px 0 20px; color: var(--text-soft); font-size: .97rem; }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.list li {
  position: relative;
  padding-left: 22px;
  font-size: .95rem;
  line-height: 1.5;
}
.list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .55em;
  width: 8px; height: 8px;
  border: 2px solid var(--bolt);
  border-radius: 50%;
}

/* pași , numerotarea e justificată: chiar e o secvență */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.step {
  position: relative;
  padding: 30px clamp(16px, 2vw, 28px) 0 0;
  border-top: 2px solid var(--line);
}
.step::before {
  content: "";
  position: absolute;
  top: -7px; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bolt);
}
.step__n {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: .8rem;
  color: var(--bolt-ink);
  letter-spacing: .08em;
}
.step__t { font-size: 1.16rem; margin: 8px 0 10px; }
.step p { font-size: .93rem; color: var(--text-soft); line-height: 1.55; }

/* firma */
.company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}
.company__copy p { margin-top: 18px; max-width: 46ch; }
.facts { margin: 0; display: grid; gap: 0; }
.facts > div {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-ink);
}
.facts > div:first-child { border-top: 1px solid var(--line-ink); }
.facts dt { color: var(--text-inv-soft); font-size: .88rem; }
.facts dd { margin: 0; font-weight: 500; font-size: .95rem; }

/* ---------------- contact ---------------- */
/* Pe lat: titlul si datele de contact in stanga, formularul in dreapta.
   Pe telefon: titlul, apoi FORMULARUL, apoi datele. Cine apasa "Cere
   oferta" trebuie sa vada formularul imediat, nu dupa un ecran de derulat. */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "head form"
    "chan form";
  gap: clamp(26px, 3vw, 40px) clamp(36px, 6vw, 80px);
  align-items: start;
}
.contact__head { grid-area: head; }
.channels      { grid-area: chan; margin: 0; }
.form, .done   { grid-area: form; }
/* Cele doua cai directe de contact stau impreuna, deasupra formularului.
   Telefonul era sub formular si trebuia derulat pana la el. */
.direct {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.direct li { display: grid; gap: 2px; justify-items: start; }

.mailto {
  display: inline-block;
  margin: 0;
  font-size: clamp(1.02rem, 2.1vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--bolt);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .2s var(--ease);
  word-break: break-word;
}
.mailto:hover { border-bottom-color: var(--bolt); }

.channels { list-style: none; padding: 0; display: grid; gap: 18px; }
.channels li { display: grid; gap: 3px; }
.channels__k { font-size: .82rem; color: var(--text-inv-soft); }
.channels__v { font-size: 1rem; line-height: 1.45; text-decoration: none; }
a.channels__v:hover { color: var(--bolt); }

.form {
  background: var(--ink-2);
  border: 1px solid var(--line-ink);
  border-radius: 8px;
  padding: clamp(22px, 3.2vw, 34px);
  display: grid;
  gap: 16px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: .87rem; font-weight: 500; color: var(--text-inv-soft); }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 14px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid var(--ink-3);
  border-radius: var(--r);
  color: var(--text-inv);
  font: inherit;
  font-size: .97rem;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:hover, .field textarea:hover { border-color: #3A3648; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--bolt);
  background: rgba(0, 0, 0, .42);
}
.field.is-bad input, .field.is-bad textarea { border-color: #FF6B5E; }

.err { margin: 0; font-size: .82rem; color: #FF8C82; min-height: 0; }
.err:empty { display: none; }

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  font-size: .85rem;
  color: var(--text-inv-soft);
  line-height: 1.5;
  cursor: pointer;
}
.check input { margin-top: 2px; width: 20px; height: 20px; accent-color: var(--bolt); }
.check a { color: var(--bolt); }

/* honeypot: ascuns pentru oameni, vizibil pentru roboți */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__status { margin: 0; font-size: .9rem; min-height: 0; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #7BE2A0; }
.form__status.is-bad { color: #FF8C82; }

.is-sending .btn--solid { opacity: .6; pointer-events: none; }

.done {
  background: var(--ink-2);
  border: 1px solid var(--line-ink);
  border-left: 3px solid var(--bolt);
  border-radius: 8px;
  padding: clamp(26px, 3.4vw, 38px);
}
.done:focus { outline: none; }
.done__tick { width: 34px; height: 34px; color: var(--bolt); margin-bottom: 18px; }
.done__t { font-size: 1.3rem; letter-spacing: -.025em; }
.done__p { margin: 12px 0 0; color: var(--text-inv-soft); font-size: .95rem; max-width: 42ch; }
.done__alt { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
/* Link in mijlocul unei fraze: subliniat mereu, nu doar colorat. Cine nu
   distinge culorile trebuie sa-l recunoasca tot ca link. */
.done__alt a { color: var(--bolt); text-decoration: underline; text-underline-offset: 3px; }
.done__alt a:hover { text-decoration-thickness: 2px; }

/* ---------------- subsol ---------------- */
.foot { background: var(--ink); color: var(--text-inv); padding-top: clamp(50px, 6vw, 80px); }
.foot__in {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 46px;
}
.foot__brand .brand__mark { width: 54px; margin-bottom: 18px; }
.foot__tag { max-width: 34ch; color: var(--text-inv-soft); font-size: .93rem; }
.social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
}
.social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-ink);
  border-radius: 50%;
  color: var(--text-inv-soft);
  transition: color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.social svg { width: 17px; height: 17px; }
.social a:hover { color: var(--bolt); border-color: var(--bolt); transform: translateY(-2px); }

.partner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 22px;
  padding: 8px 16px;
  border: 1px solid var(--line-ink);
  border-radius: var(--r);
  text-decoration: none;
  transition: border-color .18s var(--ease);
}
.partner__k { font-size: .78rem; color: var(--muted); }
.partner__v {
  padding-left: 12px;
  border-left: 1px solid var(--line-ink);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .14em;
  color: var(--text-inv);
  transition: color .18s var(--ease);
}
.partner:hover { border-color: var(--bolt); }
.partner:hover .partner__v { color: var(--bolt); }

.foot__legal { display: block; margin-top: 18px; color: var(--muted); font-size: .78rem; }

.foot__nav { display: grid; gap: 0; align-content: start; font-size: .92rem; }
.foot__h { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-bottom: 4px; }
.foot__nav a, .foot__nav button {
  /* 44px inaltime: linkurile din subsol erau de 22-24px, greu de nimerit cu degetul */
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-inv-soft);
  text-decoration: none;
  transition: color .18s var(--ease);
  font-size: .92rem;
}
.foot__nav a:hover, .foot__nav button:hover { color: var(--bolt); }

.anpc { display: inline-flex; align-items: center; gap: 10px; line-height: 1.3; }
.anpc__b {
  flex: none;
  border: 1px solid var(--line-ink);
  border-radius: 3px;
  padding: 3px 7px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-inv);
}
.anpc:hover .anpc__b { border-color: var(--bolt); color: var(--bolt); }

.foot__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-block: 20px;
  border-top: 1px solid var(--line-ink);
  font-size: .82rem;
  color: var(--muted);
}
.foot__bar p { margin: 0; }
.foot__bar a { text-decoration: none; }
.foot__bar a:hover { color: var(--bolt); }

/* ---------------- WhatsApp ---------------- */
.fab {
  position: fixed;
  right: clamp(16px, 3vw, 26px);
  bottom: clamp(16px, 3vw, 26px);
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 58px;
  padding: 0 17px;
  border-radius: 29px;
  background: var(--wa);
  color: #06331A;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .3);
  transition: gap .3s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.fab svg { width: 26px; height: 26px; flex: none; }
.fab__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  font-size: .95rem;
  transition: max-width .34s var(--ease);
}
.fab:hover { gap: 10px; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .38); }
.fab:hover .fab__label { max-width: 130px; }
.fab.is-lifted { transform: translateY(-96px); }

/* ---------------- banner cookie ---------------- */
.cc {
  position: fixed;
  left: clamp(12px, 3vw, 24px);
  bottom: clamp(12px, 3vw, 24px);
  z-index: 70;
  width: min(460px, calc(100vw - 24px));
}
.cc__panel {
  background: var(--ink-2);
  color: var(--text-inv);
  border: 1px solid var(--ink-3);
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  animation: ccIn .4s var(--ease) both;
}
@keyframes ccIn { from { opacity: 0; transform: translateY(14px); } }
.cc__title { font-size: 1.06rem; }
.cc__text { margin: 10px 0 0; font-size: .87rem; color: var(--text-inv-soft); line-height: 1.55; }
.cc__opts { display: grid; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ink-3); }
.cc__opt { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start; cursor: pointer; }
.cc__opt input { margin-top: 2px; width: 20px; height: 20px; accent-color: var(--bolt); }
.cc__opt strong { display: block; font-size: .87rem; font-weight: 600; }
.cc__opt em { display: block; font-style: normal; font-size: .8rem; color: var(--text-inv-soft); line-height: 1.45; }
.cc__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cc__actions .btn--quiet { color: var(--text-inv-soft); }
.cc__actions .btn--quiet:hover { color: var(--text-inv); }
.cc__more { margin: 12px 0 0; font-size: .78rem; }
.cc__more a { color: var(--text-inv-soft); }
.cc__more a:hover { color: var(--bolt); }

/* ---------------- pagini legale ---------------- */
.legal { padding: 132px 0 clamp(60px, 8vw, 100px); background: var(--paper); }
.legal__head { max-width: 70ch; margin-bottom: 44px; }
.legal__head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.legal__meta { margin-top: 14px; color: var(--text-soft); font-size: .87rem; }
.legal__body { max-width: 72ch; }
.legal__body h2 {
  font-size: 1.24rem;
  margin: 46px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.legal__body h3 { font-size: 1rem; margin: 26px 0 8px; }
.legal__body p, .legal__body li { font-size: .97rem; color: #3B3844; line-height: 1.68; }
.legal__body ul, .legal__body ol { padding-left: 20px; display: grid; gap: 7px; margin: 0 0 1em; }
.legal__body a { color: var(--bolt-ink); text-underline-offset: 3px; }
/* Tabelele din politici: pe telefon se deruleaza ele, nu toata pagina. */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 22px;
}
.table-wrap:focus-visible { outline: 2px solid var(--bolt-ink); outline-offset: 2px; }
.table-wrap table { margin: 0; min-width: 520px; }
.legal__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: .88rem;
}
.legal__body th, .legal__body td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal__body th { font-weight: 600; background: rgba(15, 14, 20, .04); }
.legal__body td.mono { font-size: .82rem; }
/* Sageata e desenata din borduri, nu luata dintr-un caracter: Ubuntu nu
   contine glife de sageti, iar browserul ar fi imprumutat-o din alt font. */
.back::before {
  content: "";
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 46px;
  font-weight: 600;
  font-size: .93rem;
  color: var(--bolt-ink);
  text-decoration: none;
}
.back:hover { text-decoration: underline; text-underline-offset: 4px; }

/* comutarea RO/EN pe paginile legale */
[data-lang-block="en"] { display: none; }
html[lang="en"] [data-lang-block="ro"] { display: none; }
html[lang="en"] [data-lang-block="en"] { display: block; }

/* ---------------- apariția la scroll ---------------- */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

/* ---------------- responsive ---------------- */

/* Laptopuri: ~1000-1440px lățime, dar deseori doar 700-800px înălțime.
   Tipografia era dimensionată doar după lățime, așa că pe un ecran de
   laptop ieșea uriașă. Scalăm din rădăcină, ca tot ce e în rem să scadă
   proporțional, și strângem spațiile verticale. */
@media (min-width: 981px) and (max-width: 1440px) {
  html { font-size: 15px; }
  :root {
    --wrap: 1100px;
    --sec-y: clamp(60px, 7vw, 96px);
  }
  .hero {
    padding-top: clamp(104px, 9vw, 148px);
    padding-bottom: clamp(52px, 7vw, 84px);
  }
  .hero__title { font-size: clamp(2.4rem, 5.4vw, 4rem); }
  .hero__art { width: min(100%, 400px); }
}

/* Ecrane scunde: netbookuri, laptopuri 1366x768, ferestre nemaximizate. */
/* Doar pe dispozitive cu mouse: pe tablete, bara de adrese care dispare ar
   schimba inaltimea si ar porni/opri regula asta in timpul derularii. */
@media (min-width: 981px) and (max-height: 820px) and (hover: hover) and (pointer: fine) {
  .hero { padding-top: 100px; padding-bottom: 48px; }
  .hero__art { width: min(100%, 340px); }
  .hero__notes { margin-top: 28px; padding-top: 18px; }
  .hero__sub { margin-top: 20px; }
  .hero__cta { margin-top: 26px; }
}

@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .cols { grid-template-columns: 1fr; border-top: 0; }
  .col {
    padding: 26px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .col:hover { background: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .company { grid-template-columns: 1fr; }
  .contact {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "form" "chan";
  }
  .channels { margin-top: 8px; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }

  /* Negrul umple tot ecranul telefonului; albul apare abia la derulare. */
  /* Inaltimea ecranului e masurata O SINGURA DATA la incarcare (--hero-h, setat
     in <head>) si refacuta doar la rotire. Cu 100vh/100svh, in aplicatii precum
     Instagram, Facebook sau pe unele Android-uri, hero-ul se marea si se micsora
     de fiecare data cand bara de adrese aparea sau disparea. */
  .hero {
    min-height: 100svh;
    min-height: var(--hero-h, 100svh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 92px;
    padding-bottom: 48px;
  }

  /* Pe lat, cei patru pași stau pe o linie fiecare; pe îngust, liniile
     rupte arătau ca niște separatoare. Devin o cronologie verticală. */
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    border-top: 0;
    border-left: 2px solid var(--line);
    padding: 0 0 30px 24px;
  }
  .step:last-child { border-left-color: transparent; padding-bottom: 0; }
  .step::before { top: 5px; left: -7px; }
  .step__n { display: block; }
  .nav__links {
    position: fixed;
    inset: 64px 12px auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--ink-2);
    border: 1px solid var(--ink-3);
    border-radius: 10px;
    color: var(--text-inv);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
    transform: scale(.97) translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 12px 10px; border-radius: var(--r); }
  .nav__cta { justify-content: flex-start; margin-top: 6px; }
  .burger { display: block; }
  .steps { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 3px; }
  .foot__in { grid-template-columns: 1fr; }
  .fab { height: 54px; padding: 0 14px; }
  .cc { left: 12px; right: 12px; width: auto; }
  .legal { padding-top: 108px; }
}

@media (max-width: 560px) {
  .hero__cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero__cta .btn { width: 100%; }
}

@media (max-width: 420px) {
  .brand__word { display: none; }
}

/* ---------------- preferințe de sistem ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__field { display: none; }
}

@media print {
  .nav, .fab, .cc, .hero__art, .form { display: none !important; }
  body { background: #fff; color: #000; }
  .sec--ink, .foot { background: #fff !important; color: #000 !important; }
}
