/* =====================================================
   JEOVENT — Widget "Acabados" (standalone, scoped)
   Tot CSS-ul e izolat sub .jeo-acabados ca să nu
   afecteze stilurile existente ale site-ului.
   ===================================================== */

.jeo-acabados {
  --jeo-bg: #0c0e10;
  --jeo-ink: #ffffff;
  --jeo-mute: rgba(255,255,255,0.65);
  --jeo-soft: rgba(255,255,255,0.40);
  --jeo-accent: #c9a45c;
  --jeo-line: rgba(255,255,255,0.10);
  --jeo-serif: 'Cormorant Garamond', Georgia, serif;
  --jeo-sans: 'Inter', -apple-system, system-ui, sans-serif;
  --jeo-ease: cubic-bezier(0.4, 0, 0.2, 1);

  font-family: var(--jeo-sans);
  color: var(--jeo-ink);
  background: var(--jeo-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.jeo-acabados *,
.jeo-acabados *::before,
.jeo-acabados *::after { box-sizing: border-box; margin: 0; padding: 0; }
.jeo-acabados img { max-width: 100%; display: block; }
.jeo-acabados button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* Header — barra superior simple cu cele 3 jump cards */
.jeo-acabados__intro {
  padding: 60px 32px 40px;
  text-align: center;
  border-bottom: 1px solid var(--jeo-line);
}
.jeo-acabados__eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--jeo-accent); font-weight: 600; margin-bottom: 14px;
}
.jeo-acabados__title {
  font-family: var(--jeo-serif);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600; line-height: 1.05;
  letter-spacing: -0.01em; margin-bottom: 18px;
  max-width: 22ch; margin-left: auto; margin-right: auto;
}
.jeo-acabados__title em { color: var(--jeo-accent); font-style: italic; }
.jeo-acabados__lead {
  font-size: 16px; color: var(--jeo-mute); line-height: 1.65;
  max-width: 60ch; margin: 0 auto 32px;
}
.jeo-acabados__jump {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.jeo-acabados__jump a {
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--jeo-line);
  border-radius: 60px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--jeo-ink);
  transition: all 0.25s var(--jeo-ease);
}
.jeo-acabados__jump a:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--jeo-accent);
  transform: translateY(-2px);
}
.jeo-acabados__jump strong { color: var(--jeo-accent); font-weight: 700; }

/* ===== PALETTE SECTION (sticky scroll) ===== */
.jeo-palette {
  position: relative;
  background: var(--jeo-bg);
  color: var(--jeo-ink);
}
.jeo-palette__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}
.jeo-palette__photo {
  position: absolute;
  top: 0; right: 0;
  width: 56%; height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.78) saturate(1.05);
  z-index: 1;
}
.jeo-palette__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--jeo-bg) 0%, transparent 30%);
  pointer-events: none;
}
.jeo-palette__darkpane {
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  background: var(--jeo-bg);
  z-index: 0;
}

.jeo-palette__heading {
  position: absolute;
  top: 60px;
  left: 56px;
  z-index: 3;
  max-width: 380px;
}
.jeo-palette__heading-eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--jeo-soft); font-weight: 600; margin-bottom: 14px;
}
.jeo-palette__heading h2 {
  font-family: var(--jeo-serif);
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.0;
  font-weight: 600;
  margin-bottom: 14px;
}
.jeo-palette__heading p {
  font-size: 14px; color: var(--jeo-mute); line-height: 1.6;
  max-width: 32ch;
}

/* Window image — central */
.jeo-palette__window {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  max-width: 44vw;
  z-index: 4;
  pointer-events: none;
}
.jeo-vwin-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
  transition: opacity 0.5s var(--jeo-ease);
}

/* Caption bottom */
.jeo-palette__caption {
  position: absolute;
  bottom: 50px;
  left: 56px;
  right: 56px;
  z-index: 3;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px;
}
.jeo-palette__active-code {
  display: inline-block;
  font-family: var(--jeo-serif); font-style: italic;
  font-size: 14px; color: var(--jeo-accent);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.jeo-palette__active-name {
  font-family: var(--jeo-serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 10px;
}
.jeo-palette__active-desc {
  font-size: 14px;
  color: var(--jeo-mute);
  max-width: 42ch;
  line-height: 1.55;
}
.jeo-palette__progress {
  font-family: var(--jeo-serif);
  font-style: italic;
  color: var(--jeo-soft);
  font-size: 13px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.jeo-palette__progress strong { color: var(--jeo-ink); font-style: normal; font-weight: 700; }

/* Steps overlay */
.jeo-palette__steps {
  position: relative;
  z-index: 5;
}
.jeo-palette__step {
  height: 70vh;
  display: flex;
  align-items: center;
  padding-left: 56px;
  padding-right: calc(56% + 40px);
}
.jeo-palette__step--first { height: 50vh; align-items: flex-end; }
.jeo-palette__step--last  { height: 50vh; }
.jeo-palette__step .jeo-step-card {
  width: 100%;
  max-width: 320px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 4px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.5s var(--jeo-ease);
  opacity: 0.42;
  cursor: pointer;
}
.jeo-palette__step.is-active .jeo-step-card {
  opacity: 1;
  transform: translateX(8px);
  border-color: var(--jeo-accent);
  background: rgba(255,255,255,0.08);
}
.jeo-step-card:hover { opacity: 0.95; }
.jeo-step-swatch {
  flex-shrink: 0;
  width: 60px; height: 60px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.jeo-step-info { flex: 1; min-width: 0; }
.jeo-step-code {
  font-family: var(--jeo-serif); font-style: italic;
  font-size: 12px; color: var(--jeo-accent);
  letter-spacing: 0.15em;
}
.jeo-step-name {
  font-family: var(--jeo-serif);
  font-size: 20px; font-weight: 600;
  color: var(--jeo-ink); line-height: 1.1;
  margin: 2px 0 4px;
}
.jeo-step-desc {
  font-size: 12px; color: var(--jeo-soft);
  line-height: 1.5;
}

/* Per-family color tints */
.jeo-palette--lisos,
.jeo-palette--lisos .jeo-palette__darkpane { background: #0a1f2c; }
.jeo-palette--lisos .jeo-palette__photo::after { background: linear-gradient(90deg, #0a1f2c 0%, transparent 30%); }

.jeo-palette--madera,
.jeo-palette--madera .jeo-palette__darkpane { background: #2b1d11; }
.jeo-palette--madera .jeo-palette__photo::after { background: linear-gradient(90deg, #2b1d11 0%, transparent 30%); }

.jeo-palette--metal,
.jeo-palette--metal .jeo-palette__darkpane { background: #1a1c20; }
.jeo-palette--metal .jeo-palette__photo::after { background: linear-gradient(90deg, #1a1c20 0%, transparent 30%); }

/* Responsive */
@media (max-width: 1100px) {
  .jeo-palette__photo { width: 100%; opacity: 0.45; }
  .jeo-palette__darkpane { width: 100%; opacity: 0.55; }
  .jeo-palette__window { width: 70vw; max-width: 360px; }
  .jeo-palette__heading { left: 32px; right: 32px; max-width: none; }
  .jeo-palette__caption { left: 32px; right: 32px; flex-direction: column; align-items: flex-start; }
  .jeo-palette__step { padding-left: 32px; padding-right: 60%; }
}
@media (max-width: 700px) {
  .jeo-acabados__intro { padding: 40px 22px 30px; }
  .jeo-palette__heading { top: 40px; left: 22px; right: 22px; }
  .jeo-palette__heading h2 { font-size: 30px; }
  .jeo-palette__caption { left: 22px; right: 22px; bottom: 26px; gap: 12px; }
  .jeo-palette__active-name { font-size: 22px; }
  .jeo-palette__step { padding-left: 22px; padding-right: 22px; height: 60vh; }
  .jeo-step-card { max-width: none; }
  .jeo-palette__window { width: 80vw; max-width: 280px; }
}
