/* ============================================================================
 * Richard Velky Consulting — 2026 PREMIUM INTERACTIVE LAYER
 * Self-contained. Loads after brand-override.css. Uses existing theme vars
 * (--accent, --accent-rgb, --base, --base-tint, --t-bright, --_font-accent…).
 * Everything degrades gracefully + respects prefers-reduced-motion.
 * ========================================================================== */

/* ---------------------------------------------------------------------------
 * 1) SCROLL PROGRESS BAR — gold gradient indicator at very top of viewport
 * ------------------------------------------------------------------------- */
.rvc-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 9999;
  background: linear-gradient(90deg, #b08e1f 0%, var(--accent) 40%, #fff4c2 100%);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.6);
  pointer-events: none;
  will-change: transform;
}

/* ---------------------------------------------------------------------------
 * 1b) HERO CTA — posunúť tlačidlo "Naše služby" vpravo a hore, ponad video
 * ------------------------------------------------------------------------- */
.rvc-hero-cta {
  margin-top: 0 !important;            /* zruš spodný odstup, ťaháme hore */
  position: relative;
  z-index: 6;                          /* nad video overlay, klikateľné */
  pointer-events: none;               /* len wrapper; tlačidlo si pointer vráti */
}
.rvc-hero-cta__row {
  display: flex;
  width: 100%;
  justify-content: flex-start;         /* doľava, k začiatku videa */
  align-items: center;
  padding-left: clamp(16px, 4vw, 64px);
  margin-top: clamp(-56px, -3.5vw, -24px); /* bližšie k spodnému okraju videa */
}
.rvc-hero-cta__row .btn { pointer-events: auto; }
@media (max-width: 720px) {
  .rvc-hero-cta__row {
    justify-content: center;
    padding-left: 0;
    margin-top: 14px;                  /* na mobile nech neprekrýva text videa */
  }
}

/* ---------------------------------------------------------------------------
 * 2) AMBIENT AURORA — slow-moving gradient blobs behind everything.
 *    Pure CSS, GPU-friendly, sits at z-index 0 below content.
 * ------------------------------------------------------------------------- */
.rvc-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.rvc-aurora__blob {
  position: absolute;
  width: 46vmax;
  height: 46vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  mix-blend-mode: screen;
  will-change: transform;
}
.rvc-aurora__blob--1 {
  top: -14vmax; left: -10vmax;
  background: radial-gradient(circle at 30% 30%, rgba(212,175,55,0.42), transparent 62%);
  animation: rvcAuroraA 26s ease-in-out infinite;
}
.rvc-aurora__blob--2 {
  bottom: -16vmax; right: -12vmax;
  background: radial-gradient(circle at 60% 60%, rgba(28,76,158,0.5), transparent 62%);
  animation: rvcAuroraB 32s ease-in-out infinite;
}
.rvc-aurora__blob--3 {
  top: 30%; left: 55%;
  width: 34vmax; height: 34vmax;
  background: radial-gradient(circle at 50% 50%, rgba(240,215,122,0.22), transparent 60%);
  animation: rvcAuroraC 38s ease-in-out infinite;
}
[color-scheme=light] .rvc-aurora__blob { opacity: 0.32; mix-blend-mode: multiply; }
[color-scheme=light] .rvc-aurora__blob--2 {
  background: radial-gradient(circle at 60% 60%, rgba(212,175,55,0.28), transparent 62%);
}
@keyframes rvcAuroraA {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(8vw,6vh,0) scale(1.14); }
}
@keyframes rvcAuroraB {
  0%,100% { transform: translate3d(0,0,0) scale(1.05); }
  50%     { transform: translate3d(-7vw,-5vh,0) scale(0.9); }
}
@keyframes rvcAuroraC {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  33%     { transform: translate3d(-6vw,4vh,0) scale(1.1); }
  66%     { transform: translate3d(5vw,-6vh,0) scale(0.92); }
}
/* Body already paints its own radial gradients; keep aurora subtle on top. */
body { position: relative; }

/* ---------------------------------------------------------------------------
 * 3) CARD SPOTLIGHT — cursor-following radial glow on tinted cards/modules.
 *    JS sets --rvc-mx / --rvc-my (px within card). No layout cost.
 * ------------------------------------------------------------------------- */
.rvc-spotlight { position: relative; }
.rvc-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 320ms ease;
  background: radial-gradient(
    220px circle at var(--rvc-mx, 50%) var(--rvc-my, 50%),
    rgba(var(--accent-rgb), 0.18),
    transparent 60%
  );
}
.rvc-spotlight.is-hot::after { opacity: 1; }

/* ---------------------------------------------------------------------------
 * 4) MAGNETIC BUTTONS — JS nudges transform; this just smooths it.
 * ------------------------------------------------------------------------- */
.rvc-magnetic { will-change: transform; transition: transform 240ms cubic-bezier(.2,.85,.25,1.05); }

/* ---------------------------------------------------------------------------
 * 5) REVEAL ON SCROLL — lightweight, only for elements WE add (rvc-reveal).
 *    Does not touch Rayo's anim-uni-in-up.
 * ------------------------------------------------------------------------- */
.rvc-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms cubic-bezier(.16,1,.3,1), transform 720ms cubic-bezier(.16,1,.3,1);
}
.rvc-reveal.is-in { opacity: 1; transform: none; }
.rvc-reveal[data-rvc-delay="1"] { transition-delay: 90ms; }
.rvc-reveal[data-rvc-delay="2"] { transition-delay: 180ms; }
.rvc-reveal[data-rvc-delay="3"] { transition-delay: 270ms; }
.rvc-reveal[data-rvc-delay="4"] { transition-delay: 360ms; }

/* ===========================================================================
 * 6) TRUST TICKER — infinite marquee of proof points (home, above calculator)
 * ========================================================================= */
.rvc-ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(var(--accent-rgb), 0.16);
  background: linear-gradient(180deg, rgba(var(--accent-rgb),0.04), transparent);
  padding-block: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.rvc-ticker__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: rvcTicker 38s linear infinite;
}
.rvc-ticker:hover .rvc-ticker__track { animation-play-state: paused; }
.rvc-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-inline: clamp(24px, 4vw, 56px);
  font-family: var(--_font-accent);
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  color: var(--t-bright);
  white-space: nowrap;
}
.rvc-ticker__item i { color: var(--accent); font-size: 1.2em; }
.rvc-ticker__item span { color: var(--accent); }
@keyframes rvcTicker { to { transform: translateX(-50%); } }

/* ===========================================================================
 * 7) INTERACTIVE ROI / S/4HANA READINESS CALCULATOR  ★ signature feature
 * ========================================================================= */
.rvc-calc {
  position: relative;
  border-radius: clamp(22px, 2.4vw, 36px);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(212,175,55,0.10), transparent 55%),
    linear-gradient(160deg, var(--base-tint) 0%, var(--base-shade--dark, #061a30) 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  box-shadow: 0 30px 70px rgba(0,0,0,0.40);
}
.rvc-calc__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
}
@media (max-width: 960px) {
  .rvc-calc__grid { grid-template-columns: 1fr; }
}
.rvc-calc__inputs {
  padding: clamp(28px, 4vw, 52px);
}
.rvc-calc__results {
  padding: clamp(28px, 4vw, 52px);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(28,76,158,0.28), transparent 60%),
    rgba(6, 26, 48, 0.55);
  border-left: 1px solid rgba(var(--accent-rgb), 0.18);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (max-width: 960px) {
  .rvc-calc__results { border-left: 0; border-top: 1px solid rgba(var(--accent-rgb), 0.18); }
}

.rvc-calc__field { margin-bottom: 26px; }
.rvc-calc__field:last-child { margin-bottom: 0; }
.rvc-calc__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.rvc-calc__label-text {
  font-family: var(--_font-default);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--t-bright);
  letter-spacing: 0.01em;
}
.rvc-calc__value {
  font-family: var(--_font-accent);
  font-weight: 700;
  font-size: 1.42rem;
  color: var(--accent);
  white-space: nowrap;
}

/* Range slider — gold track, custom thumb */
.rvc-calc__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  outline: none;
  cursor: pointer;
}
.rvc-calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff4c2, var(--accent) 60%);
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.55);
  cursor: grab;
  transition: transform 140ms ease;
}
.rvc-calc__range::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.12); }
.rvc-calc__range::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff4c2, var(--accent) 60%);
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.55);
  cursor: grab;
}

/* Segmented choice (current system) */
.rvc-calc__seg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.rvc-calc__seg label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background: rgba(255,255,255,0.03);
  color: var(--t-medium);
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease, transform 160ms ease;
}
.rvc-calc__seg input { position: absolute; opacity: 0; pointer-events: none; }
.rvc-calc__seg label:hover { transform: translateY(-2px); border-color: rgba(var(--accent-rgb), 0.5); }
.rvc-calc__seg input:checked + span,
.rvc-calc__seg label:has(input:checked) {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--t-bright);
}

/* Results column */
.rvc-calc__results-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--_font-default);
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.rvc-calc__metric {
  border-radius: 18px;
  padding: 20px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.rvc-calc__metric-label {
  margin: 0 0 6px;
  font-size: 0.96rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-muted);
}
.rvc-calc__metric-num {
  font-family: var(--_font-accent);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: var(--t-bright);
  letter-spacing: -0.01em;
}
.rvc-calc__metric-num em {
  color: var(--accent);
  font-style: normal;
}
.rvc-calc__metric-sub { margin: 8px 0 0; font-size: 1rem; color: var(--t-muted); }

/* Readiness gauge — conic ring */
.rvc-gauge {
  display: flex;
  align-items: center;
  gap: 20px;
}
.rvc-gauge__ring {
  --val: 0;
  position: relative;
  width: 104px; height: 104px;
  flex: none;
  border-radius: 50%;
  background:
    conic-gradient(var(--accent) calc(var(--val) * 1%), rgba(255,255,255,0.08) 0);
  display: grid;
  place-items: center;
  transition: background 600ms cubic-bezier(.16,1,.3,1);
}
.rvc-gauge__ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--base-shade--dark, #061a30);
}
.rvc-gauge__num {
  position: relative;
  z-index: 1;
  font-family: var(--_font-accent);
  font-weight: 800;
  font-size: 1.95rem;
  color: var(--t-bright);
}
.rvc-gauge__num span { font-size: 1rem; color: var(--t-muted); }
.rvc-gauge__caption strong {
  display: block;
  font-family: var(--_font-accent);
  font-size: 1.32rem;
  color: var(--t-bright);
  margin-bottom: 4px;
}
.rvc-gauge__caption p { margin: 0; font-size: 1.04rem; color: var(--t-medium); line-height: 1.5; }

.rvc-calc__disclaimer {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--t-muted-extra, #5a6478);
  line-height: 1.55;
}
.rvc-calc__cta { margin-top: 4px; }

/* Number flip emphasis when value changes */
.rvc-flash { animation: rvcFlash 520ms ease; }
@keyframes rvcFlash {
  0% { color: #fff4c2; text-shadow: 0 0 20px rgba(var(--accent-rgb),0.6); }
  100% { text-shadow: none; }
}

/* ===========================================================================
 * 7b) COMMAND PALETTE (⌘K) — premium SaaS-style quick navigation & actions
 * ========================================================================= */

/* Header trigger pill (injected by JS into header controls) */
.rvc-cmdk-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 14px 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  color: var(--t-bright);
  font-family: var(--_font-default);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
  white-space: nowrap;
}
.rvc-cmdk-trigger:hover { border-color: var(--accent); color: var(--t-bright); background: rgba(var(--accent-rgb), 0.10); }
.rvc-cmdk-trigger i { color: var(--accent); font-size: 1.25rem; }
.rvc-cmdk-trigger kbd {
  font-family: var(--_font-default);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 7px;
  background: rgba(var(--accent-rgb), 0.14);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  color: var(--accent);
}
@media (max-width: 1100px) { .rvc-cmdk-trigger .rvc-cmdk-trigger__label { display: none; } }
@media (max-width: 920px)  { .rvc-cmdk-trigger { display: none; } }

/* Overlay */
.rvc-cmdk {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(60px, 12vh, 160px) 16px 16px;
  background: rgba(4, 14, 26, 0.55);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
          backdrop-filter: blur(10px) saturate(1.1);
  opacity: 0;
  transition: opacity 180ms ease;
}
.rvc-cmdk.is-open { display: flex; opacity: 1; }

.rvc-cmdk__panel {
  width: min(640px, 94vw);
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--base-tint) 0%, var(--base-shade--dark, #061a30) 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.30);
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 0 1px rgba(var(--accent-rgb),0.08);
  transform: translateY(-12px) scale(0.98);
  transition: transform 220ms cubic-bezier(.16,1,.3,1);
}
.rvc-cmdk.is-open .rvc-cmdk__panel { transform: none; }

.rvc-cmdk__search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rvc-cmdk__search i { color: var(--accent); font-size: 1.3rem; flex: none; }
.rvc-cmdk__search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--t-bright);
  font-family: var(--_font-default);
  font-size: 1.25rem;
  font-weight: 500;
  padding: 0;
}
.rvc-cmdk__search input::placeholder { color: var(--t-muted); }
.rvc-cmdk__esc {
  font-size: 0.72rem; font-weight: 600; color: var(--t-muted);
  padding: 4px 8px; border-radius: 7px; border: 1px solid rgba(255,255,255,0.12);
  flex: none;
}

.rvc-cmdk__list { overflow-y: auto; padding: 8px; scrollbar-width: thin; }
.rvc-cmdk__group {
  padding: 14px 12px 6px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.rvc-cmdk__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 13px;
  cursor: pointer;
  color: var(--t-medium);
  transition: background 140ms ease, color 140ms ease;
}
.rvc-cmdk__item i { font-size: 1.45rem; color: var(--accent); flex: none; width: 26px; text-align: center; }
.rvc-cmdk__item-label { color: var(--t-bright); font-weight: 600; font-size: 1.14rem; }
.rvc-cmdk__item-hint { margin-left: auto; font-size: 0.95rem; color: var(--t-muted); white-space: nowrap; }
.rvc-cmdk__item.is-active,
.rvc-cmdk__item:hover {
  background: rgba(var(--accent-rgb), 0.14);
}
.rvc-cmdk__item.is-active .rvc-cmdk__item-hint { color: var(--accent); }
.rvc-cmdk__empty { padding: 28px 16px; text-align: center; color: var(--t-muted); font-size: 1.08rem; }

.rvc-cmdk__footer {
  display: flex;
  gap: 18px;
  padding: 13px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  color: var(--t-muted);
  flex-wrap: wrap;
}
.rvc-cmdk__footer kbd {
  font-size: 0.72rem; font-weight: 600; padding: 2px 6px; border-radius: 6px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--t-medium);
  margin-right: 4px;
}

/* ===========================================================================
 * 8) BACK-TO-TOP progress ring around existing #to-top button
 * ========================================================================= */
#to-top.rvc-has-ring { position: fixed; }
.rvc-toptrack {
  position: fixed;
  right: 0; bottom: 0;
  pointer-events: none;
  z-index: 70;
}

/* ===========================================================================
 * 9) Reduced motion — kill all ambient animation
 * ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  .rvc-aurora__blob,
  .rvc-ticker__track { animation: none !important; }
  .rvc-reveal { opacity: 1 !important; transform: none !important; }
  .rvc-magnetic { transition: none !important; }
}

/* Touch / coarse pointers — no magnetic, no spotlight hover jitter */
@media (hover: none) {
  .rvc-spotlight::after { display: none; }
}

/* ===========================================================================
 * 13) FOOTER COPYRIGHT BAR — na každej stránke
 * ========================================================================= */
.rvc-copyright {
  border-top: 1px solid rgba(var(--accent-rgb), 0.16);
  padding-block: 22px;
}
.rvc-copyright__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px 28px;
}
.rvc-copyright__legal,
.rvc-copyright__credit {
  margin: 0;
  font-family: var(--_font-default);
  font-size: 1.12rem;
  color: var(--t-medium);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rvc-copyright__legal i { color: var(--accent); font-size: 1.2rem; }
.rvc-copyright__credit a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}
.rvc-copyright__credit a:hover { border-bottom-color: var(--accent); }

/* ===========================================================================
 * 12) LIVE "DECISION WINDOW" — real-time SAP ECC odpočet + kapacita (signature)
 * ========================================================================= */
.rvc-status {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.4vw, 46px);
  border-radius: clamp(18px, 2vw, 30px);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(212,175,55,0.10), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(28,76,158,0.22), transparent 55%),
    linear-gradient(160deg, var(--base-tint) 0%, var(--base-shade--dark, #061a30) 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  box-shadow: 0 26px 60px rgba(0,0,0,0.38);
  overflow: hidden;
}
.rvc-status__divider { width: 1px; align-self: stretch; background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb),0.4), transparent); }
.rvc-status__col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.rvc-status__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0;
  font-family: var(--_font-default);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.rvc-status__eyebrow i { font-size: 1.1rem; }
.rvc-status__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #36e07f;
  box-shadow: 0 0 0 0 rgba(54,224,127,0.7);
  animation: rvcPulseDot 1.8s ease-out infinite;
  flex: none;
}
@keyframes rvcPulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(54,224,127,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(54,224,127,0); }
  100% { box-shadow: 0 0 0 0 rgba(54,224,127,0); }
}
.rvc-status__big {
  margin: 0;
  font-family: var(--_font-accent);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: var(--t-bright);
  line-height: 1.1;
}
.rvc-status__big strong { color: var(--accent); }
.rvc-status__sub { margin: 0; font-size: 0.96rem; color: var(--t-medium); line-height: 1.5; }

/* capacity bar */
.rvc-status__bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}
.rvc-status__bar > span {
  position: absolute; inset: 0;
  width: 50%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b08e1f, var(--accent), #fff4c2);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.5);
}

/* countdown */
.rvc-cd { display: flex; gap: clamp(8px, 1.4vw, 16px); }
.rvc-cd__unit {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 12px 8px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
}
.rvc-cd__num {
  display: block;
  font-family: var(--_font-accent);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1;
  color: var(--t-bright);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.rvc-cd__lbl {
  display: block;
  margin-top: 6px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-muted);
}

@media (max-width: 760px) {
  .rvc-status { grid-template-columns: 1fr; gap: 22px; }
  .rvc-status__divider { width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb),0.4), transparent); }
}

/* ===========================================================================
 * 10) CTA PROMO FIX — nadpis nesmie pretekať do obrázka vpravo
 * ========================================================================= */
.mxd-promo__title { width: auto !important; max-width: 48% !important; }
.mxd-promo__caption { overflow-wrap: break-word; }

@media (max-width: 1199px) {
  .mxd-promo__title { max-width: 56% !important; }
  .mxd-promo__caption { font-size: clamp(2.6rem, 6vw, 6rem) !important; }
}
@media (max-width: 767px) {
  /* na mobile je obrázok len jemný backdrop, text ide na plnú šírku */
  .mxd-promo__title { max-width: 100% !important; }
  .mxd-promo__caption { font-size: clamp(2.1rem, 8.5vw, 3.2rem) !important; }
  .mxd-promo__bg { opacity: 0.22; }
  .mxd-promo__content { margin: 8rem 0 9rem 0 !important; }
}

/* ===========================================================================
 * 11) MOBILE — kalkulačka & command palette čitateľné na malých displejoch
 * ========================================================================= */
@media (max-width: 560px) {
  .rvc-calc__inputs, .rvc-calc__results { padding: 22px 18px; }
  .rvc-calc__seg label { padding: 12px 10px; font-size: 1rem; }
  .rvc-calc__metric { padding: 16px 16px; }
  .rvc-calc__metric-num { font-size: clamp(1.55rem, 7vw, 2.2rem); }
  .rvc-calc__label-text { font-size: 1.06rem; }
  .rvc-calc__value { font-size: 1.2rem; }
  .rvc-gauge { flex-wrap: wrap; gap: 16px; }
  .rvc-gauge__ring { width: 92px; height: 92px; }
}
/* palette: na úzkych displejoch skry pravý hint aby nepretekal */
@media (max-width: 480px) {
  .rvc-cmdk__item-hint { display: none; }
  .rvc-cmdk { padding-top: 8vh; }
  .rvc-cmdk__search input { font-size: 1.15rem; }
}
