
/* 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;
}

/* ══════════════════════════════════════════════════════════════
   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: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; }
}
