/* Manrope, găzduit local (font variabil 400–800): latin, latin-ext (diacritice), chirilic pentru RU */
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/manrope-latin.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:swap;src:url(fonts/manrope-latin-ext.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:swap;src:url(fonts/manrope-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/manrope-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
/* COMPASS — prototip v2 (direcție modernă, interactivă). Tokenii: docs/04-design-system.md */
:root {
  --ink: #0F2235;
  --ink-2: #4B5B6B;
  --ink-3: #5E6B78;
  --bg: #F6F8FB;
  --white: #FFFFFF;
  --sky: #E6F0F8;
  --sky-2: #CFE2F2;
  --accent: #F5A524;
  --accent-dark: #DB8B0B;
  --accent-soft: #FFF3DC;
  --line: #E3E9EF;
  --input: #8796A5;
  --ok: #17704A;
  --warn: #8A5A00;
  --warn-bg: #FFF4D6;
  --viber: #665CAC;
  --whatsapp: #1F7A45;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-s: 12px; --r-m: 20px; --r-l: 28px;
  --shadow-s: 0 1px 2px rgba(15,34,53,.06), 0 4px 12px rgba(15,34,53,.06);
  --shadow-m: 0 2px 4px rgba(15,34,53,.05), 0 12px 32px rgba(15,34,53,.10);
  --shadow-l: 0 4px 8px rgba(15,34,53,.06), 0 24px 64px rgba(15,34,53,.16);
  --gutter: 16px;
  --container: 1240px;
  /* SPAȚIERI (regulă pe tot site-ul): secțiune = --section; casetă = --pad / --pad-l; titlu de secțiune -> conținut = --head */
  --section: 40px; --section-s: 32px; --pad: 20px; --pad-l: 24px; --head: 24px;
  --bar: 64px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 751px) { :root { --gutter: 32px; --section: 48px; --section-s: 40px; --pad: 22px; --pad-l: 32px; --head: 32px; } }
@media (min-width: 1001px) { :root { --gutter: 48px; --section: 56px; --section-s: 48px; --pad: 24px; --pad-l: 40px; --head: 36px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); padding-bottom: calc(var(--bar) + 8px + env(safe-area-inset-bottom)); -webkit-font-smoothing: antialiased; }
@media (min-width: 751px) { body { padding-bottom: 0; } }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; border-radius: 6px; }
.ascuns { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sari { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 16px; border-radius: 8px; }
.sari:focus { top: 8px; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0 0 16px; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-size: 21px; letter-spacing: -0.01em; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 16px; max-width: 64ch; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); }
.mic { font-size: 14px; color: var(--ink-2); }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section, .layers-sec, .footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section-white { background: var(--white); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: var(--head); }
.section-head p { margin: 0; }
.de-confirmat { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--warn-bg); color: var(--warn); font-size: 12px; font-weight: 700; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 8px 24px -8px rgba(245,165,36,.7); }
.btn-accent:hover { background: #FFB43D; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(245,165,36,.8); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #1B3550; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(15,34,53,.15); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn .ico { width: 20px; height: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header (glass) ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246,248,251,.72); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.82); }
.header-row { display: flex; align-items: center; gap: 16px; height: 68px; }
@media (min-width: 1001px) { .header-row { height: 80px; } }
.logo { flex-shrink: 0; }  /* logo-ul nu se strivește când meniul e lung (ex. versiunea RU la 1024 px) */
.logo img { height: 32px; width: auto; }
@media (min-width: 1001px) { .logo img { height: 36px; } }
.nav { display: none; }
.header-tel { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; min-height: 44px; white-space: nowrap; }
.header-tel .txt { display: none; }
.header-tel .bubble { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-s); }
.header-cta { display: none; }
.langs { display: none; }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: var(--white); cursor: pointer; }
@media (min-width: 1001px) {
  .nav { display: flex; gap: 4px; margin-left: 24px; }
  .nav a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none; color: var(--ink-2); transition: background .2s, color .2s; white-space: nowrap; }
  .nav a:hover, .nav a[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-s); }
  .header-tel .txt { display: inline; }
  .header-cta { display: inline-flex; min-height: 46px; padding: 0 22px; }
  .langs { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-s); font-size: 13px; font-weight: 700; }
  .langs a { padding: 6px 10px; border-radius: 999px; text-decoration: none; color: var(--ink-2); }
  .langs a[aria-current="true"] { background: var(--ink); color: var(--white); }
  .menu-btn { display: none; }
}
/* laptopuri înguste (1001–1279 px): telefonul rămâne doar bulina, meniul mai compact, ca să încapă și textele RU */
@media (min-width: 1001px) and (max-width: 1279px) {
  .nav { margin-left: 8px; gap: 0; }
  .nav a { padding: 10px 8px; font-size: 15px; }
  .logo img { height: 32px; }
  .header-tel .txt { display: none; }
  .header-cta { padding: 0 18px; }
  .hero .btn-row .btn { padding: 0 20px; }  /* cele două butoane din hero rămân pe un rând (și textele RU, mai lungi) */
}
.mobile-menu { position: fixed; inset: 68px 0 0; z-index: 49; background: var(--white); padding: 24px var(--gutter) 120px; overflow-y: auto; transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility 0s linear .25s; }  /* închis = invizibil și pentru tastatură / cititor de ecran */
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.mobile-menu a { display: block; padding: 14px 0; font-size: 24px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .langs-m { display: flex; gap: 16px; margin-top: 24px; font-weight: 700; }
.mobile-menu .langs-m a { border: 0; font-size: 16px; padding: 10px 4px; }  /* zonă de atins de cel puțin 44 px */

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31,138,91,.15); }
.status.closed { color: var(--warn); }
.status.closed::before { background: var(--warn); box-shadow: 0 0 0 4px rgba(138,90,0,.12); }
.lead > .status { display: flex; width: fit-content; margin-top: 10px; }  /* programul pe rând separat sub textul introductiv (ex. Contacte) */

/* ---------- Mobile contact bar ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr); height: var(--bar); padding: 6px; gap: 6px; border-radius: 22px; background: rgba(15,34,53,.92); backdrop-filter: blur(12px); box-shadow: var(--shadow-l); }
.bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 16px; color: var(--white); text-decoration: none; font-size: 12px; font-weight: 700; }
.bar .ico { width: 20px; height: 20px; }
.bar .b-viber { background: var(--viber); }
.bar .b-wa { background: var(--whatsapp); }
.bar .b-offer { background: var(--accent); color: var(--ink); }
@media (min-width: 751px) { .bar { display: none; } }
body { padding-bottom: calc(var(--bar) + 20px + env(safe-area-inset-bottom)); }
@media (min-width: 751px) { body { padding-bottom: 0; } }

/* ---------- Hero (fotografie + „Ce construiești?”) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); min-height: min(92vh, 860px); display: flex; align-items: flex-end; padding: 96px 0 120px; }
@media (min-width: 1001px) { .hero { align-items: center; padding: 120px 0 150px; } }
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); filter: contrast(1.12) saturate(1.18) brightness(1.03); } /* pozele de lucrări sunt fotografii vechi, cu contrast slab */
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
/* umbrire doar unde e text (mobil: jos; desktop: stânga), ca fotografia să rămână vie în rest */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,20,32,.30) 0%, rgba(8,20,32,.18) 30%, rgba(8,20,32,.62) 62%, rgba(8,20,32,.9) 100%); }
@media (min-width: 1001px) { .hero::after { background: linear-gradient(90deg, rgba(8,20,32,.82) 0%, rgba(8,20,32,.5) 38%, rgba(8,20,32,0) 62%), linear-gradient(0deg, rgba(8,20,32,.45), transparent 30%); } }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: end; }
.hero-inner > * { min-width: 0; }
@media (min-width: 1001px) { .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; } }
.hero h1 { max-width: 16ch; font-size: clamp(36px, 5.2vw, 64px); text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .lead { color: #DCE6EF; max-width: 46ch; margin-bottom: 28px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; margin-bottom: 20px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); font-size: 14px; font-weight: 600; color: var(--white); }
.pill b { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; }
.btn-glass { background: rgba(255,255,255,.14); color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.hero-panel { padding: 18px; border-radius: var(--r-l); background: rgba(15,34,53,.38); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), var(--shadow-l); }
.hero-panel-title { margin: 4px 6px 12px; font-weight: 700; font-size: 15px; color: #C9D6E2; }
.hero-tabs { display: grid; gap: 8px; }

.hero-tab { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px; border: 0; border-radius: 16px; background: transparent; color: var(--white); text-align: left; font-family: var(--font); cursor: pointer; scroll-snap-align: start; overflow: hidden; transition: background .3s; }
.hero-tab:hover { background: rgba(255,255,255,.08); }
.hero-tab[aria-pressed="true"] { background: rgba(255,255,255,.95); color: var(--ink); }
.hero-tab-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); transition: background .3s, color .3s; }
.hero-tab[aria-pressed="true"] .hero-tab-ico { background: var(--accent); color: var(--ink); }
.hero-tab-txt strong { display: block; font-size: 16px; }
.hero-tab-txt small { display: block; font-size: 13.5px; opacity: .75; font-weight: 600; }
.hero-tab-bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px; background: rgba(15,34,53,.08); opacity: 0; }
.hero-tab[aria-pressed="true"] .hero-tab-bar { opacity: 1; }
.hero-tab-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--accent); }
.hero.playing .hero-tab[aria-pressed="true"] .hero-tab-bar i { animation: progress var(--dur, 6s) linear forwards; }
@media (max-width: 1000px) { .hero { padding-top: 48px; } .hero-panel { padding: 12px; } .hero-panel-title { margin-bottom: 8px; }
  .hero-tabs { grid-template-columns: 1fr 1fr; gap: 6px; }  /* cele 4 file mereu vizibile (2 × 2), fără bandă derulabilă */
  .hero-tab { gap: 10px; padding: 10px 10px 14px; border-radius: 14px; }
  .hero-tab-ico { width: 34px; height: 34px; border-radius: 10px; }
  .hero-tab-ico svg { width: 18px; height: 18px; }
  .hero-tab-txt strong { font-size: 14px; line-height: 1.2; }
  .hero-tab-txt small { display: none; }
  .hero-tab-bar { left: 10px; right: 10px; bottom: 5px; } }
@keyframes progress { to { width: 100%; } }

/* Cifre suprapuse */
.stats-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: -64px; border-radius: var(--r-l); overflow: hidden; background: var(--line); box-shadow: var(--shadow-l); }
@media (min-width: 1001px) { .stats-strip { grid-template-columns: repeat(4, 1fr); margin-top: -72px; } }
.stats-strip > div { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; background: var(--white); text-align: center; }
.stats-strip strong { display: block; font-size: clamp(30px, 3.4vw, 42px); line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.stats-strip span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.stats-strip + * { margin-top: 0; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 24px 0; margin-top: var(--section-s); border-block: 1px solid var(--line); background: var(--white); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: #7C8A98; white-space: nowrap; }
.marquee span em { font-style: normal; font-weight: 500; font-size: 14px; margin-left: 8px; color: var(--ink-3); letter-spacing: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Category cards (photo bento) ---------- */
.cats { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 751px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1001px) { .cats { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 250px; gap: 20px; } .cat:nth-child(1) { grid-column: span 3; grid-row: span 2; } .cat:nth-child(2), .cat:nth-child(3) { grid-column: span 3; } .cat:nth-child(n+4) { grid-column: span 2; } }
.cat { position: relative; display: block; min-height: 240px; border-radius: var(--r-m); overflow: hidden; text-decoration: none; color: var(--white); isolation: isolate; box-shadow: var(--shadow-s); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,34,53,0) 35%, rgba(15,34,53,.82) 100%); }
.cat:hover img { transform: scale(1.06); }
.cat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.cat h3 { margin: 0 0 4px; font-size: 24px; }
.cat:nth-child(1) h3 { font-size: clamp(26px, 3vw, 36px); }
.cat p { margin: 0; font-size: 15px; color: rgba(255,255,255,.85); }
.cat .chip { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); transition: background .3s, transform .3s var(--ease); }
.cat:hover .chip { background: var(--accent); color: var(--ink); transform: rotate(-45deg); }
.cat .count { position: absolute; top: 18px; left: 18px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); font-size: 13px; font-weight: 700; }

/* ---------- Stats / why ---------- */
.why { display: grid; gap: 40px; }
@media (min-width: 1001px) { .why { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 72px; } }
.why-photo { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-m); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-badge { position: absolute; left: 20px; bottom: 20px; padding: 16px 20px; border-radius: var(--r-m); background: rgba(255,255,255,.92); backdrop-filter: blur(8px); box-shadow: var(--shadow-m); }
.why-badge strong { display: block; font-size: 40px; line-height: 1; letter-spacing: -0.03em; }
.why-badge span { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0; }
.stat { padding: var(--pad); border-radius: var(--r-m); background: var(--bg); }
.section-white .stat { background: var(--bg); }
.stat strong { display: block; font-size: clamp(34px, 4vw, 46px); line-height: 1; letter-spacing: -0.03em; font-weight: 800; }
.stat span { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-2); font-weight: 600; }
.features { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.features .tick { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); margin-top: 2px; }

/* ---------- Layers explorer (scroll-driven) ---------- */
.layers-sec { background: linear-gradient(180deg, var(--ink) 0%, #16314B 100%); color: var(--white); overflow: hidden; }
.layers-sec .lead { color: #B9C7D4; }
.layers-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1001px) { .layers-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.stack { position: relative; height: 420px; perspective: 1400px; }
.stack-inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
.layer { position: absolute; left: 50%; top: 50%; width: 260px; height: 200px; margin: -100px 0 0 -130px; border-radius: 10px; transform: translateZ(calc(var(--i) * var(--gap, 14px))); transition: transform .9s var(--ease), box-shadow .3s; box-shadow: 0 30px 40px -20px rgba(0,0,0,.5); cursor: pointer; }
@media (min-width: 751px) { .layer { width: 320px; height: 240px; margin: -120px 0 0 -160px; } }
.stack.open { --gap: 62px; }
.layer.active { box-shadow: 0 0 0 3px var(--accent), 0 30px 40px -20px rgba(0,0,0,.5); }
.l-osb { background: repeating-linear-gradient(115deg, #C99A5B 0 6px, #B9884A 6px 9px, #D4A86C 9px 15px); }
.l-mem { background: linear-gradient(135deg, #5E7A8F, #3E5A70); }
.l-mem::after { content: ""; position: absolute; inset: 0; border-radius: 10px; background: repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,.18) 38px 40px); }
.l-dol { background: linear-gradient(135deg, #2E3B46, #1E2A33); }
.l-shingle { background-color: #46525C; background-image: radial-gradient(circle at 50% 120%, transparent 18px, rgba(0,0,0,.28) 19px, transparent 21px), radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.5px); background-size: 40px 26px, 5px 5px; }
.layer-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: l; }
.layer-list button { display: flex; gap: 14px; align-items: center; width: 100%; padding: 14px 16px; border: 0; border-radius: var(--r-s); background: rgba(255,255,255,.06); color: var(--white); font: 600 16px/1.3 var(--font); text-align: left; cursor: pointer; transition: background .2s; }
.layer-list button:hover, .layer-list button[aria-pressed="true"] { background: rgba(255,255,255,.14); }
.layer-list button::before { counter-increment: l; content: counter(l); display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.12); font-weight: 800; font-size: 14px; }
.layer-list button[aria-pressed="true"]::before { background: var(--accent); color: var(--ink); }
.layer-list small { display: block; color: #B9C7D4; font-weight: 500; font-size: 14px; }

/* ---------- Projects carousel ---------- */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
@media (min-width: 751px) { .carousel { grid-auto-columns: 46%; } }
@media (min-width: 1001px) { .carousel { grid-auto-columns: 31%; gap: 24px; } }
.project { scroll-snap-align: start; margin: 0; }
.project-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-s); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project-img img { transform: scale(1.05); }
.project .tag { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 13px; font-weight: 700; }
.project h3 { margin: 16px 0 4px; font-size: 19px; }
.carousel-nav { display: flex; gap: 10px; }
.round-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); box-shadow: var(--shadow-s); cursor: pointer; transition: background .2s, transform .2s; }
.round-btn:hover { background: var(--ink); color: var(--white); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: s; }

@media (min-width: 751px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1001px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.step { position: relative; padding: var(--pad); border-radius: var(--r-m); background: var(--white); box-shadow: var(--shadow-s); counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); display: block; margin-bottom: 18px; font-size: 15px; font-weight: 800; color: var(--accent-dark); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 750px) { .steps { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 10px; }  /* 2 × 2, toate cartelele de aceeași mărime */
  .step { padding: 16px 14px; } .step::before { margin-bottom: 10px; } .step h3 { font-size: 16px; } .step p { font-size: 14px; line-height: 1.45; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 1001px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r-s); background: var(--white); box-shadow: var(--shadow-s); overflow: hidden; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 17px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2235' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-2); }
.faq .answer p { margin: 0; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--r-l); padding: var(--pad-l); background: radial-gradient(800px 400px at 100% 0%, rgba(245,165,36,.35), transparent 60%), linear-gradient(135deg, var(--ink), #1C3A57); color: var(--white); }
@media (min-width: 1001px) { .cta { padding: 48px 56px; } }
.cta-grid { display: grid; gap: var(--head); }
@media (min-width: 1001px) { .cta-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.cta .lead { color: #C3D0DC; }
.cta-phones { display: grid; gap: 4px; margin-top: 24px; }
.cta-phones a { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.cta .status { color: #9EE6C2; margin-top: 12px; }
.cta .status.closed { color: #FFD98A; }
.quick { padding: var(--pad); border-radius: var(--r-m); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.quick .field label { color: #DCE5EE; }
.quick input, .quick select { background: rgba(255,255,255,.95); border-color: transparent; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.fields { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 751px) { .fields { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.form-lista { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-s); padding: var(--pad); gap: 8px; }
.form-lista-cap { font-size: 14px; font-weight: 700; }
.form-lista ul { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; font-size: 15px; overflow-wrap: anywhere; }
.form-lista li { padding: 6px 0; border-top: 1px solid var(--line); }
.form-lista li:first-child { border-top: 0; }
.form-lista .form-lista-total { font-weight: 800; border-top: 2px solid var(--ink); }
.form-lista .mic { margin: 0; }
.field label { font-size: 14px; font-weight: 700; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea { width: 100%; min-height: 52px; padding: 14px 16px; font: 500 16px/1.4 var(--font); color: var(--ink); background: var(--white); border: 1.5px solid var(--input); border-radius: var(--r-s); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 120px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(245,165,36,.35); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.req { color: var(--accent-dark); }
.err { color: #B42318; font-size: 13.5px; font-weight: 600; }
.quick .err { color: #FFB4A8; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #B42318; }
.trap { position: absolute; left: -9999px; }
.done { padding: var(--pad-l); border-radius: var(--r-m); background: var(--white); color: var(--ink); box-shadow: var(--shadow-m); }
.done h3 { display: flex; gap: 10px; align-items: center; }

/* ---------- Footer ---------- */
.footer { padding: var(--section-s) 0 32px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 1001px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (max-width: 1000px) { .footer-grid { gap: 28px 20px; } .footer-grid > :last-child { grid-column: 1 / -1; } .footer ul { gap: 8px; } }
@media (max-width: 750px) { .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 32px; } }
@media (min-width: 1001px) { .footer-brand { grid-column: auto; } }
.footer h2 { font-size: 15px; letter-spacing: 0; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--ink-2); }
@media (max-width: 1000px) { .footer ul a { display: inline-block; padding: 5px 0; } .footer-bottom a { display: inline-block; padding: 6px 0; } }  /* linkuri ușor de atins pe telefon */
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--white); isolation: isolate; padding: 48px 0 56px; }
@media (min-width: 1001px) { .page-hero { padding: 72px 0 80px; } }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,34,53,.88) 0%, rgba(15,34,53,.55) 55%, rgba(15,34,53,.2) 100%); }
.page-hero .lead { color: #D3DEE8; }
.crumbs { margin-bottom: 20px; font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; opacity: .8; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.page-hero h1 { max-width: 16ch; font-size: clamp(34px, 5vw, 58px); }

/* Product cards */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--white); box-shadow: var(--shadow-s); font: 700 14.5px/1 var(--font); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.products { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1001px) { .products { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.product { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-m); background: var(--white); box-shadow: var(--shadow-s); overflow: hidden; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.product-img { aspect-ratio: 16 / 10; background: var(--sky); overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product-img img { transform: scale(1.05); }
.product-img.icon { display: grid; place-items: center; background: linear-gradient(135deg, var(--sky), #F3F7FB); color: var(--ink); }
.product-body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.product-body h3 { font-size: 19px; margin-bottom: 6px; }
.product-body p { margin: 0 0 16px; color: var(--ink-2); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag-s { padding: 4px 10px; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.tag-s.hot { background: var(--accent-soft); color: var(--warn); }

/* Product page */
.pdp { display: grid; gap: 40px; padding: 24px var(--gutter) 48px; }
@media (min-width: 1001px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 64px; padding-top: 40px; } }
.gallery-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-m); background: var(--sky); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.thumbs button { aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--r-s); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-s); opacity: .7; transition: opacity .2s, box-shadow .2s; }
.thumbs button[aria-pressed="true"], .thumbs button:hover { opacity: 1; box-shadow: 0 0 0 3px var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
/* desktop: două rânduri de miniaturi (8); restul la „Toate pozele” (butonul apare doar dacă sunt peste 8, clasa .many din app.js) */
.thumbs-toggle { display: none; align-items: center; gap: 6px; margin: 12px auto 0; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-s); font: 700 14px/1 var(--font); color: var(--ink); cursor: pointer; }
.thumbs-toggle small { font-weight: 600; color: var(--ink-2); }
.thumbs-toggle svg { transition: transform .2s; }
.thumbs-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (min-width: 751px) {
  .thumbs.many:not(.open) > button:nth-child(n+9) { display: none; }
  .thumbs.many + .thumbs-toggle { display: flex; }
}
@media (max-width: 750px) {  /* telefon: un rând de miniaturi + butonul „Toate pozele” */
  .thumbs:not(.open) > button:nth-child(n+5) { display: none; }
  .thumbs-toggle { display: flex; align-items: center; gap: 6px; margin: 12px auto 0; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-s); font: 700 14px/1 var(--font); color: var(--ink); cursor: pointer; }
  .thumbs-toggle small { font-weight: 600; color: var(--ink-2); }
  .thumbs-toggle svg { transition: transform .2s; }
  .thumbs-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
}
.pdp .crumbs a { color: var(--ink-2); opacity: 1; }
.pdp h1 { font-size: clamp(32px, 4vw, 48px); }
.colors { margin: 24px 0; }
.colors .swatches { margin-top: 10px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.fact { padding: 16px 18px; border-radius: var(--r-s); background: var(--white); box-shadow: var(--shadow-s); }
.fact dt { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.fact dd { margin: 4px 0 0; font-weight: 800; font-size: 18px; }
.tabs-bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 28px; background: var(--white); box-shadow: var(--shadow-s); width: max-content; max-width: 100%; margin-bottom: 32px; }
.tab-btn { flex: none; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font: 700 15px/1 var(--font); color: var(--ink-2); cursor: pointer; }
.tab-btn[aria-selected="true"] { background: var(--ink); color: var(--white); }
/* toate filele mereu vizibile, pe orice ecran: când nu încap pe un rând, trec pe rândul următor (nu o bară care se derulează
   și ascunde filele). Pe desktop încap pe un rând și bara arată ca o pastilă (raza 28px = jumătate din înălțime). */
.tabs-bar .tab-btn { flex: 1 1 auto; }
@media (max-width: 750px) { .tabs-bar .tab-btn { padding: 0 14px; } }
.panel-grid { display: grid; gap: 32px; }
@media (min-width: 1001px) { .panel-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.spec { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-s); overflow: hidden; box-shadow: var(--shadow-s); }
.spec th, .spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: top; }
.spec th { width: 42%; color: var(--ink-2); font-weight: 600; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.layers-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: lm; }
.layers-mini li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-s); background: var(--white); box-shadow: var(--shadow-s); counter-increment: lm; font-weight: 600; }
.layers-mini li::before { content: counter(lm); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--warn); font-size: 13px; font-weight: 800; flex: none; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 751px) { .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .docs a { height: 100%; } }
.docs a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-s); background: var(--white); box-shadow: var(--shadow-s); text-decoration: none; font-weight: 700; transition: transform .2s; }
.docs a:hover { transform: translateX(4px); }
.docs .doc-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--warn); flex: none; }
.docs small { display: block; font-weight: 500; color: var(--ink-3); }
/* fișe traduse: cardul deschide limba paginii; dedesubt, butoanele RO / RU / original */
.docs .doc-tr { position: relative; }
.docs .doc-tr > a { padding-bottom: 52px; }
.doc-lang { position: absolute; left: 72px; bottom: 14px; display: flex; gap: 6px; }
.docs .doc-lang a { display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--ink); }
.docs .doc-lang a:hover { transform: none; background: var(--accent-soft); }
.docs .doc-lang a[hreflang="ro"]:lang(ro), .docs .doc-lang a[hreflang="ru"]:lang(ru) { background: var(--ink); color: var(--white); }
.sticky-buy { position: sticky; top: 100px; }

/* Contacts */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 1001px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: stretch; }
  .contact-grid > :last-child { align-self: start; } }  /* stânga se aliniază la formularul lung; formularele scurte nu lasă gol alb */
.card { padding: var(--pad-l); border-radius: var(--r-l); background: var(--white); box-shadow: var(--shadow-m); }
.phone-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.phone-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: var(--r-s); background: var(--bg); }
.phone-list a.num { display: inline-block; padding: 4px 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.phone-list small { display: block; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.msg { display: inline-flex; gap: 6px; }
@media (max-width: 520px) { .phone-list .msg { flex-basis: 100%; } }  /* pe telefon butoanele stau la fel sub fiecare număr */
.msg a { padding: 8px 14px; border-radius: 999px; color: var(--white); text-decoration: none; font-size: 13px; font-weight: 700; }
.msg .v { background: var(--viber); }
.msg .w { background: var(--whatsapp); }
.info-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
@media (max-width: 560px) { .info-row { grid-template-columns: 1fr; } }  /* adresele una sub alta pe telefon, nu în coloane înguste */
.info { padding: 16px; border-radius: var(--r-s); background: var(--bg); }
.mails { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; }
.mails dt { color: var(--ink-3); font-weight: 600; }
.mails dd { margin: 0; white-space: nowrap; }
.mails a { display: inline-block; padding: 3px 0; }
@media (max-width: 420px) { .mails { grid-template-columns: 1fr; gap: 0; } .mails dt { margin-top: 8px; font-size: 14px; } .mails dt:first-child { margin-top: 0; } }  /* telefoane înguste: eticheta deasupra adresei */
.info-row-full { grid-template-columns: 1fr; }
.info strong { display: block; font-size: 13px; color: var(--ink-3); }
.map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-m); overflow: hidden; background: linear-gradient(135deg, #DCE7F0, #EEF3F8); }
.map button { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; text-align: center; font: 700 16px/1.4 var(--font); color: var(--ink); }
.map iframe { width: 100%; height: 100%; border: 0; }
.form-tabs { display: flex; gap: 6px; padding: 6px; margin-bottom: 20px; border-radius: 999px; background: var(--bg); overflow-x: auto; }
.form-tabs .tab-btn { flex: 1 1 auto; white-space: nowrap; }
/* pe telefon filele nu se rup în cuvinte: trec pe rândul următor și rândul incomplet ocupă toată lățimea (ca bara de game) */
@media (max-width: 520px) { .form-tabs { flex-wrap: wrap; border-radius: 22px; overflow: visible; } .form-tabs .tab-btn { padding: 0 14px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.proto-note { background: var(--ink); color: #C3D0DC; font-size: 12.5px; text-align: center; padding: 6px var(--gutter); }

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

/* Intro luminos pentru pagini interne fără fotografie */
.intro { padding: 40px 0 var(--section-s); background: radial-gradient(900px 400px at 90% 0%, #FFE9C2 0%, rgba(255,233,194,0) 60%), linear-gradient(180deg, #DCEBF7 0%, var(--bg) 100%); }
@media (min-width: 1001px) { .intro { padding: 64px 0 var(--section-s); } }

/* Selector segmentat (formă șindrilă) + mostre de culoare */
.studio-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; margin-bottom: 16px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-s); }
.studio-tab { flex: 1 1 120px; min-height: 42px; /* rândul incomplet se întinde pe toată lățimea */ padding: 6px 12px; border: 0; border-radius: 14px; background: transparent; font: 700 14px/1.2 var(--font); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.studio-tab[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.swatch { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), 0 0 0 1px rgba(15,34,53,.14); transition: transform .2s var(--ease), box-shadow .2s; }
.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--white), 0 0 0 3px var(--ink); }

/* Previzualizare textură Kerabit */
.kb-preview { width: 100%; min-height: 90px; border-radius: var(--r-s); background-color: var(--sky); background-repeat: no-repeat; box-shadow: var(--shadow-s); }
.swatch[data-tex] { background-repeat: no-repeat; background-color: var(--sky); }
.hero-pl { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 0; min-height: 32px; color: #DCE6EF; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.hero-pl:hover { color: var(--white); }

/* Bloc de preț pe paginile de produs (buybox.js) */
.buybox { margin: 20px 0 8px; padding: var(--pad); border-radius: var(--r-m); background: var(--white); box-shadow: var(--shadow-m); }
.bb-price strong { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.bb-price span { font-weight: 700; color: var(--ink-2); }
.bb-price em { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #E7F5EE; color: #17704A; font-style: normal; font-size: 12px; font-weight: 800; vertical-align: middle; }
.bb-per { margin: 2px 0 14px; }
.bb-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.bb-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bb-qunit { font-weight: 700; }
.bb-total { margin-left: auto; font-size: 24px; font-weight: 800; }
.bb-packs { margin: 8px 0 16px; }
.bb-count { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14px; }
.buybox .btn-row .btn { padding: 0 20px; }  /* „Adaugă în listă” + „WhatsApp” pe un singur rând și în RO, și în RU (bloc de 478 px) */
@media (max-width: 420px) { .bb-row { gap: 8px; } .bb-total { font-size: 21px; } }  /* cantitate, unitate și total pe un rând la 390 px */
.qty { display: inline-flex; align-items: center; border-radius: 999px; background: var(--bg); }
.qty button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; font: 800 20px/1 var(--font); color: var(--ink); cursor: pointer; }
.qty button:hover { background: var(--sky); }
.qty input { width: 64px; min-height: 42px; padding: 0; border: 0; background: transparent; text-align: center; font: 800 17px/1 var(--font); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* variantele: grilă cu coloane egale (ca filele), textul pe cel mult două rânduri */
.sku-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.sku-chips[hidden] { display: none; }
.sku-chip { min-height: 44px; padding: 6px 12px; line-height: 1.2; text-align: center; border: 0; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-s); font: 700 14px/1.2 var(--font); color: var(--ink-2); cursor: pointer; }
.sku-chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }

/* Text doar pentru cititoare de ecran */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Pagina de produs: galeria + datele-cheie în stânga (fixate la derulare), fără goluri */
.pdp-left .facts { margin: 20px 0 0; }
@media (max-width: 1000px) {
  .pdp-left { display: contents; }
  .pdp-info { order: 2; }
  .pdp .facts { order: 3; margin: 0; }
  /* galeria rămâne compactă: miniaturile și butonul „Toate pozele” lipite de poza mare, nu la distanța de 40 px a grilei */
  .pdp-left > .thumbs { margin-top: -28px; }
  .pdp-left > .thumbs-toggle { margin: -32px auto 0; min-height: 40px; }
  .pdp-info { margin-top: -16px; }  /* galerie → titlu: 24 px, nu 40 */
}
@media (min-width: 1001px) { .pdp-left { position: sticky; top: 92px; align-self: start; } .pdp-left .thumbs button { aspect-ratio: 4 / 3; } }

/* Tab Avantaje: foto + carduri cu iconițe */
.feat-layout { display: grid; gap: 20px; }
@media (min-width: 1001px) { .feat-layout { grid-template-columns: 1fr 1.7fr; gap: 28px; } }
.feat-photo { position: relative; margin: 0; min-height: 300px; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-m); }
.feat-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 16px 18px; border-radius: var(--r-m); background: rgba(255,255,255,.94); font-size: 14.5px; color: var(--ink-2); box-shadow: var(--shadow-m); }
.feat-photo figcaption strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.feat-grid { display: grid; gap: 14px; }
@media (min-width: 751px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
.feat { padding: var(--pad); border-radius: var(--r-m); background: var(--bg); }
.feat h3 { margin: 0 0 6px; font-size: 17px; }
.feat p { margin: 0; color: var(--ink-2); font-size: 15px; }
.feat-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; background: var(--ink); color: var(--accent); }

/* Tab Structura: secțiune prin material, desenată din CSS */
.xsec { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.xsec li { display: grid; grid-template-columns: minmax(110px, 42%) 1fr; gap: 18px; align-items: center; }
.xsec .band { height: var(--h, 16px); margin-left: calc(var(--i, 0) * 10px); border-radius: 6px; box-shadow: var(--shadow-s); }
.xsec strong { display: block; font-size: 15.5px; }
.xsec small { display: block; color: var(--ink-2); font-size: 14px; }
.b-gran { background: radial-gradient(circle at 30% 40%, #C0583F 1.4px, transparent 2px) 0 0 / 7px 7px, radial-gradient(circle at 70% 70%, #1E1E1E 1.6px, transparent 2.2px) 0 0 / 9px 9px, #6A3A30; }
.b-gran-grey { background: radial-gradient(circle at 30% 40%, #9AA3AB 1.4px, transparent 2px) 0 0 / 7px 7px, radial-gradient(circle at 70% 70%, #2A3138 1.6px, transparent 2.2px) 0 0 / 9px 9px, #4E565E; }
.b-sbs { background: linear-gradient(180deg, #34383C, #15181B); }
.b-glass { background: repeating-linear-gradient(45deg, #EDE6D3 0 3px, #CDBF9E 3px 6px); }
.b-hdpe { background: linear-gradient(180deg, #A9BCCB, #7F95A8); }
.b-adh { background: linear-gradient(180deg, #4A4A4A, #1E1E1E 70%, #3A3A3A); }
.b-sil { background: repeating-linear-gradient(90deg, #FFFFFF 0 10px, #E9EEF3 10px 20px); box-shadow: inset 0 0 0 1px #D5DEE7; }
.b-foam { background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.55) 2px, transparent 3px) 0 0 / 12px 12px, linear-gradient(180deg, #F4DDAF, #E2BE7E); }
.b-vapor { background: linear-gradient(180deg, #9FB3C4, #6F8598); }
.b-primer { background: linear-gradient(180deg, #7A5432, #55391F); }
.b-concrete { background: repeating-linear-gradient(135deg, #C3C9CF 0 6px, #AEB5BC 6px 8px); }
.struct-photo { margin: 24px 0 0; border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-s); aspect-ratio: 16 / 10; }
.struct-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Tab Ce îți trebuie: schemă + listă + sfaturi */
.need { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1001px) { .need { grid-template-columns: 1.25fr 1fr; gap: 56px; } }
.diagram { margin: 0; padding: 16px; border-radius: var(--r-l); background: var(--bg); }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram .pin circle { fill: var(--accent); stroke: var(--white); stroke-width: 3; }
.diagram .pin text { font: 800 13px/1 var(--font); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.diagram .lead { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 3; fill: none; }
.tips-title { margin: 40px 0 16px; }
.tips { display: grid; gap: 14px; }
@media (min-width: 751px) { .tips { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1001px) { .tips { grid-template-columns: repeat(var(--cols, 4), 1fr); } }
.tip { padding: var(--pad); border-radius: var(--r-m); background: var(--accent-soft); }
.tip-ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 12px; background: var(--white); color: var(--warn); }
.tip h4 { margin: 0 0 6px; font-size: 16px; }
.tip p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.pdp + .section { padding-top: var(--section-s); }
.xsec { padding: var(--pad); border-radius: var(--r-l); background: var(--bg); gap: 16px; }
.xsec .band { position: relative; height: calc(var(--h, 16px) * 1.3); }
.xsec .band::after { content: ""; position: absolute; left: 100%; top: 50%; width: 18px; border-top: 1.5px dashed var(--ink-3); }
/* Structura: benzi aliniate, linia de legătură la nivelul titlului */
.xsec li { align-items: start; }
.xsec .band { margin-left: 0; margin-top: calc(11px - var(--h, 16px) * .65); }
.xsec li > span:last-child { min-height: 22px; }

/* Previzualizarea variantei alese (poza componentei), pe paginile de produs cu poze pe variantă */
.comp-preview { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; margin-top: 4px; padding: 12px; border-radius: var(--r-m); background: var(--white); box-shadow: var(--shadow-s); }
.comp-preview img { width: 120px; height: 120px; object-fit: contain; border-radius: var(--r-s); background: #fff; }
.comp-preview p { margin: 0; }
/* Grilă de componente (tab „Componentele sistemului”) */
.comp-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 751px) { .comp-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1001px) { .comp-grid { grid-template-columns: repeat(7, 1fr); } }
.comp-grid li { padding: 10px; border-radius: var(--r-m); background: var(--bg); text-align: center; font-size: 14px; font-weight: 700; }
.comp-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 8px; border-radius: var(--r-s); background: #fff; }
.comp-grid small { display: block; font-weight: 500; color: var(--ink-2); }

/* Cardurile de accesorii de pe paginile de produs: compacte, 4 pe rând (cerut de client) */
@media (min-width: 1001px) { .products { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.product-img { aspect-ratio: 4 / 3; }
.product-body { padding: 16px 18px 18px; }
.product-body h3 { font-size: 17px; margin-bottom: 4px; }
.product-body p { font-size: 14.5px; margin: 0; }

/* Tabel de comparație (ex. gama 125 vs 133): 20% caracteristica, 40% / 40% valorile */
.spec-compare { table-layout: fixed; }
.spec-compare th:first-child { width: 20%; }
.spec-compare th:not(:first-child), .spec-compare td { width: 40%; }
.spec-compare thead th { color: var(--ink); font-weight: 800; }

/* Hero pe desktop: cu ~20% mai jos, încape pe un ecran împreună cu banda de cifre (cerut de client) */
@media (min-width: 1001px) {
  .hero { min-height: min(calc(100vh - 190px), 640px); padding: 44px 0 100px; }
  .hero h1 { max-width: 21ch; font-size: clamp(36px, 3.9vw, 52px); margin-bottom: 14px; }
  .hero .lead { max-width: 56ch; margin-bottom: 20px; font-size: 18px; }
  .hero .pill { margin-bottom: 16px; }
  .hero-tab { padding-top: 10px; padding-bottom: 10px; }
}
/* Tabel cu 5 coloane egale (ex. membranele de pe Acoperiș plat): 20/20/20/20/20 */
.spec-5 { table-layout: fixed; }
.spec-5 th, .spec-5 td { width: 20%; }
.spec-5 thead th { color: var(--ink); font-weight: 800; }
@media (max-width: 750px) { .spec-5 { display: block; overflow-x: auto; } .spec-5 thead, .spec-5 tbody { display: table; width: 640px; table-layout: fixed; } }

/* Pagini legale (același șablon: termeni, confidențialitate, cookies, accesibilitate) */
.legal { padding-top: 24px; padding-bottom: var(--section); }
.legal-head { max-width: 760px; margin-bottom: 32px; }
.legal-head h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 10px; }
.legal-grid { display: grid; gap: 32px; }
@media (min-width: 1001px) { .legal-grid { grid-template-columns: 260px minmax(0, 760px); gap: 56px; } .legal-toc { position: sticky; top: 100px; align-self: start; } }
.legal-toc { padding: 20px; border-radius: var(--r-m); background: var(--white); box-shadow: var(--shadow-s); font-size: 15px; }
.legal-toc ol, .legal-toc ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-toc a[aria-current="page"] { font-weight: 800; }
.legal-body section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.legal-body section:first-child { padding-top: 0; }
.legal-body h2 { font-size: 22px; margin-bottom: 10px; scroll-margin-top: 100px; }
.legal-body p, .legal-body li { color: var(--ink-2); max-width: 70ch; }
.legal-body ul { padding-left: 20px; display: grid; gap: 6px; }

/* Pagina Ghiduri: fiecare ghid = pași numerotați + panou cu produse (același format pentru toate) */
.guides { display: grid; gap: 24px; padding: var(--section-s) var(--gutter) var(--section); }
.guide { display: grid; gap: 24px; padding: 28px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--shadow-s); scroll-margin-top: 100px; }
@media (min-width: 1001px) { .guide { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; padding: var(--pad-l); } }
.guide h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.guide-steps { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 10px; counter-reset: gs; }
.guide-steps li { position: relative; padding: 12px 14px 12px 52px; border-radius: var(--r-s); background: var(--bg); counter-increment: gs; color: var(--ink-2); }
.guide-steps li::before { content: counter(gs); position: absolute; left: 12px; top: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--accent); font-size: 13px; font-weight: 800; }
.guide-tip { display: flex; gap: 12px; align-items: flex-start; }
.guide-tip .tip-ico { margin-bottom: 0; flex: none; }
.guide-side img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-m); margin-bottom: 16px; }
.guide-side h3 { font-size: 17px; margin-bottom: 8px; }
.guide-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.guide-links a { display: block; padding: 12px 14px; border-radius: var(--r-s); background: var(--bg); font-weight: 700; text-decoration: none; }
.guide-links a::after { content: " →"; color: var(--accent-dark); }

/* Galeria de pe pagina principală: „footer hero” închis la culoare, grid cu poze mari, filtre și vizualizare mărită */
.gallery-sec { padding: var(--section) 0; background: radial-gradient(900px 500px at 90% 0%, rgba(245,165,36,.18), transparent 60%), linear-gradient(160deg, var(--ink), #16324D); color: var(--white); }
.gal-head { display: grid; gap: 20px; margin-bottom: 32px; }
/* titlul și textul pe toată lățimea, filtrele dedesubt (sunt multe categorii) */
.gal-head { margin-bottom: var(--head); }
.gal-head h2 { color: var(--white); font-size: clamp(32px, 4vw, 52px); }
.gal-head .lead { color: #C9D6E2; max-width: 56ch; }
.gal-filters { display: flex; flex-wrap: wrap; gap: 8px; }
/* telefon: filtrele galeriei pe rânduri, toate vizibile (nu o bandă care se derulează și ascunde filtre) */
@media (max-width: 750px) { .gal-filter { flex: 1 1 auto; } }
.gal-filter { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--white); font: 700 14px/1 var(--font); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.gal-filter[aria-pressed="true"] { background: var(--accent); color: var(--ink); box-shadow: none; }
.gal-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; }
@media (min-width: 751px) { .gal-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; gap: 14px; } }
@media (min-width: 1001px) { .gal-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; } }
.gal-item.big { grid-column: span 2; grid-row: span 2; }
.gal-item[hidden] { display: none; }
.gal-open { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--r-m); overflow: hidden; cursor: zoom-in; background: #0b1a29; }
.gal-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal-open:hover img, .gal-open:focus-visible img { transform: scale(1.06); }
.gal-cap { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(8,18,30,.85)); color: var(--white); font-size: 14px; font-weight: 700; text-align: left; line-height: 1.3; }
.gal-cap small { display: block; color: var(--accent); font-size: 12px; font-weight: 800; margin-bottom: 2px; }
@media (max-width: 750px) { .gal-cap { font-size: 12.5px; padding: 22px 10px 8px; } }
.gal-box { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-l); background: #0b1a29; color: var(--white); overflow: visible; }
.gal-box::backdrop { background: rgba(5,12,20,.86); }
.gal-box figure { margin: 0; }
.gal-box img { display: block; width: 100%; max-height: 74vh; object-fit: contain; border-radius: var(--r-l) var(--r-l) 0 0; background: #050c14; }
.gal-box figcaption { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 20px; font-weight: 700; }
.gal-x, .gal-nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font: 800 28px/1 var(--font); cursor: pointer; box-shadow: var(--shadow-m); }
.gal-x { top: -14px; right: -14px; }
.gal-nav { top: 37vh; transform: translateY(-50%); }
.gal-nav.prev { left: -18px; } .gal-nav.next { right: -18px; }
@media (max-width: 750px) { .gal-x { top: 8px; right: 8px; } .gal-nav.prev { left: 6px; } .gal-nav.next { right: 6px; } .gal-nav { top: 30vh; } }
@media (max-width: 750px) { .hero h1 { font-size: 32px; } .hero .lead { font-size: 16px; margin-bottom: 18px; } .hero .pill { margin-bottom: 14px; } }
@media (max-width: 750px) { .gal-item:not(.big) .gal-cap { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
@media (max-width: 750px) { .guide { padding: 20px 16px; } .guide-steps li { padding-left: 48px; } .legal-toc { padding: 16px; } }

/* Contacte: vederi aeriene ilustrate ale celor două locații */
.locs { display: grid; gap: 20px; }
@media (min-width: 1001px) { .locs { grid-template-columns: 1fr 1fr; gap: 28px; } }
.loc { border-radius: var(--r-l); overflow: hidden; background: var(--bg); box-shadow: var(--shadow-s); }
.loc img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.loc-body { padding: 20px 22px 24px; }
.loc-body h3 { font-size: 20px; margin-bottom: 4px; }
.loc-addr { font-weight: 700; margin: 0 0 6px; }
.loc .btn-row { margin-top: 14px; }

/* Hărți Contacte: zoom + zonă-link COMPASS */
.loc-map { position: relative; }
.loc-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.loc-zoom-hint { position: absolute; right: 12px; bottom: 34px; padding: 6px 12px; border-radius: 999px; background: rgba(15,34,53,.82); color: #fff; font-size: 13px; font-weight: 700; pointer-events: none; }
.loc-zoom:focus-visible { outline: 3px solid var(--accent, #F5A524); outline-offset: -3px; }
.loc-pin { position: absolute; display: block; border-radius: 12px; cursor: pointer; transition: box-shadow .2s; }
.loc-pin:hover, .loc-pin:focus-visible { box-shadow: 0 0 0 3px #F5A524, 0 8px 24px rgba(15,34,53,.35); outline: none; }
.map-box { width: fit-content; max-width: 96vw; max-height: 94vh; padding: 0; border: 0; border-radius: var(--r-l); background: #E9EEF2; overflow: hidden; }
.map-box::backdrop { background: rgba(5,12,20,.86); }
.map-box-inner { position: relative; width: min(96vw, calc(94vh * 1.5)); }
.map-box-inner img { display: block; width: 100%; height: auto; }
.map-box-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #0F2235; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .loc-pin { transition: none; } }
.map-box .loc-pin:focus:not(:focus-visible) { box-shadow: none; }
@media (max-width: 600px) { .map-box-close { top: 6px; right: 6px; width: 32px; height: 32px; font-size: 22px; } }

/* Galerie pliată + „Vezi mai multe” */
.gal-item.is-folded { display: none; }
.gal-more-row { display: flex; justify-content: center; margin-top: 24px; }
.gal-more-row .btn[hidden] { display: none; }

/* Întrebări frecvente: titlul deasupra, întrebările pe 2 coloane (1 pe mobil) */
.faq-2col { grid-template-columns: 1fr !important; gap: 28px !important; }
.faq-2col .faq { align-items: start; }
@media (min-width: 801px) { .faq-2col .faq { grid-template-columns: 1fr 1fr; gap: 14px 20px; } }

/* Card fără preț (sisteme cu piese diferite): butonul pe toată lățimea */
.pcard-foot.is-mixed .pcard-add { flex: 1; }

/* Banda „Spune-ne ce construiești” (înaintea subsolului): spațiu egal sus și jos */
.section-cta { padding: var(--section-s) 0; }

/* Eticheta „Dealer oficial …” pe paginile de produs */
.tag-s.dealer { background: var(--ink); color: var(--white); }

/* Pagini de produs cu conținut în pregătire (tools/gen_pagini_produs.py) */
.ph-note { padding: var(--pad); border-radius: var(--r-m); background: var(--accent-soft); color: var(--ink); max-width: 720px; }
.ph-note a { font-weight: 700; }
.gallery-ph { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r-l); background: repeating-linear-gradient(135deg, var(--bg) 0 16px, #EDF1F5 16px 32px); color: var(--ink-3); font-weight: 700; }
.ph-feats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ph-feats .feat h3 { font-size: 17px; margin: 0 0 6px; }
.ph-feats .feat p { margin: 0; color: var(--ink-2); }
/* subtitlu de material între variante (Pentru membrană bituminoasă / PVC / TPO) */
.chip-sub { grid-column: 1 / -1; margin: 6px 0 -2px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.chip-sub:first-child { margin-top: 0; }
/* packshot pe fundal alb în cardurile de produs (accesorii compatibile) */
.product-img img.fit { object-fit: contain; background: var(--white); padding: 16px; }

/* tabel în paginile legale (ex. lista de cookie-uri): pe telefon fiecare rând devine o cartelă */
.legal-table table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 12px; }
.legal-table th, .legal-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { font-size: 13px; color: var(--ink-3); font-weight: 700; }
@media (max-width: 750px) { .legal-table thead { display: none; } .legal-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .legal-table td { display: block; padding: 2px 0; border: 0; } .legal-table td:first-child { font-weight: 700; }
  .legal-table td:nth-child(2)::before { content: "Tip: "; } .legal-table td:nth-child(3)::before { content: "Rol: "; }
  .legal-table td:nth-child(4)::before { content: "Durată: "; } .legal-table td:nth-child(5)::before { content: "Acord: "; }
  :lang(ru) .legal-table td:nth-child(2)::before { content: "Тип: "; } :lang(ru) .legal-table td:nth-child(3)::before { content: "Назначение: "; }
  :lang(ru) .legal-table td:nth-child(4)::before { content: "Срок: "; } :lang(ru) .legal-table td:nth-child(5)::before { content: "Согласие: "; }
  .legal-table td::before { color: var(--ink-3); font-weight: 700; font-size: 14px; } }

/* bara de jos a footerului: zonă de atingere de minimum 24px (WCAG 2.2) */
.footer-bottom a { display: inline-block; padding-block: 4px; }

/* Cloudflare Turnstile (formulare, site-ul live) */
.ts-box { margin: 4px 0 12px; min-height: 0; }
.ts-box { width: 100%; }
.form-fail { margin-top: 12px; color: var(--warn, #8A5A00); font-weight: 600; }

/* buton plutitor „Lista de ofertă” (toate paginile; apare doar când lista are produse) */
.quote-fab { position: fixed; z-index: 70; right: 16px; bottom: calc(var(--bar) + 24px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font: 800 15px/1 var(--font); box-shadow: var(--shadow-l); cursor: pointer; }
@media (min-width: 751px) { .quote-fab { right: 28px; bottom: 28px; } }
.quote-fab b { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 13px; }
a.quote-fab { text-decoration: none; }
.quote-fab { transition: opacity .2s, transform .2s, visibility .2s; }
/* la subsol butonul listei dispare (nu acoperă Confidențialitate / Cookies); clasa .fab-off o pune app.js */
.fab-off .quote-fab { opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none; }

/* pe mobil lista e în bara de jos (butonul „Ofertă” devine „Lista (n)”), deci fără butonul plutitor */
@media (max-width: 750px) { .quote-fab { display: none !important; } }
.bar .b-offer { position: relative; }
.bar .bar-n { position: absolute; top: 4px; right: 8px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 800; line-height: 1; }

/* formularul la care duce „Trimite lista” nu rămâne sub antetul fix */
form[data-form] { scroll-margin-top: 96px; }

/* bara de jos lipită de marginea ecranului: colțuri rotunjite doar sus, spațiul de sistem (iPhone) inclus în bară */
.bar { height: calc(var(--bar) + env(safe-area-inset-bottom)); padding-bottom: calc(6px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }

/* întrebări frecvente: pe telefon doar primele 4, restul la buton */
.faq-toggle { display: none; }
@media (max-width: 750px) {
  .faq-fold:not(.open) > details:nth-of-type(n+5) { display: none; }
  .faq-toggle { display: flex; margin: 16px auto 0; }
}

/* banner de consimțământ (apare doar când GA4 e activat în config.js) */
.consent { position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(var(--bar) + 16px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; padding: 18px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-l); font-size: 15px; line-height: 1.5; }
.consent p { margin: 0 0 12px; }
.consent-btns { display: flex; gap: 10px; justify-content: flex-end; }
@media (min-width: 751px) { .consent { bottom: 24px; } }

/* bloc de preț pe telefon: „Adaugă în listă” + WhatsApp pe același rând (WhatsApp ca buton-iconiță) */
@media (max-width: 750px) {
  .btn-row:has([data-bb-add]) { display: flex; flex-wrap: nowrap; gap: 10px; }
  .btn-row:has([data-bb-add]) [data-bb-add] { flex: 1 1 auto; min-width: 0; padding-left: 14px; padding-right: 14px; white-space: normal; line-height: 1.2; }
  .btn-row:has([data-bb-add]) a[href*="wa.me"] { flex: 0 0 56px; width: 56px; padding: 0; font-size: 0; justify-content: center;
    background: var(--whatsapp) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 0 0-7.8 13.5L3 21l4.6-1.2A9 9 0 1 0 12 3z'/%3E%3C/svg%3E") center / 24px no-repeat; border-color: var(--whatsapp); }
}
