/* bercov.ro — Acasă (owner 26.11): site-ul împărțit în două. Sus Laborator.ai (hero coral + cardul de preț),
   apoi tabelul „Două drumuri” (Laborator.ai / O facem noi), apoi serviciile în plăci mici. Prefix bh-.
   Owner 26.11: „designul trebuie să fie mobile first” — stilul de bază e pentru telefon; tableta și desktopul vin cu min-width.
   Pe telefon, primul ecran arată Laborator.ai + prețul + „Vreau acces”; bifele și „Ce include” vin imediat dedesubt. */
.bh, .bh *, .bh-cmp, .bh-cmp *, .bh-srv, .bh-srv * { box-sizing: border-box; }
.bh, .bh-cmp, .bh-srv { --ink: #16151d; --coral: var(--wp--preset--color--accent-1, #ff5436); --amber: var(--wp--preset--color--accent-2, #ffb020); --mut: #6b6b7b; --line: #e2e2ea; margin: 0 !important; }
.bh em, .bh-cmp em, .bh-srv em { font-style: normal; color: var(--coral); }

/* butoane — același stil ca restul site-ului (mic, Poppins 300) */
.bh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 22px; border-radius: 10px; background: var(--coral); color: #fff !important; text-decoration: none !important;
  font-family: var(--wp--preset--font-family--poppins); font-weight: 300; font-size: 14px; letter-spacing: .08em; transition: transform .15s, box-shadow .15s; border: 1px solid var(--coral); }
.bh-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(255,84,54,.3); }
.bh-btn--dark { background: var(--ink); border-color: var(--ink); }
.bh-btn--dark:hover { box-shadow: 0 10px 22px rgba(22,21,29,.25); }
.bh-btn--wide { width: 100%; }
.bh-d { display: none; }   /* textul lung al butonului (desktop); .bh-m = cel scurt (telefon) */

/* ---------- hero Laborator.ai (telefon) ---------- */
.bh { padding: 10px 10px 0; }
.bh-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--coral); color: #fff; border-radius: 22px;
  display: flex; flex-direction: column; gap: 20px; padding: 22px 16px 16px; }
.bh-hero::before { content: ""; position: absolute; z-index: -1; pointer-events: none; opacity: .16; background: url("../img/laborator-personaj.webp") no-repeat right top / contain; right: -8%; top: 0; width: 60%; height: 230px; }
.bh-hero__txt { display: contents; }   /* pe telefon: textul, apoi cardul, apoi „Ce include” */
.bh-hero__top { order: 1; }
.bh-eyebrow { font-family: var(--wp--preset--font-family--poppins); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 10px; color: #fff; opacity: .9; }
.bh-logo { font-family: var(--wp--preset--font-family--poppins); font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -.02em; margin: 0 0 16px; color: #fff; }
.bh-lead { font-size: 15px; line-height: 1.45; margin: 0 0 8px; color: #fff; }
.bh-lead--b { font-weight: 700; margin-bottom: 0; }
.bh-hero .bercov-lab { order: 3; margin: 0; }
.bh-hero .bercov-lab__h { font-size: 14px !important; }
.bh-hero .bercov-lab__inc li { font-size: 13px; }

/* cardul de preț — pe telefon: prețul și butonul întâi, bifele după */
.bh-pc { order: 2; display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 18px; padding: 18px 16px 16px; box-shadow: 0 20px 40px rgba(22,21,29,.2); }
.bh-pc__t { font-family: var(--wp--preset--font-family--poppins); font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.bh-pc__p { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; }
.bh-pc__p b { font-family: var(--wp--preset--font-family--poppins); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.bh-pc__p span { font-family: var(--wp--preset--font-family--poppins); font-size: 16px; font-weight: 600; }
.bh-pc__band { order: 3; background: var(--ink); border-radius: 14px; padding: 14px; }
.bh-pc__band p { color: #fff; font-family: var(--wp--preset--font-family--poppins); font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.bh-pc__l { order: 4; list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.bh-pc__l li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.35; }
.bh-pc__l li:first-child { font-weight: 700; }
.bh-pc__l svg { flex: none; width: 19px; height: 19px; margin-top: 1px; fill: none; stroke: var(--coral); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bh-pc__foot { order: 5; font-size: 12px; line-height: 1.45; color: var(--mut); margin: 14px 0 0; }

/* ---------- Două drumuri (telefon) ---------- */
.bh-cmp { max-width: 1080px; margin: 0 auto !important; padding: 56px 14px 40px; color: var(--ink); }
.bh-line { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font-family: var(--wp--preset--font-family--poppins); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #4a4855; }
.bh-line::before, .bh-line::after { content: ""; flex: 1; height: 1px; background: #c9c9d1; }
.bh-cmp h2 { font-family: var(--wp--preset--font-family--poppins); text-align: center; font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 16px; }
.bh-sub { text-align: center; font-size: 16px; color: var(--mut); max-width: 40em; margin: 0 auto 32px; line-height: 1.5; }
.bh-t__col { position: absolute; top: 0; bottom: 0; left: calc(100% - 200px); width: 100px; background: #fff4f1; border-radius: 18px; box-shadow: 0 18px 40px rgba(255,84,54,.14); z-index: 0; }
.bh-note { text-align: center; font-size: 13.5px; color: var(--mut); margin: 16px auto 0; max-width: 40em; }
.bh-note a { color: var(--ink); }

/* ---------- Nu ai timp? O facem noi. (telefon) ---------- */
.bh-srv { max-width: 1280px; margin: 0 auto !important; padding: 0 12px 56px; color: var(--ink); }
.bh-srv__h { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin: 0 0 18px; }
.bh-srv__h h2 { font-family: var(--wp--preset--font-family--poppins); font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 6px; }
.bh-srv__h p { color: var(--mut); font-size: 15px; margin: 0; }
.bh-srv__g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bh-s { position: relative; min-height: 140px; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none !important; transition: transform .18s, box-shadow .18s; border: 1px solid transparent; }
.bh-s:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(22,21,29,.18); }
.bh-s h3 { font-family: var(--wp--preset--font-family--poppins); font-size: 18px; font-weight: 700; line-height: 1.15; margin: 0 0 4px; color: inherit; }
.bh-s p { font-size: 12.5px; line-height: 1.4; margin: 0; }
.bh-s__ic { width: 24px; height: 24px; margin-bottom: auto; opacity: .9; }
.bh-s__go { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 1px solid currentColor; opacity: .55; transition: background .15s, opacity .15s; }
.bh-s:hover .bh-s__go { background: var(--coral); border-color: var(--coral); color: #fff; opacity: 1; }
.bh-s--dark { background: #1e1d27; color: #fff !important; } .bh-s--dark p { color: #c9c9d1; }
.bh-s--amber { background: var(--amber); color: var(--ink) !important; } .bh-s--amber p { color: #3a3320; }
.bh-s--light { background: #fff; color: var(--ink) !important; border-color: var(--line); } .bh-s--light p { color: var(--mut); }

/* ---------- tabletă ---------- */
@media (min-width: 601px) {
  .bh { padding: 16px 20px 0; }
  .bh-hero { padding: 36px 32px 28px; border-radius: 26px; gap: 26px; }
  .bh-hero::before { width: 50%; height: 300px; }
  .bh-logo { font-size: 64px; }
  .bh-lead { font-size: 17px; max-width: 34em; }
  .bh-pc { max-width: 520px; padding: 24px 22px 20px; }
  .bh-m { display: none; } .bh-d { display: inline; }
  .bh-cmp { padding: 80px 24px 56px; }
  .bh-cmp h2 { font-size: 44px; }
  .bh-sub { font-size: 18px; margin-bottom: 44px; }
  .bh-t__col { left: calc(100% * 1.25 / 3.25); width: calc(100% / 3.25); border-radius: 26px; }
  .bh-srv { padding: 0 24px 80px; }
  .bh-srv__h { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .bh-srv__h h2 { font-size: 38px; }
  .bh-s { min-height: 180px; padding: 22px; border-radius: 22px; }
  .bh-s h3 { font-size: 22px; } .bh-s p { font-size: 14px; }
  .bh-s__ic { width: 30px; height: 30px; } .bh-s__go { width: 32px; height: 32px; font-size: 15px; top: 16px; right: 16px; }
}

/* ---------- desktop: textul stânga, cardul dreapta, pe tot ecranul ---------- */
@media (min-width: 961px) {
  .bh { padding: clamp(14px, 1.6vw, 28px) clamp(20px, 2.8vw, 56px) 0; }
  .bh-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 440px); gap: clamp(32px, 4vw, 80px); align-items: center;
    padding: clamp(36px, 4vw, 72px); border-radius: clamp(26px, 1.6vw, 32px); min-height: calc(100svh - 78px - clamp(14px, 1.6vw, 28px) * 2); }
  .bh-hero::before { opacity: .22; background-position: left bottom; left: 2%; right: auto; top: auto; bottom: 0; width: 44%; height: 78%; }
  .bh-hero__txt { display: block; }
  .bh-logo { font-size: clamp(64px, 6.2vw, 112px); margin-bottom: 24px; }
  .bh-lead { font-size: clamp(17px, 1.25vw, 22px); }
  .bh-hero .bercov-lab { margin-top: 28px; }
  .bh-hero .bercov-lab__h { font-size: 15px !important; } .bh-hero .bercov-lab__inc li { font-size: 14px; }
  /* desktop: ordinea clasică a cardului — bifele înaintea benzii */
  .bh-pc { max-width: none; padding: clamp(24px, 2vw, 34px); border-radius: 22px; box-shadow: 0 30px 60px rgba(22,21,29,.22); }
  .bh-pc__t { font-size: clamp(18px, 1.3vw, 22px); margin-bottom: 10px; }
  .bh-pc__p { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .bh-pc__p b { font-size: clamp(48px, 3.6vw, 64px); } .bh-pc__p span { font-size: 18px; }
  .bh-pc__l { order: 2; margin: 0 0 22px; padding: 0; border: 0; gap: 12px; }
  .bh-pc__l li { font-size: 16px; }
  .bh-pc__band { padding: 18px; border-radius: 16px; } .bh-pc__band p { font-size: 17px; margin-bottom: 14px; }
  .bh-pc__foot { font-size: 12.5px; }
  .bh-cmp { padding: clamp(80px, 7vw, 110px) 40px clamp(56px, 5vw, 80px); }
  .bh-cmp h2 { font-size: clamp(44px, 4.2vw, 62px); }
  .bh-srv { padding: 0 clamp(24px, 2.8vw, 56px) clamp(80px, 6vw, 96px); }
  .bh-srv__g { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, .9vw, 16px); }
  .bh-s { min-height: 190px; } .bh-s h3 { font-size: clamp(22px, 1.5vw, 26px); }
}

/* Owner 26.11 (captura Udacity „Why Udacity”, „vreau designul să fie așa”): tabel cu DOAR iconițe în coloane — textul stă
   în stânga, pe rând; coloana Laborator.ai e o bandă continuă (cap coral, fond coral deschis, umbră), cealaltă coloană simplă,
   cu linii între rânduri. Fără X (owner). Pe telefon: etichetă 1fr + două coloane de 88px, ca în referință. */
.bh-u { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 104px 104px; max-width: 900px; margin: 0 26px 0 0; }   /* owner 26.11: prima coloană mai îngustă, puțin loc în dreapta după „O facem noi” */
.bh-u__col { position: absolute; top: 0; bottom: 0; left: calc(100% - 208px); width: 104px; background: #fff4f1; border-radius: 22px; box-shadow: 0 22px 46px rgba(255,84,54,.16); z-index: 0; }
.bh-u__c { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px 4px; border-bottom: 1px solid #d9d9e1; min-height: 84px; }
.bh-u__l { border-bottom-color: transparent; }
.bh-u__k { justify-content: flex-start; text-align: left; padding: 20px 14px 20px 0; font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.bh-u__h { flex-direction: column; gap: 2px; min-height: 0; padding: 22px 4px; font-family: var(--wp--preset--font-family--poppins); font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--ink); border-bottom-color: #c9c9d1; }
.bh-u__h small { font-size: 9.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.bh-u__l.bh-u__h { background: var(--coral); color: #fff; border-radius: 22px 22px 0 0; font-size: 13.5px; letter-spacing: -.01em; }
.bh-u__l.bh-u__h small { color: #fff; opacity: .85; }
.bh-u__k.bh-u__h { border-bottom-color: #c9c9d1; }
.bh-u__i { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e3e3ea; }
.bh-u__i svg { width: 19px; height: 19px; fill: none; stroke: #6b6b7b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bh-u__i--lab { background: #ffdcd3; } .bh-u__i--lab svg { stroke: var(--coral); }
.bh-u__pr { font-family: var(--wp--preset--font-family--poppins); font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.bh-u__pr span { display: block; font-size: 11px; font-weight: 600; }
.bh-u__pr--of { font-size: 13px; font-weight: 600; }
.bh-u__end { border-bottom: 0; padding: 16px 6px 22px; min-height: 0; }
.bh-u__end .bh-btn { width: 100%; padding: 10px 4px; font-size: 13px; letter-spacing: .04em; min-height: 44px; }
@media (min-width: 601px) {
  .bh-u { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); margin: 0 auto; }
  .bh-u__col { left: calc(100% * 1.3 / 3.3); width: calc(100% / 3.3); border-radius: 30px; }
  .bh-u__l.bh-u__h { border-radius: 30px 30px 0 0; }
  .bh-u__c { padding: 26px 14px; min-height: 104px; }
  .bh-u__k { font-size: 20px; padding-left: 0; }
  .bh-u__h, .bh-u__l.bh-u__h { font-size: 22px; letter-spacing: 0; padding: 28px 14px; } .bh-u__h small { font-size: 11px; letter-spacing: .14em; }
  .bh-u__i { width: 52px; height: 52px; } .bh-u__i svg { width: 24px; height: 24px; }
  .bh-u__pr { font-size: 24px; } .bh-u__pr span { display: inline; font-size: .6em; } .bh-u__pr--of { font-size: 17px; }
  .bh-u__end .bh-btn { width: auto; padding: 11px 24px; font-size: 14px; letter-spacing: .08em; min-height: 46px; }
}
/* owner 26.11: al doilea rând al titlului „Două drumuri” — mai mic și mai deschis, sub titlul mare */
.bh-h2b { display: block; margin-top: 12px; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: #4a4855; }
@media (min-width: 601px) { .bh-h2b { font-size: 26px; margin-top: 16px; } }
@media (min-width: 961px) { .bh-h2b { font-size: 30px; } }
/* owner 26.11: „schimbă culorile cardurilor, adaugă și coral” — Marketing Amber, Website Coral, Automatizări închis,
   Studio Podcast alb, Impresariat închis, SuperSimplu Coral (pe telefon iese în șah: amber|coral, închis|alb, închis|coral) */
.bh-s--coral { background: var(--coral); color: #fff !important; } .bh-s--coral p { color: rgba(255,255,255,.9); }
.bh-s--coral .bh-s__go { opacity: .8; }
.bh-s--coral:hover .bh-s__go { background: #fff; border-color: #fff; color: var(--coral); }
.bh-s__dot { color: var(--coral); } .bh-s--coral .bh-s__dot { color: var(--ink); }

/* owner 26.11 „efectul cu conținut care vine peste alt conținut, ca pe lahi.ro homepage” — același mecanism ca pe lahi:
   o secțiune .is-stick se lipește abia după ce s-a văzut toată (top = ecran - înălțimea ei, --bh-stick din acasa.js),
   iar următoarea urcă peste ea, cu colțuri rotunjite și umbră. Două momente: hero → „Două drumuri”, plăcile → „Pentru antreprenori”.
   iPhone (Safari, .bh-ios pus în <head>): fără sticky (tremură cu bara Safari) — secțiunea „stă” printr-o translație legată de
   derulare (animation-timeline: view()), exact ca fotografia de pe lahi. */
.bh { background: #f5f5f8; }
/* owner 26.11: „hero nu se vede în întregime, e acoperit de sticky menu și următorul cadru vine peste” → un strat se oprește
   abia când marginea lui de jos a ajuns DEASUPRA barei fixe de jos (--bh-bar = bara 54px + 10px + cercul + aer + zona iPhone);
   în Chrome/Android acasa.js măsoară bara reală, pe iPhone se folosește valoarea de aici */
:root { --bh-bar: calc(84px + env(safe-area-inset-bottom, 0px)); }
.bh-lay { position: relative; z-index: 2; background: #f5f5f8; border-radius: 28px 28px 0 0; box-shadow: 0 -28px 56px rgba(22,21,29,.18); }
.bh-lay + .wp-block-group { position: relative; z-index: 3; border-radius: 28px 28px 0 0; box-shadow: 0 -28px 56px rgba(22,21,29,.22); }
.bh-lay + .wp-block-group + .wp-block-group { position: relative; z-index: 3; }
html:not(.bh-ios) .bh.is-stick, html:not(.bh-ios) .bh-lay.is-stick { position: sticky; top: var(--bh-stick, 0px); }
html:not(.bh-ios) .bh.is-stick { z-index: 1; }
@supports (animation-timeline: view()) {
  /* straturile de sub hero: regula EXACTĂ din 1.4.76 — de ea depinde efectul „3 straturi” pe care owner-ul vrea să-l păstreze
     (efecte/trei-straturi-iphone.md); include și cei 96px din scroll-padding-top al paginii */
  .bh-ios .bh-lay.is-stick { animation: bh-hold-v1 linear both; animation-timeline: view(); animation-range: cover calc(100% - 100vh) cover 100%; }
  /* hero: fără cei 96px (view(0px)) și oprit abia deasupra barei de jos → se vede întreg înainte să urce stratul următor */
  .bh-ios .bh.is-stick { animation: bh-hold linear both; animation-timeline: view(0px); animation-range: cover calc(100% - 100vh + var(--bh-bar)) cover 100%; }
}
@keyframes bh-hold { from { transform: translateY(0); } to { transform: translateY(calc(100vh - var(--bh-bar))); } }
@keyframes bh-hold-v1 { from { transform: translateY(0); } to { transform: translateY(100vh); } }
@media (prefers-reduced-motion: reduce) {
  html:not(.bh-ios) .bh.is-stick, html:not(.bh-ios) .bh-lay.is-stick { position: relative; top: auto; }
  .bh-ios .bh.is-stick, .bh-ios .bh-lay.is-stick { animation: none; }
}
/* owner 26.11 „aplică și pentru zona” (tabelul): al treilea moment — „Două drumuri” rămâne pe loc, „Nu ai timp? O facem noi.” urcă peste */
.bh-lay--srv { padding-top: 44px; }
@media (min-width: 601px) { .bh-lay--srv { padding-top: 64px; } }

/* owner 26.11: „fă bannerul hero mai mic, e prea înalt, micșorează prețul, strânge rândurile, lasă mai mult spațiu jos”
   — doar telefon (de la 601px în sus rămân valorile de mai sus) */
@media (max-width: 600px) {
  .bh { padding-bottom: 18px; }
  .bh-hero { padding: 16px 14px 16px; gap: 12px; border-radius: 20px; }
  .bh-hero::before { height: 180px; }
  .bh-eyebrow { font-size: 10px; margin-bottom: 6px; }
  .bh-logo { font-size: 38px; margin-bottom: 10px; }
  .bh-lead { font-size: 14px; line-height: 1.38; margin-bottom: 4px; }
  .bh-pc { padding: 14px 14px 12px; border-radius: 16px; }
  .bh-pc__t { font-size: 13.5px; margin-bottom: 2px; }
  .bh-pc__p { margin-bottom: 10px; gap: 6px; }
  .bh-pc__p b { font-size: 30px; }
  .bh-pc__p span { font-size: 13px; }
  .bh-pc__band { padding: 10px; border-radius: 12px; }
  .bh-pc__band p { font-size: 13px; margin-bottom: 8px; }
  .bh-pc__band .bh-btn { min-height: 42px; padding: 9px 18px; }
  .bh-pc__l { gap: 5px; margin-top: 10px; padding-top: 10px; }
  .bh-pc__l li { font-size: 13.5px; line-height: 1.3; gap: 8px; }
  .bh-pc__l svg { width: 16px; height: 16px; }
  .bh-pc__foot { font-size: 11px; line-height: 1.35; margin-top: 8px; }
  .bh-hero .bercov-lab__h { font-size: 13px !important; margin-bottom: 6px !important; }
  .bh-hero .bercov-lab__inc { gap: 4px; }
  .bh-hero .bercov-lab__inc li { font-size: 12px; }
}

/* owner 26.11: „îngustează și cardul «Îți arăt cum construiesc eu cu AI.»” — stratul „Două drumuri” are aceleași margini
   laterale ca hero-ul, deci se vede ca un card care urcă peste hero. Tabelul din el își păstrează aerul din dreapta. */
.bh-lay:not(.bh-lay--srv) { margin: 0 10px; }
@media (max-width: 600px) {
  .bh-lay:not(.bh-lay--srv) .bh-cmp { padding-left: 12px; padding-right: 12px; }
  .bh-u { grid-template-columns: minmax(0, 1fr) 96px 96px; margin-right: 16px; }
  .bh-u__col { left: calc(100% - 192px); width: 96px; }
}
@media (min-width: 601px) { .bh-lay:not(.bh-lay--srv) { margin: 0 20px; } }
@media (min-width: 961px) { .bh-lay:not(.bh-lay--srv) { margin: 0 clamp(20px, 2.8vw, 56px); } }

/* owner 26.11 („fă”): cardul de preț din hero devine un slider care se întoarce (rotire 3D, ca o carte) și pe spate e
   videoul de prezentare (acum teaser-ul L-001, până vine videoul nou). Singur: după ~5 s pe video, înapoi după video/15 s;
   swipe stânga/dreapta sau punctele de sub card; atingerea oprește rotirea automată. Logica în acasa.js. */
.bh-flip { order: 2; perspective: 1400px; }
.bh-flip__in { position: relative; display: grid; transform-style: preserve-3d; transition: transform .85s cubic-bezier(.22,.75,.2,1); }
.bh-flip__f, .bh-flip__b { grid-area: 1 / 1; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.bh-flip__b { position: relative; transform: rotateY(180deg); border-radius: 16px; overflow: hidden; background: #16151d; box-shadow: 0 20px 40px rgba(22,21,29,.2); min-height: 260px; }
.bh-flip.is-video .bh-flip__in { transform: rotateY(180deg); }
.bh-flip__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bh-flip__snd { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border: 0; border-radius: 999px; background: rgba(22,21,29,.62); color: #fff; font: 300 12px/1 var(--wp--preset--font-family--poppins), sans-serif; letter-spacing: .06em; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bh-flip__snd svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bh-flip__snd svg path:first-child { fill: currentColor; stroke: none; }
.bh-flip__w { display: none; } .bh-flip.is-sound .bh-flip__w { display: inline; } .bh-flip.is-sound .bh-flip__x { display: none; }
.bh-flip__cta { position: absolute; left: 12px; right: 12px; bottom: 12px; }
.bh-flip__dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.bh-flip__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .25s, background .25s; }
.bh-flip__dots button[aria-selected="true"] { width: 22px; background: #fff; }
.bh-flip__dots button::before { content: ""; display: block; margin: -18px -10px; height: 44px; }   /* țintă de atingere 44px */
@media (min-width: 601px) { .bh-flip { max-width: 520px; } .bh-flip__b { border-radius: 22px; } }
@media (min-width: 961px) { .bh-flip { max-width: none; } .bh-flip__b { box-shadow: 0 30px 60px rgba(22,21,29,.22); } }
@media (prefers-reduced-motion: reduce) { .bh-flip__in { transition: none; } }

/* owner 26.11: „îngustează cardul hero încă puțin” — margini laterale mai mari la hero (era 10 / 20 / până la 56px) */
.bh { padding-left: 18px; padding-right: 18px; }
@media (min-width: 601px) { .bh { padding-left: 32px; padding-right: 32px; } }
@media (min-width: 961px) { .bh { padding-left: clamp(32px, 4.5vw, 96px); padding-right: clamp(32px, 4.5vw, 96px); } }
/* owner 26.11: „ridică cardul puțin mai aproape de header” — spațiul de sus al hero-ului 10 → 4px (telefon), 16 → 8px (tabletă), ~23 → 10px (desktop) */
.bh { padding-top: 4px; }
@media (min-width: 601px) { .bh { padding-top: 8px; } }
@media (min-width: 961px) { .bh { padding-top: 10px; } }
/* owner 26.11 (a doua oară): hero și mai aproape de header + spațiu mai mare jos față de cardul următor */
.bh { padding-top: 0; padding-bottom: 40px; }
@media (min-width: 601px) { .bh { padding-top: 4px; padding-bottom: 48px; } }
@media (min-width: 961px) { .bh { padding-top: 4px; padding-bottom: 56px; } }
/* owner 26.11: scos textul de sub titlul „Două drumuri” → spațiul de sub titlu preia rolul lui */
.bh-cmp h2 { margin-bottom: 28px; }
@media (min-width: 601px) { .bh-cmp h2 { margin-bottom: 40px; } }

/* owner 26.11, 01:05 (iPhone real): „Nu ai timp?” nu urca destul (plăcile tăiate) și „la scroll up se dezlipește”. Cauza: regulile
   iPhone se calculau în 100vh/cover, iar pe Safari înălțimea ecranului se schimbă când apare/dispare bara de adrese.
   Acum o singură regulă pentru toate straturile, ancorată pe margini, nu pe 100vh: `contain 100%` = momentul în care stratul
   scurt are marginea de sus la marginea de sus a ecranului (stratul înalt: marginea de jos la cea de jos); --bh-off (= bara de
   jos, doar la straturile mai înalte decât ecranul) și --bh-len (cât stă pe loc) le pune acasa.js în px — fără vh. */
@supports (animation-timeline: view()) {
  .bh-ios .bh.is-stick, .bh-ios .bh-lay.is-stick { animation: bh-hold2 linear both; animation-timeline: view(0px);
    animation-range: contain calc(100% + var(--bh-off, 0px)) contain calc(100% + var(--bh-off, 0px) + var(--bh-len, 800px)); }
}
@keyframes bh-hold2 { from { transform: translateY(0); } to { transform: translateY(var(--bh-len, 800px)); } }
@media (prefers-reduced-motion: reduce) { .bh-ios .bh.is-stick, .bh-ios .bh-lay.is-stick { animation: none; } }
/* owner 26.11: „cardul hero s-a lipit de header, desparte-l puțin” → 0 → 8px (telefon), 4 → 10px (tabletă/desktop) */
.bh { padding-top: 8px; }
@media (min-width: 601px) { .bh { padding-top: 10px; } }
