/* =========================================================
   Sinerco – paleta din logo: albastru #0072bc · albastru închis #1e59a6 · albastru deschis #2f86cf · gri #3f3f3f
   (+ nuanțe ale aceluiași albastru pentru fundaluri închise / deschise)
   ========================================================= */
:root {
  --blue: #0072bc;
  --blue-dark: #1e59a6;
  --blue-light: #2f86cf;
  --blue-deep: #0b2b4a;
  --blue-deeper: #071d33;
  --blue-50: #eef5fb;
  --blue-100: #dbeaf6;
  --ink: #3f3f3f;
  --ink-dark: #1d2329;
  --muted: #66707a;
  --line: #e4e9ee;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11,43,74,.06), 0 4px 14px -6px rgba(11,43,74,.12);
  --shadow: 0 2px 4px rgba(11,43,74,.04), 0 24px 48px -24px rgba(11,43,74,.28);
  --ease: cubic-bezier(.2,.7,.1,1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--ink-dark); line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 4px; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.kicker--light { color: #9fd0f3; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 30px; background: rgba(47,134,207,.18); color: #bfe0f7; font-size: .8rem; font-weight: 700; margin-bottom: 20px; border: 1px solid rgba(47,134,207,.35); }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .97rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { padding: 1.05em 1.8em; font-size: 1.02rem; }
.btn--sm { padding: .6em 1.1em; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(0,114,188,.7); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn--outline { color: var(--blue); border-color: rgba(0,114,188,.35); background: transparent; }
.btn--outline:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.btn--glass { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink-dark); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-dark); color: var(--ink-dark); }
.btn--light { background: #fff; color: var(--ink-dark); border-color: var(--line); }
.btn--white { background: #fff; color: var(--blue); }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Header ---------- */
/* Fundalul cu blur stă pe ::before: un backdrop-filter pus direct pe .header ar face din el containerul
   meniului mobil (position: fixed), care ar rămâne atunci strivit în înălțimea header-ului. */
.header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--line); transition: border-color .35s, box-shadow .35s; }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); transition: background .35s; }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); width: min(1360px, 100% - 40px); margin-inline: auto; }
.header__logo { flex: none; position: relative; }
.header__logo img { width: 150px; height: auto; transition: opacity .3s; }
.header__logo .logo-light { position: absolute; inset: 0; opacity: 0; }
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11,43,74,.35); }

.has-overlay .header { position: fixed; left: 0; right: 0; border-color: transparent; }
.has-overlay .header::before { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-overlay .header:not(.is-scrolled):not(.is-open):not(.is-mega) .logo-dark { opacity: 0; }
.has-overlay .header:not(.is-scrolled):not(.is-open):not(.is-mega) .logo-light { opacity: 1; }
.has-overlay .header:not(.is-scrolled):not(.is-open):not(.is-mega) .nav__item > a,
.has-overlay .header:not(.is-scrolled):not(.is-open):not(.is-mega) .nav__toggle,
.has-overlay .header:not(.is-scrolled):not(.is-open):not(.is-mega) .header__phone { color: #fff; }
.has-overlay .header:not(.is-scrolled):not(.is-open):not(.is-mega) .burger { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.has-overlay .header:not(.is-scrolled):not(.is-open):not(.is-mega) .burger span { background: #fff; }
.has-overlay .header.is-scrolled, .has-overlay .header.is-open, .has-overlay .header.is-mega { border-color: var(--line); }
.has-overlay .header.is-scrolled::before, .has-overlay .header.is-open::before, .has-overlay .header.is-mega::before { background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: static; }
.nav__item > a, .nav__toggle {
  display: flex; align-items: center; gap: 6px; padding: 10px 13px; border: 0; background: none; border-radius: 999px;
  font: 700 .95rem/1.2 var(--font); color: var(--ink-dark); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s;
}
.nav__toggle::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); opacity: .55; transition: transform .25s; }
.nav__item > a:hover, .nav__toggle:hover, .nav__item.is-open > .nav__toggle { background: rgba(0,114,188,.08); color: var(--blue); }
.nav__item.is-active > .nav__toggle, .nav__item > a[aria-current] { color: var(--blue); }
.nav__item.is-open > .nav__toggle::after { transform: rotate(-135deg) translateY(-1px); }
.nav__mobile-contact { display: none; }

/* Meniu mare cu fotografii */
.mega {
  position: absolute; left: 50%; top: calc(100% - 8px); width: min(1080px, calc(100vw - 40px)); transform: translate(-50%, 10px);
  display: grid; grid-template-columns: 280px 1fr; gap: 0; padding: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(11,43,74,.4);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__intro { background: linear-gradient(160deg, var(--blue-deep), var(--blue-dark)); color: #cfe3f3; padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.mega__intro strong { color: #fff; font-size: 1.3rem; letter-spacing: -.02em; }
.mega__intro p { font-size: .93rem; margin: 0; }
.mega__icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: #fff; }
.mega__icon .icon { width: 24px; height: 24px; }
.mega__all { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; font-size: .92rem; }
.mega__all:hover { color: #9fd0f3; }
/* Produsele din meniu sunt carduri cu poză care umplu tot panoul (oricâte ar fi). */
.mega__list { list-style: none; margin: 0; padding: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-content: stretch; }
.mega__list li { display: flex; }
.mega__list a { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 8px 8px 12px; border-radius: 16px; text-decoration: none; color: var(--ink-dark); font-weight: 700; font-size: .95rem; line-height: 1.3; transition: background .2s; }
.mega__list a:hover, .mega__list a[aria-current] { background: var(--blue-50); color: var(--blue-dark); }
.mega__name { padding: 0 4px; }
.mega__thumb { width: 100%; aspect-ratio: 16 / 10; max-height: 170px; flex: none; border-radius: 12px; overflow: hidden; background: var(--blue-50); display: grid; place-items: center; color: var(--blue); }
.mega__thumb .icon { width: 40px; height: 40px; }
.mega__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.mega__list a:hover .mega__thumb img { transform: scale(1.08); }

.header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-dark); font-weight: 800; text-decoration: none; font-size: .95rem; white-space: nowrap; }
.header__phone .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(0,114,188,.1); color: var(--blue); }
.has-overlay .header:not(.is-scrolled):not(.is-open):not(.is-mega) .header__phone .icon { background: rgba(255,255,255,.16); color: #fff; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #fff; padding: 14px 13px; cursor: pointer; }
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink-dark); margin: 3px 0; transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero prima pagină ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--blue-deeper); isolation: isolate; }
.hero__bg { position: absolute; inset: -6% 0 0; width: 100%; height: 112%; object-fit: cover; z-index: -2; will-change: transform; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(7,29,51,.55) 0%, rgba(7,29,51,.05) 30%, rgba(7,29,51,.25) 55%, rgba(7,29,51,.92) 100%),
  linear-gradient(90deg, rgba(7,29,51,.75) 0%, rgba(7,29,51,.1) 60%); }
.hero__inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: end; padding-top: calc(var(--header-h) + 60px); padding-bottom: 46px; }
.hero__title { color: #fff; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.04em; max-width: 13ch; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: #dbe8f3; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__cats { display: grid; gap: 10px; }
.hero-cat {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background .25s, transform .3s var(--ease), border-color .25s;
}
.hero-cat:hover { background: rgba(255,255,255,.18); color: #fff; transform: translateX(-4px); border-color: rgba(255,255,255,.35); }
.hero-cat__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); display: grid; place-items: center; flex: none; }
.hero-cat__icon .icon { width: 22px; height: 22px; }
.hero-cat { min-height: 76px; }
.hero-cat__label { flex: 1; align-self: center; font-weight: 800; font-size: 1.12rem; line-height: 1.25; letter-spacing: -.01em; }
.hero-cat__go .icon { opacity: .7; }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); padding: 24px 0 34px; }
.stat { padding-right: 20px; }
.stat strong { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: .88rem; color: #b9d2e6; }

/* ---------- Secțiuni ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: 44px; }
.section__head p { color: var(--muted); font-size: 1.07rem; margin: 0; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__title-sm { font-size: 1.3rem; margin-bottom: 16px; }

/* Capitole de produse (prima pagină) */
.chapter { padding: clamp(70px, 8vw, 110px) 0; }
.chapter:nth-of-type(even) { background: var(--bg-soft); }
.chapter--dark { background: radial-gradient(120% 120% at 0% 0%, var(--blue-dark) 0%, var(--blue-deep) 45%, var(--blue-deeper) 100%) !important; color: #b9d2e6; }
.chapter--dark h2 { color: #fff; }
.chapter--dark .btn--outline { color: #fff; border-color: rgba(255,255,255,.35); }
.chapter--dark .btn--outline:hover { background: #fff; color: var(--blue-deep); }
.chapter__grid { display: grid; grid-template-columns: 330px 1fr; gap: 60px; align-items: start; }
.chapter__head { position: sticky; top: calc(var(--header-h) + 30px); }
.chapter__head p { font-size: 1.05rem; color: var(--muted); }
.chapter--dark .chapter__head p { color: #b9d2e6; }
.chapter__num { display: block; font-size: 4.5rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(0,114,188,.35); margin-bottom: 12px; }
.chapter--dark .chapter__num { -webkit-text-stroke-color: rgba(159,208,243,.45); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tiles--row { grid-template-columns: repeat(4, 1fr); }
.tile {
  --d: 0ms; position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 270px;
  border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; background: var(--blue-deep); isolation: isolate;
  box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,29,51,0) 30%, rgba(7,29,51,.88) 100%); transition: opacity .4s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: #fff; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile__img--icon { display: grid; place-items: center; background: linear-gradient(150deg, var(--blue), var(--blue-deep)); }
.tile__img--icon .icon { width: 60px; height: 60px; color: rgba(255,255,255,.3); }
.tile:hover .tile__img { transform: scale(1.07); }
.tile--big { grid-column: span 2; grid-row: span 2; min-height: 560px; }
.tile--wide2 { grid-column: span 2; }
.tile--wide3 { grid-column: span 3; min-height: 300px; }
.tile--tall { grid-row: span 2; }
.tiles--single .tile--big { grid-column: 1 / -1; }
.tile__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.tile__title { font-size: 1.12rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.tile--big .tile__title { font-size: 1.7rem; }
.tile__text { font-size: .9rem; color: #cfe0ee; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.tile--big .tile__text, .tile:hover .tile__text { max-height: 120px; opacity: 1; }
.tile__go { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, transform .45s var(--ease); }
.tile:hover .tile__go { background: var(--blue); transform: rotate(-45deg); }

/* Lucrări pe rând orizontal */
.works-section { background: var(--bg); overflow: hidden; }
.rail-nav { display: flex; gap: 10px; align-items: center; }
.rail-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink-dark); transition: background .2s, color .2s, border-color .2s; }
.rail-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
[data-rail-prev] .icon { transform: rotate(180deg); }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; padding-left: max(20px, calc((100vw - 1240px) / 2)); scroll-padding-left: max(20px, calc((100vw - 1240px) / 2)); }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail__track { display: flex; gap: 20px; width: max-content; padding-right: 40px; }
.rail__card { margin: 0; width: clamp(280px, 34vw, 460px); scroll-snap-align: start; }
.rail__img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--bg-soft); }
.rail__img.is-hidden { display: none; }
.rail__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); pointer-events: none; }
.rail__card:hover .rail__img img { transform: scale(1.05); }
.rail__card figcaption { padding: 14px 4px 0; display: flex; flex-direction: column; }
.rail__card figcaption strong { color: var(--ink-dark); font-size: 1.05rem; }
.rail__card figcaption span { font-size: .88rem; color: var(--muted); }

/* Despre + pași */
.about-section { background: var(--bg-soft); }
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.timeline li { position: relative; padding: 22px 24px 22px 86px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm); }
.timeline span { position: absolute; left: 22px; top: 22px; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-weight: 800; }
.timeline li:hover span { background: var(--blue); color: #fff; }
.timeline strong { display: block; color: var(--ink-dark); font-size: 1.05rem; }
.timeline p { margin: 2px 0 0; font-size: .94rem; color: var(--muted); }

/* ---------- Pagină de produs ---------- */
.p-hero { position: relative; min-height: 88svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--blue-deeper); isolation: isolate; padding-bottom: 40px; }
.p-hero--plain { min-height: 0; padding-top: calc(var(--header-h) + 30px); background: radial-gradient(120% 140% at 0% 0%, var(--blue-dark), var(--blue-deeper)); }
.p-hero__bg { position: absolute; inset: -6% 0 0; width: 100%; height: 112%; object-fit: cover; z-index: -2; will-change: transform; }
.p-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,29,51,.6) 0%, rgba(7,29,51,.15) 35%, rgba(7,29,51,.9) 100%), linear-gradient(90deg, rgba(7,29,51,.7), rgba(7,29,51,0) 70%); }
.p-hero__inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: 36px; }
.p-hero h1 { color: #fff; max-width: 16ch; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.04em; }
.p-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #dbe8f3; max-width: 640px; }
.p-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.p-hero .crumbs, .p-hero .crumbs a { color: rgba(255,255,255,.7); }
.p-hero .crumbs a:hover { color: #fff; }
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; }
.highlight { padding: 20px 22px; border-radius: var(--r); background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.highlight dt { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.15; }
.highlight dd { margin: 4px 0 0; font-size: .88rem; color: #b9d2e6; line-height: 1.4; }

.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.has-overlay .subnav { top: var(--header-h); }
.subnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; }
.subnav__links { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.subnav__links a:hover { color: var(--ink-dark); }
.subnav__links a.is-active { background: var(--blue-50); color: var(--blue-dark); }
.subnav__links sup { font-size: .7rem; color: var(--blue); }

.p-body { padding-top: 70px; }
.p-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 70px; align-items: start; }
.p-aside { position: sticky; top: calc(var(--header-h) + 84px); display: grid; gap: 18px; }
.p-card { padding: 28px; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--blue-deep), var(--blue-dark)); color: #cfe3f3; box-shadow: var(--shadow); }
.p-card__label { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9fd0f3; margin-bottom: 6px; }
.p-card__title { display: block; color: #fff; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 18px; }
.p-card__list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; font-size: .94rem; }
.p-card__list li { display: flex; gap: 10px; align-items: flex-start; }
.p-card__list .icon { color: #9fd0f3; margin-top: 3px; }
.p-card__phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: #fff; font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.p-card__phone:hover { color: #9fd0f3; }
.p-card small { display: block; text-align: center; color: #9fbad1; font-size: .8rem; }
.p-related { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.p-related .p-card__label { color: var(--muted); margin-bottom: 10px; }
.p-related a { display: flex; align-items: center; gap: 12px; padding: 8px; margin: 0 -8px; border-radius: 12px; color: var(--ink-dark); text-decoration: none; font-weight: 700; font-size: .93rem; line-height: 1.3; }
.p-related a:hover { background: var(--blue-50); color: var(--blue-dark); }
.p-related img, .p-related__ph { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; background: var(--blue-50); }
.p-related span { flex: 1; }
.p-related .icon { color: var(--muted); }

/* Conținut editabil */
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 1.8em 0 .55em; }
.prose h3 { font-size: 1.2rem; margin: 1.5em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--blue); }
.prose--product { font-size: 1.06rem; }
.prose--product > p:first-child { font-size: 1.22rem; color: var(--ink-dark); line-height: 1.6; }
.prose--product ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.prose--product ul li { position: relative; margin: 0; padding: 16px 18px 16px 52px; background: var(--bg-soft); border-radius: 14px; font-size: .97rem; line-height: 1.5; }
.prose--product ul li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat; }
.prose img { border-radius: var(--r); }
.prose .wp-block-image { margin: 2em 0; }
.prose .wp-block-image img { max-height: 560px; width: 100%; object-fit: cover; box-shadow: var(--shadow-sm); }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.prose .wp-block-table { margin: 1.5em 0 2em; overflow-x: auto; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--blue-50); color: var(--blue-deep); font-weight: 800; }
.prose td:first-child { font-weight: 700; color: var(--ink-dark); }
.prose .box { position: relative; padding: 22px 26px 22px 70px; border-radius: var(--r); background: linear-gradient(135deg, var(--blue-50), #fff); border: 1px solid var(--blue-100); margin: 2em 0; }
.prose .box::before { content: "i"; position: absolute; left: 22px; top: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-style: italic; }
.prose--narrow { max-width: 820px; }

/* Întrebări frecvente */
.faq-section { background: var(--bg-soft); }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 90px); }
.faq__head p { color: var(--muted); }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; cursor: pointer; font-weight: 800; color: var(--ink-dark); font-size: 1.05rem; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .3s, color .3s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq__item p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- Configurator de ofertă ---------- */
.quote { padding: clamp(70px, 9vw, 120px) 0; background: radial-gradient(120% 120% at 100% 0%, var(--blue-dark) 0%, var(--blue-deep) 40%, var(--blue-deeper) 100%); color: #b9d2e6; scroll-margin-top: 60px; }
.quote__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.quote__head h2 { color: #fff; }
.quote__head .kicker { color: #9fd0f3; }
.quote__head p { font-size: 1.05rem; }
/* Pagina Contact: datele de contact și formularul pe același rând */
.quote--contact { padding-top: 60px; }
.quote__split { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 36px; align-items: start; }
.quote--contact .quote__head { text-align: left; margin: 0 0 22px; max-width: none; }
.quote--contact .quote__head p { margin: 0; }
.quote--contact .wizard__body { grid-template-columns: 1fr; }
.quote--contact .wizard__summary { border-left: 0; border-top: 1px solid var(--line); padding: 20px 30px; }
.quote--contact .summary__help { display: none; }
.qc { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; gap: 4px; }
.qc__title { color: #fff; font-size: 1.35rem; margin-bottom: 10px; }
.qc__row { display: flex; gap: 14px; align-items: center; padding: 12px; margin: 0 -12px; border-radius: 14px; color: #fff; text-decoration: none; font-weight: 700; line-height: 1.35; }
a.qc__row:hover { background: rgba(255,255,255,.08); color: #fff; }
.qc__row .icon { width: 44px; height: 44px; padding: 12px; border-radius: 12px; background: var(--blue); color: #fff; }
.qc__row small { display: block; font-size: .78rem; font-weight: 600; color: #9fbad1; }
.qc .btn { margin-top: 10px; }
.qc__legal { font-size: .8rem; color: #9fbad1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; margin: 14px 0 0; }
.page-head__lead p:last-child { margin-bottom: 0; }

.wizard { background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); overflow: hidden; }
.wizard__steps { list-style: none; margin: 0; padding: 22px 30px 0; display: flex; gap: 8px; counter-reset: s; }
.wizard__steps li { display: flex; align-items: center; gap: 10px; flex: 1; font-weight: 700; font-size: .92rem; color: var(--muted); cursor: default; }
.wizard__steps li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--muted); font-size: .85rem; flex: none; transition: background .3s, color .3s; }
.wizard__steps li.is-active { color: var(--ink-dark); }
.wizard__steps li.is-active span { background: var(--blue); color: #fff; box-shadow: 0 0 0 5px rgba(0,114,188,.15); }
.wizard__steps li.is-done { color: var(--blue); cursor: pointer; }
.wizard__steps li.is-done span { background: var(--blue-100); color: var(--blue); }
.wizard.is-preselected [data-step-tab="1"] { display: none; }
.wizard__bar { height: 4px; background: var(--bg-soft); margin: 18px 30px 0; border-radius: 4px; overflow: hidden; }
.wizard__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--blue-light)); border-radius: 4px; transition: width .5s var(--ease); }
.wizard__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.wizard__main { padding: 30px; min-width: 0; }
.wizard__summary { background: var(--bg-soft); border-left: 1px solid var(--line); padding: 30px 26px; display: flex; flex-direction: column; gap: 16px; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.wizard.is-js .step { display: none; }
.wizard.is-js .step.is-active { display: block; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.step legend { font-size: 1.5rem; font-weight: 800; color: var(--ink-dark); letter-spacing: -.02em; padding: 0; margin-bottom: 4px; }
.step__hint { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.measure-note { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 22px; padding: 14px 16px; border-radius: 14px; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-deep); font-size: .93rem; line-height: 1.5; }
.measure-note .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--blue); color: #fff; margin-top: 1px; }

.pick__group + .pick__group { margin-top: 22px; }
.pick__cat { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pick__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.pick__item { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; text-align: left; font: 700 .9rem/1.25 var(--font); color: var(--ink-dark); cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.pick__item:hover { border-color: var(--blue-light); transform: translateY(-2px); }
.pick__item img, .pick__noimg { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; background: var(--blue-50); }
.pick__name { flex: 1; }
.pick__check { position: absolute; top: -7px; right: -7px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); }
.pick__check .icon { width: 15px; height: 15px; }
.pick__item.is-on { border-color: var(--blue); background: var(--blue-50); }
.pick__item.is-on .pick__check { transform: scale(1); }

.item { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 16px; overflow: hidden; }
.item__head { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.item__head img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.item__head strong { flex: 1; color: var(--ink-dark); font-size: 1.02rem; min-width: 140px; }
.item__del, .row__del { width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.item__del:hover, .row__del:hover { background: #fdecec; color: #c0392b; }
.item__rows { padding: 6px 16px; }
.row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.row:last-child { border-bottom: 0; }
.row__n { width: 26px; height: 26px; margin-top: 26px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: .78rem; font-weight: 800; display: grid; place-items: center; flex: none; }
.row__fields { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; align-items: end; }
.row__del { margin-top: 24px; }
.mini { display: grid; gap: 5px; min-width: 0; }
.mini > span:first-child { font-size: .78rem; font-weight: 700; color: var(--muted); }
.mini input, .mini select { width: 100%; height: 44px; font: 600 .95rem var(--font); color: var(--ink-dark); border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.mini select { padding-right: 30px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2366707a' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") right 8px center / 20px no-repeat; }
.mini input:focus, .mini select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,114,188,.12); }
.unit { position: relative; display: block; }
.unit input { padding-right: 38px; }
.unit i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: .82rem; color: var(--muted); font-weight: 700; }
.qty { display: flex; height: 44px; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty input { border: 0; height: 100%; text-align: center; padding: 0; border-radius: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty button { width: 38px; border: 0; background: var(--bg-soft); font: 700 1.1rem var(--font); color: var(--ink-dark); cursor: pointer; flex: none; }
.qty button:hover { background: var(--blue-50); color: var(--blue); }
.tick { display: flex; align-items: center; gap: 8px; height: 44px; font-size: .9rem; font-weight: 600; color: var(--ink-dark); cursor: pointer; }
.tick input { width: 20px; height: 20px; accent-color: var(--blue); }
.add-row { display: inline-flex; align-items: center; gap: 8px; margin: 4px 16px 16px; padding: 9px 14px; border-radius: 999px; border: 1.5px dashed rgba(0,114,188,.4); background: transparent; color: var(--blue); font: 700 .9rem var(--font); cursor: pointer; }
.add-row:hover { background: var(--blue-50); border-style: solid; }
.add-product { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 16px; border-radius: var(--r); border: 1.5px dashed var(--line); background: transparent; color: var(--muted); font: 700 .95rem var(--font); cursor: pointer; }
.add-product:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }

.q-group { margin-bottom: 22px; }
.q-label { display: block; font-size: .85rem; font-weight: 800; color: var(--ink-dark); margin-bottom: 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: .92rem; color: var(--ink-dark); cursor: pointer; transition: all .2s; }
.opt span:hover { border-color: var(--blue-light); }
.opt input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--blue-light); outline-offset: 2px; }
.upload { display: block; cursor: pointer; margin-top: 4px; }
.upload input { position: absolute; opacity: 0; width: 1px; }
.upload__box { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px; border-radius: var(--r); border: 1.5px dashed #c9d4de; background: var(--bg-soft); text-align: center; transition: border-color .2s, background .2s; }
.upload__box .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--blue); color: #fff; margin-bottom: 4px; }
.upload__box strong { color: var(--ink-dark); font-size: .95rem; }
.upload__box small { color: var(--muted); }
.upload:hover .upload__box { border-color: var(--blue); background: var(--blue-50); }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: .85rem; font-weight: 800; color: var(--ink-dark); }
.field input, .field select, .field textarea { width: 100%; font: 500 1rem var(--font); color: var(--ink-dark); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,114,188,.12); }
.is-invalid, .field .is-invalid { border-color: #d64545 !important; box-shadow: 0 0 0 4px rgba(214,69,69,.1) !important; }
.check { display: flex; gap: 12px; font-size: .9rem; color: var(--muted); align-items: flex-start; margin-top: 6px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.check.is-invalid { box-shadow: none !important; }
.check.is-invalid span { color: #d64545; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { background: #fdecec; color: #a32020; border-radius: 12px; padding: 12px 16px; font-weight: 700; }
.form__status { color: #c0392b; font-weight: 700; font-size: .93rem; min-height: 1.3em; margin: 14px 0 0; }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.wizard__nav [data-next], .wizard__nav [data-submit] { margin-left: auto; }

.summary__title { font-size: 1.05rem; color: var(--ink-dark); }
.summary__list { display: grid; gap: 10px; flex: 1; align-content: start; }
.summary__empty { color: var(--muted); font-size: .92rem; margin: 0; }
.summary__item { display: flex; gap: 12px; padding: 12px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); animation: stepIn .35s var(--ease); }
.summary__item img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; flex: none; }
.summary__item strong { display: block; color: var(--ink-dark); font-size: .92rem; line-height: 1.3; }
.summary__item span { font-size: .82rem; color: var(--blue); font-weight: 700; }
.summary__item ul { list-style: none; padding: 0; margin: 4px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.summary__help { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 2px; }
.summary__help span { font-size: .85rem; color: var(--muted); }
.summary__help a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-dark); font-weight: 800; font-size: 1.1rem; text-decoration: none; }
.summary__help small { color: var(--muted); font-size: .8rem; }

/* ---------- Pagini simple, lucrări, contact ---------- */
.page-head { padding: calc(var(--header-h) + 0px) 0 0; background: radial-gradient(120% 140% at 0% 0%, var(--blue-dark), var(--blue-deep) 50%, var(--blue-deeper)); color: #b9d2e6; }
.page-head__inner { padding: 60px 0 64px; }
.page-head h1 { color: #fff; max-width: 18ch; }
.page-head__lead { font-size: 1.12rem; max-width: 640px; }
.page-head .crumbs, .page-head .crumbs a { color: rgba(255,255,255,.65); }
body:not(.has-overlay) .page-head { padding-top: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: inherit; text-decoration: none; }
.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 60px; padding: 70px 0; }
.page-plain { padding: 70px 0; max-width: 860px; }
.contact-card { padding: 30px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); display: grid; gap: 6px; align-self: start; }
.contact-card h2 { font-size: 1.4rem; }
.contact-card__row { display: flex; gap: 14px; align-items: center; padding: 12px; margin: 0 -12px; border-radius: 14px; color: var(--ink-dark); text-decoration: none; font-weight: 700; }
a.contact-card__row:hover { background: var(--blue-50); color: var(--blue-dark); }
.contact-card__row .icon { width: 42px; height: 42px; padding: 11px; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.contact-card__row small { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); }
.contact-card__legal { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin: 10px 0 0; }

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work { margin: 0; }
.work.is-filtered { display: none; }
.work__link { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--bg-soft); }
.work__link.is-hidden { display: none; }
.work__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work:hover .work__link img { transform: scale(1.05); }
.work figcaption { padding: 12px 4px; display: flex; flex-direction: column; font-size: .88rem; color: var(--muted); }
.work figcaption strong { color: var(--ink-dark); font-size: 1.03rem; }
.work__count { color: var(--blue); font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 32px; }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.section--tight { padding: 50px 0 80px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips--center { justify-content: center; margin: 24px 0; }
.chips--filter { margin-bottom: 30px; }
.chip { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-dark); text-decoration: none; font: 700 .9rem/1.2 var(--font); cursor: pointer; transition: all .2s; }
.chip:hover, .chip.is-on { border-color: var(--blue); background: var(--blue); color: #fff; }

.thanks { padding: calc(var(--header-h) + 80px) 0 100px; text-align: center; background: var(--bg-soft); }
body:not(.has-overlay) .thanks { padding-top: 90px; }
.thanks__inner { max-width: 680px; }
.thanks__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--blue); color: #fff; margin-bottom: 22px; box-shadow: 0 0 0 12px rgba(0,114,188,.12); animation: pop .6s var(--ease); }
.thanks__icon .icon { width: 42px; height: 42px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- Footer ---------- */
.footer { background: var(--blue-deeper); color: #9fb6ca; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 44px; padding: 80px 0 50px; }
.footer__logo { width: 180px; margin-bottom: 18px; }
.footer h2 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.footer__h-gap { margin-top: 28px; }
.footer a { display: block; color: #9fb6ca; text-decoration: none; padding: 4px 0; transition: color .2s, transform .2s; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; }
.footer__bottom a { display: inline; }

/* ---------- Bara de apel (mobil), cookie-uri, lightbox ---------- */
/* Buton flotant de apel (doar pe mobil) */
.fab { display: none; }
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(0,114,188,.55); } 70% { box-shadow: 0 0 0 16px rgba(0,114,188,0); } 100% { box-shadow: 0 0 0 0 rgba(0,114,188,0); } }
@keyframes fabRing { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 96% { transform: rotate(-8deg); } }
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(7,29,51,.94); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 60px 16px; }
.lb[hidden] { display: none; }
.lb img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; border-radius: 12px; animation: pop .35s var(--ease); }
.lb__cap { color: #fff; text-align: center; margin-top: 14px; font-weight: 700; }
.lb button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.22); }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 18px; top: 50%; }
.lb__next { right: 18px; top: 50%; }

/* ---------- Animații la derulare ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .header__phone span { display: none; }
  .nav__item > a, .nav__toggle { padding: 10px 10px; font-size: .92rem; }
}
@media (max-width: 1100px) {
  .burger { display: block; }
  .header__phone { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; display: block; padding: 10px 20px 120px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item > a, .nav__toggle { width: 100%; justify-content: space-between; padding: 18px 4px; border-radius: 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); color: var(--ink-dark) !important; background: none !important; }
  .mega { position: static; transform: none; width: auto; display: none; box-shadow: none; border: 0; border-radius: 0; opacity: 1; visibility: visible; grid-template-columns: 1fr; }
  .nav__item.is-open .mega { display: block; transform: none; }
  .mega__intro { display: none; }
  .mega__list { grid-template-columns: 1fr; padding: 8px 0 14px; gap: 2px; }
  .mega__list a { flex-direction: row; align-items: center; padding: 8px; }
  .mega__thumb { width: 46px; height: 46px; aspect-ratio: auto; }
  .mega__thumb .icon { width: 22px; height: 22px; }
  .nav__mobile-contact { display: grid; gap: 4px; margin-top: 24px; padding: 20px; border-radius: var(--r); background: var(--blue-50); }
  .nav__mobile-contact a { display: flex; align-items: center; gap: 10px; color: var(--blue-dark); font-weight: 800; font-size: 1.2rem; text-decoration: none; }
  .nav__mobile-contact span { color: var(--muted); font-size: .88rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__cats { grid-template-columns: 1fr 1fr; }
  .chapter__grid, .about, .faq, .p-body__grid, .page-body { grid-template-columns: 1fr; gap: 36px; }
  .chapter__head, .faq__head, .p-aside { position: static; }
  .p-aside { grid-template-columns: 1fr 1fr; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .wizard__body { grid-template-columns: 1fr; }
  .quote__split { grid-template-columns: 1fr; }
  .qc { position: static; }
  .wizard__summary { border-left: 0; border-top: 1px solid var(--line); }
  .tiles--row { grid-template-columns: repeat(2, 1fr); }
  .works, .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  :root { --header-h: 70px; }
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .header__inner { width: calc(100% - 32px); gap: 12px; }
  .header__logo img { width: 120px; }
  .header__cta { padding: .55em .95em; font-size: .85rem; }
  .hero { min-height: auto; }
  .hero__inner { padding-top: calc(var(--header-h) + 70px); padding-bottom: 30px; }
  .hero__actions .btn { flex: 1; }
  .hero__cats { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { min-height: 210px; }
  .tile--big { min-height: 300px; }
  .tile--wide3, .tile--wide2 { grid-column: span 2; min-height: 210px; }
  .tile--tall { grid-row: auto; }
  .tile__body { padding: 14px; }
  .tile__title { font-size: .98rem; }
  .tile--big .tile__title { font-size: 1.3rem; }
  .tile__text { display: none; }
  .tile--big .tile__text { display: block; }
  .tile__go { width: 34px; height: 34px; top: 10px; right: 10px; }
  .chapter__num { font-size: 3.2rem; }
  .p-hero { min-height: 92svh; }
  .highlights { gap: 8px; }
  .highlight { padding: 14px; }
  .subnav .btn { display: none; }
  .p-aside { grid-template-columns: 1fr; }
  .prose--product ul { grid-template-columns: 1fr; }
  .wizard__steps { padding: 18px 16px 0; gap: 4px; }
  .wizard__steps li { font-size: 0; justify-content: center; }
  .wizard__steps li span { font-size: .85rem; }
  .wizard__steps li.is-active { font-size: .85rem; flex: 2; }
  .wizard__bar { margin: 14px 16px 0; }
  .wizard__main { padding: 22px 16px; }
  .wizard__summary { padding: 22px 16px; }
  .row { flex-wrap: wrap; }
  .row__n { margin-top: 0; }
  .row__fields { grid-template-columns: 1fr 1fr; flex-basis: 100%; order: 3; }
  .row__del { margin: 0 0 0 auto; }
  .pick__grid { grid-template-columns: 1fr 1fr; }
  .pick__item { flex-direction: column; text-align: center; padding: 12px 8px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .wizard__nav .btn--lg { padding: .95em 1.3em; }
  .tiles--row, .works, .gallery { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; padding-top: 60px; }
  .footer { padding-bottom: 70px; }
  .fab {
    display: flex; align-items: center; gap: 10px; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70;
    text-decoration: none; opacity: 0; transform: translateY(24px) scale(.8); pointer-events: none;
    transition: opacity .35s var(--ease), transform .45s var(--ease);
  }
  .fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
  .fab__btn {
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff;
    background: linear-gradient(145deg, var(--blue-light), var(--blue-dark));
    box-shadow: 0 14px 30px -10px rgba(11,43,74,.6); animation: fabPulse 2.4s infinite;
  }
  .fab__btn .icon { width: 26px; height: 26px; animation: fabRing 4s infinite; transform-origin: 50% 50%; }
  .fab__label {
    padding: 9px 14px; border-radius: 999px; font-weight: 800; font-size: .9rem; color: var(--ink-dark); white-space: nowrap;
    background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 24px -12px rgba(11,43,74,.5); border: 1px solid var(--line);
    opacity: 0; transform: translateX(10px); transition: opacity .35s var(--ease), transform .35s var(--ease);
  }
  .fab.is-labeled .fab__label { opacity: 1; transform: none; }
  .fab:active .fab__btn { transform: scale(.94); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
