/* ============================================================
   KupiLED — O LED rasvjeti (oled-* extensions)
   Loaded together with commercial.css; reuses its cp-* system
   (vars, hero, kickers, stats, callout, FAQ, CTA banner) and
   adds the page's centerpiece: the Kelvin temperature scale.
   ============================================================ */

/* ── Hero — light, friendly, in the o-nama register:
      teal-light → white wash, teal Cormorant title, green em.
      Only the thin Kelvin ribbon (cp-hero::after) is kept as a
      lead-in to the temperature scale below. ── */
.cp-hero.oled-hero {
  height: auto;
  min-height: 0;
  background: linear-gradient(180deg, #e8f4fa 0%, #fff 100%);
  align-items: stretch;
}
.cp-hero.oled-hero::before { background: none; }  /* no photo, no scrim */

.oled-hero .cp-hero__inner {
  max-width: 1200px;
  padding: 64px 24px 72px;
}

.oled-hero .cp-eyebrow {
  font-family: var(--font, "Inter", Arial, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #7a9a2e;
  margin-bottom: 14px;
}
.oled-hero .cp-eyebrow::before { content: none; }  /* drop the glowing dash */

.cp-hero.oled-hero h1 {
  font-size: clamp(40px, 4.5vw, 54px);
  line-height: 1.05;
  color: #54a2c0;
  text-shadow: none;
  margin: 0 0 20px;
}
.oled-hero h1 em {
  font-style: italic;
  color: #7a9a2e;
}

.cp-hero.oled-hero .cp-intro {
  font-size: 17px;
  line-height: 1.7;
  color: #777;
  text-shadow: none;
  max-width: 540px;
  margin: 0 0 28px;
}

.oled-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* o-nama button look: flat green primary, teal ghost secondary */
.wp-page-content .oled-hero-actions .cp-btn {
  padding: 13px 26px;
  background: #a2c054;
  color: #fff;
  font-family: var(--font, "Inter", Arial, sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(122,154,46,.28);
  transition: background .15s, color .15s, box-shadow .15s, border-color .15s;
}
.wp-page-content .oled-hero-actions .cp-btn:hover {
  transform: none;
  filter: none;
  background: #7a9a2e;
  box-shadow: 0 4px 16px rgba(122,154,46,.36);
}
.wp-page-content .oled-hero-actions .cp-btn--outline {
  background: #fff;
  color: #54a2c0;
  border: 1.5px solid #54a2c0;
  box-shadow: none;
}
.wp-page-content .oled-hero-actions .cp-btn--outline:hover {
  background: #54a2c0;
  color: #fff;
  box-shadow: none;
}

/* ── Kelvin temperature scale ──────────────────────────── */
.cp-section:has(.oled-kelvin) { background: var(--paper); }

.oled-kelvin { margin: 10px 0 36px; }

.oled-kelvin-bar {
  height: 16px;
  border-radius: var(--pill);
  background: var(--kelvin);
  box-shadow:
    -10px 12px 34px -8px rgba(255,170,60,.5),
    10px 12px 34px -8px rgba(90,166,205,.42),
    inset 0 1px 2px rgba(255,255,255,.65);
}

.oled-kelvin-ticks {
  display: flex;
  justify-content: space-between;
  margin: 12px 4px 0;
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--text-light);
}

.oled-kelvin-zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.oled-zone {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 26px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.oled-zone:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(31,24,10,.07);
}
.oled-zone::after {            /* the lit diode, in zone temperature */
  content: "";
  position: absolute;
  top: 27px;
  right: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.oled-zone--warm::after    { background: #ffc06a; box-shadow: 0 0 11px 3px rgba(255,184,77,.65); }
.oled-zone--neutral::after { background: #fdfdf6; border: 1px solid #e7e2d2; box-shadow: 0 0 11px 3px rgba(238,236,222,.95); }
.oled-zone--cool::after    { background: #79b9da; box-shadow: 0 0 11px 3px rgba(90,166,205,.6); }

.wp-page-content .oled-zone-k {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.oled-zone--warm .oled-zone-k    { color: var(--warm-deep); }
.oled-zone--neutral .oled-zone-k { color: var(--text-light); }
.oled-zone--cool .oled-zone-k    { color: var(--blue-dark); }

.wp-page-content .oled-zone h3 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
}

.wp-page-content .oled-zone p:last-child {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

/* ── CTA banner extensions ─────────────────────────────── */
.cp-cta-banner .oled-cta-lead {
  position: relative;
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(244,241,234,.8);
  max-width: 52ch;
  margin: -12px auto 36px;
}

.oled-cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ── Scroll reveals (cpRise lives in commercial.css) ───── */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .oled-kelvin-bar,
    .oled-kelvin-ticks,
    .oled-zone {
      animation: cpRise .9s cubic-bezier(.2,.7,.2,1) both;
      animation-timeline: view();
      animation-range: entry 5% entry 32%;
    }
  }
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 760px) {
  .oled-kelvin-zones { grid-template-columns: 1fr; gap: 14px; }
  .oled-kelvin-bar { height: 13px; }
  .oled-kelvin-ticks { font-size: 11px; letter-spacing: .08em; }
  .oled-hero .cp-hero__inner { padding: 44px 18px 56px; }
  .cp-hero.oled-hero h1 { font-size: 36px; }
  .oled-hero-actions { gap: 10px; }
}
