/* Escape Solar · v3
   Temă „răsărit pe cer de noapte”: bleumarin adânc, gradient solar, accente verzi.
   Titluri: Plus Jakarta Sans · Text: Inter */

:root {
  --ink: #0A0F1C;
  --ink-2: #111A2E;
  --ink-3: #1A2540;
  --cream: #FAF7F0;
  --sand: #F1EADC;
  --white: #FFFFFF;
  --text: #0E1525;
  --muted: #586174;
  --muted-dark: rgba(255, 255, 255, .72);
  --line: #E7E0D2;
  --line-dark: rgba(255, 255, 255, .12);
  --sun-1: #FFD166;
  --sun-2: #FFA62B;
  --sun-3: #FF6B2C;
  --green: #22D38A;
  --green-d: #0B7F50;
  --grad-sun: linear-gradient(115deg, #FFD166 0%, #FFA62B 45%, #FF6B2C 100%);
  --grad-warm: linear-gradient(115deg, #D97706 0%, #C2410C 100%);
  --radius: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
  --gutter: 24px;
  --header-h: 76px;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg:not([class]) { width: 1.1em; height: 1.1em; flex: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .45em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
::selection { background: var(--sun-2); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun-2); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding: clamp(88px, 11vw, 150px) 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Elemente comune ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green-d); }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad-sun); }
.eyebrow--dark { color: var(--sun-1); }
.eyebrow--dot::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 138, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(34, 211, 138, 0); } }

.grad { background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.grad--warm { background-image: var(--grad-warm); }
.is-split .grad { background: none; -webkit-text-fill-color: currentColor; color: inherit; }
.is-split .grad .w__i { background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.is-split .grad--warm .w__i { background-image: var(--grad-warm); }
.nw { white-space: nowrap; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .2em .05em .18em; margin: -.2em -.05em -.18em; }
.w__i { display: inline-block; transform-origin: 0 100%; }

/* Butoane */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: box-shadow .4s var(--ease), background-color .3s, color .3s, border-color .3s, scale .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { scale: .97; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--sun { background: var(--grad-sun); color: #1C1205; box-shadow: 0 12px 32px -12px rgba(255, 120, 40, .7); }
.btn--sun::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--sun:hover::after { transform: translateX(120%); }
.btn--sun:hover { box-shadow: 0 18px 44px -12px rgba(255, 120, 40, .85); }
.btn--glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .26); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .45); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }

.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; padding-bottom: 4px; background: linear-gradient(var(--sun-2), var(--sun-2)) 0 100% / 100% 2px no-repeat; transition: background-size .5s var(--ease); }
.text-link svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.text-link:hover { background-size: 0 2px; background-position: 100% 100%; }
.text-link:hover svg { transform: translateX(4px); }

/* Textură fină pe secțiunile întunecate */
.grain::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Imagini cu efect de paralaxă */
.parallax { position: absolute; inset: 0; overflow: hidden; }
.parallax img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }

/* Bara de progres */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad-sun); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Antet ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 60; color: #fff; transition: transform .6s var(--ease), background-color .4s, color .4s, box-shadow .4s; }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.header.is-solid { background: rgba(250, 247, 240, .86); color: var(--text); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 rgba(14, 21, 37, .07); }
.header.is-hidden { transform: translateY(-100%); }
.menu-open .header { background: transparent; color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo__mark { width: 40px; height: 40px; overflow: visible; }
.logo__rays { transform-box: view-box; transform-origin: 20px 20px; animation: spin 30s linear infinite; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font: 800 1.38rem/1 var(--font-display); letter-spacing: .01em; }
.logo__text small { margin-top: 4px; padding-left: .12em; font: 600 .6rem/1 var(--font-body); letter-spacing: .52em; color: var(--sun-2); }
@keyframes spin { to { transform: rotate(360deg); } }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; font-size: .95rem; font-weight: 500; text-decoration: none; opacity: .86; transition: opacity .2s, background-color .2s; }
.nav a:hover { opacity: 1; background: rgba(128, 128, 128, .14); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 600; text-decoration: none; }
.header__phone svg { width: 18px; height: 18px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(128, 128, 128, .4); background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.menu-btn span { width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease); }
.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Meniu mobil */
.mnav { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; padding: 110px var(--gutter) 48px; background: var(--ink); color: #fff; overflow: hidden; visibility: hidden; clip-path: circle(0% at calc(100% - 46px) 38px); transition: clip-path .7s var(--ease), visibility 0s .7s; }
.mnav::before { content: ""; position: absolute; width: 80vmax; height: 80vmax; right: -40vmax; top: -40vmax; border-radius: 50%; background: radial-gradient(circle, rgba(255, 166, 43, .35), transparent 60%); pointer-events: none; }
.menu-open .mnav { visibility: visible; clip-path: circle(150% at calc(100% - 46px) 38px); transition: clip-path .8s var(--ease), visibility 0s; }
.mnav ul { position: relative; list-style: none; margin: 0; padding: 0; }
.mnav li { overflow: hidden; }
.mnav__link { display: block; padding: 4px 0; font: 700 clamp(2rem, 9.5vw, 3.2rem)/1.2 var(--font-display); letter-spacing: -.025em; text-decoration: none; transform: translateY(105%); transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 55ms + 120ms); }
.menu-open .mnav__link { transform: none; }
.mnav__foot { position: relative; display: grid; gap: 6px; margin-top: 40px; color: var(--muted-dark); opacity: 0; transition: opacity .5s .45s; }
.mnav__foot a { text-decoration: none; }
.menu-open .mnav__foot { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 60px) 0 clamp(80px, 9vw, 120px); background: var(--ink); color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 15, 28, .94) 0%, rgba(10, 15, 28, .74) 38%, rgba(10, 15, 28, .25) 72%, rgba(10, 15, 28, .08) 100%), linear-gradient(0deg, rgba(10, 15, 28, .96) 0%, rgba(10, 15, 28, 0) 48%), linear-gradient(180deg, rgba(10, 15, 28, .55) 0%, rgba(10, 15, 28, 0) 24%); }
.hero__glow { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -22vmax; top: -34vmax; border-radius: 50%; background: radial-gradient(circle, rgba(255, 190, 80, .55) 0%, rgba(255, 120, 40, .22) 32%, transparent 64%); mix-blend-mode: screen; pointer-events: none; animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate3d(-5vmax, 4vmax, 0) scale(1.1); } }
.hero__content { position: relative; z-index: 1; }
.hero__title { margin: 0 0 28px; font-size: clamp(2.6rem, 7.6vw, 6.8rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.hero__lead { max-width: 40ch; margin-bottom: 34px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted-dark); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 0; padding: 0; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .9rem; color: rgba(255, 255, 255, .85); }
.hero__chips b { font: 700 1.05rem/1 var(--font-display); color: #fff; }
.hero__chips svg { width: 16px; height: 16px; color: var(--green); }

.badge { position: absolute; z-index: 1; right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); bottom: clamp(90px, 10vw, 130px); width: 160px; height: 160px; display: grid; place-items: center; color: #fff; text-decoration: none; }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 20s linear infinite; }
.badge__ring text { font: 600 11px var(--font-body); letter-spacing: .3em; fill: currentColor; }
.badge__core { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--grad-sun); color: var(--ink); box-shadow: 0 0 44px rgba(255, 166, 43, .55); transition: transform .5s var(--ease); }
.badge__core svg { width: 24px; height: 24px; }
.badge:hover .badge__core { transform: scale(1.12); }

.hero__scroll { position: absolute; z-index: 1; left: 50%; bottom: 58px; display: flex; flex-direction: column; align-items: center; gap: 10px; transform: translateX(-50%); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.hero__scroll span { position: relative; width: 1px; height: 44px; overflow: hidden; background: rgba(255, 255, 255, .2); }
.hero__scroll span::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--sun-1); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Bandă cu servicii ---------- */
.marquee { position: relative; z-index: 5; width: 104vw; margin: -34px 0 0 -2vw; padding: 20px 0; overflow: hidden; transform: rotate(-2deg); background: var(--grad-sun); color: #1C1205; box-shadow: 0 24px 50px -24px rgba(255, 107, 44, .6); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 36s linear infinite; }
.marquee__track > * { margin-right: 34px; }
.marquee__track span { font: 700 clamp(1.25rem, 2.2vw, 1.9rem)/1.1 var(--font-display); letter-spacing: -.015em; white-space: nowrap; }
.marquee__track i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #1C1205; box-shadow: 0 0 0 5px rgba(28, 18, 5, .14); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Despre ---------- */
.about { padding-top: clamp(130px, 14vw, 190px); background: var(--cream); }
.about__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.statement { margin-bottom: 28px; font: 600 clamp(1.5rem, 2.7vw, 2.4rem)/1.28 var(--font-display); letter-spacing: -.02em; }
.about__body { max-width: 52ch; margin-bottom: 26px; font-size: 1.08rem; color: var(--muted); }
.about__media { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.float-tag { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--text); font-size: .88rem; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(64px, 8vw, 110px); }
.stat { position: relative; overflow: hidden; padding: 34px 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.stat::after { content: ""; position: absolute; right: -70px; top: -70px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 166, 43, .24), transparent 70%); pointer-events: none; }
.stat b { display: block; margin-bottom: 14px; font: 800 clamp(2.8rem, 5vw, 4.4rem)/1.05 var(--font-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat > span { display: block; max-width: 28ch; color: var(--muted); }
.stat--text b { font-size: clamp(2rem, 3.3vw, 2.9rem); }

/* ---------- Titluri de secțiune ---------- */
.sec-head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head > p:not(.eyebrow) { max-width: 56ch; font-size: 1.1rem; color: var(--muted); }
.sec-head--split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; max-width: none; }
.sec-head--split h2 { margin-bottom: 0; }

/* ---------- Servicii ---------- */
.services { background: var(--white); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(520px, 56vw, 660px); border-radius: var(--radius); color: #fff; background: var(--ink); }
.svc > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 15, 28, 0) 22%, rgba(10, 15, 28, .55) 52%, rgba(10, 15, 28, .94) 100%); }
.svc__body { padding: clamp(28px, 3.4vw, 44px); }
.svc__tag { display: inline-block; margin-bottom: 18px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
.svc h3 { margin-bottom: 14px; font-size: clamp(1.7rem, 2.7vw, 2.4rem); }
.svc p { max-width: 46ch; color: rgba(255, 255, 255, .84); }
.svc__link { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-weight: 600; color: var(--sun-1); text-decoration: none; }
.svc__link svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.svc__link:hover svg { transform: translateX(5px); }

/* ---------- Proiecte ---------- */
.projects { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora::before, .aurora::after { content: ""; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.aurora::before { top: -32vmax; right: -22vmax; background: radial-gradient(circle, rgba(255, 140, 40, .3), transparent 60%); }
.aurora::after { bottom: -38vmax; left: -26vmax; background: radial-gradient(circle, rgba(34, 211, 138, .16), transparent 60%); animation-delay: -9s; }
@keyframes drift { to { transform: translate3d(-6vmax, 5vmax, 0) scale(1.1); } }
.projects__pin { position: relative; z-index: 1; padding: clamp(96px, 11vw, 150px) 0 clamp(72px, 8vw, 110px); }
.projects__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(40px, 5vw, 64px); }
.projects__head h2 { max-width: 15ch; margin: 0; }
.projects__intro { max-width: 38ch; margin: 0; color: var(--muted-dark); }
.projects__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.projects__viewport::-webkit-scrollbar { display: none; }
.projects__track { list-style: none; display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 28px); width: max-content; margin: 0; padding: 10px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 48px; }
.proj { flex: none; width: clamp(280px, 32vw, 460px); scroll-snap-align: start; }
.proj__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; cursor: zoom-in; border-radius: 22px; }
.proj__img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--ink-2); }
.proj__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.proj__zoom { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-sun); color: var(--ink); opacity: 0; scale: .6; transition: opacity .4s var(--ease), scale .5s var(--ease); }
.proj__zoom svg { width: 20px; height: 20px; }
.proj__btn:hover .proj__img img, .proj__btn:focus-visible .proj__img img { transform: scale(1.07); }
.proj__btn:hover .proj__zoom, .proj__btn:focus-visible .proj__zoom { opacity: 1; scale: 1; }
.proj__meta { display: flex; align-items: center; gap: 12px; margin: 18px 0 8px; }
.proj__num { font: 700 .9rem/1 var(--font-display); color: var(--sun-1); }
.tag { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .24); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.proj__title { display: block; font: 700 1.25rem/1.25 var(--font-display); letter-spacing: -.01em; }
.proj__desc { display: block; margin-top: 6px; font-size: .95rem; color: var(--muted-dark); }
.proj__cta { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; aspect-ratio: 4 / 3; padding: clamp(24px, 2.6vw, 36px); border-radius: 20px; background: var(--grad-sun); color: var(--ink); }
.proj__cta .proj__num { color: rgba(28, 18, 5, .7); }
.proj__cta-title { margin: 0; font: 700 clamp(1.35rem, 2vw, 1.8rem)/1.2 var(--font-display); letter-spacing: -.02em; }
.proj__cta .btn { align-self: flex-start; }
.projects__foot { display: flex; align-items: center; gap: 24px; }
.projects__bar { flex: 1; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .14); }
.projects__bar span { display: block; height: 100%; background: var(--grad-sun); transform-origin: 0 50%; transform: scaleX(0); }
.projects__hint { margin: 0; font-size: .85rem; color: var(--muted-dark); white-space: nowrap; }
.hint-pin { display: none; }
.projects__nav { display: flex; gap: 10px; }
.projects__nav button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background-color .25s, border-color .25s; }
.projects__nav button:hover { background: rgba(255, 255, 255, .14); border-color: var(--sun-2); }
.projects__nav svg { width: 20px; height: 20px; }
/* Pe desktop, banda cu proiecte se fixează și se derulează pe orizontală */
.projects.is-pinned .projects__viewport { overflow: hidden; scroll-snap-type: none; }
.projects.is-pinned .proj { width: min(32vw, 56vh); }
.projects.is-pinned .proj:nth-child(even) { margin-top: 40px; }
.projects.is-pinned .hint-pin { display: inline; }
.projects.is-pinned .hint-swipe, .projects.is-pinned .projects__nav { display: none; }

/* ---------- De ce noi ---------- */
.why { background: var(--cream); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(230px, auto); gap: 20px; }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; margin: 0; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 166, 43, .18), transparent 60%); transition: opacity .4s; }
.tile:hover { translate: 0 -4px; box-shadow: 0 26px 50px -26px rgba(14, 21, 37, .3); }
.tile:hover::before { opacity: 1; }
.tile__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: auto; border-radius: 16px; background: var(--sand); color: var(--ink); }
.tile__ic svg { width: 24px; height: 24px; }
.tile h3 { margin: 30px 0 8px; }
.tile p { margin: 0; font-size: .98rem; color: var(--muted); }
.tile--photo { grid-column: span 2; grid-row: span 2; justify-content: flex-end; min-height: 500px; padding: 0; border: 0; color: #fff; background: var(--ink); }
.tile--photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 15, 28, 0) 40%, rgba(10, 15, 28, .88) 100%); }
.tile--photo:hover img { transform: scale(1.04); }
.tile--photo figcaption { padding: clamp(26px, 3vw, 38px); }
.tile--photo b { display: block; max-width: 22ch; font: 700 clamp(1.4rem, 2.2vw, 2rem)/1.2 var(--font-display); letter-spacing: -.02em; }
.tile__kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.tile--sun { border: 0; background: var(--grad-sun); color: #1C1205; }
.tile--sun p { color: rgba(28, 18, 5, .78); }
.tile--sun .tile__ic { background: rgba(255, 255, 255, .4); }

/* ---------- Proces ---------- */
.process { background: var(--white); }
.process__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.process__side { position: sticky; top: calc(var(--header-h) + 40px); }
.process__side > p:not(.eyebrow) { max-width: 40ch; margin-bottom: 32px; font-size: 1.1rem; color: var(--muted); }
.steps-wrap { position: relative; }
.steps-line { position: absolute; left: 31px; top: 34px; bottom: 34px; width: 2px; border-radius: 2px; overflow: hidden; background: var(--line); }
.steps-line span { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sun-1), var(--sun-3)); transform-origin: 50% 0; }
.steps { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 26px; padding: 22px 0; transition: opacity .6s var(--ease); }
.step__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--grad-sun); color: #1C1205; font: 700 1.05rem/1 var(--font-display); box-shadow: 0 0 0 8px var(--white); transition: background .5s, color .5s, scale .6s var(--ease); }
.step h3 { margin: 8px 0 8px; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.step p { max-width: 46ch; margin: 0; color: var(--muted); }
.anim .step:not(.is-active) { opacity: .4; }
.anim .step:not(.is-active) .step__dot { background: var(--sand); color: var(--muted); scale: .86; }

/* ---------- Citat ---------- */
.quote { position: relative; isolation: isolate; overflow: hidden; padding: clamp(120px, 15vw, 210px) 0; text-align: center; background: var(--ink); color: #fff; }
.quote > .parallax, .contact > .parallax { z-index: -2; }
.quote::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(10, 15, 28, .55) 0%, rgba(10, 15, 28, .92) 75%), linear-gradient(180deg, rgba(10, 15, 28, .5), rgba(10, 15, 28, .8)); }
.quote__sun { width: 70px; height: 70px; margin: 0 auto 30px; overflow: visible; filter: drop-shadow(0 0 24px rgba(255, 166, 43, .6)); }
.quote blockquote { max-width: 1000px; margin: 0 auto; }
.quote__text { margin-bottom: 24px; font: 700 clamp(1.7rem, 4vw, 3.5rem)/1.18 var(--font-display); letter-spacing: -.025em; }
.quote cite { font-size: .85rem; font-style: normal; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sun-1); }
.quote__sub { max-width: 54ch; margin: 40px auto 0; font-size: 1.08rem; color: var(--muted-dark); }

/* ---------- Întrebări ---------- */
.faq { background: var(--cream); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__side > p:not(.eyebrow) { color: var(--muted); }
.faq__side a { font-weight: 600; color: var(--green-d); }
.faq__list { display: grid; gap: 14px; }
.faq__item { border-radius: 20px; background: var(--white); border: 1px solid var(--line); transition: border-color .3s, box-shadow .5s var(--ease); }
.faq__item.is-open { border-color: transparent; box-shadow: 0 22px 50px -28px rgba(14, 21, 37, .35); }
.faq__item h3 { margin: 0; font-size: inherit; letter-spacing: normal; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 24px 26px; border: 0; background: none; text-align: left; cursor: pointer; font: 600 clamp(1.05rem, 1.5vw, 1.22rem)/1.35 var(--font-display); letter-spacing: -.01em; color: var(--text); border-radius: 20px; }
.faq__icon { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--sand); transition: background .3s, transform .5s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.is-open .faq__icon { background: var(--grad-sun); transform: rotate(180deg); }
.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__a > div { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .5s; }
.is-open .faq__a { grid-template-rows: 1fr; }
.is-open .faq__a > div { visibility: visible; transition-delay: 0s; }
.faq__a p { margin: 0; padding: 0 26px 26px; color: var(--muted); }
.faq__a a { font-weight: 600; color: var(--green-d); }

/* ---------- Contact ---------- */
.contact { position: relative; isolation: isolate; overflow: hidden; padding: clamp(100px, 12vw, 160px) 0; background: var(--ink); color: #fff; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 15, 28, .97) 0%, rgba(10, 15, 28, .88) 45%, rgba(10, 15, 28, .62) 100%); }
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.contact__lead { max-width: 44ch; font-size: 1.1rem; color: var(--muted-dark); }
.contact__list { list-style: none; display: grid; gap: 12px; margin: 34px 0 0; padding: 0; }
.contact__list a { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); text-decoration: none; transition: background-color .3s, border-color .3s, translate .4s var(--ease); }
.contact__list a:hover { translate: 4px 0; background: rgba(255, 255, 255, .1); border-color: rgba(255, 166, 43, .55); }
.contact__ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-sun); color: var(--ink); }
.contact__ic svg { width: 20px; height: 20px; }
.contact__txt { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact__txt small { display: block; margin-bottom: 2px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }

.form { display: grid; gap: 18px; padding: clamp(26px, 3.6vw, 44px); border-radius: 28px; background: var(--white); color: var(--text); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
.form__head h3 { margin: 0 0 6px; font-size: 1.5rem; }
.form__head p { margin: 0; font-size: .95rem; color: var(--muted); }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font-size: .88rem; font-weight: 600; }
.field legend { margin-bottom: 8px; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream); font: inherit; font-size: 16px; color: var(--text); transition: border-color .25s, box-shadow .25s, background-color .25s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sun-2); background: #fff; box-shadow: 0 0 0 4px rgba(255, 166, 43, .22); }
.field .is-invalid { border-color: #DC2626; background: #FEF2F2; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .95rem; font-weight: 600; transition: background-color .25s, border-color .25s, color .25s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--sun-2); outline-offset: 2px; }
.form__note { margin: 0; text-align: center; font-size: .85rem; color: var(--muted); }
.form__note.is-error { color: #DC2626; }
.form__note.is-ok { color: var(--green-d); }

/* ---------- Subsol ---------- */
.footer { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 110px) 0 28px; background: var(--ink); color: rgba(255, 255, 255, .7); font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer .logo { margin-bottom: 18px; color: #fff; }
.footer__brand p { max-width: 36ch; }
.footer__title { margin-bottom: 16px; font: 700 1rem/1 var(--font-display); color: #fff; }
.footer ul { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--sun-1); }
.footer__mega { margin: 36px 0 18px; font: 800 10.6vw/.9 var(--font-display); letter-spacing: -.04em; text-align: center; white-space: nowrap; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; user-select: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .85rem; }
.footer__bottom p { margin: 0; }

/* ---------- Bară fixă pe mobil ---------- */
.mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: none; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(10, 15, 28, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); transform: translateY(160%); transition: transform .6s var(--ease); }
.mbar.is-visible { transform: none; }
.menu-open .mbar { transform: translateY(160%); }
.mbar .btn { flex: 1; min-height: 48px; padding: 0 14px; font-size: .95rem; }

/* ---------- Galerie foto ---------- */
.lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: rgba(6, 9, 18, .95); color: #fff; }
.lb[open] { display: grid; place-items: center; animation: lb-in .45s var(--ease); }
.lb::backdrop { background: transparent; }
@keyframes lb-in { from { opacity: 0; } }
.lb__fig { display: grid; justify-items: center; gap: 16px; max-width: 100%; margin: 0; padding: 72px 88px 32px; }
.lb__fig img { width: auto; height: auto; max-width: min(1400px, 100%); max-height: calc(100vh - 170px); border-radius: 16px; object-fit: contain; }
.lb figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 18px; text-align: center; font: 600 1.15rem/1.3 var(--font-display); }
.lb figcaption span:last-child { font: 500 .9rem/1 var(--font-body); color: var(--muted-dark); }
.lb__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background-color .2s; }
.lb__btn:hover { background: rgba(255, 255, 255, .18); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb__next { right: 18px; top: 50%; translate: 0 -50%; }

/* ---------- Ecrane mai mici ---------- */
@media (max-width: 1180px) {
  .header__phone span { display: none; }
  .nav a { padding: 10px 11px; }
}
@media (max-width: 1024px) {
  .badge { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--photo { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
  .bento .tile:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav, .header__phone, .header__actions .btn { display: none; }
  .header__actions { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .about__grid, .process__grid, .faq__grid, .contact__grid, .sec-head--split { grid-template-columns: 1fr; }
  .sec-head--split { gap: 18px; }
  .about__media { aspect-ratio: 4 / 3; }
  .process__side, .faq__side { position: static; }
  .projects__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; --header-h: 68px; }
  body { font-size: 16px; }
  .hero { padding-bottom: 96px; }
  .hero__bg img { object-position: 62% 40%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(10, 15, 28, .6) 0%, rgba(10, 15, 28, .35) 28%, rgba(10, 15, 28, .82) 60%, rgba(10, 15, 28, .97) 100%); }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__chips { margin-top: 32px; }
  .hero__scroll { display: none; }
  .marquee { padding: 16px 0; }
  .stats, .svc-grid, .bento, .field-row, .footer__top { grid-template-columns: 1fr; }
  .stat { padding: 28px 26px; }
  .svc { min-height: 500px; }
  .tile--photo { min-height: 360px; }
  .proj { width: 80vw; }
  .projects__foot { gap: 16px; }
  .projects__hint { display: none; }
  .step { grid-template-columns: 52px 1fr; gap: 18px; padding: 18px 0; }
  .step__dot { width: 52px; height: 52px; font-size: .95rem; }
  .steps-line { left: 25px; }
  .mbar { display: flex; }
  .footer { padding-bottom: 110px; }
  .lb__fig { padding: 72px 12px 100px; }
  .lb__prev, .lb__next { top: auto; bottom: 24px; translate: none; }
  .lb__prev { left: calc(50% - 64px); }
  .lb__next { right: calc(50% - 64px); }
}

/* Fără animații pentru cine le-a dezactivat din sistem */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
