/* =====================================================================
   ITAPP – design „Atelier” (oct. 2026)
   Luminos, editorial, cu accent cobalt; temă întunecată automată.
   Fără framework-uri, fără CDN. Fonturi locale (Inter, JetBrains Mono).
   ===================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --bg: #f4f2ed;
  --bg-2: #ebe8e1;
  --surface: #ffffff;
  --ink: #15171c;
  --ink-2: #2b2e35;
  --muted: #5d616b;
  --line: #e0dcd3;
  --line-2: #cfcac0;
  --accent: #2741e0;
  --accent-2: #1a2fb5;
  --accent-ink: #ffffff;
  --accent-soft: #e5e9fd;
  --hi: #ffd84d;
  --ok: #1d7f55;
  --ok-soft: #e1f3ea;
  --warn: #a8660f;
  --warn-soft: #fbf0dc;
  --err: #b93a27;
  --err-soft: #fbe6e2;
  --shadow: 0 1px 2px rgba(21,23,28,.05), 0 8px 24px -12px rgba(21,23,28,.18);
  --shadow-lg: 0 2px 6px rgba(21,23,28,.06), 0 30px 60px -30px rgba(21,23,28,.35);
  --night: #15171c;
  --on-night: #f4f2ed;
  --r: 14px;
  --r-sm: 9px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1115; --bg-2: #14171d; --surface: #181b22; --ink: #eef0f4; --ink-2: #d6d9e0; --muted: #a0a5b1;
    --line: #2a2e37; --line-2: #383d48; --accent: #8a98ff; --accent-2: #a7b2ff; --accent-ink: #0f1115; --accent-soft: #1e2442;
    --night: #08090c; --on-night: #eef0f4;
    --hi: #ffd84d; --ok: #4fc792; --ok-soft: #12291f; --warn: #e6a94a; --warn-soft: #2c2213; --err: #ff8a76; --err-soft: #331814;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -30px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --night: #08090c; --on-night: #eef0f4;
  --bg: #0f1115; --bg-2: #14171d; --surface: #181b22; --ink: #eef0f4; --ink-2: #d6d9e0; --muted: #a0a5b1;
  --line: #2a2e37; --line-2: #383d48; --accent: #8a98ff; --accent-2: #a7b2ff; --accent-ink: #0f1115; --accent-soft: #1e2442;
  --ok: #4fc792; --ok-soft: #12291f; --warn: #e6a94a; --warn-soft: #2c2213; --err: #ff8a76; --err-soft: #331814;
  color-scheme: dark;
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 var(--font); font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.03em; font-weight: 750; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--hi); color: #15171c; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: 0; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 860px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--sm { width: .95em; height: .95em; display: inline-block; vertical-align: -.12em; }
main { display: block; min-height: 50vh; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

/* ---------- Tipografie ---------- */
.h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.h1--sm { font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.02; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); letter-spacing: -.035em; }
.h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--ink-2); max-width: 62ch; line-height: 1.55; }
.grad, .accent { color: var(--accent); }
.hl { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--hi) 75%, transparent) 62%); padding-inline: .05em; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 .78rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 18px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.updated { font: .82rem var(--mono); color: var(--muted); }

/* ---------- Butoane ---------- */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--b); background: var(--b); color: var(--bg); font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s, color .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { color: var(--bg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--primary { --b: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { --b: var(--accent-2); color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); background: var(--surface); }
.btn--wa { --b: #1f9d55; color: #fff; }
.btn--wa:hover { color: #fff; }
.btn--danger { --b: var(--err); color: #fff; }
.btn--danger:hover { color: #fff; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: .88rem; }
.btn--icon { padding: 0; width: 36px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 26px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.spinner { width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Bară sus + antet ---------- */
.topbar { background: var(--night); color: color-mix(in srgb, var(--on-night) 82%, transparent); font-size: .84rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__links { display: flex; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: inherit; }
.topbar a:hover { color: var(--hi); }
.topbar .ico { width: 15px; height: 15px; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 800 .9rem/1 var(--font); letter-spacing: -.04em; position: relative; }
.brand__mark::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 2.5px solid var(--bg); }
.brand__name { font-weight: 800; font-size: 1.22rem; letter-spacing: -.04em; line-height: 1; }
.brand__sub { display: block; font: 500 .68rem/1.3 var(--mono); color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 550; font-size: .97rem; color: var(--ink-2); transition: background .15s, color .15s; }
.nav-link:hover { background: var(--bg-2); color: var(--ink); }
.nav-link.is-active { background: var(--ink); color: var(--bg); }
.main-nav .btn { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; place-items: center; }
.nav-toggle .ico--close { display: none; }
.nav-toggle[aria-expanded="true"] .ico--open { display: none; }
.nav-toggle[aria-expanded="true"] .ico--close { display: block; }
.breadcrumb { display: flex; gap: 8px; font: .8rem var(--mono); color: var(--muted); padding-top: 22px; flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; }

/* ---------- Secțiuni ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section--ink { background: var(--night); color: var(--on-night); }
.section--ink .lead, .section--ink .muted { color: color-mix(in srgb, var(--on-night) 72%, transparent); }
.section--ink .kicker { color: color-mix(in srgb, var(--on-night) 60%, transparent); }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 780px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head--row .lead { margin-bottom: 0; }
.section-head--row > div { flex: 1 1 560px; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 5.6vw, 4.9rem); }
.hero__title .line { display: block; }
.hero__lead { margin-top: 22px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 30px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; font-weight: 550; color: var(--ink-2); }
.chip .ico { width: 15px; height: 15px; color: var(--accent); }
.hero__visual { position: relative; min-height: 440px; }
.stack { position: relative; height: 100%; min-height: 440px; }
.stack__card { position: absolute; width: 78%; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-decoration: none; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.stack__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.stack__card:nth-child(1) { left: 0; top: 0; transform: rotate(-3deg); z-index: 1; }
.stack__card:nth-child(2) { right: 0; top: 18%; transform: rotate(2.5deg); z-index: 2; }
.stack__card:nth-child(3) { left: 8%; bottom: 0; transform: rotate(-1deg); z-index: 3; }
.stack__card:hover { transform: rotate(0) translateY(-6px) scale(1.02); z-index: 5; color: var(--ink); }
.stack__label { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 600 .8rem/1.2 var(--font); color: var(--ink); }
.stack__label i { font: 500 .7rem var(--mono); color: var(--muted); font-style: normal; }
.stack__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); display: inline-block; margin-right: 6px; }

/* ---------- Bandă tehnologii ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 16px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 44px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__item { font: 500 .88rem var(--mono); color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.marquee__item::after { content: "✦"; color: var(--accent); font-size: .7rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Carduri ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card h3 { font-size: 1.16rem; margin-bottom: .45em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .97rem; }
.card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.card__icon .ico { width: 22px; height: 22px; }
.card__tag { position: absolute; top: 20px; right: 22px; font: .74rem var(--mono); color: var(--muted); }
.card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-weight: 600; font-size: .94rem; text-decoration: none; color: var(--ink); }
.card__link .ico { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card__link { color: var(--accent); }
.card:hover .card__link .ico { transform: translateX(3px); }
.card--link { text-decoration: none; display: block; color: var(--ink); }
.card--link:hover { color: var(--ink); transform: translateY(-3px); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }

/* Despre */
.audience { display: grid; gap: 14px; margin: 28px 0; }
.audience__item { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.audience__item .card__icon { margin: 0; }
.audience__item strong { display: block; margin-bottom: 4px; }
.audience__item p { margin: 0; color: var(--muted); font-size: .96rem; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 10px; align-items: center; font-weight: 550; }
.checklist .ico { color: var(--ok); }
.photo { position: relative; border-radius: 22px; overflow: hidden; margin: 0; background: var(--bg-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 4.4; }
.photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-radius: 12px; padding: 12px 16px; font-size: .9rem; color: var(--ink-2); border: 1px solid var(--line); }
.photo figcaption b { display: block; font: 600 .74rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }

/* Pași */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 0; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.step { counter-increment: s; padding: 26px 24px 8px 0; position: relative; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font: 700 .82rem var(--mono); color: var(--accent); margin-bottom: 30px; }
.step::after { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 3px; background: var(--accent); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .97rem; }
.section--ink .steps { border-color: color-mix(in srgb, var(--on-night) 18%, transparent); }
.section--ink .step p { color: color-mix(in srgb, var(--on-night) 66%, transparent); }
.section--ink .step::before { color: var(--hi); }
.section--ink .step::after { background: var(--hi); }

/* ---------- Produse ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-grid--home { grid-template-columns: repeat(3, 1fr); }
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-card__img { display: block; position: relative; aspect-ratio: 16 / 10; background: var(--bg-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__img > span:not(.product-card__cat) { display: grid; place-items: center; height: 100%; color: var(--muted); }
.product-card__img > span .ico { width: 48px; height: 48px; }
.product-card__cat { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font: 600 .72rem var(--mono); color: var(--ink-2); }
.product-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card__body h2, .product-card__body h3 { font-size: 1.18rem; line-height: 1.2; }
.product-card__body h2 a, .product-card__body h3 a { text-decoration: none; }
.product-card__body p { color: var(--muted); font-size: .95rem; }
.product-card__feat { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 7px; font-size: .92rem; color: var(--ink-2); }
.product-card__feat li { display: flex; gap: 8px; align-items: baseline; }
.product-card__feat .ico { color: var(--ok); }
.product-card .btn-row { margin-top: auto; padding-top: 20px; }
.pfilters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }

.gallery { margin-top: 36px; }
.frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); }
.frame__bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); font: .78rem var(--mono); color: var(--muted); background: var(--bg-2); }
.frame__dots { display: inline-flex; gap: 6px; }
.frame__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.gallery__main { position: relative; background: var(--bg-2); }
.gallery__main img { width: 100%; height: auto; cursor: zoom-in; transition: opacity .18s; }
.gallery__main img.is-fading { opacity: .25; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.gallery__nav--prev { left: 14px; } .gallery__nav--next { right: 14px; }
.gallery__counter { position: absolute; right: 14px; bottom: 14px; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 4px 11px; font: .76rem var(--mono); }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 14px 2px 6px; scrollbar-width: thin; }
.thumbs button { flex: none; padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; cursor: pointer; background: var(--bg-2); opacity: .65; transition: opacity .15s, border-color .15s; }
.thumbs button:hover { opacity: 1; }
.thumbs button.is-active { border-color: var(--accent); opacity: 1; }
.thumbs img { width: 112px; height: 70px; object-fit: cover; object-position: top left; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,11,14,.88); display: none; place-items: center; padding: 24px; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1500px, 100%); max-height: 90vh; border-radius: 10px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: #15171c; display: grid; place-items: center; cursor: pointer; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.feature-list li { display: flex; gap: 11px; align-items: baseline; }
.feature-list .ico { color: var(--ok); transform: translateY(3px); }
.offer-box { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px; border-radius: var(--r); background: var(--night); color: var(--on-night); }
.offer-box .btn--ghost { color: var(--on-night); border-color: color-mix(in srgb, var(--on-night) 35%, transparent); }
.offer-box .btn--ghost:hover { background: transparent; border-color: var(--on-night); color: var(--on-night); }
.offer-box .btn-row { margin: 0; }
.price-tag__val { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price-tag__val small { display: block; font: 400 .85rem var(--font); letter-spacing: 0; opacity: .7; margin-top: 4px; }
.offer-box .kicker { color: color-mix(in srgb, var(--on-night) 60%, transparent); margin-bottom: 8px; }
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .rich-list { padding-left: 0; list-style: none; margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose ul li, .rich-list li { position: relative; padding-left: 22px; }
.prose ul li::before, .rich-list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.prose a { color: var(--accent); }
.prose code { font: .88em var(--mono); background: var(--bg-2); padding: 2px 6px; border-radius: 5px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 10px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table-wrap th, .table-wrap td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--bg-2); font-weight: 650; }
.table-wrap tr:last-child td { border-bottom: 0; }
.callout { padding: 16px 18px; border-radius: 10px; background: var(--accent-soft); border-left: 3px solid var(--accent); margin: 0 0 1.2em; }

/* ---------- Servicii: catalog ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.search input { width: min(380px, 100%); min-height: 46px; padding: 0 18px 0 44px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d616b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px 50% / 18px; }
.search input:focus { border-color: var(--accent); outline: none; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line-2); background: transparent; cursor: pointer; font-weight: 550; font-size: .9rem; color: var(--ink-2); transition: all .15s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.count-line { font: .82rem var(--mono); color: var(--muted); margin: 0 0 20px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price-card { display: flex; flex-direction: column; padding: 22px; }
.price-card .card__icon { width: 38px; height: 38px; margin-bottom: 14px; }
.price-card .card__icon .ico { width: 19px; height: 19px; }
.price-card h3 { font-size: 1.04rem; padding-right: 70px; }
.price-card .price { margin-top: auto; padding-top: 16px; }
.quote-btn { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; font-size: .92rem; cursor: pointer; }
.quote-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.no-results { font: .9rem var(--mono); color: var(--muted); padding: 28px 0; }

/* Configurator */
.qcfg { display: grid; gap: 20px; margin-top: 26px; }
.qcfg fieldset { border: 0; padding: 0; margin: 0; }
.qcfg legend { font: 600 .76rem var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 10px; }
.qcfg legend small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.qopts { display: flex; flex-wrap: wrap; gap: 8px; }
.qopt input { position: absolute; opacity: 0; pointer-events: none; }
.qopt span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); cursor: pointer; font-size: .92rem; font-weight: 550; transition: all .15s; }
.qopt input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.qopt input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.qnum { width: 140px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--surface); }
.qpreview { margin: 0; padding: 16px 18px; border-radius: 10px; background: var(--night); color: var(--on-night); font: .84rem/1.7 var(--mono); white-space: pre-wrap; }
.qpreview .t-dim { opacity: .55; } .qpreview .k { color: var(--hi); } .qpreview .v { color: #b9c3ff; }

/* ---------- Formular ---------- */
.cform { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); transition: box-shadow .3s; }
.cform.is-filled { animation: pulse 1.2s ease; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; } }
.cform__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.cform__head h3 { margin: 0; font-size: 1.15rem; }
.cform__head span { font: .74rem var(--mono); color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; margin-bottom: 14px; }
.cform__grid .field { margin-bottom: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field label span { color: var(--err); }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--err); }
.field__count { position: absolute; right: 12px; bottom: 9px; font-size: .72rem; color: var(--muted); }
.hint { font-size: .84rem; color: var(--muted); }
.check { display: flex; gap: 11px; align-items: flex-start; margin: 18px 0 4px; font-size: .9rem; color: var(--ink-2); }
.check input { width: 19px; height: 19px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.check.is-invalid label { color: var(--err); }
.cform__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cform__status { min-height: 1.3em; margin: 14px 0 0; font-size: .84rem; }
.cform__status.is-ok { color: var(--ok); } .cform__status.is-err { color: var(--err); }
.cform__note { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.cform.is-sent [data-submit] { --b: var(--ok); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.info-list { display: grid; gap: 10px; margin-top: 26px; }
.info-item { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, transform .15s; }
a.info-item:hover { border-color: var(--ink); color: var(--ink); transform: translateX(3px); }
.info-item .card__icon { margin: 0; width: 40px; height: 40px; }
.info-item small { display: block; font: .74rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.info-item span { font-weight: 600; }

/* ---------- Zonă deplasare ---------- */
.area { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.area .lead { font-size: 1.05rem; }
.towns { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 0; }
.towns li { padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .86rem; }
.towns__more { color: var(--muted); border-style: dashed !important; }
.area__legend { display: grid; gap: 8px; margin: 0 0 18px; font-size: .84rem; }
.area__legend p { margin: 0; display: flex; gap: 10px; align-items: center; }
.lv { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.lv--1 { background: var(--accent); } .lv--2 { background: color-mix(in srgb, var(--accent) 45%, transparent); } .lv--3 { background: var(--line-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 650; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--font); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 72ch; }

/* ---------- CTA ---------- */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: 22px; background: var(--accent); color: var(--accent-ink); }
.cta-band .h2 { color: inherit; margin-bottom: 8px; }
.cta-band .grad { color: inherit; text-decoration: underline; text-decoration-color: var(--hi); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.cta-band p { margin: 0; opacity: .85; max-width: 56ch; }
.cta-band .btn { --b: var(--accent-ink); color: var(--accent); }
.cta-band .btn:hover { color: var(--accent); }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.toc { position: sticky; top: 96px; display: grid; gap: 2px; font-size: .9rem; }
.toc h2 { font: 600 .76rem var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 10px; }
.toc a { padding: 7px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); border-left: 2px solid transparent; }
.toc a:hover, .toc a.is-active { background: var(--surface); color: var(--accent); border-left-color: var(--accent); }

/* ---------- Rezultat / 404 ---------- */
.result { text-align: center; }
.result .btn-row { justify-content: center; }
.result .lead { margin-inline: auto; }
.result__icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.result--err .result__icon { background: var(--err-soft); color: var(--err); }
.result__icon .ico { width: 34px; height: 34px; }
.err-code { font: 800 clamp(6rem, 18vw, 12rem)/1 var(--font); letter-spacing: -.06em; color: var(--accent); }

/* ---------- Subsol ---------- */
.site-footer { background: var(--night); color: color-mix(in srgb, var(--on-night) 78%, transparent); padding: 72px 0 28px; margin-top: 40px; font-size: .94rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--hi); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-title { font: 600 .76rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: color-mix(in srgb, var(--on-night) 50%, transparent); margin-bottom: 16px; }
.footer-col p { max-width: 42ch; }
.footer-col address { font-style: normal; display: grid; gap: 8px; }
.footer-col address p { margin: 0; display: flex; gap: 9px; align-items: center; }
.site-footer .brand { color: var(--on-night); margin-bottom: 18px; }
.site-footer .brand__mark { background: var(--on-night); color: var(--night); }
.site-footer .brand__mark::after { border-color: var(--night); }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--on-night) 22%, transparent); display: grid; place-items: center; }
.social a:hover { border-color: var(--hi); }
.anpc { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 44px; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--on-night) 14%, transparent); }
.anpc__badge { display: grid; padding: 9px 14px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--on-night) 22%, transparent); font-size: .8rem; line-height: 1.3; }
.anpc__badge strong { color: var(--on-night); }
.anpc__note { flex: 1 1 320px; margin: 0; font-size: .78rem; opacity: .7; }
.legal-id { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; font-size: .76rem; opacity: .7; }
.copyright { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 18px; font-size: .82rem; opacity: .7; }

.to-top { position: fixed; right: 18px; bottom: 82px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(8px); transition: all .2s; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top__ring { display: none; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(31,157,85,.6); }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float .ico { width: 26px; height: 26px; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Cookie banner */
.cookie-banner { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 90; max-width: 720px; margin-inline: auto; display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__icon { color: var(--accent); } .cookie-banner__icon .ico { width: 30px; height: 30px; }
.cookie-banner h2 { font-size: 1rem; margin-bottom: 4px; }
.cookie-banner p { margin: 0; font-size: .88rem; color: var(--muted); }
.cookie-banner__actions { display: flex; gap: 8px; flex: none; }

/* GDPR */
.rights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rights .card { padding: 18px; }
.rights h3 { font-size: 1rem; }
.rights p { font-size: .9rem; }
.gform .field select { appearance: auto; }

/* ---------- Reveal ---------- */
.no-js .reveal, .reveal.is-in { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease var(--d, 0s), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .rights { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .product-grid--home, .price-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .main-nav { position: fixed; inset: 110px var(--gut) auto; flex-direction: column; align-items: stretch; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: all .2s; }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav ul { flex-direction: column; }
  .nav-link { padding: 12px 14px; font-size: 1.05rem; }
  .main-nav .btn { margin: 0; }
  .hero__grid, .split, .contact-grid, .area, .legal { grid-template-columns: 1fr; }
  .hero__visual, .stack { min-height: 360px; }
  .toc { position: static; }
  .topbar__text { display: none; }
  .topbar__inner { justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .product-grid, .product-grid--home, .price-grid, .grid-3, .grid-2, .grid-4, .rights, .steps, .footer-grid, .cform__grid, .checklist { grid-template-columns: 1fr; }
  .hero__visual, .stack { min-height: 290px; }
  .stack__card { width: 84%; }
  .topbar__links span { display: none; }
  .topbar__links { gap: 26px; }
  .brand__sub { display: none; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .offer-box { flex-direction: column; align-items: flex-start; }
  .gallery__nav { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .site-footer, .wa-float, .to-top, .cookie-banner, .cform { display: none !important; }
  body { background: #fff; color: #000; }
}
