/* =========================================================
   Magazin perdele și draperii — stil public
   Culorile principale vin din Admin → Setări → Culori
   ========================================================= */
:root {
  --c-primary: #2E4A45;
  --c-accent: #A8814E;
  --c-bg: #F3F2EF;
  --c-surface: #FFFFFF;
  --c-text: #23272B;
  --c-footer: #1F2B29;
  --c-wa: #1E9E52;
  --c-muted: color-mix(in srgb, var(--c-text) 64%, var(--c-bg));
  --c-line: color-mix(in srgb, var(--c-text) 14%, var(--c-bg));
  --c-tint: color-mix(in srgb, var(--c-text) 5%, var(--c-bg));
  --f-head: "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", P052, "Iowan Old Style", Georgia, serif;
  --f-body: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Helvetica, system-ui, -apple-system, Roboto, Arial, sans-serif;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 3px;
  --logo-h: 48px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1rem/1.6 var(--f-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open, body.lb-open { overflow: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--c-primary); }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: .003em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }
.h-small { font-size: 1.3rem; margin-bottom: .8em; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.visually-hidden { 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 { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--c-primary); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.ico { width: 20px; height: 20px; flex: none; }
.spacer { height: clamp(40px, 6vw, 80px); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.textlink { color: var(--c-primary); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--c-accent); }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .78em 1.3em; border: 1px solid transparent; border-radius: var(--r);
  font: 600 .95rem/1.15 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
  text-align: center;
}
.btn .ico { width: 1.2em; height: 1.2em; }
.btn--lg { padding: .95em 1.5em; font-size: 1rem; }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: color-mix(in srgb, var(--c-primary) 82%, #000); color: #fff; }
.btn--ghost { background: transparent; border-color: color-mix(in srgb, var(--c-text) 35%, transparent); color: var(--c-text); }
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn--wa { background: var(--c-wa); color: #fff; }
.btn--wa:hover { background: #17834A; color: #fff; }
.btn--light { background: #fff; color: var(--c-text); }
.btn--light:hover { background: color-mix(in srgb, #fff 88%, var(--c-accent)); color: var(--c-text); }
.btn--outline-light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }

.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  border: 0; background: none; border-radius: 50%; cursor: pointer; color: inherit;
}
.icon-btn:hover { background: var(--c-tint); }

/* ---------- Bara de sus ---------- */
.topbar { background: var(--c-footer); color: rgba(255,255,255,.86); font-size: .82rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__text { margin: 0; }
.topbar__links { display: flex; align-items: center; gap: 18px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
.topbar a:hover { color: #fff; }
.topbar .ico { width: 16px; height: 16px; }
.topbar__social { display: flex; gap: 12px; }
@media (max-width: 760px) {
  .topbar__in { justify-content: center; text-align: center; padding-block: 8px; }
  .topbar__links { display: none; }
}

/* ---------- Header ---------- */
.site-header { background: var(--c-surface); border-bottom: 1px solid var(--c-line); z-index: 50; position: relative; }
.site-header.is-sticky { position: sticky; top: 0; }
.site-header.is-scrolled { box-shadow: 0 10px 28px -22px rgba(0,0,0,.45); }
.header__in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; flex-direction: column; justify-content: center; text-decoration: none; line-height: 1.1; flex: none; }
.brand img { height: var(--logo-h); width: auto; }
.brand__name { font-family: var(--f-head); font-size: 1.55rem; color: var(--c-text); }
.brand__tag { font-size: .76rem; color: var(--c-muted); margin-top: 3px; }
.nav { margin-left: auto; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: 10px 12px; text-decoration: none; font-size: .95rem; white-space: nowrap; }
.menu > li.is-active > a { color: var(--c-primary); box-shadow: inset 0 -2px 0 var(--c-accent); }
.menu .sub {
  position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px 0;
  background: var(--c-surface); border: 1px solid var(--c-line); border-top: 2px solid var(--c-accent);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.menu .has-sub:hover > .sub, .menu .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.menu .sub a { display: block; padding: 9px 18px; text-decoration: none; font-size: .93rem; }
.menu .sub a:hover, .menu .sub a[aria-current] { background: var(--c-tint); color: var(--c-primary); }
.sub-toggle { display: none; }
.nav__head, .nav__extra { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; white-space: nowrap; padding: 0 6px; }
.nav-toggle { display: none; }
.nav-toggle {
  width: 46px; height: 40px; border-radius: 12px;
  border: 1px solid var(--c-line); background: var(--c-surface);
}
.nav-toggle .ico { stroke-width: 1.8; }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: var(--c-tint); border-color: color-mix(in srgb, var(--c-text) 25%, var(--c-bg)); }
.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.42); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 79; }

@media (max-width: 1199px) { .header__phone span { display: none; } }
@media (max-width: 1023px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: inline-grid; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); z-index: 80;
    background: var(--c-surface); transform: translateX(100%); transition: transform .25s ease;
    overflow-y: auto; padding: 14px 20px 28px; display: flex; flex-direction: column; visibility: hidden;
  }
  body.nav-open .nav { transform: none; visibility: visible; }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
  body.nav-open .site-header { z-index: 95; }
  .nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
  .nav__title { font-family: var(--f-head); font-size: 1.3rem; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li { border-bottom: 1px solid var(--c-line); }
  .menu > li.has-sub { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .menu > li > a { padding: 14px 4px; font-size: 1.05rem; }
  .menu > li.is-active > a { box-shadow: none; }
  .sub-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
  .sub-toggle .ico { transition: transform .2s; }
  .has-sub.open .sub-toggle .ico { transform: rotate(180deg); }
  .menu .sub { grid-column: 1 / -1; position: static; opacity: 1; visibility: visible; transform: none; display: none; border: 0; padding: 0 0 10px 12px; min-width: 0; }
  .menu .has-sub.open > .sub { display: block; }
  .nav__extra { display: grid; gap: 10px; margin-top: 24px; }
}
@media (max-width: 640px) {
  .header__cta { display: none; }
  .brand__name { font-size: 1.3rem; }
  .brand img { height: min(var(--logo-h), 40px); }
}

/* ---------- Căutare ---------- */
.search-panel { border-top: 1px solid var(--c-line); background: var(--c-surface); padding-block: 14px; }
.search-form { display: flex; gap: 8px; }
.search-form input {
  flex: 1; min-width: 0; padding: .8em 1em; font: inherit; border: 1px solid var(--c-line);
  background: var(--c-bg); border-radius: var(--r); color: var(--c-text);
}
.search-form--page { max-width: 640px; margin-top: 18px; }

/* ---------- Banner ---------- */
.hero {
  position: relative; color: #fff; background: var(--c-footer); overflow: hidden;
  display: flex; align-items: flex-end; min-height: clamp(420px, var(--hero-h, 72vh), 900px);
}
.hero--small { --hero-h: 46vh; }
.hero--medium { --hero-h: 60vh; }
.hero--large { --hero-h: 76vh; }
.hero--full { --hero-h: calc(100svh - var(--header-h)); }
.hero__media { position: absolute; inset: 0; }
.hero__media picture, .hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,calc(var(--ov, .3) + .3)) 0%, rgba(0,0,0,var(--ov, .3)) 45%, rgba(0,0,0,calc(var(--ov, .3) * .35)) 100%);
}
.hero--empty .hero__media {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 34px, rgba(255,255,255,.07) 46px, rgba(0,0,0,.12) 64px, rgba(255,255,255,0) 80px),
    linear-gradient(160deg, color-mix(in srgb, var(--c-primary) 85%, #000), var(--c-footer));
}
.hero__content { position: relative; z-index: 1; width: 100%; padding-block: clamp(44px, 8vw, 104px); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.04; max-width: 15ch; margin-bottom: .35em; }
.hero p { font-size: clamp(1.02rem, 1.5vw, 1.22rem); max-width: 44ch; opacity: .94; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Secțiuni ---------- */
.section { padding-block: clamp(40px, 5.5vw, 76px) 0; }
.section:last-of-type { padding-bottom: clamp(48px, 6vw, 88px); }
.section--surface { background: var(--c-surface); margin-top: clamp(40px, 5.5vw, 76px); padding-bottom: clamp(40px, 5.5vw, 76px); }
.section--surface + .section { padding-top: clamp(40px, 5.5vw, 76px); }

/* Titlul de secțiune: o „galerie” de perdea, bară cu capete rotunde */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: clamp(20px, 3vw, 32px); padding-bottom: 20px;
  background:
    radial-gradient(circle at 5px calc(100% - 5px), var(--c-accent) 0 4.5px, transparent 5px),
    radial-gradient(circle at calc(100% - 5px) calc(100% - 5px), var(--c-accent) 0 4.5px, transparent 5px),
    linear-gradient(var(--c-accent), var(--c-accent)) left 0 bottom 4px / 100% 2px;
  background-repeat: no-repeat;
}
.sec-head h2, .sec-head h1 { margin: 0; }
.sec-head__link { white-space: nowrap; font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--c-primary); padding-right: 14px; }
.sec-head__link:hover { text-decoration: underline; }
.section__more { display: flex; justify-content: center; margin-top: clamp(26px, 4vw, 40px); }
.section--offers .price strong { color: var(--c-primary); }

/* ---------- Grilă produse ---------- */
.grid { display: grid; gap: clamp(22px, 3vw, 40px) clamp(12px, 1.8vw, 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; min-width: 0; }
.card__link { display: block; text-decoration: none; color: inherit; }
.card__media { position: relative; aspect-ratio: 3 / 4; background: var(--c-tint); overflow: hidden; }
.card__badge {
  position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 2px;
  background: var(--c-accent); color: #fff; font: 600 .82rem/1.2 var(--f-body); font-variant-numeric: tabular-nums;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__title { font-family: var(--f-head); font-size: 1.08rem; line-height: 1.3; margin: .8em 0 .3em; text-wrap: pretty; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 4px; }
.card__link:hover { color: inherit; }
.price { font-size: .97rem; }
.price strong { font-weight: 600; }
.price del { color: var(--c-muted); margin-right: .35em; font-size: .9em; }
.price__unit, .price__from { color: var(--c-muted); font-size: .9em; }
.price--request { font-family: var(--f-head); font-style: italic; color: var(--c-primary); }

/* ---------- Antet pagină ---------- */
.page-head { padding-block: clamp(26px, 4vw, 48px) clamp(16px, 2.5vw, 28px); }
.page-head--tight { padding-bottom: 8px; }
.page-head h1 { margin-bottom: .3em; }
.page-head__intro { max-width: 68ch; color: var(--c-muted); font-size: 1.05rem; }
.crumbs { font-size: .84rem; color: var(--c-muted); margin-bottom: 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "/"; margin-right: 4px; opacity: .55; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; }
.chips a { display: inline-block; padding: .45em 1em; border: 1px solid var(--c-line); border-radius: 999px; text-decoration: none; font-size: .9rem; background: var(--c-surface); }
.chips a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.chips a.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.toolbar__count { margin: 0 0 16px; color: var(--c-muted); font-size: .92rem; }
.toolbar .toolbar__count { margin: 0; }
.toolbar__sort { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.toolbar__sort select, select.input {
  font: inherit; padding: .55em 2.2em .55em .8em; border: 1px solid var(--c-line); border-radius: var(--r);
  background: var(--c-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .8em center;
  appearance: none; color: var(--c-text);
}

.empty { padding: clamp(32px, 6vw, 64px) 20px; text-align: center; border: 1px dashed var(--c-line); color: var(--c-muted); background: var(--c-surface); }
.empty .btn { margin-top: 8px; }

/* ---------- Paginare ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: clamp(32px, 5vw, 56px); }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: var(--r); text-decoration: none; font-size: .95rem; }
.pager a { border: 1px solid var(--c-line); background: var(--c-surface); }
.pager a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pager__cur { background: var(--c-primary); color: #fff; }
.pager__gap { color: var(--c-muted); }
.pager .ico { width: 16px; height: 16px; }

/* ---------- Pagina produsului ---------- */
.product { display: grid; gap: clamp(26px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) {
  .product { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .pg { position: sticky; top: calc(var(--header-h) + 20px); }
}
.pg__main { position: relative; aspect-ratio: 3 / 4; background: var(--c-tint); overflow: hidden; }
.pg__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pg__zoom img { width: 100%; height: 100%; object-fit: cover; }
.pg__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; cursor: pointer; color: var(--c-text);
}
.pg__nav:hover { background: #fff; }
.pg__nav--prev { left: 12px; }
.pg__nav--next { right: 12px; }
.pg__count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: .8rem; padding: 3px 9px; border-radius: 999px; }
.pg__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; scroll-snap-type: x proximity; }
.pg__thumb { flex: 0 0 74px; aspect-ratio: 3 / 4; padding: 0; border: 2px solid transparent; background: var(--c-tint); cursor: pointer; scroll-snap-align: start; opacity: .78; }
.pg__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg__thumb.is-active { border-color: var(--c-accent); opacity: 1; }
.pg__thumb:hover { opacity: 1; }

.pinfo h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: .25em; }
.pinfo__sku { color: var(--c-muted); font-size: .86rem; margin-bottom: .6em; }
.pinfo__price { font-size: 1.45rem; margin: .4em 0 .6em; }
.pinfo__price .price { font-size: inherit; }
.pinfo__avail { display: flex; align-items: center; gap: 6px; color: var(--c-primary); font-size: .93rem; }
.pinfo__avail .ico { width: 18px; height: 18px; }
.pinfo__short { font-size: 1.04rem; line-height: 1.7; max-width: 62ch; }
.pinfo__email { font-size: .92rem; margin-top: 14px; }
.sizes { border: 0; padding: 0; margin: 22px 0 6px; min-width: 0; }
.sizes legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.sizes__list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 128px;
  padding: .65em .95em; border: 1px solid var(--c-line); border-radius: var(--r);
  background: var(--c-surface); cursor: pointer; text-align: left;
}
.size-opt:hover { border-color: var(--c-primary); }
.size-opt[aria-pressed="true"] { border-color: var(--c-primary); box-shadow: inset 0 0 0 1px var(--c-primary); background: color-mix(in srgb, var(--c-primary) 6%, var(--c-surface)); }
.size-opt__label { font-weight: 600; }
.size-opt__price { font-size: .88rem; color: var(--c-muted); }
.size-opt__price del { margin-right: 4px; }
.size-opt__sale { color: var(--c-primary); font-weight: 600; }
.sizes__hint { font-size: .84rem; color: var(--c-muted); margin: 10px 0 0; }
.pactions { display: grid; gap: 10px; margin: 26px 0 18px; }
@media (min-width: 520px) { .pactions { grid-template-columns: 1fr 1fr; } }
.pactions .btn { width: 100%; }
.pnote { background: var(--c-surface); border-left: 3px solid var(--c-accent); padding: 14px 18px; font-size: .94rem; }
.pnote p:last-child { margin: 0; }
.specs { margin-top: 30px; }
.specs table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs th, .specs td { padding: 11px 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.specs th { font-weight: 400; color: var(--c-muted); width: 42%; padding-right: 16px; }
.pdesc { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--c-line); }

/* ---------- Text formatat ---------- */
.prose { max-width: 72ch; font-size: 1.04rem; line-height: 1.75; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose img { margin: 1.4em 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--c-primary); }
.prose blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--c-accent); font-family: var(--f-head); font-size: 1.15rem; }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border: 1px solid var(--c-line); padding: 8px 10px; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.article .page-head, .article__body { max-width: 780px; margin-inline: auto; }
.article__meta { color: var(--c-muted); font-size: .92rem; }
.article__img { max-width: 1040px; margin: 0 auto clamp(26px, 4vw, 44px); }
.article__img img { width: 100%; }

/* ---------- Avantaje, portofoliu, bandă ---------- */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .benefits { grid-template-columns: 1fr; } }
.benefit__ico { width: 34px; height: 34px; color: var(--c-accent); margin-bottom: 14px; stroke-width: 1.3; }
.benefit h3 { font-size: 1.15rem; margin-bottom: .35em; }
.benefit p { color: var(--c-muted); font-size: .95rem; margin: 0; }

.pf-strip { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .pf-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pf-strip a { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-tint); }
.pf-strip img { width: 100%; height: 100%; object-fit: cover; }

.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  background: var(--c-primary); color: #fff; padding: clamp(28px, 5vw, 56px);
}
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; max-width: 56ch; opacity: .9; }

.masonry { display: grid; gap: clamp(8px, 1.2vw, 16px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .masonry { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .masonry { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.masonry__item { margin: 0; min-width: 0; }
.masonry__item a {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--c-tint); border-radius: 12px;
  border: 1px solid var(--c-line); box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.masonry__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
/* la trecerea cursorului: poza se mărește ușor și apare o lupă */
.masonry__item a::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .25s;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 22px no-repeat,
    radial-gradient(circle at center, rgba(0,0,0,.45) 0 26px, transparent 27px),
    linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.18));
}
.masonry__item a:hover, .masonry__item a:focus-visible {
  border-color: var(--c-accent); transform: translateY(-3px);
  box-shadow: 0 14px 28px -16px rgba(0,0,0,.45);
}
.masonry__item a:hover img, .masonry__item a:focus-visible img { transform: scale(1.06); }
.masonry__item a:hover::after, .masonry__item a:focus-visible::after { opacity: 1; }
.masonry__item figcaption { font-size: .86rem; color: var(--c-muted); padding-top: 6px; line-height: 1.35; }

/* ---------- Servicii: poză / text alternativ ---------- */
.svcs { display: grid; gap: clamp(48px, 8vw, 110px); padding-top: clamp(8px, 2vw, 24px); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: center; }
.svc__media { margin: 0; aspect-ratio: 5 / 7; max-height: 82vh; background: var(--c-tint); overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__rule { display: none; }
.svc__eyebrow { color: var(--c-accent); font-weight: 600; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6em; }
.svc__title { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: .3em; }
.svc__sub { font-weight: 600; font-size: 1.05rem; margin-bottom: 1.1em; }
.svc__body { font-size: 1rem; }
.svc__body ul { padding-left: 1.2em; }
.svc__btn { margin-top: 10px; }
.svc--noimg .svc__text { max-width: 760px; }
@media (min-width: 900px) {
  .svc { grid-template-columns: minmax(0, 1fr) clamp(56px, 9vw, 150px) minmax(0, 1fr); gap: 0; align-items: stretch; }
  .svc__media { align-self: center; }
  .svc__text { align-self: center; padding-block: 20px; }
  .svc--rev .svc__media { order: 3; }
  .svc--rev .svc__rule { order: 2; }
  .svc--rev .svc__text { order: 1; }
  .svc--noimg { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  /* linia verticală dintre poză și text, cu câte un ornament sus și jos */
  .svc__rule { display: block; position: relative; justify-self: center; width: 13px; }
  .svc__rule::before {
    content: ""; position: absolute; top: 14px; bottom: 14px; left: 6px; width: 1px;
    background: color-mix(in srgb, var(--c-accent) 45%, var(--c-bg));
  }
  .svc__rule span { position: absolute; left: 2px; width: 9px; height: 9px; background: var(--c-accent); transform: rotate(45deg); }
  .svc__rule span:first-child { top: 0; }
  .svc__rule span:last-child { bottom: 0; }
}

/* ---------- Blog ---------- */
.posts { display: grid; gap: 40px 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-tint); margin-bottom: 14px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__date { font-size: .85rem; color: var(--c-muted); margin-bottom: .3em; }
.post-card__title { font-size: 1.3rem; margin-bottom: .4em; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; text-decoration-color: var(--c-accent); }
.post-card p { color: var(--c-muted); font-size: .96rem; }

/* ---------- Contact și formulare ---------- */
.contact { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.contact__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 20px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .ico { color: var(--c-accent); margin-top: 3px; }
.contact__lbl { display: block; font-size: .82rem; color: var(--c-muted); }
.contact__list a { font-weight: 600; text-decoration: none; }
.contact__form { background: var(--c-surface); padding: clamp(22px, 4vw, 40px); border: 1px solid var(--c-line); }
.field { margin-bottom: 16px; }
.field-row { display: grid; gap: 0 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; padding: .75em .9em; border: 1px solid var(--c-line); border-radius: var(--r);
  background: var(--c-bg); color: var(--c-text);
}
.field input:focus, .field textarea:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 18%, transparent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 6px 0 22px; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--c-primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: var(--r); margin-bottom: 18px; font-size: .95rem; }
.alert p { margin: 0; }
.alert--ok { background: color-mix(in srgb, var(--c-wa) 12%, var(--c-surface)); border: 1px solid color-mix(in srgb, var(--c-wa) 40%, transparent); }
.alert--err { background: #FBEDEC; border: 1px solid #E6B7B3; color: #7A231B; }
.map-ph { border: 1px solid var(--c-line); background: var(--c-surface); padding: 24px; text-align: center; color: var(--c-muted); font-size: .92rem; }
.map-ph iframe { width: 100%; height: 360px; border: 0; display: block; }
.map-ph.is-loaded { padding: 0; }
.notfound { text-align: center; padding-block: clamp(60px, 10vw, 120px); }
.notfound .search-form { margin-inline: auto; }

/* ---------- Recenzii (deasupra footerului) ---------- */
.reviews { background: var(--c-surface); border-top: 1px solid var(--c-line); padding-block: clamp(44px, 6vw, 80px); }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.reviews__head h2 { margin-bottom: .25em; }
.reviews__summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; color: var(--c-muted); font-size: .95rem; }
.reviews__summary strong { font-size: 1.5rem; color: var(--c-text); font-weight: 600; }
.reviews__nav { display: flex; gap: 8px; }
.reviews__arrow { border: 1px solid var(--c-line); }
.reviews__arrow:disabled { opacity: .35; cursor: default; }
.stars { --pct: 100%; display: inline-block; font-size: 1.05rem; line-height: 1; letter-spacing: 2px; position: relative; }
.stars::before { content: "★★★★★"; color: color-mix(in srgb, var(--c-text) 18%, var(--c-surface)); }
.stars::after { content: "★★★★★"; color: #E7A31B; position: absolute; left: 0; top: 0; width: var(--pct); overflow: hidden; white-space: nowrap; }
.reviews__track {
  display: grid; grid-auto-flow: column; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px;
  grid-auto-columns: calc((100% - 18px * 3) / 4);
}
.reviews__track::-webkit-scrollbar { display: none; }
@media (max-width: 1099px) { .reviews__track { grid-auto-columns: calc((100% - 18px * 2) / 3); } }
@media (max-width: 860px) { .reviews__track { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 560px) { .reviews__track { grid-auto-columns: 86%; } }
.review {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 12px; padding: 18px 18px 16px;
}
.review__head { display: flex; align-items: center; gap: 10px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.review__avatar--initial { display: grid; place-items: center; background: var(--c-primary); color: #fff; font-weight: 600; }
.review__who { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.review__name { font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review__date { font-size: .82rem; color: var(--c-muted); }
.review__g { flex: none; display: inline-grid; }
.review__text { margin: 0; font-size: .95rem; line-height: 1.6; }
.review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { align-self: flex-start; font-size: .88rem; color: var(--c-primary); }
.reviews__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.reviews__dots { display: flex; gap: 6px; }
.reviews__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--c-line); cursor: pointer; }
.reviews__dots button.is-active { background: var(--c-accent); width: 22px; border-radius: 4px; }
.reviews__links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-footer); color: rgba(255,255,255,.8); font-size: .93rem; margin-top: 0; }
.site-footer a { color: rgba(255,255,255,.92); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 36px 32px; padding-block: clamp(44px, 6vw, 72px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr; } }
.footer__brand { font-family: var(--f-head); font-size: 1.45rem; color: #fff; margin-bottom: .6em; }
.footer__title { font-family: var(--f-head); font-size: 1.12rem; color: #fff; margin-bottom: 1em; }
.footer__links, .footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__links ul { list-style: none; padding: 0; margin: 0; }
.footer__links .sub-toggle, .footer__links .sub { display: none; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ico { width: 17px; height: 17px; margin-top: 3px; color: var(--c-accent); }
.footer__social, .footer__social a { display: flex; gap: 14px; }
.footer__social { margin-top: 16px; }
.site-footer .linklike { color: rgba(255,255,255,.92); text-decoration: none; }
.site-footer .linklike:hover { text-decoration: underline; color: #fff; }
.badges { display: grid; gap: 10px; margin-top: 20px; max-width: 250px; }
.badge { display: flex; flex-direction: column; padding: 8px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r); line-height: 1.3; }
.badge strong { color: #fff; letter-spacing: .04em; }
.badge span { font-size: .78rem; }
.badge:has(img) { padding: 0; border: 0; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px; font-size: .82rem; color: rgba(255,255,255,.62); }
.footer__bottom p { margin: 0 0 4px; }

/* ---------- Bara mobil, WhatsApp plutitor ---------- */
.mbar { display: none; }
@media (max-width: 767px) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    background: var(--c-surface); border-top: 1px solid var(--c-line); padding-bottom: env(safe-area-inset-bottom);
  }
  .mbar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; font-weight: 600; text-decoration: none; color: var(--c-primary); }
  .mbar__btn--wa { background: var(--c-wa); color: #fff; }
  .mbar__btn--wa:hover { color: #fff; }
  body.has-mbar { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
  body.has-mbar .wa-float { display: none; }
}
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 56px; height: 56px; border-radius: 50%;
  background: var(--c-wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0,0,0,.45);
}
.wa-float:hover { color: #fff; background: #17834A; }
.wa-float .ico { width: 28px; height: 28px; }

/* ---------- Cookie-uri ---------- */
.cc {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; width: min(560px, calc(100% - 32px));
  background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-line); border-radius: 6px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.5); padding: 20px 22px;
}
.cc[hidden], .ccm[hidden], .cc-float[hidden] { display: none; }
.cc-float {
  position: fixed; left: 18px; bottom: 18px; z-index: 54; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; padding: 0;
  background: var(--c-surface); color: var(--c-accent); border: 1px solid var(--c-line);
  box-shadow: 0 8px 22px -10px rgba(0,0,0,.4); transition: transform .2s, color .2s, border-color .2s;
}
.cc-float:hover, .cc-float:focus-visible { color: var(--c-primary); border-color: var(--c-accent); transform: rotate(-12deg) scale(1.05); }
@media (max-width: 767px) {
  .cc-float { width: 42px; height: 42px; left: 12px; bottom: 12px; }
  .cc-float svg { width: 22px; height: 22px; }
  body.has-mbar .cc-float { bottom: calc(66px + env(safe-area-inset-bottom)); }
}
.cc__title { font-family: var(--f-head); font-size: 1.2rem; margin-bottom: .4em; }
.cc__text { font-size: .9rem; color: var(--c-muted); }
.cc__text a { color: var(--c-primary); }
.cc__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cc__btns .btn { flex: 1 1 auto; }
@media (max-width: 767px) { body.has-mbar .cc { bottom: calc(66px + env(safe-area-inset-bottom)); } }
.ccm { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.5); display: grid; place-items: center; padding: 16px; }
.ccm__box { background: var(--c-surface); width: min(580px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; border-radius: 6px; padding: 22px 24px; }
.ccm__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ccm__head h2 { font-size: 1.4rem; margin: 0; }
.cc-cat { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 14px 0; border-top: 1px solid var(--c-line); }
.cc-cat p { margin: 0; font-size: .88rem; color: var(--c-muted); }
.cc-cat .cc-cat__t { font-weight: 600; color: var(--c-text); font-size: .98rem; margin-bottom: 4px; }
.ccm .cc__btns { margin-top: 16px; }
.switch { position: relative; flex: none; width: 46px; height: 26px; display: inline-block; margin-top: 2px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span[aria-hidden] { position: absolute; inset: 0; background: color-mix(in srgb, var(--c-text) 25%, var(--c-surface)); border-radius: 999px; transition: background .15s; }
.switch span[aria-hidden]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked + span { background: var(--c-primary); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: .6; }
.switch input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(12,14,14,.94); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb__fig { margin: 0; max-width: calc(100vw - 120px); max-height: calc(100vh - 100px); display: flex; flex-direction: column; align-items: center; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; width: auto; height: auto; }
.lb__fig figcaption { color: rgba(255,255,255,.85); font-size: .92rem; margin-top: 12px; text-align: center; }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.2); }
.lb__close { top: 14px; right: 14px; }
.lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; top: 24px; left: 20px; color: rgba(255,255,255,.7); font-size: .88rem; }
@media (max-width: 640px) {
  .lb__fig { max-width: 100vw; }
  .lb__prev, .lb__next { top: auto; bottom: 16px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .topbar, .site-footer, .mbar, .wa-float, .cc, .pactions { display: none !important; }
}
