/* =========================================================
   PETRIC TIM CONSTRUCT — doar homepage-ul (index.html)
   Se încarcă DUPĂ css/site.css, care are tot ce e comun (culori, fonturi,
   meniu, subsol, cursor, WhatsApp). Aici: animația din hero, despre noi,
   caruselul de servicii, lucrările, cifrele, procesul, recenziile, contactul.
   ========================================================= */

/* =========================================================
   HERO: secvența de cadre derulată cu scroll-ul
   ========================================================= */
/* Fără JS (sau până pornește acasa.js) hero-ul e un ecran simplu, cu prima imagine.
   Abia când scriptul confirmă că poate anima (clasa .hero-anim pe <html>), secțiunea
   devine lungă și „lipită”, ca derularea să conducă animația. */
.hero { position: relative; background: var(--ink); }
.hero-pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
html.hero-anim .hero { height: 1020vh; }
html.hero-anim .hero-pin { position: sticky; top: 0; }

.hero-media {
  position: absolute; inset: 0; overflow: hidden; background: var(--ink-2);
  transform-origin: 100% 50%;
}
html.hero-anim .hero-media { will-change: transform; }
.hero-poster, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster { object-position: 50% 50%; }
.hero-canvas { opacity: 0; transition: opacity .4s var(--ease); }
.hero-canvas.is-ready { opacity: 1; }

/* umbrire pentru lizibilitate: sus (meniul), jos (bara de etape) și pe partea textului */
.hero-shade { position: absolute; inset: 0; pointer-events: none; }
.hero-shade::before, .hero-shade::after {
  content: ""; position: absolute; inset: 0; transition: opacity .9s var(--ease);
}
.hero-shade::before {
  background:
    linear-gradient(180deg, rgba(10,14,21,.5) 0%, rgba(10,14,21,0) 18%),
    linear-gradient(0deg, rgba(10,14,21,.78) 0%, rgba(10,14,21,0) 26%),
    linear-gradient(90deg, rgba(10,14,21,.74) 0%, rgba(10,14,21,.42) 32%, rgba(10,14,21,0) 58%);
}
.hero-shade::after {
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(10,14,21,.5) 0%, rgba(10,14,21,0) 18%),
    linear-gradient(0deg, rgba(10,14,21,.78) 0%, rgba(10,14,21,0) 26%),
    linear-gradient(270deg, rgba(10,14,21,.74) 0%, rgba(10,14,21,.42) 32%, rgba(10,14,21,0) 58%);
}
.hero-pin.text-dreapta .hero-shade::before { opacity: 0; }
.hero-pin.text-dreapta .hero-shade::after { opacity: 1; }

.hero-stages { position: absolute; inset: 0; pointer-events: none; }
.hero-stage {
  position: absolute; left: var(--gutter); top: 50%; width: min(600px, 46vw);
  translate: 0 -46%;
  opacity: 0; transform: translateY(26px); filter: blur(8px);
  transition: opacity .7s var(--ease), transform 1s var(--ease-arc), filter .7s var(--ease);
}
.hero-stage--dreapta { left: auto; right: var(--gutter); text-align: right; }
.hero-stage--dreapta .hero-text { margin-left: auto; }
.hero-stage--dreapta .hero-kicker { flex-direction: row-reverse; }
.hero-stage.is-on { opacity: 1; transform: none; filter: none; }
html:not(.hero-anim) .hero-stage:not([data-stage="0"]) { display: none; }

.hero-kicker {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 22px;
  font-family: var(--font-head); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(243,239,232,.86);
}
.hero-kicker span {
  padding: 6px 12px; border: 1px solid rgba(243,239,232,.28); border-radius: 999px;
  background: rgba(10,14,21,.28); letter-spacing: .14em; white-space: nowrap;
}
.hero-title, .hero-final-title {
  font-family: var(--font-head); font-weight: 700; color: var(--paper);
  font-size: clamp(36px, 4.8vw, 76px); line-height: 1.02; letter-spacing: -0.045em;
  text-shadow: 0 2px 34px rgba(10,14,21,.6), 0 1px 3px rgba(10,14,21,.35);
}
.hero-text {
  margin-top: 22px; max-width: 40ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55;
  color: rgba(243,239,232,.84); text-shadow: 0 1px 18px rgba(10,14,21,.5);
}

/* starea finală: textul de bun venit, la stânga cadrului micșorat */
.hero-final {
  position: absolute; left: var(--gutter); top: 50%; width: min(520px, 38vw);
  translate: 0 -50%; opacity: 0; visibility: hidden; transform: translateY(30px);
}
.hero-final.is-on { visibility: visible; }
.hero-final-title { font-size: clamp(40px, 5vw, 82px); text-shadow: none; }
.hero-final-text { margin-top: 24px; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* bara de jos */
.hero-hud {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px;
  padding-top: 18px; border-top: 1px solid rgba(243,239,232,.16);
  font-family: var(--font-head); color: rgba(243,239,232,.9);
  transition: opacity .6s var(--ease);
}
html:not(.hero-anim) .hero-hud { display: none; }
.hud-meta { display: flex; gap: clamp(18px, 3vw, 44px); }
.hud-cell small { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(243,239,232,.62); margin-bottom: 6px; }
.hud-cell strong { font-weight: 400; font-size: 17px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.hud-cell strong i { font-style: normal; color: rgba(243,239,232,.5); font-size: 13px; margin-left: 2px; }
.hud-steps { display: flex; gap: clamp(14px, 2vw, 30px); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(243,239,232,.5); }
.hud-steps li { position: relative; padding-top: 16px; transition: color .5s var(--ease); }
.hud-steps li::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 6px; height: 6px; margin-left: -3px;
  transform: rotate(45deg); border: 1px solid rgba(243,239,232,.5); transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.hud-steps li.is-done { color: rgba(243,239,232,.75); }
.hud-steps li.is-done::before { background: rgba(243,239,232,.75); border-color: transparent; }
.hud-steps li.is-on { color: var(--paper); }
.hud-steps li.is-on::before { background: var(--orange); border-color: var(--orange); }
.hud-plan { justify-self: end; display: flex; align-items: flex-end; gap: 14px; }
.hud-plan svg { width: 96px; height: 72px; color: rgba(243,239,232,.85); }
.hud-plan path { stroke-dasharray: 1; stroke-dashoffset: var(--plan, 1); }
.hud-plan small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(243,239,232,.6); writing-mode: vertical-rl; transform: rotate(180deg); }

.hero-skip {
  position: absolute; right: var(--gutter); bottom: 128px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1px solid rgba(243,239,232,.2); border-radius: 999px; background: rgba(10,14,21,.3);
  font-family: var(--font-head); font-size: 12.5px; color: rgba(243,239,232,.82);
  transition: opacity .6s var(--ease), border-color .3s;
}
.hero-skip svg { width: 15px; height: 15px; }
.hero-skip:hover { border-color: rgba(243,239,232,.5); }
html:not(.hero-anim) .hero-skip { display: none; }
.hero-pin.is-final .hero-hud, .hero-pin.is-final .hero-skip { opacity: 0; pointer-events: none; }

/* varianta statică (fără animație): poza finală + invitația, fără etape */
.hero-pin.is-static .hero-stage { display: none; }
.hero-pin.is-static .hero-final { opacity: 1; visibility: visible; transform: none; }
.hero-pin.is-static .hero-hud, .hero-pin.is-static .hero-skip { display: none; }

@media (max-width: 760px) {
  html.hero-anim .hero { height: 930vh; }
  /* Pe telefon imaginea nu mai umple ecranul: un decupaj îngust din filmarea lată ar arăta
     doar casa, fără peisaj. Stă într-o casetă pătrată pe toată lățimea, jos, cu marginile
     topite în fundal; textul etapei e deasupra ei, pe fundalul închis. */
  .hero-media {
    top: auto; bottom: 118px; height: min(100vw, 50svh);
    transform-origin: 50% 0;
  }
  .hero-shade::before, .hero-shade::after {
    background:
      linear-gradient(180deg, rgba(10,14,21,1) 0%, rgba(10,14,21,0) 20%),
      linear-gradient(0deg, rgba(10,14,21,.9) 0%, rgba(10,14,21,0) 18%);
  }
  .hero-stage, .hero-stage--dreapta {
    left: var(--gutter); right: var(--gutter); width: auto; top: 96px; bottom: auto;
    translate: none; text-align: left;
  }
  .hero-stage--dreapta .hero-kicker { flex-direction: row; }
  .hero-stage--dreapta .hero-text { margin-left: 0; }
  .hero-title { font-size: clamp(31px, 8.6vw, 41px); }
  .hero-text { margin-top: 14px; font-size: 16px; }
  .hero-kicker { margin-bottom: 14px; font-size: 10.5px; }
  .hero-hud { bottom: 18px; grid-template-columns: 1fr auto; gap: 12px; padding-top: 14px; }
  .hud-steps { display: none; }
  .hud-cell--nume { display: none; }
  .hud-plan svg { width: 64px; height: 48px; }
  .hud-plan small { display: none; }
  .hero-skip { display: none; }
  .hero-final { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 28px; translate: none; }
  .hero-final-title { font-size: clamp(34px, 9.8vw, 48px); }
  .hero-final-text { margin-top: 14px; font-size: 16px; }
}
/* telefoane scunde (ex. iPhone SE): caseta mai mică și invitația fără paragraf, ca să încapă butoanele */
@media (max-width: 760px) and (max-height: 700px) {
  .hero-media { height: min(100vw, 44svh); }
  .hero-final-text { display: none; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* =========================================================
   DESPRE NOI
   ========================================================= */
.despre { padding-top: clamp(110px, 14vw, 200px); }
.despre-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.despre-foto { margin-top: clamp(0px, 6vw, 96px); }
.despre-text .lead { margin-top: 36px; color: var(--paper); }
.despre-text p:not(.lead):not(.kicker) { margin-top: 20px; color: var(--muted); max-width: 52ch; }

/* rama „dublă”: o tavă subțire în jurul fotografiei, ca o placă montată într-un cadru */
.rama {
  padding: 8px; border-radius: 30px; background: rgba(243,239,232,.04);
  border: 1px solid var(--line);
}
/* fotografia lui Petru și Alin are mult cer deasupra: o tăiem pătrat, centrat pe fețe */
.rama img { width: 100%; border-radius: 23px; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 78%; }
.despre-foto figcaption { margin-top: 16px; font-size: 14px; color: var(--faint); padding-left: 10px; }

.motive { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(80px, 10vw, 140px); }
.motiv { padding-top: 28px; border-top: 1px solid var(--line-2); }
.motiv-nr { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .04em; color: var(--orange); line-height: 1; margin-bottom: 22px; }
.motiv h3 { font-size: clamp(21px, 1.9vw, 26px); font-weight: 600; letter-spacing: -0.03em; }
.motiv p { margin-top: 14px; color: var(--muted); font-size: 16.5px; }

/* =========================================================
   SERVICII: carusel 3D
   ========================================================= */
.servicii { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 50%, var(--ink) 100%); overflow: hidden; }
.carusel { position: relative; margin-top: clamp(56px, 7vw, 96px); perspective: 1800px; }
.carusel-scena {
  position: relative; height: clamp(500px, 44vw, 580px); transform-style: preserve-3d; touch-action: pan-y;
  cursor: grab; user-select: none; -webkit-user-select: none;
}
.carusel-scena.is-tras { cursor: grabbing; }
.carusel-scena img { -webkit-user-drag: none; }
.carusel-card {
  --w: min(420px, 78vw);
  position: absolute; top: 0; left: 50%; width: var(--w); height: 100%; margin-left: calc(var(--w) / -2);
  transition: transform 1s var(--ease-arc), opacity .7s var(--ease);
  backface-visibility: hidden;
}
.carusel-card > a {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: 28px; background: var(--ink-3); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
/* cardurile din spate se sting, nu dispar: păstrăm adâncimea */
.carusel-card > a::after {
  content: ""; position: absolute; inset: 0; background: var(--ink); opacity: var(--stins, 0);
  transition: opacity .8s var(--ease); pointer-events: none;
}
.carusel-foto { display: block; height: 52%; overflow: hidden; }
.carusel-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.carusel-card.is-on > a:hover .carusel-foto img { transform: scale(1.05); }
.carusel-corp { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 22px; }
.carusel-nr { font-family: var(--font-head); font-weight: 700; color: var(--orange); font-size: 14px; letter-spacing: .04em; line-height: 1; }
.carusel-corp h3 { margin-top: 12px; font-size: clamp(22px, 1.9vw, 26px); font-weight: 600; letter-spacing: -0.03em; }
.carusel-desc { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.carusel-jos { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.carusel-jos em { font-family: var(--font-head); font-style: normal; font-weight: 500; color: var(--muted); font-size: 13.5px; }
.carusel-mai {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); font-family: var(--font-head); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.carusel-card.is-on > a:hover .carusel-mai { background: var(--orange); border-color: var(--orange); color: var(--ink); }

.carusel-comenzi { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.carusel-btn {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(243,239,232,.03);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .6s var(--ease-arc);
}
.carusel-btn svg { width: 20px; height: 20px; }
.carusel-btn:hover { background: rgba(243,239,232,.08); border-color: rgba(243,239,232,.4); }
.carusel-btn:active { transform: scale(.94); }
.carusel-bara { position: relative; width: clamp(120px, 18vw, 220px); height: 1px; background: var(--line-2); overflow: hidden; }
.carusel-bara span { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--paper); transition: transform .9s var(--ease-arc); }
/* pe ecran lat săgețile stau de o parte și de alta a cardurilor, la mijlocul lor;
   jos rămâne doar bara care arată la al câtelea serviciu ești */
@media (min-width: 761px) {
  .carusel-btn {
    position: absolute; z-index: 20; top: calc(clamp(500px, 44vw, 580px) / 2 - 32px);
    width: 64px; height: 64px; background: rgba(10, 14, 21, .72);
  }
  .carusel-btn:hover { background: rgba(20, 28, 40, .9); }
  .carusel-btn[data-dir="-1"] { left: max(var(--gutter), calc(50% - 610px)); }
  .carusel-btn[data-dir="1"] { right: max(var(--gutter), calc(50% - 610px)); }
}
.nota-blog { margin-top: 56px; text-align: center; color: var(--muted); font-size: 15.5px; }
.nota-blog a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }

/* =========================================================
   LUCRĂRI
   ========================================================= */
.lucrari-cap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.lucrari-cap .lead { justify-self: end; }
.galerie {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(84px, 9.6vw, 140px);
  gap: clamp(10px, 1.2vw, 18px);
}
.g-item { position: relative; overflow: hidden; border-radius: 22px; background: var(--ink-3); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,21,.78) 0%, rgba(10,14,21,0) 46%); pointer-events: none; }
.g-item figcaption {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1;
  font-family: var(--font-head); font-size: 15px; font-weight: 400; color: var(--paper);
}
.g-item figcaption span { display: block; margin-bottom: 4px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.g-item:nth-child(1) { grid-column: 1 / 9; grid-row: span 4; }
.g-item:nth-child(2) { grid-column: 9 / 13; grid-row: span 4; }
.g-item:nth-child(3) { grid-column: 1 / 5; grid-row: span 3; }
.g-item:nth-child(4) { grid-column: 5 / 9; grid-row: span 3; }
.g-item:nth-child(5) { grid-column: 9 / 13; grid-row: span 6; }
.g-item:nth-child(6) { grid-column: 1 / 4; grid-row: span 3; }
.g-item:nth-child(7) { grid-column: 4 / 9; grid-row: span 3; }

.transformare { margin-top: clamp(96px, 12vw, 160px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.transformare-cap p { margin-top: 20px; color: var(--muted); max-width: 40ch; }

.ba-cadru {
  --pozitie: 50%;
  position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 24px; background: var(--ink-3);
  border: 1px solid var(--line);
}
.ba-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ba-clip { position: absolute; inset: 0; z-index: 2; clip-path: inset(0 calc(100% - var(--pozitie)) 0 0); }
.ba-tag {
  position: absolute; top: 16px; z-index: 3; padding: 7px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
}
.ba-tag--st { left: 16px; background: rgba(10,14,21,.86); color: var(--paper); }
.ba-tag--dr { right: 16px; background: var(--orange); color: var(--ink); }
.ba-linie { position: absolute; top: 0; bottom: 0; left: var(--pozitie); width: 2px; margin-left: -1px; z-index: 4; pointer-events: none; background: var(--paper); }
.ba-buton {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--ink);
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: scale .3s var(--ease);
}
.ba-buton svg { width: 22px; height: 22px; }
.ba-input {
  position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; padding: 0;
  appearance: none; -webkit-appearance: none; background: transparent; border: 0; opacity: 0;
  touch-action: pan-y; cursor: ew-resize;
}
.ba-input::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 700px; }
.ba-input::-moz-range-thumb { width: 56px; height: 700px; border: 0; border-radius: 0; background: transparent; }
.ba-input:active ~ .ba-linie .ba-buton { scale: 1.1; }
.ba-input:focus-visible ~ .ba-linie .ba-buton { outline: 3px solid var(--orange); outline-offset: 3px; }
.ba-legenda { margin-top: 16px; color: var(--faint); font-size: 14px; }

/* =========================================================
   CONSTRUIM AICI (cifre + zone)
   ========================================================= */
.aici { overflow: hidden; isolation: isolate; }
.aici-fundal { position: absolute; inset: 0; z-index: -1; }
.aici-fundal img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) brightness(.42) contrast(1.05); transform: scale(1.04); }
.aici-fundal::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,14,21,.92) 0%, rgba(10,14,21,.6) 55%, rgba(10,14,21,.75) 100%),
              linear-gradient(180deg, var(--ink) 0%, rgba(10,14,21,0) 18%, rgba(10,14,21,0) 82%, var(--ink) 100%);
}
.aici-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.aici-grid > div > p:not(.kicker) { margin-top: 26px; color: var(--muted); max-width: 44ch; font-size: 18px; }
.zone-lista { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; max-width: 520px; }
.zone-lista li { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; color: rgba(243,239,232,.86); background: rgba(10,14,21,.35); }
.cifre { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-2); }
.cifra { padding: 30px 0 32px; border-bottom: 1px solid var(--line-2); }
.cifra:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line-2); }
.cifra:nth-child(even) { padding-left: 32px; }
.cifra dt { font-family: var(--font-head); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cifra dd { margin-top: 10px; font-family: var(--font-head); font-weight: 700; font-size: clamp(56px, 7vw, 108px); line-height: .95; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.cifra--premiu dd { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.cifra--premiu a { transition: color .3s; }
.cifra--premiu a:hover { color: var(--sand); }
.cifra--premiu small { display: block; margin-top: 10px; font-family: var(--font-body); font-size: 14px; letter-spacing: 0; color: var(--faint); }

/* =========================================================
   PROCES
   ========================================================= */
.proces-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.proces-cap { position: sticky; top: 130px; }
.proces-cap > p:not(.kicker) { margin-top: 26px; color: var(--muted); max-width: 40ch; }
.pasi { border-top: 1px solid var(--line-2); }
.pas { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 36px 0 38px; border-bottom: 1px solid var(--line-2); }
.pas-nr { font-family: var(--font-head); font-weight: 700; font-size: 40px; letter-spacing: -0.04em; line-height: .9; color: var(--orange); }
.pas h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; }
.pas p { margin-top: 12px; color: var(--muted); max-width: 46ch; }

/* =========================================================
   TESTIMONIALE
   ========================================================= */
.testimoniale { background: var(--ink-2); }
.t-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(56px, 7vw, 88px); }
.t-card {
  display: flex; flex-direction: column; gap: 26px; padding: 30px 28px 26px;
  border-radius: 26px; background: var(--ink-3); border: 1px solid var(--line);
}
.t-card blockquote { font-family: var(--font-head); font-weight: 300; font-size: 18px; line-height: 1.5; letter-spacing: -0.01em; }
.t-card blockquote::before { content: "\201E"; display: block; font-family: var(--font-head); font-weight: 700; font-size: 48px; line-height: .5; color: var(--orange); margin-bottom: 14px; }
.t-clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.t-clamp.is-open { display: block; -webkit-line-clamp: unset; }
.t-more { align-self: flex-start; margin-top: -12px; font-family: var(--font-head); font-size: 13px; color: var(--sand); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.t-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-4); font-family: var(--font-head); font-size: 13px; color: var(--sand); }
.t-person { display: flex; flex-direction: column; line-height: 1.3; }
.t-person strong { font-family: var(--font-head); font-weight: 500; font-size: 15px; }
.t-person span { font-size: 13px; color: var(--faint); }
.t-jos { display: flex; justify-content: center; margin-top: 44px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { overflow: hidden; isolation: isolate; }
.contact-fundal { position: absolute; inset: 0; z-index: -1; }
.contact-fundal img { width: 100%; height: 100%; object-fit: cover; }
.contact-fundal::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,14,21,.94) 0%, rgba(10,14,21,.72) 50%, rgba(10,14,21,.55) 100%),
              linear-gradient(180deg, var(--ink) 0%, rgba(10,14,21,0) 22%, rgba(10,14,21,0) 70%, var(--ink) 100%);
}
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.contact-text > p:not(.kicker) { margin-top: 26px; color: rgba(243,239,232,.82); max-width: 44ch; font-size: 18px; }
.contact-date { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line-2); }
.contact-date dt { font-family: var(--font-head); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-date dd { font-family: var(--font-head); font-weight: 300; font-size: 17px; line-height: 1.5; }
.contact-date dd a { display: inline-flex; align-items: center; min-height: 32px; transition: color .3s; }
.contact-date dd a:hover { color: var(--sand); }
.contact-date dd span { color: var(--faint); font-size: 14px; margin-left: 6px; }
.contact-nota { margin-top: 48px; font-size: 11.5px; color: var(--faint); text-align: right; }

.contact-cutie { padding: 8px; border-radius: 34px; background: rgba(243,239,232,.04); border: 1px solid var(--line); }
.contact-form {
  padding: clamp(24px, 3vw, 40px); border-radius: 27px;
  background: rgba(14, 20, 29, .9); box-shadow: inset 0 1px 0 rgba(243,239,232,.06);
}
.form-titlu { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.04em; font-size: 28px; letter-spacing: -0.02em; margin-bottom: 26px; }
.field-honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; margin-bottom: 8px; font-family: var(--font-head); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field-optional { text-transform: none; letter-spacing: 0; color: var(--faint); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(243,239,232,.04); color: var(--paper);
  font-family: var(--font-body); font-size: 16px; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ABA79F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select option { background: var(--ink-3); color: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232,93,42,.16); background-color: rgba(243,239,232,.06); }
.field textarea { resize: vertical; min-height: 110px; }
.field-error { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: #FF8A75; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #FF8A75; box-shadow: 0 0 0 4px rgba(255,138,117,.12); }
.btn-block { width: 100%; margin-top: 8px; }
.btn .btn-label { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; transition: opacity .2s ease, filter .2s ease; }
.btn .btn-success {
  position: absolute; inset: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; filter: blur(2px); pointer-events: none; transition: opacity .2s ease, filter .2s ease;
}
.btn .btn-success .ico { width: 18px; height: 18px; }
.btn.is-success { background: #2FB36E; }
.btn.is-success .btn-label { opacity: 0; filter: blur(2px); }
.btn.is-success .btn-success { opacity: 1; filter: none; }
.form-legal { margin-top: 16px; font-size: 13px; color: var(--faint); }
.form-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form-note {
  margin-top: 16px; padding: 14px 18px; border-radius: 14px; font-size: 14.5px; font-weight: 600;
  background: rgba(232,93,42,.14); color: #FFB394;
  opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.form-note.visible { opacity: 1; transform: none; }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }
.form-note.is-error { background: rgba(255,138,117,.12); color: #FFB3A6; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .t-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .despre-grid, .aici-grid, .proces-grid, .faq-grid, .contact-grid, .transformare, .lucrari-cap { grid-template-columns: 1fr; }
  .lucrari-cap .lead { justify-self: start; }
  .despre-foto { max-width: 520px; }
  .motive { grid-template-columns: 1fr; gap: 0; }
  .motiv { padding: 28px 0 32px; }
  .proces-cap { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .section { padding-block: 96px; }
  .kicker { margin-bottom: 22px; }
  .titlu { font-size: clamp(31px, 8.6vw, 42px); }
  .titlu--mare { font-size: clamp(38px, 10.8vw, 52px); }
  .galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .g-item, .g-item:nth-child(n) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; border-radius: 18px; }
  .g-item:nth-child(1), .g-item:nth-child(7) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .g-item figcaption { left: 14px; right: 14px; bottom: 12px; font-size: 13.5px; }
  .ba-cadru { aspect-ratio: 4 / 3; }
  .ba-buton { width: 46px; height: 46px; }
  .carusel-scena { height: 500px; }
  .carusel-comenzi { margin-top: 28px; }
  .cifre { grid-template-columns: 1fr; }
  .cifra:nth-child(odd), .cifra:nth-child(even) { padding: 24px 0 26px; border-right: 0; }
  .pas { grid-template-columns: 64px 1fr; gap: 14px; padding: 28px 0 30px; }
  .pas-nr { font-size: 36px; }
  .t-grid { grid-template-columns: 1fr; }
  .faq-lista details p { padding-right: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-date { grid-template-columns: 1fr; gap: 22px; }
  .contact-cutie { border-radius: 28px; padding: 6px; }
  .contact-form { border-radius: 23px; }
  .contact-nota { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal a, .footer-cookie { display: inline-flex; align-items: center; min-height: 44px; }
  .wa-fab { right: 16px; bottom: 16px; }
  .wa-fab-icon { width: 50px; height: 50px; }
  .wa-fab-icon svg { width: 27px; height: 27px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; }
}
@media (max-width: 380px) {
  .hero-actions .btn { padding-left: 20px; font-size: 14px; }
  .contact-form .btn-block .btn-label { white-space: normal; }
}

/* cine a cerut din sistem mai puțină mișcare: totul apare direct, fără animații */
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero-stage, .carusel-card, .nav-links > *, .g-item img, .carusel-foto img { transition: none !important; }
}

