/*
 * PrimeBox Premium Motion — 1.0.0
 * Scoped visual enhancement. Designed for the original PrimeBox WordPress theme.
 * Native CSS/SVG/JS, no plugin, no CDN, no external font.
 */

/* 01. Premium baseline, without restructuring the layout */
body.pb-premium {
  --pb-ease: cubic-bezier(.18,.82,.22,1);
  --pb-orange: #ff5b14;
  --pb-orange-soft: #ff8a46;
  --pb-graphite: #0b0f14;
}
body.pb-premium .site-header {
  box-shadow: 0 1px 0 rgba(255,255,255,.035);
}
body.pb-premium .site-header--overlay.is-scrolled,
body.pb-premium .site-header.is-open {
  background: rgba(9,13,18,.94);
  box-shadow: 0 12px 48px rgba(0,0,0,.15);
}
body.pb-premium .brand {
  gap: 12px;
  transition: opacity .28s ease;
}
body.pb-premium .brand:hover { opacity: .91; }
body.pb-premium .brand .logo-mark {
  width: 38px;
  height: 38px;
  flex: none;
  overflow: visible;
  transform-origin: 50% 50%;
  transition: transform .7s var(--pb-ease), filter .5s ease;
}
body.pb-premium .brand__text strong { letter-spacing: .035em; }
body.pb-premium .brand .logo-mark:focus { outline: none; }

/* Animate the NEW inline mark; old mark stays static as safe fallback. */
body.pb-premium.pb-motion-ready .pb-face--top {
  transform-origin: 50% 50%;
  animation: pb-face-in .7s var(--pb-ease) both;
}
body.pb-premium.pb-motion-ready .pb-face--left {
  transform-origin: 50% 50%;
  animation: pb-face-in .82s .08s var(--pb-ease) both;
}
body.pb-premium.pb-motion-ready .pb-face--right {
  transform-origin: 50% 50%;
  animation: pb-face-in .82s .17s var(--pb-ease) both;
}
body.pb-premium.pb-motion-ready .pb-ribs {
  opacity: 0;
  animation: pb-ribs-in .65s .55s ease-out forwards;
}
@keyframes pb-face-in {
  from { opacity: 0; transform: translateY(-5px) scale(.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pb-ribs-in { to { opacity: .70; } }
@media (hover:hover) and (pointer:fine) {
  body.pb-premium .brand:hover .logo-mark { transform: rotate(-6deg) translateY(-1px); filter: drop-shadow(0 4px 9px rgba(255,91,20,.20)); }
}

/* 02. Cinematic, photographic HOME hero; photo belongs to PrimeBox source snapshot. */
body.pb-premium.home .hero {
  background: #090e15;
  isolation: isolate;
}
body.pb-premium.home .hero::before {
  content: "";
  position: absolute;
  inset: -3%;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(7,11,17,.97) 0%, rgba(7,11,17,.90) 36%, rgba(7,11,17,.69) 67%, rgba(7,11,17,.78) 100%),
    linear-gradient(0deg, rgba(6,10,15,.97), transparent 50%, rgba(8,12,17,.18)),
    url('../img/primebox-hero-real.webp');
  background-size: cover, cover, cover;
  background-position: center, center, center 59%;
  opacity: 1;
  transform: scale(1.035);
  will-change: auto;
}
body.pb-premium.home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(600px 440px at var(--pb-pointer-x,80%) var(--pb-pointer-y,4%), rgba(255,91,20,.16), transparent 72%),
    linear-gradient(90deg, transparent 75%, rgba(255,91,20,.045));
}
body.pb-premium.pb-motion-ready.home .hero::before {
  animation: pb-photo-arrive 13s cubic-bezier(.18,.4,.3,1) both;
}
@keyframes pb-photo-arrive {
  from { transform: scale(1.08); opacity: .76; }
  to   { transform: scale(1.015); opacity: 1; }
}
body.pb-premium.home .hero__art { opacity: 0; pointer-events: none; }
body.pb-premium.home .hero__grain {
  z-index: 0;
  opacity: .27;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 60% 50%, #000 0%, transparent 72%);
}
body.pb-premium.home .hero__inner,
body.pb-premium.home .stats { position: relative; z-index: 2; }
body.pb-premium.home .hero__title {
  font-size: clamp(43px, 6vw, 79px);
  line-height: 1.055;
  letter-spacing: -.049em;
  max-width: 14.3ch;
  text-wrap: balance;
  text-shadow: 0 7px 36px rgba(0,0,0,.17);
}
body.pb-premium.home .hero__text {
  color: rgba(239,243,248,.80);
}
body.pb-premium.home .hero__form {
  position: relative;
  border-radius: 26px;
  filter: drop-shadow(0 36px 70px rgba(0,0,0,.23));
}
body.pb-premium.home .hero__form .qform {
  box-shadow: 0 0 0 1px rgba(255,255,255,.8), 0 15px 38px rgba(5,9,14,.18);
}
body.pb-premium.home .hero__form::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg,rgba(255,255,255,.30), transparent 45%,rgba(255,91,20,.24));
}
body.pb-premium.home .hero .eyebrow--accent { letter-spacing: .145em; }
body.pb-premium.home .hero__from strong { letter-spacing: -.03em; }

/* Ornamental blueprint frame, injected by JS, never affects content or links. */
body.pb-premium .pb-hero-blueprint {
  position: absolute;
  inset: 12% 0 10% auto;
  width: min(66vw, 890px);
  height: 70%;
  opacity: .28;
  color: var(--pb-orange-soft);
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
body.pb-premium .pb-hero-blueprint .pb-draw {
  stroke-dasharray: 1250;
  stroke-dashoffset: 1250;
}
body.pb-premium.pb-motion-ready .pb-hero-blueprint .pb-draw {
  animation: pb-line-draw 2.6s .55s ease-in-out forwards;
}
@keyframes pb-line-draw { to { stroke-dashoffset: 0; } }

/* A restrained one-time reveal; never hide content if JS fails. */
body.pb-premium.pb-motion-ready.home .hero__copy > .eyebrow,
body.pb-premium.pb-motion-ready.home .hero__copy > .hero__title,
body.pb-premium.pb-motion-ready.home .hero__copy > .hero__text,
body.pb-premium.pb-motion-ready.home .hero__copy > .hero__actions,
body.pb-premium.pb-motion-ready.home .hero__copy > .hero__trust,
body.pb-premium.pb-motion-ready.home .hero__form {
  animation: pb-intro .82s var(--pb-ease) both;
}
body.pb-premium.pb-motion-ready.home .hero__copy > .hero__title { animation-delay: .10s; }
body.pb-premium.pb-motion-ready.home .hero__copy > .hero__text { animation-delay: .20s; }
body.pb-premium.pb-motion-ready.home .hero__copy > .hero__actions { animation-delay: .30s; }
body.pb-premium.pb-motion-ready.home .hero__copy > .hero__trust { animation-delay: .40s; }
body.pb-premium.pb-motion-ready.home .hero__form { animation-delay: .18s; }
@keyframes pb-intro {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 03. Buttons: precision, not exaggerated glow */
body.pb-premium .btn--accent {
  box-shadow: 0 12px 25px rgba(255,91,20,.19);
  transition: transform .32s var(--pb-ease), background-color .2s ease, box-shadow .32s ease;
}
body.pb-premium .btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(255,91,20,.26);
}
body.pb-premium .btn .ico { transition: transform .28s var(--pb-ease); }
body.pb-premium .btn:hover .ico { transform: translateX(3px); }
body.pb-premium a:focus-visible,
body.pb-premium button:focus-visible,
body.pb-premium input:focus-visible,
body.pb-premium select:focus-visible {
  outline: 3px solid #ff944f;
  outline-offset: 3px;
}

/* 04. Collection/product cards: clean editorial catalog */
body.pb-premium .card {
  border-color: rgba(14,21,28,.085);
  box-shadow: 0 3px 14px rgba(13,19,26,.025);
  transition: transform .52s var(--pb-ease), box-shadow .52s var(--pb-ease), border-color .3s ease;
}
body.pb-premium .card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 65%, rgba(8,12,18,.18));
  opacity: .5;
  transition: opacity .48s ease;
}
body.pb-premium .card__media img { transition: transform .85s var(--pb-ease), filter .65s ease; }
body.pb-premium .card__title a { text-underline-offset: 4px; }
body.pb-premium .card .btn--dark {
  transition: transform .28s ease, background-color .25s ease;
}
@media (hover:hover) and (pointer:fine) {
  body.pb-premium .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 46px rgba(13,19,26,.095), 0 2px 8px rgba(13,19,26,.04);
    border-color: rgba(255,91,20,.27);
  }
  body.pb-premium .card:hover .card__media img { transform: scale(1.055); }
  body.pb-premium .card:hover .card__media::after { opacity: .20; }
}

/* 05. Scroll-driven step indicator (4 columns desktop only) */
body.pb-premium #cum-functioneaza .steps { position: relative; }
body.pb-premium #cum-functioneaza .steps__item {
  border: 1px solid rgba(18,24,31,.06);
  transition: border-color .42s ease, background-color .42s ease, transform .42s var(--pb-ease);
}
body.pb-premium #cum-functioneaza .steps__n {
  position: relative;
  z-index: 3;
  transition: background-color .42s ease, transform .42s var(--pb-ease), box-shadow .42s ease;
}
body.pb-premium #cum-functioneaza .steps__item.pb-step-active .steps__n {
  background: var(--pb-orange);
  color: white;
  box-shadow: 0 0 0 5px rgba(255,91,20,.1);
  transform: translateY(-2px);
}
body.pb-premium #cum-functioneaza .steps__item.pb-step-active {
  border-color: rgba(255,91,20,.25);
}
@media (min-width: 1024px) {
  body.pb-premium #cum-functioneaza .steps::before,
  body.pb-premium #cum-functioneaza .steps::after {
    content: "";
    position: absolute;
    top: 50px;
    left: 50px;
    height: 2px;
    border-radius: 99px;
    pointer-events: none;
    z-index: 2;
  }
  body.pb-premium #cum-functioneaza .steps::before {
    right: 50px;
    background: rgba(44,52,63,.16);
  }
  body.pb-premium #cum-functioneaza .steps::after {
    width: calc((100% - 100px) * var(--pb-step-progress, 0));
    max-width: calc(100% - 100px);
    background: var(--pb-orange);
    box-shadow: 0 0 9px rgba(255,91,20,.25);
  }
}

/* 06. Real product gallery: showroom finish */
body.pb-premium .gallery__main {
  border: 1px solid rgba(21,28,35,.08);
  box-shadow: 0 16px 42px rgba(11,15,20,.085);
}
body.pb-premium .gallery__thumb {
  transition: border-color .3s ease, transform .32s var(--pb-ease), opacity .25s ease;
}
@media (hover:hover) and (pointer:fine) {
  body.pb-premium .gallery__thumb:hover { transform: translateY(-3px); }
}
/* Thumbnails: tidy 5-column grid (10 photos = 5 sus + 5 jos), no horizontal strip. */
body.pb-premium .gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  overflow: visible;
}
body.pb-premium .gallery__thumbs > li { margin: 0; min-width: 0; }
body.pb-premium .gallery__thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
}
body.pb-premium .gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 639px) {
  body.pb-premium .gallery__thumbs { gap: 6px; }
  body.pb-premium .gallery__thumb { border-radius: 9px; }
}
body.pb-premium .summary__price {
  border: 1px solid rgba(255,91,20,.1);
  box-shadow: 0 9px 27px rgba(11,15,20,.035);
}
body.pb-premium .summary__title { text-wrap: balance; }
body.pb-premium .pb-gallery-expand {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(9,13,18,.78);
  backdrop-filter: blur(9px);
  color: #fff;
  cursor: pointer;
  font: 600 13px/1.1 var(--font-body,system-ui);
  transition: background-color .2s ease, transform .25s ease;
}
body.pb-premium .pb-gallery-expand:hover { background: rgba(9,13,18,.96); transform: translateY(-2px); }
body.pb-premium .pb-gallery-expand svg { width: 16px; height: 16px; }

/* Modal is appended to body, not to gallery (avoids overflow clipping). */
.pb-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 0;
  border: 0;
  background: #06090c;
  color: white;
  overflow: hidden;
}
.pb-lightbox::backdrop { background: rgba(3,6,9,.93); }
.pb-lightbox__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 64px 48px;
}
.pb-lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pb-lightbox__close,
.pb-lightbox__prev,
.pb-lightbox__next {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(21,26,33,.82);
  color: #fff;
  font-size: 23px;
  cursor: pointer;
}
.pb-lightbox__close { top: 16px; right: 18px; }
.pb-lightbox__prev { top: 50%; left: 13px; transform: translateY(-50%); }
.pb-lightbox__next { top: 50%; right: 13px; transform: translateY(-50%); }
.pb-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  font: 600 13px/1.2 system-ui,sans-serif;
  letter-spacing: .05em;
  color: rgba(255,255,255,.72);
}

/* 07. Coverage & CTA: quiet liveliness rather than constant movement */
body.pb-premium .cities li { transition: border-color .26s ease, transform .28s var(--pb-ease), box-shadow .28s ease; }
@media (hover:hover) and (pointer:fine) {
  body.pb-premium .cities li:hover { transform: translateY(-2px); border-color: rgba(255,91,20,.36); box-shadow: 0 7px 20px rgba(8,13,19,.07); }
}
body.pb-premium .cta-band::before {
  background: radial-gradient(800px 320px at 100% 0%, rgba(255,91,20,.18), transparent 76%);
}
body.pb-premium .section__head .section__title { text-wrap: balance; }

/* Responsive: prioritize readability and speed on phones. */
@media (max-width: 1023px) {
  body.pb-premium .pb-hero-blueprint { display: none; }
  body.pb-premium.home .hero::before {
    background-image:
      linear-gradient(90deg, rgba(7,11,17,.93), rgba(7,11,17,.82)),
      linear-gradient(0deg, rgba(6,10,15,.97), transparent 73%),
      url('../img/primebox-hero-real.webp');
    background-position: center, center, 56% 48%;
  }
  body.pb-premium.home .hero__title { max-width: 16ch; font-size: clamp(39px,7.6vw,67px); }
}
@media (max-width: 639px) {
  body.pb-premium.home .hero__title { font-size: clamp(38px,9.5vw,48px); }
  body.pb-premium.home .hero__form { filter: none; }
  body.pb-premium.home .hero__grain { opacity: .1; }
  body.pb-premium .brand .logo-mark { width: 33px; height: 33px; }
  .pb-lightbox__figure { padding: 75px 15px; }
  .pb-lightbox__prev, .pb-lightbox__next { width: 38px; height: 38px; }
}

/* Motion-free + accessibility. All content remains visible and controls work. */
@media (prefers-reduced-motion: reduce) {
  body.pb-premium *, body.pb-premium *::before, body.pb-premium *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  body.pb-premium .pb-hero-blueprint .pb-draw { stroke-dashoffset: 0 !important; }
  body.pb-premium .brand .logo-mark,
  body.pb-premium .card:hover,
  body.pb-premium .btn:hover { transform: none !important; }
}

/* 08. Buttons v2 — no pills anywhere: precise industrial corners, icon chips, light sweep. */
body.pb-premium { --pb-r: 12px; --pb-r-sm: 8px; --pb-wa: #128C4A; }
body.pb-premium .btn { border-radius: var(--pb-r); letter-spacing: -.01em; }
body.pb-premium .btn .ico {
  box-sizing: content-box;
  flex: none;
  border-radius: 9px;
  transition: transform .32s var(--pb-ease), background-color .25s ease, color .25s ease;
}
/* Icon chip pulled to the button edge (classes set by JS by icon position). */
body.pb-premium .btn .ico.pb-ico-end { margin-right: -12px; }
body.pb-premium .btn .ico.pb-ico-start { margin-left: -12px; }
body.pb-premium .btn--sm .ico.pb-ico-end { margin-right: -10px; }
body.pb-premium .btn--sm .ico.pb-ico-start { margin-left: -10px; }

/* Orange: glossy, layered, with a dark icon chip and a light sweep. */
body.pb-premium .btn--accent {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #ff8040 0%, #ff5b14 52%, #ec4a07 100%);
  border: 1px solid #d9470a;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -2px 0 rgba(120,30,0,.18),
    0 12px 28px -10px rgba(255,91,20,.75),
    0 2px 4px rgba(150,45,0,.18);
  text-shadow: 0 1px 1px rgba(120,30,0,.25);
}
body.pb-premium .btn--accent .ico {
  width: 18px; height: 18px; padding: 8px;
  background: rgba(70,20,0,.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
body.pb-premium .btn--accent.btn--lg .ico { width: 20px; height: 20px; padding: 9px; }
body.pb-premium .btn--accent.btn--sm .ico { width: 16px; height: 16px; padding: 6px; border-radius: 7px; }
body.pb-premium .btn--accent::after {
  content: "";
  position: absolute;
  top: -20%; bottom: -20%;
  left: -60%;
  width: 45%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-18deg) translateX(0);
  pointer-events: none;
}
body.pb-premium .btn--accent:hover {
  background: linear-gradient(180deg, #ff8d52 0%, #ff6420 52%, #f05210 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -2px 0 rgba(120,30,0,.18),
    0 18px 38px -10px rgba(255,91,20,.85),
    0 0 0 4px rgba(255,91,20,.14);
}
body.pb-premium .btn--accent:hover .ico { background: rgba(70,20,0,.32); }
body.pb-premium .btn--accent:hover .ico.pb-ico-end { transform: translateX(3px); }
body.pb-premium .btn--accent:active { transform: translateY(0) scale(.985); }
body.pb-premium.pb-motion-ready .btn--accent:hover::after { animation: pb-sweep .8s ease-out; }
body.pb-premium.pb-motion-ready .btn--accent.btn--lg::after,
body.pb-premium.pb-motion-ready .header-cta::after { animation: pb-sweep 1.1s 1.2s ease-out, pb-sweep-idle 7s 3s ease-in-out infinite; }
@keyframes pb-sweep { from { transform: skewX(-18deg) translateX(0); } to { transform: skewX(-18deg) translateX(420%); } }
@keyframes pb-sweep-idle {
  0%, 82% { transform: skewX(-18deg) translateX(0); }
  100% { transform: skewX(-18deg) translateX(420%); }
}

/* Dark: graphite with orange edge on hover. */
body.pb-premium .btn--dark {
  border-radius: 10px;
  background: linear-gradient(180deg, #1d2530, #0e141b);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 16px -8px rgba(11,15,20,.5);
}
body.pb-premium .btn--dark .ico { width: 16px; height: 16px; padding: 5px; background: rgba(255,255,255,.08); border-radius: 7px; }
body.pb-premium .btn--dark:hover { background: linear-gradient(180deg, #232c38, #121920); box-shadow: inset 0 -2px 0 var(--pb-orange), 0 10px 22px -10px rgba(11,15,20,.6); }
body.pb-premium .btn--dark:hover .ico { background: var(--pb-orange); color: #fff; }

/* Outline → action tiles (Sună / WhatsApp / email). */
body.pb-premium .btn--outline {
  background: #fff;
  border: 1px solid rgba(14,21,28,.12);
  box-shadow: 0 1px 0 rgba(11,15,20,.04), 0 8px 20px -14px rgba(11,15,20,.35);
}
body.pb-premium .btn--outline .ico {
  width: 18px; height: 18px; padding: 8px;
  color: var(--pb-orange);
  background: #fff0e8;
  box-shadow: inset 0 0 0 1px rgba(255,91,20,.16);
}
body.pb-premium .btn--outline:hover {
  border-color: rgba(255,91,20,.55);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(255,91,20,.45), 0 0 0 3px rgba(255,91,20,.08);
}
body.pb-premium .btn--outline:hover .ico { background: var(--pb-orange); color: #fff; transform: rotate(-8deg); }
body.pb-premium .btn--outline[data-pb-kind="wa"] .ico,
body.pb-premium .btn--outline[href*="wa.me"] .ico { color: var(--pb-wa); background: #e6f7ee; box-shadow: inset 0 0 0 1px rgba(18,140,74,.18); }
body.pb-premium .btn--outline[data-pb-kind="wa"]:hover,
body.pb-premium .btn--outline[href*="wa.me"]:hover { border-color: rgba(37,211,102,.7); box-shadow: 0 14px 30px -14px rgba(18,140,74,.45), 0 0 0 3px rgba(37,211,102,.1); }
body.pb-premium .btn--outline[data-pb-kind="wa"]:hover .ico,
body.pb-premium .btn--outline[href*="wa.me"]:hover .ico { background: #25d366; color: #fff; }

/* Ghost on dark sections: frosted glass. */
body.pb-premium .btn--ghost-light {
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(6px);
}
body.pb-premium .btn--ghost-light .ico { width: 18px; height: 18px; padding: 8px; color: var(--pb-orange-soft); background: rgba(255,255,255,.08); }
body.pb-premium .btn--ghost-light:hover { border-color: rgba(255,138,70,.6); transform: translateY(-2px); }
body.pb-premium .btn--ghost-light:hover .ico { background: var(--pb-orange); color: #fff; }

/* Header: no pill links — underline indicator; square burger; phone chip. */
body.pb-premium .nav__list a { position: relative; border-radius: var(--pb-r-sm); background: none !important; }
body.pb-premium .nav__list a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--pb-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--pb-ease);
}
body.pb-premium .nav__list a:hover::after,
body.pb-premium .nav__list .current-menu-item:not(.menu-item-type-custom) > a::after,
body.pb-premium.post-type-archive-container .nav__list .menu-item-type-custom:first-child > a::after { transform: scaleX(1); }
body.pb-premium .burger { border-radius: 12px; }
body.pb-premium .header-phone .ico {
  box-sizing: content-box; width: 16px; height: 16px; padding: 7px;
  border-radius: 9px; background: rgba(255,91,20,.14); box-shadow: inset 0 0 0 1px rgba(255,91,20,.28);
}
body.pb-premium .header-cta { padding-left: 16px; }

/* Small labels and chips: squared too. */
body.pb-premium .badge,
body.pb-premium .gallery [data-gallery-counter],
body.pb-premium .pb-gallery-expand { border-radius: var(--pb-r-sm); }
body.pb-premium .mobile-bar__item { border-radius: 12px; }
body.pb-premium .mobile-bar__item--cta {
  background: linear-gradient(180deg, #ff8040 0%, #ff5b14 52%, #ec4a07 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 22px -8px rgba(255,91,20,.75);
}
body.pb-premium .mobile-bar__item[data-pb-kind="wa"] .ico,
body.pb-premium .mobile-bar__item[href*="wa.me"] .ico { color: var(--pb-wa); }
body.pb-premium .pb-squared { border-radius: var(--pb-r-sm) !important; }
body.pb-premium .pb-squared.pb-squared--lg { border-radius: 10px !important; }

/* Protected contact fallback text (only visible without JS). */
body.pb-premium .pb-c { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  body.pb-premium .btn--accent::after { display: none; }
}

/* 12. Marcaj CE: vizibil, printre primele elemente de pe prima pagină. */
.pb-ce { display: inline-block; width: auto; height: 1em; vertical-align: -0.1em; flex: none; }
.hero__trust .hero__trust-ce {
  font-weight: 800;
  color: #fff;
  font-size: 1.12em;
  letter-spacing: .01em;
}
.hero__trust .pb-ce--hero { height: 22px; margin-right: 8px; color: #fff; }
.stats__item--ce dd { display: flex; align-items: center; }
.stats .pb-ce--stat { height: clamp(34px, 6.4vw, 52px); color: #fff; }
.stats__item--ce dt { color: rgba(255,255,255,.86); font-weight: 600; }
.certs .pb-ce-cert { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.certs .pb-ce-cert .pb-ce { height: 15px; }

/* 09. Official logo (inline SVG, currentColor). */
body.pb-premium .brand { color: #fff; gap: 0; line-height: 0; }
body.pb-premium .brand .pb-logo { display: block; height: 46px; width: auto; aspect-ratio: 400 / 104; }
body.pb-premium .brand--footer .pb-logo { height: 52px; }
body.pb-premium .brand .screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (max-width: 639px) {
  body.pb-premium .brand .pb-logo { height: 36px; }
}

/* 10. Language switcher RO / EN. */
.pb-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  flex: none;
}
.pb-lang a {
  padding: 7px 9px;
  border-radius: 7px;
  font: 700 12px/1 var(--font-head, system-ui);
  letter-spacing: .08em;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.pb-lang a:hover { color: #fff; background: rgba(255,255,255,.08); }
.pb-lang a[aria-current] { background: #fff; color: #0b0f14; }
.pb-lang--drawer { justify-self: start; margin-bottom: 6px; }
@media (max-width: 639px) {
  .site-header__actions > .pb-lang { display: none; }
}

/* 11. Transport calculator. */
.pb-transport__card {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 4vw, 40px);
  border-radius: 20px;
  background: linear-gradient(135deg, #0e141b, #1a222d);
  color: #fff;
  box-shadow: 0 30px 70px -30px rgba(11,15,20,.55);
  position: relative;
  overflow: hidden;
}
.pb-transport__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 260px at 100% 0%, rgba(255,91,20,.22), transparent 70%);
  pointer-events: none;
}
.pb-transport__card > * { position: relative; }
.pb-transport .section__title { color: #fff; }
.pb-transport__lead { margin-top: 10px; color: rgba(255,255,255,.72); max-width: 44ch; }
.pb-transport__form { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; align-content: start; }
.pb-transport__form .field { display: grid; gap: 6px; }
.pb-transport__form .field__label { color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; }
.pb-transport__form input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff;
  font: 600 17px/1 var(--font-head, system-ui);
}
.pb-transport__form input:focus { outline: 2px solid var(--pb-orange, #ff5b14); outline-offset: 1px; }
.pb-transport__maps { grid-column: 1 / -1; font-size: 13px; color: rgba(255,255,255,.62); }
.pb-transport__maps a { color: #ff9a5f; text-underline-offset: 3px; }
.pb-transport__result {
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,138,70,.28);
}
.pb-transport__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.pb-transport__total { font: 800 clamp(34px, 5vw, 48px)/1 var(--font-head, system-ui); letter-spacing: -.03em; color: #ff8a46; }
.pb-transport__detail { font-size: 14px; color: rgba(255,255,255,.8); }
.pb-transport__note { font-size: 12px; color: rgba(255,255,255,.5); }
@media (min-width: 1024px) {
  .pb-transport__card { grid-template-columns: 1.1fr 1.2fr .9fr; align-items: center; }
}
@media (max-width: 639px) {
  .pb-transport__form { grid-template-columns: 1fr; }
}
.pb-transport .pb-transport__form input[type="number"],
.pb-transport .pb-transport__form input[type="number"]:focus {
  background: rgba(255,255,255,.07);
  color: #fff;
  border-color: rgba(255,255,255,.18);
  box-shadow: none;
}
.pb-transport .pb-transport__form input[type="number"]:focus { border-color: #ff8a46; }

/* 09.11.2026: titlu lizibil, câmpuri care țin 4 cifre, etichete și câmpuri aliniate. */
.pb-transport .pb-transport__card .section__title { color: #fff; }
.pb-transport .pb-transport__card .eyebrow { color: #ff9a5f; }
.pb-transport__card > * { min-width: 0; }
.pb-transport__form .field { grid-template-rows: 1fr auto; }
.pb-transport__form input { padding: 0 12px; }
.pb-transport__detail { min-height: 2.9em; }
