/* Fonturi locale (F4): Bebas Neue 400 (singura grosime a fontului) și DM Sans 400–700, doar latin + latin-ext (acoperă ăâîșț).
   Fișiere în ../assets/fonts/, licență OFL. Aceeași secțiune e în main.css, hub.css și shop.css (fiecare pagină încarcă una dintre ele). */
@font-face{font-family:'Bebas Neue';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/bebas-neue-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Bebas Neue';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/bebas-neue-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('../assets/fonts/dm-sans-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('../assets/fonts/dm-sans-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* ============================================
   B2B.TSF.RO — Hub (index.html), v2.1
   Reproduce macheta design/landing/pagina-start.dc.html în CSS simplu.
   Autonom: nu depinde de main.css / components.css.
   ============================================ */

:root {
  --hub-bg: #0A0A0A;
  --hub-text: #FFFFFF;
  --hub-text-soft: rgba(255, 255, 255, .8);
  --hub-text-mute: rgba(255, 255, 255, .65);
  --hub-line: rgba(255, 255, 255, .12);
  --hub-magenta: #FF1F75;
  --hub-turquoise: #00C8E0;
  --hub-btn: #E0115F;
  --hub-btn-hover: #C70E54;
  --hub-font-display: 'Bebas Neue', sans-serif;
  --hub-font-body: 'DM Sans', sans-serif;
  --hub-ease: cubic-bezier(.2, .7, .2, 1);
  font-weight: 400;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--hub-bg); }
a { color: var(--hub-turquoise); }
a:hover { color: #5FE3F2; }

.hub {
  font-family: var(--hub-font-body);
  color: var(--hub-text);
  background: var(--hub-bg);
  min-height: 100vh;
  overflow-x: hidden;
}
.disp { font-family: var(--hub-font-display); font-weight: 400; letter-spacing: .01em; margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* focus vizibil (accesibilitate) */
.hub a:focus-visible, .hub button:focus-visible {
  outline: 3px solid var(--hub-turquoise);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: #0A0A0A; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ── Header ── */
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.hdr-brand { display: flex; }
.hdr-logo { height: 52px; width: auto; display: block; }
.hdr-nav { display: flex; gap: 30px; align-items: center; }
.hdr-actions { display: flex; align-items: center; gap: 12px; }
.navlink {
  position: relative; color: rgba(255, 255, 255, .75); text-decoration: none;
  font-size: 15px; font-weight: 500; padding: 10px 2px;
}
.navlink::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 4px; height: 2px; background: var(--hub-turquoise);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--hub-ease);
}
.navlink:hover { color: #fff; }
.navlink:hover::after, .navlink:focus-visible::after { transform: scaleX(1); }
.navlink-phone { margin-right: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  font-family: var(--hub-font-body); transition: background .25s, transform .25s, box-shadow .25s;
}
.btn-primary { background: var(--hub-btn); color: #fff; border: 0; }
.btn-primary:hover { background: var(--hub-btn-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(255, 31, 117, .7); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { color: #fff; border-color: #fff; }

.icon-btn {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; cursor: pointer; padding: 0;
}

/* ── Titlu (H1 + lead) ── */
.hero-text { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; }
.hero-text-main { display: flex; flex-direction: column; gap: 12px; max-width: 700px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--hub-turquoise); }
.h1 { font-size: 64px; line-height: .95; color: #fff; }
.hl { color: var(--hub-magenta); }
.lead { margin: 0; font-size: 16px; line-height: 1.5; color: var(--hub-text-soft); max-width: 430px; }

/* ── Panouri (5, verticale) ──
   Baza = accordion (telefon, tabletă, orice ecran touch): un singur panou deschis, buton cu aria-expanded.
   Desktop cu mouse (>=1001px, hover:hover, pointer:fine) = panouri care se lărgesc la hover / focus-within. */
.panels { display: flex; flex-direction: column; gap: 2px; background: var(--hub-bg); overflow-anchor: none; }
.panel { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; flex-grow: 1; }
.panel-img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center top);
  filter: grayscale(1) brightness(.75); transform: scale(1.02); transition: filter .6s ease, transform 1.2s ease;
}
.panel-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(10, 10, 10, .15) 0%, rgba(10, 10, 10, .35) 50%, rgba(10, 10, 10, .9) 100%); }
.panel-body { padding: 0 20px 20px; }
.panel-title { font-size: 34px; line-height: 1; }
.panel-link { color: #fff; text-decoration: none; }
.panel-link:hover { color: #fff; }
.panel-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 0; margin: 0;
  background: none; border: 0; color: #fff; text-align: left; cursor: pointer; font: inherit; letter-spacing: inherit;
}
.plus {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5);
}
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: #fff; border-radius: 1px; }
.plus::after { transform: rotate(90deg); transition: transform .3s var(--hub-ease); }
.panel.is-open .plus { background: var(--hub-btn); border-color: var(--hub-btn); }
.panel.is-open .plus::after { transform: none; }
.panel-tagline { margin: 4px 0 14px; font-size: 13px; line-height: 1.4; color: #D6D6D6; }
.panel-subs { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--hub-ease), visibility 0s linear .45s; }
.panel-subs-in { min-height: 0; overflow: hidden; }
.panel-subs ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.panel-subs li a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  background: rgba(10, 10, 10, .35); color: #fff; text-decoration: none; font-size: 14px;
}
.panel-subs li a:hover { color: var(--hub-turquoise); border-color: var(--hub-turquoise); }
.panel-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 8px; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.panel-cta:hover { color: var(--hub-magenta); }
.panels-note { margin-top: 0; padding-top: 22px; padding-bottom: 26px; font-size: 14px; line-height: 1.5; color: var(--hub-text-mute); }
.panels-note a { color: #fff; }

/* Accordion (tot ce nu e desktop cu mouse) */
@media not all and (min-width: 1001px) and (hover: hover) and (pointer: fine) {
  .panel { min-height: 150px; transition: min-height .45s var(--hub-ease); }
  .panel.is-open { min-height: 460px; }
  .panel-link { display: none; }
  .panel-subs-in { padding-right: 64px; }   /* + 20 px din .panel-body = 84 px: butonul WhatsApp plutitor (56 px + 20 px) nu acoperă chip-urile și CTA-ul; titlul și „+” rămân pe toată lățimea */
  .panel-img { object-position: center 15%; }
  .panel.is-open .panel-img { filter: brightness(.9); transform: scale(1.04); }
  .panel.is-open .panel-shade { background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0) 18%, rgba(10, 10, 10, .72) 42%, rgba(10, 10, 10, .92) 60%, rgba(10, 10, 10, .97) 100%); }
  .panel.is-open .panel-subs { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
  /* pânză întunecată ancorată de blocul de text (nu de înălțimea panoului): titlul rămâne lizibil indiferent de câte rânduri de chip-uri are panoul */
  .panel.is-open .panel-body { padding-top: 56px; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0, rgba(10, 10, 10, .6) 56px, rgba(10, 10, 10, .82) 100%); }
}

/* Desktop cu mouse */
@media (min-width: 1001px) and (hover: hover) and (pointer: fine) {
  .panels { flex-direction: row; height: clamp(480px, calc(100svh - 290px), 760px); }
  .panel { flex: 1 1 0; min-width: 0; transition: flex-grow .55s var(--hub-ease); }
  .panels:hover .panel, .panels:focus-within .panel { flex-grow: .85; }
  .panels .panel:hover, .panels .panel:focus-within { flex-grow: 2.6; }
  .panel-toggle { display: none; }
  .panel-img { object-position: var(--pos, center top); filter: grayscale(1) contrast(1.05) brightness(.82); }
  .panel:hover .panel-img, .panel:focus-within .panel-img { filter: none; transform: scale(1.06); }
  .panel-shade { background: linear-gradient(180deg, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, .6) 52%, rgba(10, 10, 10, .9) 70%, rgba(10, 10, 10, .95) 100%); }
  .panel-body { padding: 0 22px 30px; }
  .panel:last-child .panel-body { padding-right: 92px; }   /* butonul WhatsApp plutitor (fix, jos-dreapta) nu acoperă textul ultimului panou */
  .panel-title { font-size: clamp(28px, 2.6vw, 40px); letter-spacing: .5px; }
  .panel-tagline { font-size: 14px; opacity: .85; transition: opacity .3s; }
  .panel:hover .panel-tagline, .panel:focus-within .panel-tagline { opacity: 1; }
  .panels:hover .panel:not(:hover):not(:focus-within) .panel-tagline,
  .panels:focus-within .panel:not(:hover):not(:focus-within) .panel-tagline { opacity: 0; }
  .panel-subs-in { opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .45s ease; }
  .panel:hover .panel-subs, .panel:focus-within .panel-subs { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
  .panel:hover .panel-subs-in, .panel:focus-within .panel-subs-in { opacity: 1; transform: none; }
  .panel-subs ul { flex-direction: column; flex-wrap: nowrap; gap: 6px; }
  .panel-subs li a { display: block; min-height: 0; padding: 3px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); border-radius: 0; background: none; font-size: 16px; line-height: 1.35; }
  .panel-cta { margin-top: 12px; min-height: 0; }
  .panels-note { padding-top: 22px; }
}

/* ── Parteneri ── */
.partners { background: var(--hub-bg); border-top: 1px solid rgba(255, 255, 255, .08); }
.partners-head { padding-top: 72px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 40px; }
.partners-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.partners-title-col { display: flex; flex-direction: column; gap: 10px; }
.h2 { font-size: 60px; line-height: 1; color: #fff; }
.all-link { font-weight: 600; font-size: 15px; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: 56px; line-height: 1; color: #fff; }
.stat-num span { color: var(--hub-magenta); }
.stat-label { font-size: 14px; color: var(--hub-text-mute); }

.marquee {
  overflow: hidden; padding-top: 16px; padding-bottom: 80px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: scroll 45s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.logo-cell {
  flex: none; width: 168px; height: 88px; margin-right: 14px; display: flex; align-items: center; justify-content: center;
  border-radius: 16px; background: #fff; transition: transform .3s;
}
.logo-cell:hover { transform: translateY(-3px); }
.logo-cell img { max-height: 52px; max-width: 118px; object-fit: contain; }

/* ── Footer ── */
.ftr { background: var(--hub-bg); border-top: 1px solid rgba(255, 255, 255, .08); }
.ftr-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.ftr-brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ftr-logo { height: 36px; width: auto; }
.ftr-copy { font-size: 13px; color: rgba(255, 255, 255, .55); }
.ftr-nav { display: flex; gap: 8px 24px; flex-wrap: wrap; align-items: center; }
.flink { color: rgba(255, 255, 255, .7); text-decoration: none; font-size: 14px; }
.flink:hover { color: #fff; }

/* ── WhatsApp ── */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 999px;
  background: #25D366; color: #0A0A0A; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); animation: pop .5s 1.5s cubic-bezier(.2, .9, .3, 1.3) both;
}
.wa-float:hover { color: #0A0A0A; }

/* ── Meniu mobil ── */
.mnav {
  position: fixed; inset: 0; z-index: 50; background: var(--hub-bg); display: flex; flex-direction: column;
  padding: 20px 16px 32px; overflow-y: auto; animation: fade .3s ease both;
}
.mnav[hidden] { display: none; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mnav-top img { height: 42px; width: auto; }
.mnav .icon-btn { display: inline-flex; }
.mlink {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px; border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #fff; text-decoration: none; font-family: var(--hub-font-display); font-size: 36px; letter-spacing: .01em;
  opacity: 0; animation: rise .55s var(--hub-ease) forwards;
  font-weight: 400;
}
.mlink:hover { color: var(--hub-magenta); }
.mlink span { color: var(--hub-magenta); }
.mlink-sm { font-family: var(--hub-font-body); font-size: 17px; font-weight: 500; min-height: 52px; color: rgba(255, 255, 255, .8); }
.mnav-gap { height: 20px; }
.mnav-actions { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
body.menu-open { overflow: hidden; }

/* ── Animații ── */
.rise { opacity: 0; transform: translateY(28px); animation: rise .9s var(--hub-ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .hide-md { display: none; }
  .hdr .icon-btn { display: inline-flex; }
}
@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero-text { padding-top: 8px; padding-bottom: 18px; }
  .h1 { font-size: 46px; }
  .lead { font-size: 15px; }
  .hdr-logo { height: 42px; }
  .hdr .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .h2 { font-size: 44px; }
  .stat-num { font-size: 48px; }
  .marquee { -webkit-mask-image: none; mask-image: none; padding-bottom: 64px; }
  .track { animation: none; width: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 16px; }
  .logo-cell { width: auto; height: 84px; margin-right: 0; }
  .logo-cell.dup { display: none; }
  .logo-cell img { max-height: 46px; max-width: 60%; }
  .hide-sm { display: none; }
}

/* ── Mișcare redusă ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .mlink { opacity: 1; transform: none; }
  .panel-img { transform: none !important; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .logo-cell.dup { display: none; }
}
