/* =========================================================
   Four V System — temă închisă, accent portocaliu solar
   ========================================================= */

:root {
  --bg: #050608;
  --bg-2: #0b0d11;
  --card: #111419;
  --card-2: #171b21;
  --text: #f5f5f7;
  --text-2: #9a9ca3;
  --text-3: #6b6e76;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --accent: #ff8a00;
  --sun-1: #ffb800;
  --sun-2: #ff6a00;
  --accent-soft: rgba(255, 138, 0, .12);
  --wa: #25d366;
  --radius: 28px;
  --radius-sm: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1160px;
  --brand-h: 96px;
  --ticker-h: 40px;
  --nav-h: 60px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent); color: #000; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--text-2); }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.grad {
  background: linear-gradient(90deg, #ffd24d, var(--sun-1) 40%, var(--sun-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h2 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 700; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  transition: transform .4s var(--ease), background .3s, box-shadow .4s var(--ease), color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; }
.btn--small { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #140a00; }
.btn--primary:hover { background: #ff9d26; box-shadow: 0 12px 34px rgba(255, 138, 0, .35); }
.btn--glass {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .22);
}
.btn--glass:hover { background: rgba(255, 255, 255, .2); }
.btn--wa { background: var(--wa); color: #03170a; }
.btn--wa:hover { box-shadow: 0 12px 34px rgba(37, 211, 102, .35); }
.btn--light { background: #fff; color: #111; }

.round {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .3s, transform .3s var(--ease), opacity .3s, border-color .3s;
}
.round:hover { background: var(--accent); border-color: var(--accent); color: #140a00; transform: scale(1.06); }
.round:disabled { opacity: .3; cursor: default; transform: none; background: rgba(0,0,0,.35); color: #fff; border-color: var(--line-2); }
.round svg { width: 20px; height: 20px; stroke-width: 2.2; }

/* ---------- Antet cu logo centrat ---------- */
.brand {
  position: relative;
  height: var(--brand-h);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand__logo { display: inline-flex; align-items: center; gap: 16px; }
.brand__mark {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  font-size: 20px; font-weight: 800; letter-spacing: -.04em;
  color: #140a00;
  background: radial-gradient(circle at 30% 30%, #ffd24d, var(--sun-1) 45%, var(--sun-2));
  box-shadow: 0 0 40px rgba(255, 138, 0, .35);
}
.brand__mark--sm { width: 36px; height: 36px; font-size: 13px; box-shadow: none; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-size: 34px; font-weight: 800; letter-spacing: .02em;
  background: linear-gradient(90deg, var(--sun-1), var(--sun-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__sub { margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .5em; color: #c9c9ce; }

/* ---------- Banda cu cifre ---------- */
.ticker {
  position: relative;
  height: var(--ticker-h);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, #e86a00, var(--accent) 50%, #f59a00);
  color: #1a0d00;
  overflow: hidden;
}
.ticker__items { display: flex; align-items: center; font-size: 15px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.ticker__items span { padding: 0 18px; }
.ticker__items span + span { border-left: 2px solid rgba(26, 13, 0, .55); }
.ticker__items b { font-variant-numeric: tabular-nums; }
.ticker::after {
  content: ""; position: absolute; inset: 0; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: translateX(-120%);
  animation: sheen 5s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(420%); } }

/* ---------- Hero: carusel ---------- */
.hero {
  position: relative;
  height: calc(100svh - var(--brand-h) - var(--ticker-h) - var(--nav-h));
  min-height: 500px;
  overflow: hidden;
  background: #000;
  color: #fff;
  isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.85) 100%),
    radial-gradient(ellipse at 50% 110%, rgba(255,106,0,.28), transparent 60%);
}
.hero__content {
  position: absolute; z-index: 3;
  left: 0; right: 0; bottom: 110px;
  padding: 0 24px;
  text-align: center;
}
.hero__title { font-size: clamp(42px, 7vw, 88px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes lineUp { to { transform: none; } }
.hero__eyebrow, .hero .hero__actions { opacity: 0; animation: fadeUp 1s var(--ease) forwards; }
.hero__eyebrow { animation-delay: .1s; color: #ffc15c; }
.hero .hero__actions { animation-delay: .45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

.hero__bar {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 22px max(24px, calc((100vw - var(--container)) / 2 + 24px));
}
.hero__caption { display: flex; flex-direction: column; min-height: 42px; justify-content: center; }
.hero__caption strong { font-size: 16px; }
.hero__caption span { font-size: 13px; color: rgba(255,255,255,.7); }
.hero__caption.swap { animation: capIn .8s var(--ease); }
@keyframes capIn { from { opacity: 0; transform: translateY(10px); } }
.hero__progress { display: flex; gap: 8px; min-width: 0; }
.hero__progress button {
  position: relative; width: 44px; height: 4px; padding: 0; border: 0; border-radius: 4px;
  background: rgba(255,255,255,.28); cursor: pointer; overflow: hidden;
}
.hero__progress button::before { content: ""; position: absolute; inset: -10px 0; }
.hero__progress i {
  position: absolute; inset: 0; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--sun-1), var(--sun-2));
}
.hero__progress .done i { transform: scaleX(1); }
.hero__progress .run i { animation: fill var(--dur, 6s) linear forwards; }
.hero.is-paused .hero__progress .run i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Meniu (lipit sus la scroll) ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: #121418;
  border-bottom: 1px solid var(--line);
  transition: background .4s, box-shadow .4s;
}
.nav.is-stuck {
  background: rgba(10, 11, 14, .78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.nav__inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav__logo, .nav__cta { opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.nav__logo { justify-self: start; transform: translateX(-8px); }
.nav__cta { justify-self: end; transform: translateX(8px); }
.nav.is-stuck .nav__logo, .nav.is-stuck .nav__cta { opacity: 1; pointer-events: auto; transform: none; }
.nav__links { display: flex; align-items: center; font-size: 16px; }
.nav__links a {
  position: relative;
  padding: 4px 26px;
  color: #c4c5ca;
  transition: color .25s;
}
.nav__links a + a { border-left: 2px solid rgba(255,255,255,.55); }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a::after {
  content: ""; position: absolute; left: 26px; right: 26px; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .4s var(--ease);
}
.nav__links a.is-active::after, .nav__links a:hover::after { transform: scaleX(1); }
.nav__burger { display: none; }

/* ---------- Secțiuni ---------- */
.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.section--gray { background: var(--bg-2); }
.section--dark { background: var(--bg); }
.section__head { margin-bottom: clamp(48px, 6vw, 76px); max-width: 800px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.subhead { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin: clamp(70px, 9vw, 110px) 0 32px; }

/* ---------- Despre ---------- */
.intro__statement { font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.12; max-width: 1000px; }
.intro__statement .w { opacity: .14; transition: opacity .25s linear; }
.intro__statement .w.on { opacity: 1; }
.intro__text { max-width: 720px; margin-top: 40px; font-size: 19px; color: var(--text-2); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(70px, 9vw, 110px); }
.stat { padding: 30px 0 0; border-top: 1px solid var(--line-2); }
.stat__num {
  font-size: clamp(40px, 5vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(180deg, #fff 30%, #8d8f96);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__amp { font-weight: 400; }
.stat__label { margin-top: 12px; color: var(--text-2); font-size: 15px; }

/* ---------- Atuuri ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(240px, auto); gap: 20px; }
.card {
  position: relative; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,138,0,.35); box-shadow: 0 30px 60px -25px rgba(255,106,0,.25); }
.card h3 { font-size: 28px; font-weight: 700; margin-top: auto; }
.card p { color: var(--text-2); }
.card--tall { grid-row: span 2; background: linear-gradient(165deg, var(--card) 40%, #2a1604); }
.card--tall h3 { font-size: 40px; }
.card--wide { grid-column: span 2; }
.card--dark { background: linear-gradient(135deg, #1d1307, var(--card) 70%); }
.card--dark::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,184,0,.4), transparent 70%);
  filter: blur(10px);
  animation: glow 6s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-40px, 40px) scale(1.2); } }
.card__icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sun-1), var(--sun-2));
  color: #140a00;
  margin-bottom: 20px;
}

/* ---------- Servicii ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.pillar__n { font-size: 14px; font-weight: 800; color: var(--accent); }
.pillar h3 { font-size: 24px; margin: 18px 0 10px; }
.pillar p { color: var(--text-2); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--card);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.service:hover { transform: translateY(-6px); border-color: rgba(255,138,0,.35); box-shadow: 0 30px 60px -25px rgba(255,106,0,.22); }
.service__icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 20px;
  transition: transform .6s var(--ease), background .4s, color .4s;
}
.service:hover .service__icon { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: #140a00; }
.service h4 { font-size: 21px; margin-bottom: 14px; }
.service ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.service li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 15px; }
.service li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sun-1), var(--sun-2));
}

/* ---------- Proiecte: carusel cu recomandări ---------- */
.carousel__ctrl { display: flex; gap: 10px; }
.carousel {
  --card-w: min(88vw, 1000px);
  position: relative;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px calc((100% - var(--card-w)) / 2) 20px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.project {
  flex: 0 0 var(--card-w);
  scroll-snap-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  opacity: .3;
  transform: scale(.94);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.project.is-active { opacity: 1; transform: none; }
.project__img { overflow: hidden; aspect-ratio: 4 / 3; height: 100%; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .project__img img { transform: scale(1.05); }
.project__body { padding: 36px; display: flex; flex-direction: column; gap: 10px; }
.project__meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-2); }
.tag { padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; color: #140a00; background: linear-gradient(90deg, var(--sun-1), var(--sun-2)); }
.project h3 { font-size: 34px; margin-top: 8px; }
.project__loc { color: var(--text-2); }
.project blockquote { margin: auto 0 0; padding-top: 20px; font-size: 17px; line-height: 1.5; color: var(--text); }
.project__who { font-size: 14px; color: var(--text-2); }
.project__who strong { color: var(--text); font-weight: 600; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.25); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.carousel__dots button.is-active { width: 28px; background: linear-gradient(90deg, var(--sun-1), var(--sun-2)); }

/* ---------- Harta proiectelor (doar desktop) ---------- */
.pmap {
  display: grid;
  grid-template-columns: 300px 1fr;
  height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.pmap__side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); }
.pmap__filters { display: flex; gap: 6px; padding: 16px; border-bottom: 1px solid var(--line); }
.pmap__filters button {
  flex: 1; padding: 8px 6px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.pmap__filters button:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.pmap__filters button.is-active { background: var(--accent); border-color: var(--accent); color: #140a00; }
.pmap__list { position: relative; list-style: none; margin: 0; padding: 8px; overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: #2a2d33 transparent; }
.pmap__list li { border-radius: 12px; }
.pmap__list li[hidden] { display: none; }
.pmap__list button {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border: 0; border-radius: 12px; background: transparent;
  color: var(--text); font: inherit; text-align: left; cursor: pointer;
  transition: background .25s;
}
.pmap__list button:hover, .pmap__list button.is-active { background: var(--card-2); }
.pmap__list img { width: 46px; height: 36px; border-radius: 8px; object-fit: cover; flex: none; }
.pmap__list strong { display: block; font-size: 15px; }
.pmap__list span { display: block; font-size: 12px; color: var(--text-2); }
.pmap__list em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.pmap__map { position: relative; background: #0b0d11; }

/* pin animat */
.pin { position: relative; }
.pin span {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffd24d, var(--accent));
  border: 2px solid #140a00;
  box-shadow: 0 0 0 4px rgba(255,138,0,.25), 0 4px 14px rgba(0,0,0,.6);
  transition: transform .3s var(--ease);
}
.pin::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0;
  animation: pinPulse 2.6s var(--ease) infinite;
}
.pin:hover span, .pin.is-active span { transform: scale(1.3); }
@keyframes pinPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

/* Leaflet în tema închisă */
.leaflet-container { font-family: inherit; background: #0b0d11; }
.leaflet-control-zoom a { background: var(--card-2) !important; color: var(--text) !important; border-color: var(--line) !important; }
.leaflet-control-zoom a:hover { background: var(--accent) !important; color: #140a00 !important; }
.leaflet-bar { border: 1px solid var(--line) !important; box-shadow: none !important; }
.leaflet-control-attribution { background: rgba(0,0,0,.55) !important; color: var(--text-3) !important; font-size: 10px; }
.leaflet-control-attribution a { color: var(--text-2) !important; }
.leaflet-popup-content-wrapper { background: var(--card-2); color: var(--text); border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,.5); padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: 220px !important; }
.leaflet-popup-tip { background: var(--card-2); }
.leaflet-popup-close-button { color: #fff !important; top: 6px !important; right: 6px !important; }
.pop img { width: 100%; height: 130px; object-fit: cover; }
.pop div { padding: 12px 14px 14px; }
.pop strong { display: block; font-size: 16px; }
.pop span { font-size: 13px; color: var(--text-2); }
.pop .tag { display: inline-block; margin-top: 8px; }

/* ---------- Toate proiectele: bandă care se derulează ---------- */
.marquee {
  display: grid; gap: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__row { overflow: hidden; }
.marquee__track {
  display: flex; gap: 16px; width: max-content;
  animation: marquee var(--speed, 50s) linear infinite;
}
.marquee__row--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
.tile {
  margin: 0;
  position: relative;
  flex: none;
  width: clamp(240px, 26vw, 360px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  background: #111;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9) brightness(.9); }
.tile:hover img { transform: scale(1.08); filter: saturate(1.1) brightness(1); }
.tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  display: flex; flex-direction: column;
}
.tile figcaption strong { font-size: 17px; }
.tile figcaption span { font-size: 13px; color: #c4c5ca; }

/* ---------- Video ---------- */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.video__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #111; border: 1px solid var(--line); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__caption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 6px 0; }
.video__caption strong { font-size: 19px; }
.video__caption span { font-size: 14px; color: var(--text-2); }

/* ---------- Viziune / Valori ---------- */
.vision { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.vision__text .h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 28px; }
.vision__text p:not(.eyebrow) { color: var(--text-2); font-size: 18px; margin-top: 16px; }
.values { position: sticky; top: calc(var(--nav-h) + 40px); }
.values__intro { color: var(--text-2); margin-bottom: 24px; }
.values__list { list-style: none; margin: 0; padding: 0; }
.values__list li {
  font-size: clamp(38px, 5vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1.15;
  color: #23262c; transition: color .5s; cursor: default;
}
.values__list li:hover, .values__list li.on { color: var(--text); }
.values__list li.on:last-child { color: var(--accent); }

/* ---------- Bandă CTA ---------- */
.cta-band { position: relative; padding: clamp(80px, 11vw, 140px) 0; text-align: center; color: #fff; overflow: hidden; background: #000; }
.cta-band::before {
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, #ff6a00, #ffb800, #ff3d00, #ffb800, #ff6a00);
  filter: blur(80px); opacity: .5;
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band__inner { position: relative; }
.cta-band h2 { font-size: clamp(36px, 6vw, 68px); font-weight: 800; }
.cta-band p { margin-top: 16px; font-size: 20px; color: rgba(255,255,255,.85); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; }
.contact__info { display: grid; gap: 14px; }
.info { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.info__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.info h4 { font-size: 15px; margin-bottom: 6px; }
.info a, .info p { display: block; font-size: 15px; color: var(--text-2); }
.info a { transition: color .2s; }
.info a:hover { color: var(--accent); }

.map { position: relative; margin-top: 24px; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); height: clamp(320px, 42vw, 460px); }
/* hartă în stil întunecat */
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(90%) hue-rotate(180deg) brightness(.95) contrast(.9); }
.map__open {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: #140a00;
  background: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: transform .4s var(--ease);
}
.map__open:hover { transform: translateY(-2px); }
.map__open svg { width: 18px; height: 18px; }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { display: none; }
.field { position: relative; display: block; }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit; font-size: 17px;
  color: var(--text);
  padding: 26px 16px 10px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #0a0c0f;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
  appearance: none;
}
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9ca3' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field select option { background: #111419; color: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,138,0,.15); }
.field > span {
  position: absolute; left: 17px; top: 18px;
  font-size: 17px; color: var(--text-3);
  pointer-events: none; transform-origin: left top;
  transition: transform .25s var(--ease), color .25s;
}
.field input:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:focus + span,
.field textarea:not(:placeholder-shown) + span,
.field > .field__static { transform: translateY(-10px) scale(.72); }
.field input:focus + span, .field textarea:focus + span { color: var(--accent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff5a5f; }

.btn__label { transition: opacity .2s; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(0,0,0,.25); border-top-color: #140a00; animation: spin .8s linear infinite; }
.btn.is-loading .btn__label { opacity: .7; }
.btn.is-loading .spinner { display: inline-block; }
.form__status { font-size: 15px; text-align: center; }
.form__status:empty { display: none; }
.form__status.ok { color: #34d17a; }
.form__status.err { color: #ff5a5f; }
.form__or { display: flex; align-items: center; gap: 14px; color: var(--text-3); font-size: 14px; }
.form__or::before, .form__or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

/* ---------- Footer ---------- */
.footer { background: #000; border-top: 1px solid var(--line); padding: 56px 0 40px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.brand__logo--sm { gap: 12px; }
.brand__logo--sm .brand__name { font-size: 22px; }
.brand__logo--sm .brand__sub { font-size: 10px; margin-top: 4px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; }
.footer__links a { padding: 2px 22px; color: #c4c5ca; transition: color .2s; }
.footer__links a + a { border-left: 2px solid rgba(255,255,255,.5); }
.footer__links a:hover { color: var(--accent); }
.footer__meta { font-size: 14px; color: var(--text-2); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; }
.footer__meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); }
.footer__copy { font-size: 13px; color: var(--text-3); }

/* ---------- WhatsApp flotant ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px rgba(37,211,102,.4);
  transform: scale(0);
  transition: transform .5s var(--ease);
}
.wa-float.show { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float__tip {
  position: absolute; right: 72px; white-space: nowrap;
  background: #fff; color: #111; font-size: 14px; font-weight: 600;
  padding: 8px 14px; border-radius: 10px;
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 24px;
  animation: fadeIn .3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 78vh; border-radius: var(--radius-sm); animation: zoomIn .5s var(--ease); }
.lightbox p { color: #fff; font-weight: 600; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { transform: scale(.9); opacity: 0; } }

/* ---------- Apariție la scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--tall { grid-row: auto; grid-column: span 2; }
  .services, .pillars { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .vision, .contact { grid-template-columns: 1fr; }
  .values { position: static; }
  .nav__links a { padding: 4px 16px; font-size: 15px; }
  .nav__links a::after { left: 16px; right: 16px; }
}

@media (max-width: 760px) {
  :root { --brand-h: 78px; --ticker-h: 36px; --nav-h: 56px; }
  .brand__mark { width: 46px; height: 46px; font-size: 16px; }
  .brand__mark--sm { width: 34px; height: 34px; font-size: 12px; }
  .brand__name { font-size: 26px; }
  .brand__sub { font-size: 11px; }
    .ticker__items { font-size: 12px; letter-spacing: .08em; }
  .ticker__items span { padding: 0 10px; }
  
  .hero__content { bottom: 120px; }
  .hero__bar { grid-template-columns: 1fr auto; grid-template-areas: "cap arrows" "prog prog"; gap: 14px; padding: 16px; }
  .hero__caption { grid-area: cap; }
  .hero__arrows { grid-area: arrows; }
  .hero__progress { grid-area: prog; }
  .hero__progress button { flex: 1 1 0; width: auto; min-width: 0; }

  .nav__logo { opacity: 1; pointer-events: auto; transform: none; }
  .nav__cta { opacity: 1; pointer-events: auto; transform: none; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(10, 11, 14, .97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 8px 24px 24px;
    font-size: 22px; font-weight: 600;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .35s, transform .45s var(--ease);
    border-bottom: 1px solid var(--line);
  }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 22px; }
  .nav__links a + a { border-left: 0; }
  .nav__links a::after { display: none; }
  .nav.menu-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__cta { grid-column: 3; }
  .nav__burger {
    grid-column: 4;
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 36px; height: 36px; background: none; border: 0; cursor: pointer; padding: 6px; color: #fff;
  }
  .nav__inner { grid-template-columns: auto 1fr auto auto; gap: 12px; }
  .nav__burger span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
  .nav.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .bento, .services, .pillars { grid-template-columns: 1fr; }
  .card--tall, .card--wide { grid-column: auto; }
  .project { grid-template-columns: 1fr; }
  .project__img { height: auto; }
  .project__body { padding: 28px; }
  .videos { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .carousel__ctrl { display: none; }
  .pmap-wrap { display: none; }
  .wa-float__tip { display: none; }
  .footer__links a { padding: 2px 12px; }
}

@media (max-width: 420px) {
  .nav__cta { display: none; }
  .brand__logo { gap: 12px; }
  .ticker__items span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
