/* Herzel Productions premium design layer — black/gold/white
   Scoped to pages via body.page-id-XXXX (see mu-plugin). v1: page 6867 */

body.hz-premium {
  --hz-gold: #d4af37;
  --hz-gold-light: #f2d777;
  --hz-black: #0a0a0a;
}

/* headings: original site typography/colors — no overrides (reverted per Jenia 2026-07-03) */

/* ── Glassmorphism cards (icon boxes) ── */
body.hz-premium .elementor-widget-icon-box > .elementor-widget-container {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 18px;
  padding: 26px 20px;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
}
body.hz-premium .elementor-widget-icon-box > .elementor-widget-container:hover {
  transform: translateY(-7px);
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 32px rgba(212, 175, 55, 0.18);
}
body.hz-premium .elementor-widget-icon-box .elementor-icon {
  color: var(--hz-gold);
  transition: transform 0.35s, filter 0.35s;
}
body.hz-premium .elementor-widget-icon-box > .elementor-widget-container:hover .elementor-icon {
  transform: scale(1.14) rotate(-4deg);
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.55));
}

/* ── Gold buttons with shine sweep ── */
body.hz-premium .elementor-button {
  background: linear-gradient(100deg, #a8842a, #e8c95c 50%, #b8912e) !important;
  color: #101010 !important;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  box-shadow: 0 6px 26px rgba(212, 175, 55, 0.35);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
body.hz-premium .elementor-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 34px rgba(212, 175, 55, 0.55);
}
body.hz-premium .elementor-button::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; width: 46%;
  left: -60%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-22deg);
  transition: left 0.6s ease;
}
body.hz-premium .elementor-button:hover::after { left: 120%; }

/* ── FAQ accordions ── */
body.hz-premium .elementor-accordion .elementor-accordion-item {
  border: 1px solid rgba(212, 175, 55, 0.18) !important;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
body.hz-premium .elementor-accordion .elementor-accordion-item:hover {
  border-color: rgba(212, 175, 55, 0.5) !important;
  background: rgba(212, 175, 55, 0.045);
}

/* ── Section reveal animation (JS adds hz-in) ── */
body.hz-premium [data-hz-reveal] {
  opacity: 0;
  transform: translateY(26px);
}
body.hz-premium .hz-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ── Process steps grid: true RTL flow + RTL-safe numbered badges ── */
body.hz-premium .elementor-element-fa12a8d {
  direction: rtl;
  counter-reset: hz-step;
}
body.hz-premium .elementor-element-fa12a8d .elementor-widget-icon-box {
  counter-increment: hz-step;
}
body.hz-premium .elementor-element-fa12a8d .elementor-widget-icon-box > .elementor-widget-container {
  position: relative;
  padding-top: 58px; /* room for the number badge above the title */
}
/* old icons are digit-SVGs with the dot baked on the wrong side — hide them */
body.hz-premium .elementor-element-fa12a8d .elementor-icon-box-icon {
  display: none;
}
body.hz-premium .elementor-element-fa12a8d .elementor-widget-icon-box > .elementor-widget-container::before {
  content: counter(hz-step) ".";
  direction: ltr;           /* isolated LTR run: renders "3." correctly inside RTL */
  unicode-bidi: isolate;
  position: absolute;
  top: 12px;
  right: 18px;              /* explicit: ::before's own ltr direction flips inset-inline */
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--hz-gold);
  opacity: 0.9;
  pointer-events: none;
}

/* ── Vanta hero holder ── */
#hz-vanta {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ── Images: subtle premium hover ── */
body.hz-premium .elementor-widget-image img,
body.hz-premium .elementor-widget-video-playlist img {
  border-radius: 14px;
  transition: transform 0.4s, box-shadow 0.4s;
}
body.hz-premium .elementor-widget-image img:hover {
  transform: scale(1.025);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.5), 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* ── Accessibility: kill all motion on request ── */
@media (prefers-reduced-motion: reduce) {
  body.hz-premium [data-hz-reveal] { opacity: 1; transform: none; }
  body.hz-premium .elementor-widget-heading .elementor-heading-title:is(h1, h2) { animation: none; }
  body.hz-premium .elementor-button::after { display: none; }
  #hz-vanta { display: none; }
}
