
/* Self-hosted fonts (no external render-blocking requests) */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/assets/fonts/ibmplexmono-400-ext-ro.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/assets/fonts/ibmplexmono-400-ro.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('/assets/fonts/ibmplexmono-600-ext-ro.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('/assets/fonts/ibmplexmono-600-ro.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url('/assets/fonts/manrope-400-ext-ro.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url('/assets/fonts/manrope-400-ro.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('/assets/fonts/spacegrotesk-600-ext-ro.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('/assets/fonts/spacegrotesk-600-ro.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('/assets/fonts/spacegrotesk-700-ext-ro.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('/assets/fonts/spacegrotesk-700-ro.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ══════════════════════════════════════════════════════════════
   ACOPERIȘ SIGUR — reparații și acoperișuri noi
   Design system: premium, minimalist, arhitectural
   ══════════════════════════════════════════════════════════════ */

:root {
  --ink: #13171a;
  --ink-soft: #3c4348;
  --gray: #5f676c;
  --paper: #ffffff;
  --mist: #f4f6f4;
  --line: #e4e8e4;
  --green: #2ba331;
  --green-dark: #1e7d25;
  --green-darker: #155a1b;
  --green-tint: #e9f6ea;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -32px rgba(19, 23, 26, .25);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
/* previne zoom iOS la focus */
input, select, textarea, button { font-size: 16px; }

.container { width: min(1180px, 92vw); margin-inline: auto; }

/* Anchor offset sub headerul fix */
section[id] { scroll-margin-top: 90px; }

/* ── Skip link (vizibil doar la focus) ─────────────────────── */
.skip {
  position: fixed; top: -100px; left: 1rem; z-index: 3000;
  background: var(--ink); color: #fff; font-weight: 700; font-size: .92rem;
  padding: .8rem 1.3rem; border-radius: 999px; transition: top .18s ease;
}
.skip:focus-visible { top: 1rem; outline: 2px solid #fff; outline-offset: 2px; }

/* ── Tipografie ─────────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
.h-display { font-size: clamp(2.5rem, 6.2vw, 4.4rem); }
.h-section  { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.h-card     { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
.lead       { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); }

/* Etichete de planșă: mono, încadrate, ca notația de desen tehnic */
.label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--green-dark);
  border: 1px solid currentColor; border-radius: 4px;
  padding: .42rem .8rem .34rem; margin-bottom: 1.4rem;
}
.label .idx { opacity: 1; color: #1e7d25; }

/* ── Butoane ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 1rem 1.7rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
/* contrast: alb pe --green-dark = 4.6:1 (AA) */
.btn-primary { background: var(--green-dark); color: #fff; box-shadow: 0 14px 30px -14px rgba(30,125,37,.6); }
.btn-primary:hover { background: var(--green-darker); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-wa { background: #25d366; color: #08301a; }
.btn-wa:hover { background: #1fb959; transform: translateY(-2px); }

/* ── Header plutitor compact, bară întunecată permanentă ───── */
.header {
  position: fixed; top: 14px; left: 50%; right: auto; z-index: 90;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  height: 60px; border-radius: 16px;
  display: flex; align-items: center;
  background: rgba(19,23,26,.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 44px -20px rgba(0,0,0,.6);
  transition: transform .25s ease, box-shadow .25s ease;
}
.header.scrolled {
  background: #13171a;
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.55);
  transform: translateX(-50%) scale(.985);
}
.header .container { display: flex; align-items: center; gap: 1.6rem; padding: 0 clamp(1.1rem, 3vw, 2.2rem); }
.brand { display: flex; align-items: center; min-width: 44px; min-height: 46px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 2rem; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.66); transition: color .15s; }
.nav a[hidden] { display: none; }
.nav a:hover { color: #fff; }
.header-cta { margin-left: .6rem; padding: .7rem 1.3rem; font-size: .92rem; }
.burger { display: none; margin-left: auto; background: none; border: 0; width: 48px; height: 48px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; transition: .2s; }
.header.menu-open .nav {
  background: #13171a;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.header.menu-open .nav a { color: rgba(255,255,255,.85); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background:
    linear-gradient(180deg, rgba(10,14,11,.55) 0%, rgba(10,14,11,.72) 55%, rgba(10,14,11,.92) 100%),
    linear-gradient(115deg, #17211a 0%, #101613 45%, #0c110d 100%);
  color: #fff; overflow: hidden;
  padding: 140px 0 0;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { max-width: 15ch; }
.hero .lead { color: #cfd8d0; max-width: 46ch; margin-top: 1.3rem; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.5rem;
  font-size: .92rem; font-weight: 600; color: #aeb9b0;
}
.trust-row span { display: inline-flex; align-items: center; gap: .5rem; }
.trust-row svg { flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.hero-stats {
  position: relative; z-index: 2;
  margin-top: clamp(3rem, 7vh, 5rem);
  border-top: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(4px);
}
.hero-stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: 1.6rem 0;
}
.stat b {
  display: block; font-family: var(--mono); font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.04em;
}
.stat b em { color: var(--green); font-style: normal; }
.stat span { font-size: .85rem; color: #9faba2; }

/* Hero: planșa tehnică din fundal (fade-in doar cu JS) */
.hero-plan { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.js .hero-plan { opacity: 0; transition: opacity 1.4s ease .3s; }
.js body.loaded .hero-plan { opacity: 1; }

/* Hero: ștampilă + adnotare de planșă */
.stamp-hero {
  display: inline-block; transform: rotate(-4deg);
  font-family: var(--mono); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; text-align: center; line-height: 1.6;
  color: #ecf8ed; border: 2px solid rgba(142,226,148,.9); border-radius: 6px;
  padding: .65rem 1.15rem .5rem; margin-bottom: 1.8rem;
  background: rgba(43,163,49,.10);
  box-shadow: inset 0 0 0 1px rgba(142,226,148,.22);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='r'%3E%3CfeTurbulence baseFrequency='0.55' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.5 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23r)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='r'%3E%3CfeTurbulence baseFrequency='0.55' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.5 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23r)'/%3E%3C/svg%3E");
  mask-size: 150px;
}
.stamp-hero b { display: block; font-size: .95rem; letter-spacing: .2em; color: #8ee294; }

/* adnotare mână-liberă, ca nota proiectantului pe planșă */
.anno {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--mono); font-size: .82rem; letter-spacing: .04em;
  color: #a4d9aa; margin: 1.2rem 0 0; transform: rotate(-.6deg);
}
.anno svg { flex: none; }
.anno u { text-decoration-color: rgba(142,226,148,.6); text-underline-offset: 4px; }

/* Sublinierea mână-liberă sub cuvântul-cheie */
.scribble { position: relative; white-space: nowrap; }
.scribble svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; }

/* ── Secțiuni generice ──────────────────────────────────────── */
.section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section.mist { background: var(--mist); }
.section.dark { background: #10150f; color: #fff; }
.section.dark .lead { color: #b9c4bb; }
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head .lead { margin-top: 1rem; }

/* Numerale mari de planșă pe secțiuni (desktop) */
.sheet-num {
  position: absolute; top: 3.2rem; right: max(2vw, 1.4rem); z-index: 1;
  font-family: var(--mono); font-weight: 600;
  font-size: clamp(5rem, 11vw, 9.5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(19,23,26,.10);
  user-select: none; pointer-events: none;
}
.section.dark .sheet-num { -webkit-text-stroke-color: rgba(255,255,255,.12); }
.section.mist .sheet-num { -webkit-text-stroke-color: rgba(19,23,26,.12); }

/* Linii de cotă (dimension lines) */
.dimline {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em;
  color: var(--gray); text-transform: uppercase;
}
.dimline::before, .dimline::after {
  content: ""; height: 1px; flex: 1; max-width: 64px;
  background: currentColor; opacity: .55; position: relative;
}
.dimline i { font-style: normal; color: var(--ink); }
.section.dark .dimline, .hero .dimline { color: #93a596; }
.section.dark .dimline i, .hero .dimline i { color: #fff; }

/* Ștampila de recepție */
.stamp {
  display: inline-block; font-family: var(--mono); font-weight: 600;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  border: 2px solid currentColor; border-radius: 6px; padding: .45rem .85rem;
  transform: rotate(-6deg); opacity: .8;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='r'%3E%3CfeTurbulence baseFrequency='0.6' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.6 -0.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23r)'/%3E%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='r'%3E%3CfeTurbulence baseFrequency='0.6' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.6 -0.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23r)'/%3E%3E");
  mask-size: 130px;
}
.stamp-green { color: var(--green); }

/* ── Despre ─────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-points { display: grid; gap: 1rem; margin-top: 1.8rem; }
.about-point { display: flex; gap: 1rem; align-items: flex-start; }
.about-point .ico {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: var(--green-tint); color: var(--green-dark);
  display: grid; place-items: center;
}
.about-point p { color: var(--ink-soft); font-size: .98rem; }
.about-point b { display: block; color: var(--ink); }
.about-visual {
  position: relative; aspect-ratio: 4/4.6; border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(23,33,26,.35), rgba(12,17,13,.75)),
    linear-gradient(135deg, #33443a, #141d17 60%, #0e140f);
  overflow: hidden; box-shadow: var(--shadow);
}

/* fotografii reale în sloturi */
.photo-slot { position: relative; overflow: hidden; }
.photo-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-card.has-photo { background: none; }

/* ── Fondator ───────────────────────────────────────────────── */
.founder-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.founder-photo {
  aspect-ratio: 3/3.6; border-radius: var(--radius);
  background: linear-gradient(150deg, #243428, #10160f 70%);
  box-shadow: var(--shadow);
}
.founder-quote {
  margin-top: 1.6rem; padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--green); background: var(--mist);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft); font-style: italic;
}

/* ── Servicii: listă editorială (10 etape) ─────────────────── */
.stages-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 6vw, 5.5rem); margin-top: 3rem; }
.st-item {
  display: flex; gap: 1.5rem; align-items: baseline;
  padding: 1.55rem 0; border-top: 1px solid var(--line);
}
.st-num {
  display: inline-block;
  font-family: var(--mono); font-weight: 600; font-size: 2.3rem; line-height: 1;
  letter-spacing: -.04em; color: var(--green-dark); min-width: 3.3rem; flex: none;
  transition: transform .3s ease, color .3s ease;
}
.st-item:hover .st-num { transform: translateX(6px); }
.st-item b { font-size: 1.22rem; letter-spacing: -.01em; }
.st-item p { color: var(--gray); font-size: .95rem; margin-top: .3rem; line-height: 1.55; }

/* ── Șantiere active ────────────────────────────────────────── */
.sites-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.site-card {
  border-radius: var(--radius); overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(19,23,26,.35);
  will-change: transform;
}
.site-card:hover { transform: translateY(-6px) rotate(-.4deg); }
.site-photo { aspect-ratio: 16/10; background: linear-gradient(140deg, #2b3d31, #121a14 65%); position: relative; }
.site-status {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  font-family: var(--mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  background: rgba(8,12,9,.72); color: #8ee294; border: 1px solid rgba(142,226,148,.5);
  padding: .4rem .7rem; border-radius: 4px; backdrop-filter: blur(4px);
}
.site-body { padding: 1.3rem 1.4rem 1.5rem; }
.site-loc { display: flex; justify-content: space-between; align-items: center; font-size: .83rem; color: var(--gray); font-weight: 600; }
.progress { margin-top: 1rem; }
.progress-bar { height: 8px; border-radius: 99px; background: var(--mist); overflow: hidden; }
.progress-bar i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--green), #58c25e);
  width: 0 !important; transition: width 1.3s cubic-bezier(.25,.8,.3,1);
}
.progress.in .progress-bar i { width: var(--w) !important; }
.progress-meta { display: flex; justify-content: space-between; font-size: .82rem; color: var(--gray); margin-top: .5rem; font-weight: 600; }

/* ── Proiecte ───────────────────────────────────────────────── */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.project-card {
  border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/4.4;
  display: flex; align-items: flex-end; color: #fff;
  background: linear-gradient(165deg, #31443a, #10160f 62%);
  transition: transform .2s ease;
  will-change: transform;
}
.project-card:hover { transform: translateY(-8px); }
.project-card:hover .bg { background: linear-gradient(180deg, transparent 10%, rgba(6,10,7,.92) 100%); }
.project-card .bg { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6,10,7,.88) 100%); }
.project-card .stamp { position: absolute; top: 1.1rem; right: 1rem; z-index: 3; }
.project-info { position: relative; padding: 1.4rem; width: 100%; }
.project-info .tags { display: flex; gap: .45rem; margin-bottom: .7rem; flex-wrap: wrap; }
/* tag peste foto: fundal închis solid pentru contrast */
.tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  padding: .32rem .7rem; border-radius: 999px;
  background: rgba(19,23,26,.85); border: 1px solid rgba(255,255,255,.2);
}
.project-info .h-card { color: #fff; }
.project-info p { font-size: .87rem; color: #c2cdc4; margin-top: .35rem; }
.project-cta { display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem; font-size: .88rem; font-weight: 700; color: #7fd585; }

/* ── Cum lucrăm: 8 pași (timeline) ─────────────────────────── */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: proc; }
.process-item {
  background: var(--paper); border-radius: var(--radius); padding: 1.6rem 1.4rem;
  border: 1px solid var(--line); position: relative;
}
/* Cifrele — etichete de detaliu, numerotare ca pe deviz */
.process-item::before {
  counter-increment: proc; content: counter(proc, decimal-leading-zero);
  display: inline-block; font-family: var(--mono); font-weight: 600;
  font-size: 1.5rem; letter-spacing: -.03em;
  color: var(--green-dark); opacity: .9;
  border: 1px solid var(--green-dark); border-radius: 4px;
  padding: .25rem .55rem .15rem; margin-bottom: 1rem;
}
.process-item b { display: block; margin-bottom: .45rem; }
.process-item p { font-size: .9rem; color: var(--gray); }

/* ── De ce noi: 5 temeri ───────────────────────────────────── */
.fears { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.fear {
  display: flex; gap: 1.1rem; padding: 1.5rem 1.6rem;
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}
.fear:last-child { grid-column: 1 / -1; }
.fear .q { font-size: .95rem; color: #93a596; max-width: 38ch; }
.fear .q b { display: block; color: #fff; font-size: 1.05rem; margin-bottom: .3rem; }
.fear .a { margin-left: auto; flex: none; max-width: 30ch; font-weight: 700; color: #7fd585; font-size: 1rem; display: flex; align-items: center; gap: .7rem; }
.fear .a::before { content: "→"; opacity: .6; }

/* ── Preț + calculator ──────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.price-anchor {
  display: inline-block; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800;
  padding: .9rem 1.4rem; border-radius: var(--radius-sm);
  background: var(--green-tint); color: var(--green-dark); margin: 1.2rem 0;
}
.price-note { font-size: .9rem; color: var(--gray); }
.calc {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow);
  overflow: hidden;
}
.calc h3 { margin-bottom: 1.4rem; }
.calc-row { margin-bottom: 1.2rem; }
.calc-row label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .5rem; }
.calc-row input, .calc-row select {
  width: 100%; padding: .9rem 1.05rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); font: inherit; font-size: 16px; background: #fff;
  transition: border-color .15s;
}
.calc-row input:focus, .calc-row select:focus { outline: none; border-color: var(--green); }
.calc-range { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin: .4rem 0 1.2rem; }
.calc-range small { display: block; font-size: .82rem; font-weight: 600; color: var(--gray); letter-spacing: 0; }

/* ═══════ Formular cu sliduri (quiz) ═══════ */
.qs-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.qs-step { font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .16em; color: var(--green-dark); white-space: nowrap; }
.qs-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--mist); overflow: hidden; }
.qs-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--green), #58c25e); transition: width .35s ease; }
.qs-viewport { overflow: hidden; }
.qs-track { display: grid; position: relative; }
.qs-slide {
  grid-area: 1 / 1; min-width: 0; width: 100%; padding: .2rem .1rem;
  opacity: 0; pointer-events: none; transform: translateX(36px); visibility: hidden;
  transition:
    opacity .38s cubic-bezier(.22,.9,.3,1),
    transform .38s cubic-bezier(.22,.9,.3,1),
    visibility 0s linear .38s;
}
.qs-slide.active {
  opacity: 1; pointer-events: auto; transform: none; visibility: visible;
  transition-delay: 0s;
}
/* slide-urile inactive ies din flow → cardul are înălțimea slide-ului activ */
.qs-slide:not(.active) { position: absolute; top: 0; left: 0; width: 100%; }
.qs-opts { display: grid; gap: .8rem; }
.qs-opt {
  text-align: left; padding: 1.05rem 1.2rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; transition: border-color .15s, background .15s;
}
.qs-opt b { font-size: 1.05rem; display: block; }
.qs-opt span { font-size: .85rem; color: var(--gray); }
.qs-opt:hover { border-color: var(--green); background: var(--green-tint); }
.qs-back {
  margin-top: 1.1rem; background: none; border: 0; font: inherit;
  font-size: .88rem; font-weight: 700; color: var(--gray); padding: .3rem 0;
}
.qs-back:hover { color: var(--ink); }
.qs-success { text-align: center; padding: 1.5rem 0; }
.qs-success a { color: var(--green-dark); }
.qs-check {
  width: 64px; height: 64px; margin: 0 auto; border-radius: 50%;
  background: var(--green-tint); color: var(--green-dark);
  display: grid; place-items: center; font-size: 1.9rem; font-weight: 800;
}

/* ═══════ Extras de deviz (secțiunea Preț) ═══════ */
.deviz {
  margin-top: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); padding: 1.3rem 1.4rem 1.1rem;
  font-family: var(--mono); box-shadow: 0 14px 34px -26px rgba(19,23,26,.4);
}
.deviz-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; color: var(--gray);
  padding-bottom: .8rem; border-bottom: 1px dashed var(--line);
}
.deviz-stamp { font-size: .62rem; padding: .3rem .6rem; }
.deviz-row {
  display: flex; align-items: baseline; gap: .6rem;
  padding: .5rem 0; font-size: .86rem;
}
.deviz-row span { color: var(--ink-soft); white-space: nowrap; }
.deviz-row i { flex: 1; border-bottom: 1.5px dotted var(--line); transform: translateY(-3px); }
.deviz-row b { font-weight: 600; white-space: nowrap; }
.deviz-more { font-size: .76rem; color: var(--gray); }
.deviz-more span { color: var(--gray); }
.deviz-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: .5rem; padding-top: .8rem; border-top: 1.5px solid var(--ink);
  font-size: .92rem; letter-spacing: .06em;
}
.deviz-total b { font-size: 1.15rem; color: var(--green-dark); font-weight: 600; }
.deviz-note { margin-top: 1.2rem; display: grid; gap: .55rem; }
.deviz-note p { font-size: .92rem; color: var(--gray); line-height: 1.5; }
.deviz-note b { color: var(--ink); }

/* ── Testimoniale (grid păstrat pentru conținut viitor) ────── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

/* ── CTA band între secțiuni ────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--green-dark), var(--green) 60%, #3cb843);
  color: #fff; border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.2rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem;
  justify-content: space-between;
  transition: box-shadow .3s ease;
}
.cta-band:hover { box-shadow: 0 30px 60px -30px rgba(30,125,37,.55); }
.cta-band h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); max-width: 26ch; }
.cta-band .btn { background: #fff; color: var(--green-dark); }
.cta-band .stripe-cta {
  position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  height: 190%; opacity: .16; pointer-events: none;
}
.cta-band .stripe-cta2 {
  position: absolute; right: 22%; top: 55%; transform: translateY(-50%);
  height: 130%; opacity: .12; pointer-events: none;
}
.cta-band > * { position: relative; z-index: 2; }

/* ── Diaspora band ──────────────────────────────────────────── */
.diaspora-band {
  background: #10150f; color: #fff; border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem); position: relative; overflow: hidden;
}
.diaspora-band .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
.diaspora-band .d-item { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; background: rgba(255,255,255,.04); }
.diaspora-band .d-item b { display: block; font-size: 1rem; margin-bottom: .3rem; color: #8ee294; }
.diaspora-band .d-item p { font-size: .88rem; color: #b9c4bb; }

/* ── Formular final ─────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
#contact .contact-grid { row-gap: 0; }
.contact-info .lead { margin: .7rem 0 0; }
.contact-info .h-section { margin-bottom: 0; }
.contact-line { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line .ico { flex: none; width: 42px; height: 42px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; color: var(--green-dark); }
.contact-line b { display: block; font-size: .85rem; color: var(--gray); font-weight: 600; }
.contact-line a, .contact-line span.val { font-weight: 800; font-size: 1.08rem; }
.contact-line a:hover { color: var(--green-dark); }

.quick-contact { display: flex; gap: .8rem; margin: 1.2rem 0 0; }
.quick-contact .btn { flex: 1; padding: 1rem .8rem; }

.contact-strip {
  display: grid; grid-template-columns: repeat(3, auto);
  justify-content: space-between; gap: 1rem 2rem;
  border-top: 1px solid var(--line);
  margin-top: 2.4rem; padding-top: 1.2rem;
}
.contact-strip .strip-item { border: 0; padding: 0; }
.contact-strip .strip-item .ico { width: 38px; height: 38px; }
.contact-strip .strip-item b { font-size: .8rem; }
.contact-strip .strip-item a, .contact-strip .strip-item span.val { font-size: .98rem; }

.form-card {
  background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line);
  padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.form-card .sub { color: var(--gray); font-size: .93rem; margin-bottom: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.f-field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .4rem; }
.f-field input, .f-field select {
  width: 100%; padding: .95rem 1.05rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); font: inherit; font-size: 16px; background: #fff;
}
.f-field input:focus, .f-field select:focus { outline: none; border-color: var(--green); }
.toggle { display: flex; gap: .6rem; }
.toggle button {
  flex: 1; padding: .85rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--gray);
}
.toggle button.on { border-color: var(--green); background: var(--green-tint); color: var(--green-dark); }
.gdpr { display: flex; gap: .7rem; align-items: center; min-height: 44px; font-size: .84rem; color: var(--gray); margin: 1.1rem 0 1.4rem; }
.gdpr input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 0; accent-color: var(--green); }
.gdpr a { text-decoration: underline; }
.form-status { display: none; margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem; }
.form-status.ok { display: block; background: var(--green-tint); color: var(--green-dark); }
.form-status.err { display: block; background: #fdecec; color: #b3261e; }
.form-submit { width: 100%; }
.spin { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: sp 0.7s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { position: relative; overflow: hidden; background: #0d120e; color: #aeb9b0; padding: 4rem 0 7rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer img.logo { height: 52px; width: auto; margin-bottom: 1.2rem; }
.footer h3, .footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; letter-spacing: .04em; }
.footer a { display: flex; align-items: center; min-height: 44px; padding: .3rem 0; font-size: .93rem; }
.footer a:hover { color: #fff; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.4rem; font-size: .84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; }
/* Footer — semnătura de planșă */
.footer .sign { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; opacity: .6; }

/* ── Bară fixă mobil ────────────────────────────────────────── */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 95; display: none;
  background: rgba(13,18,14,.96); backdrop-filter: blur(12px);
  padding: .65rem .8rem calc(.65rem + env(safe-area-inset-bottom));
  gap: .6rem; box-shadow: 0 -8px 30px rgba(0,0,0,.35);
}
.mobile-bar a, .mobile-bar button {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem .3rem; border-radius: 14px; font-weight: 800; font-size: .85rem; border: 0;
  white-space: nowrap; overflow: hidden; min-height: 48px;
}
.mb-call { background: #fff; color: var(--ink); }
.mb-wa { background: #25d366; color: #08301a; }
.mb-form { background: var(--green-dark); color: #fff; }

/* ═══════════════ CARACTER · planșă tehnică ═══════════════ */

/* Grain de șantier/hârtie peste tot — PNG static, ieftin */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  background-image: url("/assets/noise.png"); background-repeat: repeat;
  opacity: .02; mix-blend-mode: overlay;
}

/* ═══════ Elemente de marcă — dungi logo ═══════ */

/* Hero: dunga verde monumentală, tăiată de margine */
.stripe-hero {
  position: absolute; z-index: 1; pointer-events: none;
  right: -4%; top: 50%; transform: translateY(-52%);
  height: 132%;
  opacity: .92;
}
/* a doua, întunecată, puțin în spate — adâncime */
.stripe-hero-back {
  position: absolute; z-index: 1; pointer-events: none;
  right: 15%; top: 58%; transform: translateY(-50%);
  height: 96%;
  opacity: .35;
  filter: brightness(0.55);
}

/* Secțiunea întunecată: marca logo, dreapta-jos */
.stripe-mark-dark {
  position: absolute; right: 4%; bottom: 6%; z-index: 0; pointer-events: none;
  width: clamp(180px, 22vw, 320px);
  opacity: .9;
}

/* Footer: ecou discret */
.stripe-footer {
  position: absolute; right: 0; top: 0; height: 100%; opacity: .07; pointer-events: none;
}

/* siguranță: conținutul secțiunilor mereu peste elementele de marcă */
.section .container, .footer .container { position: relative; z-index: 2; }

/* ═══════ Planșe secundare ═══════ */
.bp { position: absolute; pointer-events: none; }
.bp-fund { right: 2%; bottom: 4%; width: clamp(260px, 32vw, 440px); opacity: .75; }
.bp-roof { right: 0; top: 1.5rem; width: clamp(260px, 30vw, 460px); opacity: .55; }
#pret .container, .section.dark .container { position: relative; z-index: 2; }

/* ═══════ Pagina Acoperișuri + calculator ═══════ */
.roof-tabs { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.4rem 0; }
.roof-tab {
  padding: .8rem 1.3rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: #fff; font: inherit; font-weight: 700; font-size: .93rem; color: var(--gray);
}
.roof-tab.on { border-color: var(--green); background: var(--green-tint); color: var(--green-dark); }
.roof-diagram { position: relative; text-align: center; padding: .5rem 0 1rem; }
.roof-diagram svg { max-width: 100%; height: auto; }
.roof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; margin-top: .6rem; }
.roof-result {
  margin-top: 1.2rem; padding: 1.2rem 1.3rem; border-radius: var(--radius-sm);
  background: var(--mist); font-family: var(--mono);
}
.roof-result .big { font-size: 1.6rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.roof-result .row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .88rem; color: var(--ink-soft); }
.roof-result .row b { font-weight: 600; white-space: nowrap; }
.mat-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1rem; }
.mat-opt { border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: .9rem .8rem; font: inherit; text-align: left; }
.mat-opt b { display: block; font-size: .95rem; }
.mat-opt span { font-size: .8rem; color: var(--gray); font-family: var(--mono); }
.mat-opt.on { border-color: var(--green); background: var(--green-tint); }
.faq-item { border-top: 1px solid var(--line); padding: 1.3rem 0; }
.faq-item b { display: block; font-size: 1.08rem; margin-bottom: .35rem; }
.faq-item p { color: var(--gray); font-size: .95rem; }

/* ═══════ Animații — website-wide ═══════ */
/* intrare hero, staggered (CSS pur, merge și fără JS) */
.hi { animation: hiUp .8s cubic-bezier(.22,.9,.3,1) both; }
.hi-d1 { animation-delay: .10s } .hi-d2 { animation-delay: .22s } .hi-d3 { animation-delay: .34s }
.hi-d4 { animation-delay: .46s } .hi-d5 { animation-delay: .58s } .hi-d6 { animation-delay: .72s }
@keyframes hiUp { from { transform: translateY(26px); } to { transform: none; } }
.stamp-hero.hi { animation-name: hiStamp; }
@keyframes hiStamp { 0% { opacity: 0; transform: rotate(-14deg) scale(1.25); } 60% { opacity: 1; transform: rotate(-2deg) scale(.97); } 100% { opacity: 1; transform: rotate(-4deg) scale(1); } }

/* desenare planșe la scroll (stroke draw) — doar cu JS */
.js .bp path, .js .bp line, .js .bp rect, .js .bp circle, .js .bp text { opacity: 0; transition: opacity .9s ease; }
.js .bp.draw path, .js .bp.draw line, .js .bp.draw rect, .js .bp.draw circle, .js .bp.draw text,
.js .bp.in path, .js .bp.in line, .js .bp.in rect, .js .bp.in circle, .js .bp.in text { opacity: 1; }
.js .bp.draw path:nth-of-type(1), .js .bp.in path:nth-of-type(1) { transition-delay: .05s }
.js .bp.draw path:nth-of-type(2), .js .bp.in path:nth-of-type(2) { transition-delay: .18s }
.js .bp.draw path:nth-of-type(3), .js .bp.in path:nth-of-type(3) { transition-delay: .3s }

/* Reveal on scroll — doar cu JS, altfel conținutul e vizibil direct */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal-group.in > * { opacity: 1; transform: none; }
.js .reveal-group.in > *:nth-child(2) { transition-delay: .08s }
.js .reveal-group.in > *:nth-child(3) { transition-delay: .16s }
.js .reveal-group.in > *:nth-child(4) { transition-delay: .24s }
.js .reveal-group.in > *:nth-child(5) { transition-delay: .32s }
.js .reveal-group.in > *:nth-child(6) { transition-delay: .40s }
.js .reveal-group.in > *:nth-child(7) { transition-delay: .48s }
.js .reveal-group.in > *:nth-child(8) { transition-delay: .56s }
.js .reveal-group.in > *:nth-child(9) { transition-delay: .64s }
.js .reveal-group.in > *:nth-child(10) { transition-delay: .72s }

/* hover-uri cu viață */
.stamp:hover { transform: rotate(-3deg) scale(1.06); }

/* ── Focus vizibil ──────────────────────────────────────────── */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--green); outline-offset: 2px;
}
/* pe butoanele verzi/închise conturul verde nu se vede → dublu contrast */
.btn-primary:focus-visible, .btn-dark:focus-visible, .btn-wa:focus-visible,
.mb-call:focus-visible, .mb-wa:focus-visible, .mb-form:focus-visible,
.cta-band .btn:focus-visible {
  outline: 2px solid #fff; outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--ink);
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hi, .hi.hi-d1, .hi.hi-d2, .hi.hi-d3, .hi.hi-d4, .hi.hi-d5, .hi.hi-d6 { animation: none; opacity: 1; }
  .hero-plan, .bp * { transition: none; opacity: 1; }
  .js .reveal, .js .reveal-group > * { transition: none; opacity: 1; transform: none; }
  .progress-bar i { transition: none; }
  .qs-slide, .qs-slide.active { transition: none; }
  .spin { animation: none; }
  .site-card:hover, .project-card:hover, .stamp:hover,
  .btn:hover, .btn:active, .st-item:hover .st-num { transform: none; }
  .cta-band:hover { box-shadow: none; }
}

/* ── Pagini individuale de proiect ──────────────────────────── */
.project-detail { padding-top: 150px; }
.project-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 1.2rem; color: var(--green-dark); font-weight: 700; }
.project-detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: 2rem; }
.project-detail-photo { margin: 0; }
.project-detail-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.project-detail-photo figcaption { margin-top: .55rem; color: var(--gray); font-size: .82rem; }
.project-detail .tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; }
.project-detail .about-points { margin: 1.4rem 0; }
.project-demo-note { margin-top: 2rem; padding: 1rem 1.1rem; border: 1px dashed #c49a42; border-radius: var(--radius-sm); background: #fff8e8; color: #624b1f; font-size: .88rem; }
@media (max-width: 860px) {
  .project-detail { padding-top: 110px; }
  .project-detail-grid { grid-template-columns: 1fr; }
}

/* ── Vizualizare foto ───────────────────────────────────────── */
.visual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.visual-form { background: var(--paper); color: var(--ink); padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-input { position: absolute; clip-path: inset(50%); overflow: hidden; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; white-space: nowrap; }
.photo-drop { display: flex; align-items: center; gap: 1rem; min-height: 104px; padding: 1.1rem; border: 1.5px dashed #91a895; border-radius: var(--radius-sm); background: var(--mist); cursor: pointer; }
.photo-drop:hover { border-color: var(--green-dark); }
.photo-input:focus-visible + .photo-drop { outline: 2px solid var(--green); outline-offset: 3px; }
.photo-plus { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: var(--green-tint); color: var(--green-dark); font-size: 1.8rem; font-weight: 400; }
.photo-drop b { display: block; font-size: 1rem; }
.photo-drop small { display: block; margin-top: .25rem; color: var(--gray); font-size: .82rem; }
.photo-preview { display: flex; align-items: center; gap: .9rem; margin-top: .9rem; }
.photo-preview[hidden] { display: none; }
.photo-preview img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.photo-preview span { color: var(--gray); font-size: .85rem; overflow-wrap: anywhere; }
.visual-form .form-grid { margin-top: 1.1rem; }
.visual-form .gdpr { margin: 1rem 0; }
@media (max-width: 860px) { .visual-grid { grid-template-columns: 1fr; } }

/* ── Print ──────────────────────────────────────────────────── */
@media print {
  .header, .mobile-bar, .quiz, .skip,
  .hero-plan, .bp, .sheet-num,
  .stripe-hero, .stripe-hero-back, .stripe-mark-dark, .stripe-footer,
  .stripe-cta, .stripe-cta2 { display: none !important; }
  body::before { display: none; }
  body { color: #000; background: #fff; font-size: 12pt; }
  .hero, .section.dark, .footer, .cta-band, .diaspora-band { background: #fff; color: #000; }
  .hero { min-height: auto; padding: 2rem 0; }
  .hero .lead, .lead, .stat span, .trust-row { color: #333; }
  a { text-decoration: underline; }
}

/* debug: ?flat — hero normal, pentru capturi/complet pagina */
.flat .hero { min-height: auto; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 3.6rem 0; }
  .h-section { font-size: clamp(1.6rem, 7.4vw, 2rem); }
  .nav { display: none; }
  .header-cta { display: none; }
  .burger { display: block; }
  .header { top: 10px; width: calc(100% - 20px); height: 56px; border-radius: 14px; }
  .header.menu-open .nav {
    display: flex; position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; padding: 1.2rem 5vw 1.6rem;
    gap: 1.1rem; box-shadow: var(--shadow);
    border-radius: 14px; border: 1px solid rgba(255,255,255,.12); margin: 0 10px;
  }
  .hero { padding-top: 116px; }
  .about-grid, .founder-grid, .price-grid, .contact-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 420px; }
  .sites-grid, .projects-grid, .testi-grid { grid-template-columns: 1fr; }
  .fears { grid-template-columns: 1fr; }
  .fear:last-child { grid-column: auto; }
  .fear .a { margin-left: 0; }
  .fear { flex-direction: column; }
  .stages-list { grid-template-columns: 1fr; margin-top: 2rem; }
  .st-num { font-size: 1.9rem; min-width: 2.8rem; }
  .mobile-bar { display: flex; }
  .footer { padding-bottom: 8.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .sheet-num { display: none; }
  .stripe-hero { right: -46%; top: 66%; height: 78%; opacity: .55; }
  .stripe-hero-back { display: none; }
  .stripe-mark-dark { width: 140px; opacity: .5; }
  .cta-band .stripe-cta { right: -14%; }
  .bp-fund { width: 200px; opacity: .3; }
  .bp-roof { width: 240px; opacity: .18; top: 2%; }
  .contact-grid { row-gap: 1.8rem; }
  .contact-strip { grid-template-columns: 1fr; gap: .9rem; margin-top: 1.8rem; }
  .deviz { margin-top: 1.3rem; }
  .roof-grid { grid-template-columns: 1fr; }
  .mat-pick { grid-template-columns: 1fr; }
  .diaspora-band .grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .form-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* etichete bară mobilă pe ecrane foarte înguste — previne tăierea butonului 3 */
@media (max-width: 420px) {
  .mobile-bar { gap: .45rem; padding: .55rem .55rem calc(.55rem + env(safe-area-inset-bottom)); }
  .mobile-bar a { padding: .55rem .35rem; font-size: .75rem; letter-spacing: -.015em; }
  .mobile-bar .mb-call { flex: .78; }
  .mobile-bar .mb-wa   { flex: .95; }
  .mobile-bar .mb-form { flex: 1.27; }
}

/* ══════════════════════════════════════════════════════════════
   DESIGN SYSTEM v2 — precizie de deviz, liniște de garanție
   Additive editorial layer. Legacy rules above remain intact.
   ══════════════════════════════════════════════════════════════ */

/* V2: tokens and editorial typography */
:root {
  --green-300: #8ee294;
  --green-400: #57bd5c;
  --green-500: #2ba331;
  --green-600: #1e7d25;
  --green-700: #155a1b;
  --green: var(--green-500);
  --green-dark: var(--green-600);
  --green-darker: var(--green-700);
  --green-tint: #e7f4e8;
  --ink-950: #0b100c;
  --ink-900: #111711;
  --ink-800: #1b241c;
  --ink-700: #2d382f;
  --ink-600: #48534a;
  --ink-500: #68736a;
  --ink: var(--ink-900);
  --ink-soft: var(--ink-700);
  --gray: var(--ink-500);
  --paper: #ffffff;
  --paper-warm: #f7f8f5;
  --paper-deep: #edf0ea;
  --mist: var(--paper-deep);
  --line: #dfe5dc;
  --line-strong: #cbd4c8;
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius: 24px;
  --radius-xl: 32px;
  --elevation-1: 0 10px 34px -24px rgba(11, 16, 12, .28);
  --elevation-2: 0 24px 70px -36px rgba(11, 16, 12, .34);
  --elevation-3: 0 36px 100px -42px rgba(11, 16, 12, .42);
  --elevation-green: 0 20px 44px -18px rgba(30, 125, 37, .44);
  --shadow: var(--elevation-2);
  --font-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --section-space: clamp(6rem, 9vw, 9rem);
  --section-space-mobile: clamp(4.5rem, 15vw, 6rem);
  --ease-editorial: cubic-bezier(.22, .8, .24, 1);
  --header-h: 82px;
}
body { background: var(--paper-warm); }
.container { width: min(1240px, 92vw); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.03em;
}
.h-display {
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.h-section {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.03em;
}
.h-card { font-size: 1.24rem; line-height: 1.18; letter-spacing: -.02em; }
.lead { line-height: 1.65; text-wrap: pretty; }
.hero h1, .section-head h2, .about-grid h2, .founder-grid h2,
.contact-info h2, .legal > h1 { text-wrap: balance; }
.label {
  position: relative;
  gap: .72rem;
  margin-bottom: 1.55rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--green-700);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.2;
}
.label::after {
  content: "";
  width: 52px;
  height: 1px;
  margin-left: .2rem;
  background: currentColor;
  opacity: .42;
}
.label .idx { display: inline-flex; align-items: center; gap: .65rem; color: inherit; }
.label .idx::after { content: "/"; color: var(--ink-500); font-weight: 400; }
.section.dark .label, .hero .label, .diaspora-band .label { color: var(--green-300); }
.section.dark .label .idx::after, .hero .label .idx::after,
.diaspora-band .label .idx::after { color: rgba(255, 255, 255, .44); }
.section { padding: var(--section-space) 0; }
.section:not(.dark):not(.mist) { background: var(--paper-warm); }
.section.dark {
  background:
    radial-gradient(circle at 88% 14%, rgba(87, 189, 92, .09), transparent 30%),
    linear-gradient(145deg, var(--ink-900), var(--ink-950) 68%);
}
.section-head { max-width: 860px; margin-bottom: clamp(2.8rem, 5vw, 4.8rem); }
.section-head .lead { max-width: 66ch; margin-top: 1.35rem; }
.sheet-num { top: 2.4rem; font-family: var(--font-display); font-weight: 600; }
.dimline { font-size: .7rem; letter-spacing: .14em; }

/* V2: buttons and visible focus */
.btn {
  position: relative;
  isolation: isolate;
  min-height: 52px;
  padding: 1rem 1.55rem;
  overflow: hidden;
  border-width: 1px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: -.012em;
  transition: transform .22s var(--ease-editorial), box-shadow .22s ease,
    background-color .22s ease, border-color .22s ease, color .22s ease;
}
.btn::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -35%;
  bottom: -35%;
  left: 0;
  width: 38%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .26), transparent);
  transform: translateX(-220%) skewX(-18deg);
  transition: transform .65s var(--ease-editorial);
}
.btn:hover::before { transform: translateX(430%) skewX(-18deg); }
.btn svg, .btn > span { position: relative; z-index: 1; }
.btn svg { flex: none; transition: transform .22s var(--ease-editorial); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--green-600);
  color: #fff;
  box-shadow: var(--elevation-green);
}
.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-1px);
  box-shadow: 0 24px 52px -18px rgba(30, 125, 37, .55);
}
.btn-dark { background: var(--ink-900); }
.btn-dark:hover { background: var(--ink-950); transform: translateY(-1px); box-shadow: var(--elevation-2); }
.btn-ghost { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .025); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .58); transform: translateY(-1px); }
.btn-outline { border-color: var(--line-strong); background: transparent; }
.btn-outline::before { display: none; }
.btn-outline:hover { border-color: var(--ink-800); background: rgba(17, 23, 17, .035); transform: translateY(-1px); }
.btn-wa:hover { transform: translateY(-1px); box-shadow: 0 18px 38px -20px rgba(37, 211, 102, .55); }
.btn:active { transform: translateY(0) scale(.985); }
.btn[disabled] { cursor: wait; opacity: .68; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--green-400);
  outline-offset: 4px;
}
.btn-primary:focus-visible, .btn-dark:focus-visible, .btn-wa:focus-visible,
.cta-band .btn:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 4px var(--ink-950), 0 0 0 7px var(--green-300);
}

/* V2: floating header, progress, and navigation state */
.header {
  top: 16px;
  width: min(1200px, calc(100% - 32px));
  height: 68px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background: rgba(13, 19, 14, .86);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  box-shadow: 0 22px 60px -26px rgba(0, 0, 0, .66), inset 0 1px 0 rgba(255, 255, 255, .045);
}
.header.scrolled {
  background: rgba(11, 16, 12, .96);
  transform: translateX(-50%) scale(.99);
  box-shadow: 0 16px 44px -22px rgba(0, 0, 0, .64), inset 0 1px 0 rgba(255, 255, 255, .035);
}
.header .container { gap: 1.4rem; padding-inline: clamp(1rem, 2.4vw, 1.8rem); }
.header-progress {
  position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 2px;
  border-radius: 99px;
  pointer-events: none;
  background: var(--green-400);
  box-shadow: 0 0 12px rgba(87, 189, 92, .4);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.brand { min-width: 48px; }
.brand img { height: 36px; width: auto; }
.brand, .brand-wordmark, .logo-wordmark { font-family: var(--font-display); }
.nav { gap: clamp(1rem, 1.8vw, 1.8rem); }
.nav a {
  position: relative;
  min-height: 48px;
  color: rgba(255, 255, 255, .64);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: color .18s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--green-400);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .28s var(--ease-editorial);
}
.nav a:hover, .nav a.is-active, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a.is-active::after, .nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}
.header-cta { min-height: 44px; padding: .7rem 1.15rem; font-size: .82rem; }
.header.menu-open .nav { background: rgba(11, 16, 12, .985); }

/* V2: hero material, display composition, and parallax layers */
.hero {
  min-height: max(760px, 100svh);
  padding-top: clamp(9rem, 16vh, 11rem);
  background:
    radial-gradient(ellipse at 86% 22%, rgba(87, 189, 92, .12), transparent 34%),
    radial-gradient(ellipse at 6% 84%, rgba(43, 163, 49, .075), transparent 40%),
    linear-gradient(118deg, #121a14 0%, #0b110d 52%, #070c08 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent calc(4vw - 1px), rgba(255, 255, 255, .055) 4vw, transparent calc(4vw + 1px));
}
.hero .container { z-index: 3; }
.hero h1 { max-width: 18ch; color: #f6f8f3; }
.hero .scribble { color: var(--green-300); }
.scribble path { stroke: var(--green-400); stroke-width: 3; }
.hero .lead { max-width: 54ch; margin-top: 1.65rem; color: #bdc9be; font-size: clamp(1rem, 1.3vw, 1.16rem); }
.hero-actions { margin-top: 2.5rem; gap: .8rem; }
.trust-row {
  gap: .75rem 1.6rem;
  margin-top: 1.8rem;
  color: #9dac9e;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.stamp-hero {
  margin-bottom: 2rem;
  border: 1px solid rgba(142, 226, 148, .82);
  border-radius: var(--radius-xs);
  outline: 1px solid rgba(142, 226, 148, .28);
  outline-offset: 4px;
  background: rgba(43, 163, 49, .075);
  box-shadow: inset 0 0 0 1px rgba(6, 12, 8, .5);
  font-size: .74rem;
  line-height: 1.55;
}
.stamp-hero b { color: var(--green-300); font-size: .82rem; }
.anno { color: #93b899; font-size: .74rem; }
.hero-stats {
  margin-top: clamp(3.8rem, 8vh, 6.5rem);
  border-top: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .018);
  backdrop-filter: blur(8px);
}
.hero-stats .container { padding: 1.9rem 0 2.1rem; }
.stat { min-width: 0; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); padding-left: clamp(1rem, 2.5vw, 2rem); }
.stat b {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.stat b em { color: var(--green-300); }
.stat span { display: block; margin-top: .48rem; color: #94a397; font-size: .76rem; line-height: 1.45; }
.stat:last-child b { max-width: 14ch; font-size: clamp(1.15rem, 1.75vw, 1.65rem); line-height: 1.05; }
.hero-plan { opacity: .72; }
.js body.loaded .hero-plan { opacity: .72; }
.stripe-hero {
  right: 1%;
  height: 124%;
  opacity: .7;
  transform: translate3d(0, calc(-52% + var(--parallax-near, 0px)), 0) rotate(4deg);
  will-change: transform;
}
.stripe-hero-back {
  right: 18%;
  opacity: .24;
  transform: translate3d(0, calc(-50% + var(--parallax-far, 0px)), 0) rotate(-3deg);
  will-change: transform;
}
.js .bp path, .js .bp line, .js .bp rect, .js .bp circle {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  transition: stroke-dashoffset 1.8s var(--ease-editorial), opacity .35s ease;
}
.js .bp.in path, .js .bp.in line, .js .bp.in rect, .js .bp.in circle,
.js .bp.draw path, .js .bp.draw line, .js .bp.draw rect, .js .bp.draw circle { stroke-dashoffset: 0; }

/* V2: fixed mobile actions */
.mobile-bar {
  background: rgba(11, 16, 12, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.mobile-bar a, .mobile-bar button { font-family: var(--font-display); font-weight: 600; }
.mb-form { background: var(--green-600); }

/* V2: materials marquee — homepage only */
.materials-band {
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-block: 1px solid rgba(142, 226, 148, .15);
  background: #142419;
  color: #dce8dc;
}
.materials-marquee { display: flex; width: 100%; overflow: hidden; padding: 1.05rem 0; }
.materials-marquee:focus-visible { outline: 2px solid var(--green-300); outline-offset: -3px; }
.materials-track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 1.6rem;
  min-width: max-content;
  padding-right: 1.6rem;
}
.materials-track span {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.materials-track span::after {
  content: "";
  width: 23px;
  height: 13px;
  flex: none;
  background: var(--green-300);
  clip-path: polygon(0 58%, 35% 12%, 51% 48%, 72% 0, 100% 55%, 89% 65%, 72% 24%, 52% 70%, 35% 36%, 11% 72%);
  opacity: .8;
}
.materials-marquee:hover .materials-track,
.materials-marquee:focus-within .materials-track { animation-play-state: paused; }
@keyframes materials-loop { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: no-preference) {
  .materials-track { animation: materials-loop 34s linear infinite; }
}

/* V2: editorial cards and project metadata */
.svc-card, .process-item, .site-card, .material-card, .construction-layer,
.calc, .form-card, .spec-card, .result-card, .visual-form {
  border-color: var(--line);
  box-shadow: var(--elevation-1);
}
.svc-card, .process-item, .site-card, .material-card {
  position: relative;
  overflow: hidden;
  transition: transform .28s var(--ease-editorial), box-shadow .28s ease, border-color .28s ease;
}
.svc-card::after, .process-item::after, .site-card::after, .material-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-500);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .34s var(--ease-editorial);
}
.svc-card:hover, .process-item:hover, .site-card:hover, .material-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--elevation-3);
}
.svc-card:hover::after, .process-item:hover::after, .site-card:hover::after,
.material-card:hover::after { transform: scaleX(1); }
.svc-card > b, .process-item > b, .st-item b, .material-card h3, .construction-layer h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.018em;
}
.svc-num, .process-item::before, .st-num {
  color: var(--green-600);
  font-family: var(--mono);
}
.about-visual, .founder-photo, .project-detail-photo img { box-shadow: var(--elevation-3); }
.about-point .ico, .contact-line .ico { border: 1px solid rgba(30, 125, 37, .12); border-radius: var(--radius-sm); }
.site-card:hover { transform: translateY(-4px); }
.site-photo, .project-card, .material-card { overflow: hidden; }
.site-card .photo-fill, .project-card .photo-fill, .material-card img,
.project-detail-photo img { transition: transform .65s var(--ease-editorial); }
.site-card:hover .photo-fill, .project-card:hover .photo-fill,
.material-card:hover img, .project-detail-photo:hover img { transform: scale(1.03); }
.project-card {
  aspect-ratio: 4 / 4.55;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--elevation-2);
  transition: transform .28s var(--ease-editorial), box-shadow .28s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--elevation-3); }
.project-card .bg { background: linear-gradient(180deg, rgba(6, 10, 7, .04) 16%, rgba(6, 10, 7, .94) 82%); }
.project-info { padding: 1.5rem; }
.project-info .tags { margin-bottom: .8rem; }
.project-info .tag { border-radius: var(--radius-xs); font-family: var(--mono); font-size: .61rem; font-weight: 400; }
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  margin: 0 0 1rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-family: var(--mono);
}
.project-meta span { color: #f1f6f0; font-size: .68rem; line-height: 1.35; }
.project-meta small {
  display: block;
  margin-bottom: .18rem;
  color: var(--green-300);
  font-size: .52rem;
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.project-cta { transition: gap .22s var(--ease-editorial), color .22s ease; }
.project-card:hover .project-cta { gap: .75rem; color: var(--green-300); }
.process-item, .svc-card { border-radius: var(--radius-md); }
.process-item::before { border-radius: var(--radius-xs); }
.st-item { transition: border-color .2s ease, padding-left .25s var(--ease-editorial); }
.st-item:hover { border-color: var(--green-500); padding-left: .35rem; }
.cta-band, .diaspora-band { border-radius: var(--radius-md); box-shadow: var(--elevation-2); }
.cta-band { background: linear-gradient(115deg, var(--green-700), var(--green-600) 58%, var(--green-500)); }
.diaspora-band { background: linear-gradient(140deg, #152017, #0b110d 72%); }

/* V2: forms, quiz, and validation */
.calc, .form-card, .visual-form { border-radius: var(--radius-md); box-shadow: var(--elevation-2); }
.qs-opt {
  min-height: 64px;
  padding: 1.05rem 1.15rem;
  border-width: 1px;
  border-radius: var(--radius-sm);
  transition: transform .18s var(--ease-editorial), border-color .18s ease,
    background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.qs-opt:hover { border-color: var(--green-500); background: var(--green-tint); transform: translateY(-1px); }
.qs-opt.on {
  border-color: var(--green-600);
  background: var(--green-600);
  color: #fff;
  box-shadow: 0 12px 28px -18px rgba(30, 125, 37, .62);
  transform: scale(1.01);
}
.qs-opt.on span { color: rgba(255, 255, 255, .78); }
.toggle button.on { border-color: var(--green-600); background: var(--green-600); color: #fff; transform: scale(1.01); }
.f-field input, .f-field select, .calc-row input, .calc-row select {
  min-height: 52px;
  border-width: 1px;
  border-radius: var(--radius-sm);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.f-field input:focus, .f-field select:focus, .calc-row input:focus, .calc-row select:focus {
  border-color: var(--green-600);
  outline: 3px solid rgba(43, 163, 49, .14);
  outline-offset: 1px;
  box-shadow: 0 0 0 1px rgba(30, 125, 37, .08);
}
.f-field input[aria-invalid="true"], .f-field select[aria-invalid="true"],
.calc-row input[aria-invalid="true"] { box-shadow: 0 0 0 3px rgba(217, 48, 37, .12); }
.f-field .as-ferr, .calc .as-ferr {
  margin-top: .4rem;
  color: #b42318;
  font-family: var(--mono);
  font-size: .7rem;
  line-height: 1.45;
}
.form-status { border: 1px solid transparent; border-radius: var(--radius-sm); }
.form-status.ok { border-color: rgba(30, 125, 37, .18); }
.form-status.err { border-color: rgba(180, 35, 24, .18); }
.gdpr { line-height: 1.5; }
.gdpr input { accent-color: var(--green-600); }
.photo-drop { border-radius: var(--radius-sm); transition: border-color .2s ease, background-color .2s ease; }
.photo-drop:hover { background: var(--green-tint); }

/* V2: footer lockup, technical signature, and roof watermark */
.footer {
  padding: 5.5rem 0 7.5rem;
  border-top: 1px solid rgba(142, 226, 148, .18);
  background: linear-gradient(145deg, #101811, #080d09 72%);
}
.footer::before {
  content: "";
  position: absolute;
  right: -4vw;
  bottom: -4rem;
  width: min(860px, 76vw);
  height: 430px;
  pointer-events: none;
  opacity: .1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 360'%3E%3Cg fill='none' stroke='%238ee294' stroke-width='2'%3E%3Cpath d='M40 280 400 40 760 280'/%3E%3Cpath d='M80 280 400 72 720 280'/%3E%3Cpath d='M110 280H690'/%3E%3Cpath d='M180 280V330H620V280'/%3E%3Cpath d='M400 40V10M30 300H770M110 315H690'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.footer-grid { grid-template-columns: 1.5fr .7fr .9fr; gap: clamp(2.5rem, 6vw, 6rem); }
.footer img.logo { width: min(260px, 100%); height: auto; margin-bottom: 1.6rem; }
.footer-grid > div:first-child > p { max-width: 42ch; color: #a8b5a9; line-height: 1.75; }
.footer-grid > div:first-child::after {
  content: "PRECIZIE DE DEVIZ · LINIȘTE DE GARANȚIE";
  display: block;
  margin-top: 1.5rem;
  color: var(--green-300);
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .14em;
  line-height: 1.7;
}
.footer h3, .footer h4 {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer a { position: relative; width: fit-content; color: #a8b5a9; transition: color .18s ease, transform .22s var(--ease-editorial); }
.footer a:hover { color: #fff; transform: translateX(3px); }
.footer .bottom { border-color: rgba(255, 255, 255, .12); margin-top: 4rem; }
.footer .sign { color: #a8b5a9; font-size: .66rem; line-height: 1.7; }

/* V2: legal and utility pages */
.legal > h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.legal h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }
.legal p, .legal li { text-wrap: pretty; }
.nf-code { font-family: var(--font-display); font-weight: 700; }
body .ckb-banner { background: rgba(17, 23, 17, .98); border-radius: var(--radius-md); font-family: var(--font); }
body .ckb-btn { font-family: var(--font-display); }
body .ckb-accept { background: var(--green-600); border-color: var(--green-600); }

/* V2: responsive composition */
@media (max-width: 1020px) {
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { gap: 2.5rem; }
}
@media (max-width: 860px) {
  .section { padding: var(--section-space-mobile) 0; }
  .h-section { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .section-head { margin-bottom: 2.6rem; }
  .header { top: 10px; width: calc(100% - 20px); height: 60px; border-radius: 16px; }
  .header .container { padding-inline: .85rem; }
  .header-progress { left: 16px; right: 16px; }
  .brand img { height: 32px; }
  .header.menu-open .nav {
    top: 76px;
    padding: 1.2rem 5vw 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(11, 16, 12, .985);
  }
  .header.menu-open .nav a { min-height: 44px; font-size: .95rem; justify-content: flex-start; }
  .header.menu-open .nav a::after { bottom: 2px; right: auto; width: 36px; }
  .hero { min-height: 100svh; padding-top: 8.5rem; }
  .hero h1 { max-width: 18ch; }
  .hero .lead { max-width: 46ch; }
  .trust-row { font-size: .62rem; line-height: 1.55; }
  .stamp-hero { margin-bottom: 1.8rem; font-size: .65rem; }
  .stamp-hero b { font-size: .72rem; }
  .hero-stats { margin-top: 3.8rem; }
  .hero-stats .container { padding: 1.6rem 0 1.8rem; }
  .stat b { font-size: clamp(1.6rem, 7vw, 2.35rem); }
  .stat:last-child b { font-size: clamp(1.05rem, 4.5vw, 1.35rem); }
  .stripe-hero {
    right: -42%;
    top: 66%;
    height: 82%;
    opacity: .5;
    transform: translate3d(0, calc(-52% + var(--parallax-near, 0px)), 0) rotate(4deg);
  }
  .stripe-hero-back { display: none; }
  .project-card { aspect-ratio: 4 / 4.3; }
  .footer { padding: 4.5rem 0 9rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer::before { right: -28vw; bottom: 1rem; width: 120vw; opacity: .07; }
  .footer .bottom { margin-top: 3rem; }
  .materials-track span { font-size: .62rem; }
}
@media (max-width: 520px) {
  .h-display { font-size: clamp(2.6rem, 11.5vw, 3.8rem); }
  .hero h1 { max-width: 16ch; }
  .hero-actions { margin-top: 2rem; }
  .hero-actions .btn { width: 100%; }
  .anno { max-width: 92%; align-items: flex-start; line-height: 1.55; }
  .hero-stats .container { column-gap: 0; row-gap: 1.5rem; }
  .stat + .stat { padding-left: 1rem; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat span { font-size: .68rem; }
  .project-info { padding: 1.25rem; }
  .project-meta { gap: .6rem .85rem; }
  .quick-contact { flex-wrap: wrap; }
}

/* V2: motion preferences and print */
@media (prefers-reduced-motion: reduce) {
  .stripe-hero { transform: translateY(-52%) rotate(4deg); will-change: auto; }
  .stripe-hero-back { transform: translateY(-50%) rotate(-3deg); will-change: auto; }
  .js .bp path, .js .bp line, .js .bp rect, .js .bp circle { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
  .materials-track { animation: none; transform: none; }
  .materials-track[aria-hidden="true"] { display: none; }
  .btn::before { display: none; }
  .btn:hover, .btn:active, .btn:hover svg, .svc-card:hover, .process-item:hover,
  .site-card:hover, .project-card:hover, .material-card:hover, .qs-opt:hover,
  .qs-opt.on, .toggle button.on, .footer a:hover, .st-item:hover { transform: none; }
  .site-card:hover .photo-fill, .project-card:hover .photo-fill,
  .material-card:hover img, .project-detail-photo:hover img { transform: none; }
}
@media print {
  .materials-band, .header-progress, .footer::before { display: none !important; }
}
