/* ROLDEN - Hero "Ferestre cu personalitate" (Costel+Claude, 2026-11-06) */
.rh-hero {
  --rh-orange: #ee4000;
  --rh-ink: #221b1b;
  --rh-cream: #f7f3ee;
  position: relative;
  display: flex;
  height: clamp(560px, 78vh, 760px);
  background: var(--rh-cream);
  overflow: hidden;
  font-family: 'Rubik', sans-serif;
  padding: 0 !important;
  margin: 0;
}

/* ---------- textul din stanga ---------- */
.rh-hero__intro {
  flex: 0 0 36%;
  display: flex;
  align-items: center;
  padding: 40px 48px 40px max(32px, calc((100vw - 1280px) / 2 + 32px));
  background:
    radial-gradient(circle at 15% 85%, rgba(238, 64, 0, .08), transparent 45%),
    var(--rh-cream);
  position: relative;
  z-index: 2;
}
.rh-hero__intro-inner { max-width: 460px; }
.rh-hero__eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--rh-orange);
}
.rh-hero__title {
  margin: 0 0 20px;
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1.05;
  color: var(--rh-ink);
  text-transform: none;
  letter-spacing: -0.5px;
}
.rh-hero__title span { color: var(--rh-orange); display: block; }
.rh-hero__lead { margin: 0 0 28px; font-size: 17px; line-height: 1.6; color: #4a4242; }
.rh-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-bottom: 28px; }
.rh-hero .btn.btn-theme.rh-hero__btn { background: var(--rh-orange); color: #fff; border-radius: 3px; padding: 14px 26px; font-weight: 500; }
.rh-hero__link { color: var(--rh-ink); font-weight: 500; border-bottom: 2px solid var(--rh-orange); padding-bottom: 2px; }
.rh-hero__link:hover { color: var(--rh-orange); text-decoration: none; }
.rh-hero__usp { list-style: none; margin: 0; padding: 0; font-size: 14px; color: #6b6262; }
.rh-hero__usp li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.rh-hero__usp li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--rh-orange); border-bottom: 2px solid var(--rh-orange); transform: rotate(-45deg); }
.rh-hero__bf { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 14px 7px 7px; background: var(--rh-ink); color: #fff; border-radius: 40px; font-size: 13px; }
.rh-hero__bf:hover { color: #fff; text-decoration: none; opacity: .92; }
.rh-hero__bf-tag { background: var(--rh-orange); border-radius: 40px; padding: 3px 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; font-size: 11px; }

/* ---------- panourile ---------- */
.rh-hero__panels { flex: 1 1 auto; display: flex; gap: 4px; background: var(--rh-cream); padding: 0; }
.rh-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  transition: flex-grow .65s cubic-bezier(.4, 0, .2, 1), filter .4s ease;
}
.rh-panel:hover, .rh-panel:focus { color: #fff; text-decoration: none; }
.rh-panel.is-active { flex-grow: 2.2; }
.rh-hero__panels:hover .rh-panel:not(:hover) { filter: saturate(.75) brightness(.92); }
.rh-panel__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 14, 12, .82) 0%, rgba(20, 14, 12, .35) 38%, rgba(20, 14, 12, 0) 62%);
  transition: background .4s ease;
}
.rh-panel__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 18px 28px; display: flex; flex-direction: column; }
.rh-panel__product { max-height: 0; opacity: 0; transition: max-height .5s ease, opacity .4s ease; font-size: 11px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase; opacity: .85; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rh-panel__word {
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.1;
  white-space: nowrap;
  transition: font-size .5s ease;
}
.rh-panel__word::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 10px; background: var(--rh-orange); transition: width .5s ease; }
.rh-panel__text, .rh-panel__cta { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s ease, margin .4s ease; }
.rh-panel__text { font-size: 15px; line-height: 1.45; }
.rh-panel__cta { font-size: 14px; font-weight: 500; color: #fff; }
.rh-panel__cta span { color: var(--rh-orange); }
.rh-panel.is-active .rh-panel__product { max-height: 20px; opacity: .9; }
.rh-panel.is-active .rh-panel__word { font-size: clamp(30px, 2.8vw, 44px); }
.rh-panel.is-active .rh-panel__word::after { width: 56px; }
.rh-panel.is-active .rh-panel__text { max-height: 60px; opacity: 1; margin-top: 12px; }
.rh-panel.is-active .rh-panel__cta { max-height: 30px; opacity: 1; margin-top: 12px; }
.rh-hero__dots { display: none; }

/* ---------- tableta: textul sus, panourile dedesubt ---------- */
@media (max-width: 991px) {
  .rh-hero { flex-direction: column; height: auto; }
  .rh-hero__intro { flex: none; padding: 36px 32px 28px; }
  .rh-hero__intro-inner { max-width: 640px; }
  .rh-hero__panels { height: 440px; padding: 0 0 4px; }
}

/* ---------- telefon: panourile devin carusel orizontal ---------- */
@media (max-width: 767px) {
  .rh-hero__intro { padding: 26px 18px 18px; }
  .rh-hero__eyebrow { font-size: 11px; letter-spacing: 1.2px; margin-bottom: 12px; }
  .rh-hero__title { font-size: 38px; margin-bottom: 14px; }
  .rh-hero__title span { display: inline; }
  .rh-hero__lead { font-size: 15px; margin-bottom: 18px; }
  .rh-hero__actions { margin-bottom: 14px; gap: 12px 20px; }
  .rh-hero__usp { font-size: 13px; }
  .rh-hero__panels {
    height: auto;
    gap: 10px;
    padding: 4px 18px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .rh-hero__panels::-webkit-scrollbar { display: none; }
  .rh-panel { flex: 0 0 78%; height: 380px; border-radius: 10px; scroll-snap-align: center; }
  .rh-panel.is-active { flex-grow: 0; }
  .rh-hero__panels:hover .rh-panel:not(:hover) { filter: none; }
  .rh-panel .rh-panel__word { font-size: 32px; }
  .rh-panel .rh-panel__product { max-height: 20px; opacity: .9; }
  .rh-panel .rh-panel__text { max-height: 60px; opacity: 1; margin-top: 10px; }
  .rh-panel .rh-panel__cta { max-height: 30px; opacity: 1; margin-top: 10px; }
  .rh-hero__dots { display: flex; justify-content: center; gap: 7px; padding: 6px 0 18px; }
  .rh-hero__dots span { width: 7px; height: 7px; border-radius: 50%; background: #d8cfc6; transition: background .3s, width .3s; }
  .rh-hero__dots span.on { background: var(--rh-orange); width: 20px; border-radius: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .rh-panel, .rh-panel * { transition: none !important; }
}

/* ---------- header-ul site-ului e "absolute" (peste continut): pe pagina cu hero-ul nou
   ii dam fundal alb si coboram hero-ul cu inaltimea lui (masurata exact de js/rolden-hero.js) ---------- */
body:has(.rh-hero) #site-header .top-bar,
html.has-rh-hero #site-header .top-bar { background: #fff; }
/* banda verde-pal a meniului, ca in macheta (alb 75% peste turcoaz #9fd3d6) */
body:has(.rh-hero) #site-header #header-wrap,
html.has-rh-hero #site-header #header-wrap { background: #e7f4f4; }
body:has(.rh-hero) #site-header #header-wrap.fixed-header,
html.has-rh-hero #site-header #header-wrap.fixed-header { background: #e7f4f4 !important; }
body:has(.rh-hero) #site-header,
html.has-rh-hero #site-header { box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.rh-head-spacer { display: block; height: var(--rh-head, 150px); background: #e7f4f4; }
/* banda turcoaz sub hero, ca in macheta */
.rh-hero-band { display: block; height: 40px; background: #9fd3d6; }
@media (max-width: 767px) { .rh-hero-band { height: 24px; } }
@media (max-width: 992px) { .rh-head-spacer { height: var(--rh-head, 125px); } }
