/* ════════════════════════════════════════════════════════════════════
   BRANDURI PREMIUM v3.48 — lista /premium + paginile de brand (blocuri)
   Mobile-first. Culorile/fontul vin din variabile setate per brand:
   --pb-accent, --pb-on-accent, --pb-head, --pb-r (colțuri), --pb-br (butoane)
   ════════════════════════════════════════════════════════════════════ */

/* ─────────────── LISTA /premium (ca /promotii) ─────────────── */
.pbl-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 12px; }
.pbl-title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; color: var(--brand-navy, #283756); margin: 0; line-height: 1.2; }
.pbl-head-link { color: var(--brand-blue, #00a3e5); font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.pbl-head-link:hover { text-decoration: underline; }
.pbl-intro { color: #5b6475; max-width: 60em; margin: 2px 0 0; font-size: 15px; line-height: 1.6; }
.pbl-chips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pbl-chip { background: #ebeff9; border-radius: 4px; height: 32px; padding: 0 16px; display: inline-flex; align-items: center; text-decoration: none; color: #283756; font-size: 13px; font-weight: 500; transition: background .2s; }
.pbl-chip span { color: #979797; margin-left: 4px; }
.pbl-chip:hover { background: #d7dfee; }
.pbl-chip.on { background: #637491; color: #fff; }
.pbl-chip.on span { color: #fff; }
.pbl-grid { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
@media (min-width: 640px) { .pbl-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; } }
@media (min-width: 1024px) { .pbl-grid { grid-template-columns: repeat(3, 1fr); row-gap: 24px; } }
.pbl-item { min-width: 0; }
.pbl-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.pbl-card__img { position: relative; display: block; overflow: hidden; border-radius: 24px; aspect-ratio: 466 / 292; background: #e9eef4; /* v3.50.1: cadru FIX 466×292 — bannerul nu mai mărește cardul */ box-shadow: 0 4px 20px #00000014; transition: box-shadow .15s; }
.pbl-card:hover .pbl-card__img { box-shadow: 2px 2px 11px 1px #0003; }
.pbl-card__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .5s ease; }
.pbl-card:hover .pbl-card__img > img { transform: scale(1.03); }
.pbl-card__img--plain { background: linear-gradient(120deg, #15110e 0%, var(--pb-accent, #a0683a) 100%); }
.pbl-card__over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(18px, 2.2vw, 30px); color: #fff; }
.pbl-card__img > img + .pbl-card__over { background: linear-gradient(90deg, rgba(0,0,0,.5), rgba(0,0,0,0) 70%); }
.pbl-card__over b { font-size: clamp(26px, 2.4vw, 38px); font-weight: 600; letter-spacing: .06em; line-height: 1.05; }
.pbl-card__over i { font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .88; margin-top: 6px; }
.pbl-card__logo { max-height: 44px; max-width: 60%; width: auto; object-fit: contain; object-position: left center; }
.pbl-card__cap { margin-top: 10px; padding-left: 13px; font-size: 13px; color: #283756; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbl-card__cap b { font-weight: 700; }
.pbl-empty { text-align: center; padding: 70px 20px; margin-top: 28px; background: #f9fafb; border-radius: 16px; color: #6b7280; }
.pbl-empty__i { font-size: 44px; margin-bottom: 10px; }
/* secțiunea de pe homepage */
.pbl-home { padding: 36px 0 8px; }
@media (min-width: 768px) { .pbl-home { padding: 48px 0 16px; } }
.pbl-home .pbl-grid { margin-top: 16px; }

/* ─────────────── PAGINA BRANDULUI ─────────────── */
.pb { --pb-accent: #a0683a; --pb-on-accent: #fff; --pb-head: 'Cormorant Garamond', Georgia, serif; --pb-r: 20px; --pb-br: 999px;
      background: var(--pb-bg); color: var(--pb-fg); font-size: 15px; line-height: 1.5; }
.pb--light { --pb-bg: #ffffff; --pb-alt: #f4f3f1; --pb-band: #fafafa; --pb-fg: #2b2723; --pb-muted: #6b6560; --pb-line: #ece9e4; }
.pb--beige { --pb-bg: #f7f3ec; --pb-alt: #efe7da; --pb-band: #f2ece2; --pb-fg: #2b2723; --pb-muted: #6f675c; --pb-line: #e3dacb; }
.pb--dark  { --pb-bg: #0e1113; --pb-alt: #161a1d; --pb-band: #121518; --pb-fg: #ece8e0; --pb-muted: #a7a29a; --pb-line: #252b2f; }
.pb *, .pb *::before, .pb *::after { box-sizing: border-box; }
.pb-wrap { width: 100%; max-width: 1520px; margin: 0 auto; padding-left: clamp(1rem, 3vw, 2.5rem); padding-right: clamp(1rem, 3vw, 2.5rem); }
.pb-draft { background: #fef3c7; color: #92400e; text-align: center; font-size: 12px; font-weight: 700; padding: 6px 12px; }
.pb-hide-m { display: none; } .pb-show-m { display: inline; }
@media (min-width: 1024px) { .pb-hide-m { display: inline; } .pb-show-m { display: none; } }

/* titluri: fontul brandului (clasa bate regula globală h1/h2 a site-ului) */
.pb .pb-h2, .pb .pb-hero__brand, .pb .pb-hero__title, .pb .pb-quote p, .pb .pb-final__brand, .pb-modal .pb-modal__t, .pb .pb-bar__brand { font-family: var(--pb-head); }

/* butoane */
.pb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: var(--pb-br); font-weight: 700; font-size: 14px; line-height: 1.2; cursor: pointer; text-decoration: none; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, filter .2s; font-family: inherit; text-align: center; }
.pb-btn--accent { background: var(--pb-accent); color: var(--pb-on-accent); border-color: var(--pb-accent); }
.pb-btn--accent:hover { filter: brightness(.92); }
.pb-btn--line { border-color: currentColor; color: var(--pb-fg); background: transparent; }
.pb-btn--line:hover { background: var(--pb-fg); border-color: var(--pb-fg); color: var(--pb-bg); }

/* bara brandului (antet minimal A1) */
.pb-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 14px; background: var(--pb-bg); color: var(--pb-fg); border-bottom: 1px solid var(--pb-line); min-height: 58px; }
.pb--minimal .pb-bar { position: sticky; top: 0; z-index: 35; }
@media (min-width: 768px) { .pb-bar { padding: 14px clamp(1rem, 3vw, 2.5rem); min-height: 70px; } }
@media (min-width: 1024px) { .pb-bar { grid-template-columns: 1fr auto 1fr; } }
.pb-bar__back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 4px; min-width: 32px; }
.pb-bar__back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pb-bar__back span { display: none; }
@media (min-width: 1024px) { .pb-bar__back span { display: inline; } }
.pb-bar__co { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; }
.pb-bar__x { display: none; }
/* v3.57: logo-ul CapCap + linia despărțitoare se văd și pe telefon / tabletă (mai mici) */
.pb-bar__site { display: inline-flex; align-items: center; flex: none; }
.pb-bar__div { display: block; flex: none; width: 1px; height: 26px; background: currentColor; opacity: .3; }
@media (min-width: 1024px) { .pb-bar__x { display: inline-flex; align-items: center; } }
.pb-bar__site img { height: 30px; width: auto; max-width: 84px; object-fit: contain; display: block; }
@media (min-width: 768px) { .pb-bar__site img { height: 40px; max-width: 120px; } .pb-bar__div { height: 32px; } }
@media (min-width: 1024px) { .pb-bar__site img { height: 50px; max-width: 160px; } .pb-bar__div { height: 40px; } } /* v3.50.3: logo CapCap 50px, vizibil lângă logo-ul brandului */
@media (max-width: 359px) { .pb-bar__co { gap: 8px; } .pb-bar__site img { height: 26px; max-width: 64px; } .pb-bar__div { height: 22px; } }
.pb-bar__site b { font-weight: 800; color: inherit; }
.pb-bar__x { color: inherit; font-size: 17px; font-weight: 600; }
.pb-bar__brand { display: block; font-size: 18px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pb-bar__brand img { height: 24px; max-width: 100%; width: auto; object-fit: contain; display: block; }
@media (min-width: 768px) { .pb-bar__brand { font-size: 26px; } .pb-bar__brand img { height: 30px; max-width: 200px; } }
.pb-bar__cta { justify-self: end; background: transparent; color: inherit; border: 1.5px solid currentColor; border-radius: var(--pb-br); padding: 7px 12px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; font-family: inherit; transition: background .2s, color .2s, border-color .2s; }
.pb-bar__cta:hover { background: var(--pb-accent); border-color: var(--pb-accent); color: var(--pb-on-accent); }
.pb-bar__cta--ghost { border: 0; padding: 0; }
@media (min-width: 768px) { .pb-bar__cta { padding: 9px 18px; font-size: 13px; } }

/* placeholder (fără imagine) */
.pb-ph { width: 100%; aspect-ratio: 960 / 840; background: linear-gradient(135deg, var(--pb-alt), var(--pb-line)); }
.pb-ph--dark { position: relative; aspect-ratio: 1920 / 820; background: linear-gradient(120deg, #1b2a2f, #3b5b5e 45%, #1c2427); }

/* ─── HERO split (text stânga, imagine dreapta) ─── */
.pb-hero--split { display: flex; flex-direction: column-reverse; }
.pb-hero__txt { background: var(--pb-alt); padding: 26px 18px 32px; }
.pb-hero__brand { margin: 0; font-size: clamp(40px, 5.2vw, 84px); font-weight: 600; letter-spacing: .06em; line-height: 1; color: inherit; }
.pb-hero__logo { display: block; max-height: clamp(42px, 5vw, 86px); max-width: min(340px, 80%); width: auto; height: auto; }
.pb-hero__title { margin: 16px 0 0; font-size: clamp(26px, 2.8vw, 46px); font-weight: 600; line-height: 1.12; color: inherit; }
.pb-hero__text { margin: 14px 0 0; color: var(--pb-muted); font-size: 15px; line-height: 1.65; max-width: 34em; }
.pb-hero__cta { margin-top: 24px; }
.pb-hero__img .imgfit, .pb-hero__img .pb-media { width: 100%; }
/* v3.50: media (video sau imagine) în cadrul cu proporția ei reală */
.pb-media { position: relative; width: 100%; overflow: hidden; background: #111; }
.pb-media .imgfit--fill { position: absolute; inset: 0; }
.pb-media__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* v3.50: hero „Imagine dreapta” ca în macheta GESSI — logo mare, titlu mare, panou deschis */
.pb-hero--split .pb-hero__logo { max-height: clamp(48px, 7vw, 120px); max-width: min(380px, 85%); }
.pb-hero--split .pb-hero__title { font-size: clamp(28px, 3.5vw, 58px); margin-top: clamp(14px, 2.4vw, 40px); line-height: 1.12; }
.pb--sans .pb-hero__title, .pb--sans .pb-h2 { font-weight: 700; letter-spacing: -.01em; }
/* v3.49: imaginea NU se taie — coloana ia forma pozei (--r = lățime/înălțime reală), textul ocupă restul */
@media (min-width: 900px) {
  .pb-hero--split { display: grid; grid-template-columns: minmax(0, 1fr) auto; background: var(--pb-alt); }
  .pb-hero__txt { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 100px) clamp(32px, 4.4vw, 96px); }
  .pb-hero__img { --hh: clamp(440px, 74vh, 800px); width: min(60vw, calc(var(--hh) * var(--r, 1.14))); align-self: center; }
}

/* ─── HERO full / video ─── (v3.49: cadrul = forma pozei, textul peste ea; pe telefon fără poză separată → textul sub imagine) */
.pb-hero--full { position: relative; display: grid; overflow: hidden; color: #fff; background: #111; }
.pb-hero--full > .pb-hero__media, .pb-hero--full > .pb-hero__over { grid-area: 1 / 1; }
.pb-hero__media { position: relative; align-self: start; min-width: 0; }
.pb-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.66)); pointer-events: none; z-index: 1; }
.pb-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pb-hero__vframe { position: relative; width: 100%; background: #111; }
.pb-hero__vframe .imgfit--fill { position: absolute; inset: 0; }
.pb-hero__over { position: relative; z-index: 2; align-self: end; padding: 24px 18px 30px; max-width: 760px; }
@media (min-width: 900px) { .pb-hero__over { padding: clamp(32px, 4vw, 64px); } }
@media (max-width: 639px) {
  .pb-hero--stack-m > .pb-hero__over { grid-area: 2 / 1; align-self: auto; padding-top: 22px; }
  .pb-hero--stack-m .pb-hero__media::after { display: none; }
}
.pb-hero--full .pb-hero__brand { font-size: clamp(38px, 4.6vw, 72px); }
.pb-hero--full .pb-hero__title { font-size: clamp(30px, 3.6vw, 60px); line-height: 1.05; }
.pb-hero--full .pb-hero__text { color: rgba(255,255,255,.82); }
.pb-hero--full .pb-hero__logo { max-height: clamp(38px, 4vw, 64px); }
.pb-play { position: absolute; z-index: 3; right: 16px; top: 16px; width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); background: rgba(0,0,0,.22); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .2s, background .2s; }
.pb-play svg { width: 22px; height: 22px; margin-left: 3px; }
.pb-play:hover { transform: scale(1.06); background: rgba(0,0,0,.4); }
@media (min-width: 900px) { .pb-play { top: auto; right: 56px; bottom: 56px; width: 76px; height: 76px; } .pb-play svg { width: 28px; height: 28px; } }
.pb-play--center, .pb-play--center:hover { top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); }

/* ─── AVANTAJE ─── */
.pb-usp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--pb-line); border-bottom: 1px solid var(--pb-line); }
.pb-usp__it { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 18px 10px; font-size: 13px; line-height: 1.35; background: var(--pb-bg); }
.pb-usp__it:last-child:nth-child(odd) { grid-column: span 2; }
.pb-usp__ic { color: var(--pb-accent); display: inline-flex; }
.pb-usp__ic svg { width: 26px; height: 26px; }
@media (min-width: 900px) {
  .pb-usp { grid-template-columns: repeat(var(--n, 4), 1fr); }
  .pb-usp__it { padding: 26px 20px; font-size: 15px; }
  .pb-usp__it:last-child:nth-child(odd) { grid-column: auto; }
}

/* ─── SECȚIUNI ─── */
.pb-sec { padding: 36px 0; }
@media (min-width: 900px) { .pb-sec { padding: clamp(48px, 5vw, 88px) 0; } }
.pb-h2 { margin: 0; font-size: clamp(26px, 2.4vw, 38px); font-weight: 600; line-height: 1.15; color: inherit; letter-spacing: .01em; }
.pb-sec__title { margin-bottom: 18px; }
.pb-count { color: var(--pb-muted); font-weight: 500; }
.pb-sec__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
@media (min-width: 900px) { .pb-sec__head { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; } }

/* produse */
.pb-prods { background: var(--pb-band); }
.pb-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * clamp(1rem, 3vw, 2.5rem)); padding: 2px clamp(1rem, 3vw, 2.5rem); }
.pb-chips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .pb-chips { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; justify-content: flex-end; margin: 0; padding: 0; overflow: visible; } .pb-sec__head .pb-h2 { flex: none; } }
.pb-chips a { flex: none; padding: 7px 14px; border-radius: var(--pb-br); border: 1px solid var(--pb-line); font-size: 13px; color: inherit; text-decoration: none; white-space: nowrap; background: var(--pb-bg); transition: background .2s, color .2s; }
.pb-chips a:hover { border-color: var(--pb-fg); }
.pb-chips a.on { background: var(--pb-fg); color: var(--pb-bg); border-color: var(--pb-fg); }
.pb-grid { color: #0f172a; }
.pb-more { text-align: center; margin-top: 26px; }

/* text + imagine */
.pb-ti__in { display: grid; gap: 22px; }
.pb-ti__img .imgfit, .pb-ti__img .pb-media { border-radius: var(--pb-r); }
@media (min-width: 900px) {
  .pb-ti__in { grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.4vw, 80px); align-items: center; }
  .pb-ti--r .pb-ti__img { order: 2; }
}
.pb-prose p { color: var(--pb-muted); line-height: 1.75; margin: 14px 0 0; font-size: 15px; }
@media (min-width: 900px) { .pb-prose p { font-size: 16px; } }
.pb-ti__txt .pb-btn { margin-top: 22px; }

/* galerie */
/* v3.49: mozaic tip „masonry” — fiecare poză cu forma ei, nimic tăiat */
.pb-mosaic { column-count: 2; column-gap: 10px; }
@media (min-width: 900px) { .pb-mosaic { column-count: 3; column-gap: 14px; } }
.pb-mosaic__it { break-inside: avoid; margin: 0 0 10px; border-radius: min(var(--pb-r), 14px); overflow: hidden; background: var(--pb-alt); }
@media (min-width: 900px) { .pb-mosaic__it { margin-bottom: 14px; } }
.pb-slider { position: relative; }
.pb-slider__row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pb-slider__row::-webkit-scrollbar { display: none; }
.pb-slider { --sh: 240px; }
@media (min-width: 640px) { .pb-slider { --sh: clamp(260px, 30vw, 460px); } }
/* v3.49: înălțime comună, lățimea după forma pozei → nimic tăiat */
.pb-slider__it { position: relative; flex: 0 0 auto; width: min(86vw, calc(var(--sh) * var(--r, 1.333))); aspect-ratio: var(--r, 1.333); overflow: hidden; border-radius: min(var(--pb-r), 14px); scroll-snap-align: start; background: var(--pb-alt); }
.pb-slider__arr { display: none; }
@media (min-width: 1024px) {
  .pb-slider__arr { display: grid; place-items: center; position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--pb-bg); color: var(--pb-fg); box-shadow: 0 6px 20px rgba(0,0,0,.18); cursor: pointer; z-index: 2; }
  .pb-slider__arr svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
  .pb-slider__arr--l { left: -14px; } .pb-slider__arr--r { right: -14px; }
}

/* video */
.pb-video__box { position: relative; aspect-ratio: var(--r, 1.7778); border-radius: min(var(--pb-r), 18px); overflow: hidden; background: #000; }
.pb-video__box video, .pb-video__box iframe, .pb-video__yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }

/* citat */
.pb-quote { padding: 44px 20px; text-align: center; }
@media (min-width: 900px) { .pb-quote { padding: clamp(48px, 5vw, 80px) 40px; } }
.pb-quote blockquote { margin: 0 auto; max-width: 960px; }
.pb-quote p { margin: 0; font-size: clamp(22px, 2.7vw, 40px); line-height: 1.35; font-style: italic; font-weight: 500; }
.pb-quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--pb-accent); }

/* colecții */
.pb-coll__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .pb-coll__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .pb-coll__grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; } }
.pb-coll__it { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 10px; border: 1px solid var(--pb-line); border-radius: min(var(--pb-r), 14px); color: var(--pb-accent); text-decoration: none; text-align: center; transition: border-color .2s, background .2s; }
.pb-coll__name { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
a.pb-coll__it:hover { border-color: var(--pb-accent); }
.pb-coll__grid--img .pb-coll__it { flex-direction: column; align-items: stretch; padding: 0; border: 0; color: var(--pb-fg); gap: 10px; }
.pb-coll__grid--img .pb-coll__img { position: relative; display: block; overflow: hidden; border-radius: min(var(--pb-r), 14px); background: var(--pb-alt); }
.pb-coll__grid--img .pb-coll__name { letter-spacing: .08em; font-weight: 600; }

/* formular inline */
.pb-form { display: grid; gap: 22px; background: var(--pb-alt); border-radius: var(--pb-r); padding: 24px 16px; }
@media (min-width: 900px) { .pb-form { grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); padding: clamp(28px, 3vw, 48px); align-items: center; } }
.pb-form__txt p { color: var(--pb-muted); line-height: 1.7; margin: 12px 0 0; }

/* câmpurile formularului (inline + modal) */
.pb-cform { display: grid; gap: 10px; }
.pb-f { display: grid; gap: 5px; margin: 0; }
.pb-f span { font-size: 12px; font-weight: 700; color: var(--pb-muted); }
.pb-f input, .pb-f textarea { width: 100%; border: 1px solid var(--pb-line); background: var(--pb-bg); color: var(--pb-fg); border-radius: min(var(--pb-r), 12px); padding: 11px 12px; font-size: 16px; font-family: inherit; outline: none; transition: border-color .15s, box-shadow .15s; }
.pb-f textarea { resize: vertical; min-height: 76px; }
.pb-f input:focus, .pb-f textarea:focus { border-color: var(--pb-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pb-accent) 22%, transparent); }
.pb--dark .pb-f input, .pb--dark .pb-f textarea { color-scheme: dark; }
.pb-cform__sub { width: 100%; margin-top: 4px; }
.pb-cform__sub:disabled { opacity: .6; cursor: wait; }
.pb-cform__msg { margin: 0; min-height: 1.2em; font-size: 13px; font-weight: 600; }
.pb-cform__msg.is-ok { color: #16a34a; font-size: 15px; }
.pb-cform__msg.is-err { color: #dc2626; }
.pb-cform__note { margin: 0; font-size: 11px; color: var(--pb-muted); }
.pb-cform.is-sent .pb-f, .pb-cform.is-sent .pb-cform__sub, .pb-cform.is-sent .pb-cform__note { display: none; }

/* banner final */
/* v3.49: cadrul = forma pozei; textul centrat peste ea (dacă textul e mai înalt, secțiunea crește, poza nu se taie) */
.pb-final { position: relative; display: grid; text-align: center; color: #fff; overflow: hidden; background: #111; }
.pb-final > .pb-final__media, .pb-final > .pb-final__in { grid-area: 1 / 1; }
.pb-final__media { position: relative; align-self: start; min-width: 0; }
.pb-final__media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.pb-final--plain { height: auto; padding: 64px 20px; background: radial-gradient(circle at 70% 60%, var(--pb-accent), #1a1410 45%, #0b0b0b 80%); background: radial-gradient(circle at 70% 60%, var(--pb-accent), color-mix(in srgb, var(--pb-accent) 35%, #000) 45%, #0b0b0b 82%); }
.pb-final__in { position: relative; z-index: 2; padding: 18px; align-self: center; justify-self: center; }
.pb-final__brand { font-size: clamp(34px, 3.6vw, 56px); font-weight: 600; letter-spacing: .08em; line-height: 1; }
.pb-final__brand img { max-height: clamp(40px, 4vw, 70px); max-width: 280px; width: auto; display: inline-block; }
.pb-final__slogan { margin: 12px 0 0; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .92; }
/* v3.50.3: banner final „bandă îngustă” — înălțime fixă, imaginea/video umple fâșia (centrată) */
.pb-final--band { height: clamp(240px, 14vw, 320px); }
.pb-final--band > .pb-final__media { position: absolute; inset: 0; align-self: stretch; }
.pb-final--band .pb-final__media .imgfit, .pb-final--band .pb-final__media .pb-media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important; }
.pb-final--band .pb-final__media .imgfit__img, .pb-final--band .pb-media__v { object-fit: cover; object-position: center; }
@media (max-width: 639px) { .pb-final--band { height: 260px; } }
.pb-final__line { display: block; width: 44px; height: 1px; margin: 14px auto 0; background: currentColor; opacity: .7; }
@media (max-width: 639px) { .pb-final__brand { font-size: 28px; } .pb-final__brand img { max-height: 34px; } .pb-final__slogan { font-size: 10px; letter-spacing: .22em; margin-top: 8px; } }

/* ─── MODAL consultanță + video ─── */
.pb-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
.pb-modal[hidden] { display: none; }
.pb-modal__bg { position: absolute; inset: 0; background: rgba(15, 23, 42, .58); }
.pb-modal__box { position: relative; width: 100%; max-width: 440px; max-height: 92vh; overflow: auto; background: var(--pb-bg); color: var(--pb-fg); border-radius: 22px 22px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: pbUp .22s ease; }
@media (min-width: 640px) { .pb-modal { align-items: center; padding: 20px; } .pb-modal__box { border-radius: 22px; padding: 28px; } }
@keyframes pbUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.pb-modal__x { position: absolute; right: 8px; top: 6px; width: 42px; height: 42px; font-size: 28px; line-height: 1; background: none; border: 0; color: var(--pb-muted); cursor: pointer; }
.pb-modal__t { margin: 0 40px 6px 0; font-size: 26px; font-weight: 600; line-height: 1.15; }
.pb-modal__p { margin: 0 0 16px; font-size: 13px; color: var(--pb-muted); line-height: 1.55; }
.pb-modal--yt { align-items: center; padding: 16px; }
.pb-yt { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; }
.pb-yt .pb-modal__x { top: -46px; right: -4px; color: #fff; }
.pb-yt__frame, .pb-yt__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; border-radius: 12px; }
