/* ============================================================
   PAIS CUBER — style.css
   אתר סטטי, עברית RTL, מובייל-פירסט
   ============================================================ */

/* ---------- 1. משתנים ---------- */
:root {
  --bg: #FAF8F5;
  --card: #FFFFFF;
  --text: #333333;
  --text-soft: #6B6B6B;
  --line: #E5E0D8;

  /* צבעי הקוביה — לנגיעות בלבד */
  --cube-white: #FFFFFF;
  --cube-yellow: #FFD500;
  --cube-green: #009B48;
  --cube-blue: #0046AD;
  --cube-orange: #FF5800;
  --cube-red: #B71234;

  --shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 6px 20px rgba(0, 0, 0, .04);
  --shadow-hover: 0 2px 6px rgba(0, 0, 0, .06), 0 12px 32px rgba(0, 0, 0, .07);
  --radius: 8px;
  --max: 1100px;
  --nav-h: 62px;
}

/* ---------- 2. איפוס ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 2px solid var(--cube-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. עזרים ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.center { text-align: center; }
.muted { color: var(--text-soft); }
.small { font-size: .92rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 0; top: -60px; z-index: 200;
  background: var(--text); color: #fff; padding: 10px 18px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* כותרת מקטע עם קו קוביה דק */
.sec-title { margin-bottom: 8px; }
.sec-title--lg { font-size: clamp(1.7rem, 6vw, 2.5rem); line-height: 1.2; }
.sec-head { margin-bottom: 32px; }
.cube-rule {
  display: flex; gap: 4px; width: 84px; height: 4px;
  border-radius: 4px; overflow: hidden; margin-bottom: 18px;
}
.sec-head.center .cube-rule { margin-inline: auto; }
.cube-rule i { flex: 1; border-radius: 2px; }
.cube-rule i:nth-child(1) { background: var(--cube-red); }
.cube-rule i:nth-child(2) { background: var(--cube-yellow); }
.cube-rule i:nth-child(3) { background: var(--cube-green); }
.cube-rule i:nth-child(4) { background: var(--cube-blue); }

/* ---------- 4. כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: .98rem;
  padding: 12px 24px; border-radius: 7px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background .18s, color .18s, border-color .18s, transform .12s, box-shadow .18s;
}
.btn:hover { transform: scale(1.045); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--text); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text); background: #fff; }
.btn--wa { background: #FFF; color: var(--text); border-color: var(--line); }
.btn--wa:hover { border-color: #25D366; }
.btn--whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn--whatsapp:hover { background: #1EB558; border-color: #1EB558; box-shadow: var(--shadow); }
.btn--whatsapp svg { width: 19px; height: 19px; }
.btn--sm { padding: 8px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* ---------- 5. ניווט ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 245, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav__brand {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; font-weight: 800; font-size: 1.02rem; letter-spacing: .02em;
}
.nav__brand img { width: 30px; height: 30px; object-fit: contain; }
.nav__links { display: none; }
.nav__links a {
  text-decoration: none; font-weight: 500; font-size: .96rem;
  color: var(--text-soft); padding: 6px 2px; position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__links a[aria-current] { color: var(--text); font-weight: 700; }
.nav__links a[aria-current]::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0;
  height: 2px; background: var(--cube-red); border-radius: 2px;
}
.nav__toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 9px;
  background: none; border: 1px solid var(--line); border-radius: 7px; cursor: pointer;
}
.nav__toggle span {
  display: block; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .22s, opacity .18s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__drawer {
  display: none; border-top: 1px solid var(--line);
  background: var(--bg); padding: 8px 0 16px;
}
.nav__drawer.is-open { display: block; }
.nav__drawer a {
  display: block; padding: 13px 20px; text-decoration: none;
  font-weight: 600; border-bottom: 1px solid var(--line);
}
.nav__drawer a:last-child { border-bottom: 0; }
.nav__drawer a[aria-current] { color: var(--cube-red); }
/* תתי-הסעיפים של CFOP במגירה בנייד */
.nav__drawer a.nav__sub {
  padding-block: 10px; padding-inline-start: 38px;
  font-weight: 500; font-size: .92rem; color: var(--text-soft);
  direction: ltr; text-align: right;
}
.nav__drawer a.nav__sub::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 12px; height: 1px; background: var(--line);
  margin-inline-end: 9px;
}

/* תפריט נפתח — CFOP */
.nav__item { position: relative; display: inline-flex; align-items: center; }
.nav__item > a { display: inline-flex; align-items: center; gap: 4px; }
.nav__chev { width: 11px; height: 11px; opacity: .55; transition: transform .2s, opacity .2s; }
.nav__item:hover .nav__chev, .nav__item:focus-within .nav__chev { transform: rotate(180deg); opacity: 1; }

.nav__menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(4px);
  display: flex; flex-direction: column; gap: 2px;
  min-width: 116px; margin-top: 10px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05), 0 12px 30px rgba(0,0,0,.09);
  opacity: 0; visibility: hidden;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 5;
}
/* גשר שקוף — כדי שהעכבר לא "יפול" בדרך מהכותרת לתפריט */
.nav__menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__links .nav__menu a {
  direction: ltr; text-align: center;
  padding: 8px 14px; border-radius: 6px;
  font-weight: 700; font-size: .88rem; letter-spacing: .02em;
  color: var(--text-soft);
}
.nav__links .nav__menu a:hover { background: var(--bg); color: var(--text); }
.nav__links .nav__menu a::after { display: none; }
@media (prefers-reduced-motion: reduce) { .nav__menu { transition: none; } }

@media (min-width: 960px) {
  .nav__links { display: flex; gap: 20px; align-items: center; font-size: .94rem; }
  .nav__toggle, .nav__drawer { display: none !important; }
}

/* ---------- 6. Hero ---------- */
.hero { padding: 64px 0 48px; text-align: center; }
.hero__logo { width: 76px; height: 76px; object-fit: contain; margin: 0 auto 20px; }
.hero__title {
  font-size: clamp(3.2rem, 16vw, 6.6rem);
  font-weight: 800; letter-spacing: -.035em; line-height: .95;
  margin: 0 0 10px; direction: ltr;
}
.hero__sub { font-size: clamp(1rem, 4.2vw, 1.28rem); color: var(--text-soft); margin: 0 0 28px; }

/* ---------- 7. פס נתונים ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; border-block: 1px solid var(--line); padding: 26px 0;
}
.stat { text-align: center; }
.stat__num { font-size: clamp(1.5rem, 7vw, 2.5rem); font-weight: 800; line-height: 1.1; }

/* גלגלת המספרים — כל ספרה היא רצועה שמסתובבת ונעצרת על הספרה הנכונה */
.roll { display: inline-flex; direction: ltr; line-height: 1; vertical-align: baseline; }
.roll__d { display: block; height: 1em; overflow: hidden; }
.roll__strip { display: block; will-change: transform; }
.roll__strip > span { display: block; height: 1em; }
.roll__sep { display: block; height: 1em; }
@media (prefers-reduced-motion: reduce) { .roll__strip { transition: none !important; } }
.stat__label { font-size: .82rem; color: var(--text-soft); }

/* ---------- 8. תגובות — סליידר ---------- */
.slider { position: relative; }
.slider__track {
  /* בלי scroll-snap ובלי scroll-behavior של CSS:
     מנוע ה-snap של הדפדפן היה נלחם במיקום המדויק שהקוד מחשב, מזיז שני
     כרטיסים במקום אחד ואז מושך אחורה — זה מה שנראה כמו "זז וחוזר".
     הגלילה מנוהלת אך ורק מה-JS, עם יישור עצמי כשהיא נחה. */
  display: flex; gap: 16px; overflow-x: auto;
  overscroll-behavior-x: contain; padding: 4px 4px 18px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.testimonial {
  flex: 0 0 88%;
  /* ⚠️ תיקון השורש של "הכרטיס השמאלי חתוך":
     1. הכרטיס הוא <figure>, ולדפדפן יש ברירת מחדל של margin: 1em 40px עליו.
        כלומר כל כרטיס תפס 80px יותר ממה שחישבנו — שלושה כרטיסים דרשו 1308px
        במקום 1052px, ופשוט לא נכנסו. זה מה שחתך את הכרטיס בקצה, תמיד,
        בלי קשר למיקום הגלילה. margin:0 מסדר את זה.
     2. פריט flex מקבל כברירת מחדל min-width:auto ומסרב להצטמצם מתחת לרוחב
        התוכן שלו — min-width:0 מוודא שה-flex-basis באמת נשמר. */
  margin: 0;
  min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 20px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 252px;                       /* כל הכרטיסים באותו גובה */
}
.testimonial__body { flex: 1; display: flex; align-items: center; }
.testimonial__quote {
  margin: 0; font-size: 1rem; line-height: 1.7;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7;
  overflow: hidden;                        /* תגובות ארוכות נחתכות ולא מותחות את הכרטיס */
}
.testimonial__who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.testimonial__avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .95rem;
  background: var(--cube-blue);
}
.testimonial__name { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.testimonial__meta { font-size: .8rem; color: var(--text-soft); }
.testimonial__src {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--text-soft);
}
.slider__nav { display: flex; justify-content: center; align-items: center; gap: 14px; }
.slider__btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .18s, box-shadow .18s, transform .15s ease;
}
.slider__btn:hover { border-color: var(--text); box-shadow: var(--shadow); transform: scale(1.1); }
.slider__btn:active { transform: scale(.94); }
.slider__btn svg { width: 16px; height: 16px; }
.slider__dots { display: flex; gap: 7px; }
.slider__dot {
  width: 8px; height: 8px; padding: 0; border-radius: 50%;
  border: 0; background: var(--line); cursor: pointer; transition: background .2s, width .2s;
}
.slider__dot.is-active { background: var(--text); width: 22px; border-radius: 4px; }

/* רוחב מדויק כך שנכנסים בדיוק 2 או 3 כרטיסים, כולל הרווחים ביניהם */
@media (min-width: 700px)  { .testimonial { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1000px) { .testimonial { flex-basis: calc((100% - 32px) / 3); } }

/* ---------- 9. וידאו facade ---------- */
.video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden; background: #111;
  border: 0; padding: 0; cursor: pointer; display: block;
  box-shadow: var(--shadow);
}
.video img { width: 100%; height: 100%; object-fit: cover; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35));
  transition: background .2s;
}
.video:hover .video__play { background: rgba(0,0,0,.42); }
.video__play svg { width: 68px; height: 48px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.video__label {
  position: absolute; inset-block-end: 12px; inset-inline-start: 14px;
  color: #fff; font-weight: 700; font-size: .9rem; text-shadow: 0 1px 4px rgba(0,0,0,.6);
}

/* ---------- 10. שלבי המדריך ---------- */
.steps { display: grid; gap: 16px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 20px;
  /* עמודה שלישית לדיאגרמת השלב */
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px;
  align-items: start; transition: box-shadow .2s, transform .2s;
}
.step:hover { box-shadow: var(--shadow-hover); }
.step__num {
  grid-column: 1; grid-row: 1 / span 2;
  font-size: 2.1rem; font-weight: 800; line-height: 1;
  width: 48px; text-align: center;
}
.step--intro .step__num { color: var(--text-soft); display: grid; place-items: center; }
.step--intro .step__num svg { width: 26px; height: 26px; }
.step--intro { border-style: dashed; }
.step--1 .step__num, .step--2 .step__num { color: #C9C2B6; }
.step--3 .step__num { color: var(--cube-blue); }
.step--4 .step__num, .step--5 .step__num { color: #E6BE00; }
.step--6 .step__num { color: var(--cube-orange); }
.step--7 .step__num { color: var(--cube-red); }
.step__head { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.step__title { margin: 0; font-size: 1.18rem; font-weight: 800; }

/* כפתור הצפייה בסרטון — בולט, ברור ונוח ללחיצה */
.step__time {
  font: inherit; font-size: .88rem; font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--cube-red); border: 1px solid transparent; color: #fff;
  border-radius: 999px; padding: 8px 16px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; direction: ltr;
  box-shadow: 0 2px 8px rgba(183, 18, 52, .28);
  transition: background-color .18s, box-shadow .18s, transform .18s;
}
.step__time::after {
  content: "צפייה"; font-family: "Heebo", sans-serif; direction: rtl;
  font-size: .82rem; font-weight: 700; opacity: .92;
}
.step__time:hover {
  background: #9E0F2D; box-shadow: 0 4px 14px rgba(183, 18, 52, .38);
  transform: scale(1.045);
}
.step__time:active { transform: scale(.97); }
.step__time:focus-visible { outline: 3px solid rgba(183,18,52,.35); outline-offset: 2px; }
.step__time svg { width: 14px; height: 14px; }

.step__body { grid-column: 2; grid-row: 2; }

/* דיאגרמת השלב — יושבת בקצה הכרטיס, מיושרת לכותרת */
.step__cube {
  grid-column: 3; grid-row: 1 / span 2;
  margin: 0; width: 184px; text-align: center;
}
.step__cube figcaption {
  margin-top: 10px; font-size: .78rem; line-height: 1.45; color: var(--text-soft);
}
/* שתי המחלקות יחד — כדי לגבור על רוחב ברירת המחדל של .cube-iso שמוגדר בהמשך הקובץ */
.cube-iso.cube-iso--step { width: 156px; margin-inline: auto; }

/* הכרת החלקים — שלוש דיאגרמות בהקדמה */
.parts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 16px 0 4px;
}
.part {
  margin: 0; padding: 14px 12px; text-align: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
}
.cube-iso.cube-iso--part { width: 124px; margin: 0 auto 12px; }
.part__title { display: block; font-weight: 800; font-size: .95rem; margin-bottom: 4px; }
.part__text { display: block; font-size: .78rem; line-height: 1.5; color: var(--text-soft); }

@media (max-width: 860px) {
  .step { grid-template-columns: auto 1fr; }
  /* בנייד הדיאגרמה עוברת לשורה נפרדת מתחת לטקסט, במרכז */
  .step__cube { grid-column: 2; grid-row: auto; width: 100%; margin-top: 16px; }
  .cube-iso.cube-iso--step { width: 148px; }
  .parts { grid-template-columns: 1fr; }
  .part { display: grid; grid-template-columns: auto 1fr; gap: 14px; text-align: start; align-items: center; }
  .cube-iso.cube-iso--part { width: 104px; margin: 0; }
}
.step__body p { margin: 8px 0 0; }
.intro-list { margin: 12px 0 0; padding-inline-start: 1.2em; }
.intro-list li { margin-bottom: 6px; }
.intro-list li::marker { font-weight: 800; color: var(--cube-blue); }
.step__algo {
  margin-top: 14px; padding: 14px 16px;
  border: 1px dashed var(--line); border-radius: 6px; background: var(--bg);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .9rem; color: var(--text-soft); direction: ltr; text-align: left;
}
.step__algo-label {
  font-family: "Heebo", sans-serif; direction: rtl; text-align: right;
  display: block; font-size: .76rem; font-weight: 700; margin-bottom: 6px;
  letter-spacing: .04em; color: var(--text-soft);
}
@media (max-width: 480px) {
  .step { grid-template-columns: auto 1fr; padding: 18px 16px; }
  .step__num { font-size: 1.7rem; width: 34px; }
}

/* ---------- 11. תיבת פרוזה ---------- */
.prose { max-width: 720px; }
.prose p:last-child { margin-bottom: 0; }
.note {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}

/* ---------- 12. באנר חנות ---------- */
.promo {
  display: grid; gap: 18px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.promo img { width: 120px; margin-inline: auto; }
.promo__text { text-align: center; }
.promo__text h3 { margin-bottom: 4px; }
@media (min-width: 700px) {
  .promo { grid-template-columns: 130px 1fr auto; text-align: right; }
  .promo__text { text-align: right; }
}

/* ---------- 13. פוטר ---------- */
.footer {
  border-top: 1px solid var(--line); padding: 36px 0 44px;
  margin-top: 24px; font-size: .93rem; color: var(--text-soft);
}
.footer__grid { display: grid; gap: 26px; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); }
.footer__brand img { width: 34px; height: 34px; object-fit: contain; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: var(--text); text-decoration: underline; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px;
  display: grid; place-items: center; background: #fff; transition: border-color .18s;
}
.footer__social a:hover { border-color: var(--text); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
  font-size: .85rem;
}
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr auto; align-items: center; } }

/* ---------- 14. עמוד מתקדמים ---------- */

/* מפת CFOP — האותיות עם חצים יורדים */
.cfop-map {
  direction: ltr;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin: 8px 0 34px;
}
.cfop-map__col {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; padding: 10px 4px; border-radius: var(--radius);
  transition: background .2s, transform .2s;
}
.cfop-map__col:hover { background: var(--card); transform: translateY(-2px); }
.cfop-map__letter {
  font-size: clamp(2.6rem, 12vw, 4.6rem); font-weight: 800; line-height: 1;
  letter-spacing: -.04em;
}
.cfop-map__col--c .cfop-map__letter { color: var(--cube-blue); }
.cfop-map__col--f .cfop-map__letter { color: var(--cube-green); }
.cfop-map__col--o .cfop-map__letter { color: #E6BE00; }
.cfop-map__col--p .cfop-map__letter { color: var(--cube-red); }
.cfop-map__arrow { display: block; height: 34px; color: var(--line); }
.cfop-map__arrow svg { width: 16px; height: 34px; animation: cfopArrow 1.9s ease-in-out infinite; }
.cfop-map__col--f .cfop-map__arrow svg { animation-delay: .18s; }
.cfop-map__col--o .cfop-map__arrow svg { animation-delay: .36s; }
.cfop-map__col--p .cfop-map__arrow svg { animation-delay: .54s; }
@keyframes cfopArrow {
  0%, 100% { transform: translateY(-3px); opacity: .45; }
  50%      { transform: translateY(3px);  opacity: 1; }
}
.cfop-map__name { font-weight: 800; font-size: clamp(.82rem, 3vw, 1rem); color: var(--text); }
.cfop-map__desc {
  direction: rtl; font-size: clamp(.7rem, 2.6vw, .84rem);
  color: var(--text-soft); text-align: center; line-height: 1.4;
}

.cfop { display: grid; gap: 20px; }
.cfop-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px 20px;
}
.cfop-card__tag {
  display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .1em;
  padding: 3px 10px; border-radius: 999px; color: #fff; margin-bottom: 10px; direction: ltr;
}
.cfop-card--c .cfop-card__tag { background: var(--cube-blue); }
.cfop-card--f .cfop-card__tag { background: var(--cube-green); }
.cfop-card--o .cfop-card__tag { background: #E6BE00; }
.cfop-card--p .cfop-card__tag { background: var(--cube-red); }
.todo-slot {
  border: 1px dashed var(--line); border-radius: 6px; background: var(--bg);
  padding: 16px; color: var(--text-soft); font-size: .9rem; margin: 14px 0;
}
.todo-slot--video { aspect-ratio: 16/9; display: grid; place-items: center; text-align: center; }
.cfop-card .video { margin: 14px 0; }

/* ---------- עיניים עצומות ---------- */
.chapters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.alg-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 14px;
}
.alg-box h3 { margin: 0 0 8px; font-size: 1rem; }
.alg-box__code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  direction: ltr; text-align: left; font-size: .95rem; line-height: 1.6;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  padding: 10px 12px; margin-bottom: 10px; word-break: break-word;
}
.setup-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 620px) { .setup-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .setup-grid { grid-template-columns: repeat(4, 1fr); } }
.setup-cell {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow); padding: 10px 12px;
  display: flex; align-items: center; gap: 10px; min-height: 46px;
}
.setup-cell__letter {
  font-weight: 800; font-size: 1.05rem; min-width: 1.7em; text-align: center; flex: none;
  border-inline-end: 1px solid var(--line); padding-inline-end: 9px;
}
.setup-cell__moves {
  font-family: "SFMono-Regular", Consolas, monospace; direction: ltr;
  font-size: .84rem; color: var(--text-soft);
}
.setup-cell--word .setup-cell__moves { font-family: "Heebo", sans-serif; direction: rtl; }
.setup-cell--empty { border-style: dashed; }

/* ---------- עמוד רמות פתירה ---------- */
.levels { display: grid; gap: 20px; }
/* בטלפון ובטאבלט — אחד מתחת לשני. בדסקטופ — שלושה בשורה */
@media (min-width: 920px) { .levels { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.level {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 20px;
  display: flex; flex-direction: column;      /* הסרטון נדבק לתחתית — הכרטיסים מיושרים */
}
.level .video { margin-top: auto; }
.level__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.level__badge {
  flex: none; width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.25rem;
}
.level__badge--cube-blue   { background: var(--cube-blue); }
.level__badge--cube-green  { background: var(--cube-green); }
.level__badge--cube-yellow { background: #E6BE00; }
.level__badge--cube-orange { background: var(--cube-orange); }
.level__badge--cube-red    { background: var(--cube-red); }
.level__badge--text        { background: var(--text); }
.level__title { margin: 0; font-size: 1.15rem; font-weight: 800; }
.level__sub { margin: 2px 0 0; font-size: .9rem; color: var(--text-soft); }

/* ---------- 15. עמוד אלגוריתמים ---------- */
.tabs {
  display: flex; gap: 8px; border-bottom: 1px solid var(--line);
  margin-bottom: 20px; overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  font: inherit; font-weight: 700; font-size: .96rem;
  background: none; border: 0; border-bottom: 3px solid transparent;
  padding: 10px 14px; cursor: pointer; color: var(--text-soft); white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--cube-red); }
.tab__count { font-size: .78rem; color: var(--text-soft); font-weight: 500; }

.alg-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.search {
  flex: 1 1 240px; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 9px 14px;
}
.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: .95rem; background: none; min-width: 0; }
.search svg { width: 16px; height: 16px; flex: none; color: var(--text-soft); }

.alg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .alg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .alg-grid { grid-template-columns: repeat(4, 1fr); } }

.alg-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: box-shadow .2s;
}
.alg-card:hover { box-shadow: var(--shadow-hover); }
.alg-card__name { font-weight: 700; font-size: .92rem; text-align: center; }
.alg-card__note {
  margin: -6px 0 0; font-size: .74rem; color: var(--text-soft);
  text-align: center; direction: ltr;
}
.alg-card__alg {
  font-family: "SFMono-Regular", Consolas, monospace; font-size: .82rem;
  direction: ltr; text-align: center; color: var(--text-soft);
  word-break: break-word; line-height: 1.5; min-height: 2.4em;
}
.alg-card__copy {
  font: inherit; font-size: .78rem; font-weight: 700;
  border: 1px solid var(--line); background: #fff; color: var(--text-soft);
  border-radius: 6px; padding: 5px 12px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: border-color .18s, color .18s, transform .15s ease;
}
.alg-card__copy:hover { border-color: var(--text); color: var(--text); transform: scale(1.06); }
.alg-card__copy:active { transform: scale(.96); }
.alg-card__copy svg { width: 12px; height: 12px; }
.alg-card__copy.is-done { border-color: var(--cube-green); color: var(--cube-green); }

/* דיאגרמת קוביה — CSS Grid טהור, בסגנון של הטבלה: רקע כהה ומדבקות צהובות */
.cube-diagram {
  --sq: 20px;
  --tab: 10px;
  --gap: 3px;
  display: grid;
  grid-template-columns: var(--tab) repeat(3, var(--sq)) var(--tab);
  grid-template-rows: var(--tab) repeat(3, var(--sq)) var(--tab);
  gap: var(--gap);
  padding: 6px;
  background: #1C1C1C;
  border-radius: 8px;
  direction: ltr;
}
.cube-diagram .cell { border-radius: 3px; background: #343434; }
.cube-diagram .side { border-radius: 2px; background: transparent; }
.cube-diagram .corner { background: transparent; }
.cube-diagram .c-y { background: var(--cube-yellow); }
.cube-diagram .c-g { background: #343434; }
.cube-diagram .side.c-y { background: var(--cube-yellow); }
.cube-diagram .side.c-g { background: transparent; }
/* צבעי PLL */
.cube-diagram .p-1 { background: #E23B3B; }
.cube-diagram .p-2 { background: #3B7BE2; }
.cube-diagram .p-3 { background: #35B36A; }
.cube-diagram .p-4 { background: #F0A83C; }
/* דיאגרמת F2L — קוביה איזומטרית */
.cube-iso {
  display: block; width: 86px; height: auto;
  background: #1C1C1C; border-radius: 8px; padding: 5px;
}
@media (max-width: 380px) { .cube-iso { width: 74px; } }

.alg-card__figure { position: relative; line-height: 0; }

/* התוכן הסטטי בעמוד האלגוריתמים (לפני ש-JS מחליף אותו): הקבוצות והכותרות
   פרוסות על כל רוחב הגריד כדי שגם בלי JS העמוד ייראה מסודר */
.alg-static__set { display: contents; }
.alg-static__title { grid-column: 1 / -1; margin: 18px 0 4px; font-size: 1.15rem; }
.alg-card__figure svg.pll-arrows {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none;
}
@media (max-width: 380px) { .cube-diagram { --sq: 17px; --tab: 9px; } }

/* ---------- 15b. טיימר ---------- */
.timer-stage {
  min-height: min(72vh, 620px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; text-align: center; position: relative;
}

/* הערבוב */
.timer-scramble { width: 100%; max-width: 640px; transition: opacity .25s; }
.timer-scramble__text {
  margin: 0 0 10px; direction: ltr;
  font-size: clamp(1rem, 3.6vw, 1.32rem); font-weight: 600; line-height: 1.55;
  letter-spacing: .01em; word-spacing: .22em;
}
.timer-scramble__new {
  font: inherit; font-size: .8rem; font-weight: 600;
  background: none; border: 0; color: var(--text-soft); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px;
  border-radius: 6px; transition: color .18s, background .18s;
}
.timer-scramble__new:hover { color: var(--text); background: var(--card); }
.timer-scramble__new svg { width: 13px; height: 13px; }

/* הזמן */
.timer-main {
  width: 100%; padding: 8px 0;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.timer-display {
  font-size: clamp(4.2rem, 21vw, 10rem);
  font-weight: 800; line-height: 1; letter-spacing: -.045em;
  direction: ltr; font-variant-numeric: tabular-nums;
  transition: color .12s, transform .12s;
}
.timer-display.is-holding { color: var(--cube-red); transform: scale(.985); }
.timer-display.is-ready   { color: var(--cube-green); }
.timer-hint {
  margin: 14px 0 0; font-size: .84rem; color: var(--text-soft);
  transition: opacity .25s;
}

/* ממוצעים */
.timer-stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 26px; transition: opacity .25s;
}
.tstat { display: flex; align-items: baseline; gap: 7px; }
.tstat__label { font-size: .76rem; color: var(--text-soft); font-weight: 600; letter-spacing: .04em; }
.tstat__val {
  font-size: .98rem; font-weight: 700; direction: ltr;
  font-variant-numeric: tabular-nums;
}

/* כפתורים */
.timer-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; transition: opacity .25s; }
.timer-chip {
  font: inherit; font-size: .82rem; font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--text-soft);
  border-radius: 999px; padding: 7px 16px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .18s, color .18s, transform .15s ease;
}
.timer-chip:hover { border-color: var(--text); color: var(--text); transform: scale(1.05); }
.timer-chip:active { transform: scale(.96); }
.timer-chip__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line); transition: background .18s;
}
.timer-chip.is-on { color: var(--text); border-color: var(--cube-green); }
.timer-chip.is-on .timer-chip__dot { background: var(--cube-green); }

/* בזמן שהטיימר רץ — הכול נעלם חוץ מהזמן (כולל הכותרת שמעל) */
.section:has(.timer-stage[data-state="running"]) #timer-head { opacity: 0; }
#timer-head { transition: opacity .25s; }
.timer-stage[data-state="running"] .timer-scramble,
.timer-stage[data-state="running"] .cube-net-wrap,
.timer-stage[data-state="running"] .timer-stats,
.timer-stage[data-state="running"] .timer-actions,
.timer-stage[data-state="running"] .times-panel {
  opacity: 0; pointer-events: none;
}
.timer-stage[data-state="running"] .timer-hint { opacity: .35; }

/* ציור הקוביה אחרי הערבוב — פריסה שטוחה, כמו ב-csTimer */
.cube-net-wrap { margin: 0; transition: opacity .25s; }
.cube-net {
  --nc: 11px;
  direction: ltr;                 /* חובה — אחרת ה-RTL הופך את סדר העמודות */
  display: grid;
  grid-template-columns: repeat(12, var(--nc));
  grid-template-rows: repeat(9, var(--nc));
  gap: 1.5px;
  margin-inline: auto;
}
/* קו דק סביב כל מדבקה — כך המדבקות הלבנות נראות על רקע האתר הבהיר,
   ובשאר הצבעים זה נקרא רק כקצה עדין */
.cube-net i {
  border-radius: 2px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .42),  /* מסגרת — מבליטה את הלבנים */
              0 1px 1.5px rgba(0, 0, 0, .16);       /* צל רך מתחת לכל מדבקה */
}
.cube-net__cap {
  margin-top: 8px; font-size: .74rem; color: var(--text-soft); text-align: center;
}

/* בדסקטופ — בצד, בלי להזיז את הזמן מהמרכז */
@media (min-width: 1040px) {
  .cube-net-wrap {
    position: absolute; inset-inline-end: 0; top: 50%;
    transform: translateY(-50%); margin: 0;
  }
  .cube-net { --nc: 13px; }
}
@media (max-width: 1039px) { .cube-net { --nc: 10px; } }

/* רשימת הזמנים */
.times-panel {
  width: 100%; max-width: 640px; text-align: right;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.times-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.times-clear {
  font: inherit; font-size: .8rem; font-weight: 600;
  background: none; border: 0; color: var(--text-soft); cursor: pointer;
  padding: 4px 8px; border-radius: 6px; transition: color .18s;
}
.times-clear:hover { color: var(--cube-red); }
.times-list { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; }
.time-row {
  display: grid; grid-template-columns: 2.2em auto 1fr auto;
  align-items: center; gap: 10px;
  padding: 9px 16px; border-bottom: 1px solid var(--line); font-size: .9rem;
}
.time-row:last-child { border-bottom: 0; }
.time-row__i { color: var(--text-soft); font-size: .8rem; font-variant-numeric: tabular-nums; }
.time-row__t { font-weight: 700; direction: ltr; font-variant-numeric: tabular-nums; min-width: 4.4em; }
.time-row--dnf .time-row__t { color: var(--text-soft); text-decoration: line-through; }
.time-row__scr {
  direction: ltr; text-align: left; font-size: .72rem; color: var(--text-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.time-row__btns { display: flex; gap: 4px; }
.time-btn {
  font: inherit; font-size: .72rem; font-weight: 700;
  background: none; border: 1px solid var(--line); color: var(--text-soft);
  border-radius: 5px; padding: 3px 7px; cursor: pointer; line-height: 1.4;
  transition: border-color .18s, color .18s, transform .15s ease;
}
.time-btn:hover { border-color: var(--text); color: var(--text); transform: scale(1.08); }
.time-btn:active { transform: scale(.94); }
.time-btn.is-on { border-color: var(--cube-orange); color: var(--cube-orange); }
.time-btn--del:hover { border-color: var(--cube-red); color: var(--cube-red); }

@media (max-width: 560px) {
  .time-row { grid-template-columns: 1.8em auto 1fr; }
  .time-row__scr { display: none; }
}

/* ---------- 16. חנות ---------- */
.product { display: grid; gap: 26px; }
@media (min-width: 800px) { .product { grid-template-columns: 1fr 1fr; align-items: start; } }

.gallery__main {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; padding: 18px;
}
.gallery__main img { max-height: 100%; object-fit: contain; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery__thumb {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  aspect-ratio: 1; padding: 6px; cursor: pointer; display: grid; place-items: center;
  overflow: hidden; transition: border-color .18s, transform .15s ease;
}
.gallery__thumb img { max-height: 100%; object-fit: contain; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--text); }
.gallery__thumb:hover { transform: scale(1.05); }
.gallery__thumb:active { transform: scale(.97); }
.gallery__thumb--empty { color: var(--text-soft); font-size: .72rem; border-style: dashed; }

.price { font-size: 2.4rem; font-weight: 800; line-height: 1; direction: ltr; text-align: right; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .84rem; font-weight: 600; color: var(--text-soft);
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 13px;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }

.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: right; }
.compare thead th { font-size: .85rem; color: var(--text-soft); font-weight: 700; }
.compare thead th:nth-child(3) { color: var(--text); }
.compare tbody th { font-weight: 600; }
.compare td.no { color: var(--text-soft); }
.compare td.yes { font-weight: 700; }
.compare td.no::before  { content: "✕ "; color: var(--cube-red); font-weight: 700; }
.compare td.yes::before { content: "✓ "; color: var(--cube-green); font-weight: 700; }
.compare-wrap {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow-x: auto; box-shadow: var(--shadow);
}

/* טופס */
.form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 22px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .93rem; margin-bottom: 6px; }
.field .req { color: var(--cube-red); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 7px;
  background: var(--bg); color: var(--text); transition: border-color .18s, background .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--text); background: #fff; outline: none;
}
.field textarea { resize: vertical; min-height: 84px; }
.field.has-error input, .field.has-error textarea { border-color: var(--cube-red); }
.field__error { display: none; color: var(--cube-red); font-size: .84rem; margin-top: 5px; font-weight: 600; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: .82rem; color: var(--text-soft); margin-top: 5px; }
.form-grid { display: grid; gap: 0 16px; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }

.form__status { margin-top: 16px; font-weight: 700; }
.form__status--ok { color: var(--cube-green); }
.form__status--err { color: var(--cube-red); }
.form-success {
  background: #fff; border: 1px solid var(--cube-green); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
}
.form-success h3 { color: var(--cube-green); }

/* אקורדיון */
.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.acc__item + .acc__item { border-top: 1px solid var(--line); }
.acc__btn {
  width: 100%; font: inherit; font-weight: 700; font-size: 1rem; text-align: right;
  background: none; border: 0; padding: 17px 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--text);
}
.acc__btn:hover { background: var(--bg); }
.acc__btn svg { width: 14px; height: 14px; flex: none; transition: transform .22s; }
.acc__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc__panel { display: none; padding: 0 20px 18px; color: var(--text-soft); }
.acc__panel.is-open { display: block; }

/* ---------- 17. יצירת קשר ---------- */
.cards { display: grid; gap: 16px; }
@media (min-width: 700px) { .cards--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 700px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px 20px; text-decoration: none; display: block;
  transition: box-shadow .2s, border-color .2s;
}
a.card:hover { box-shadow: var(--shadow-hover); border-color: #D5CEC2; }
.card__icon { width: 42px; height: 42px; object-fit: contain; margin-bottom: 12px; }
.card h3 { margin-bottom: 4px; }
.card p { margin: 0; color: var(--text-soft); font-size: .94rem; }
.card__social-icon { width: 34px; height: 34px; margin-bottom: 10px; }

.mail-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 22px; text-align: center;
}
.mail-box a.mail {
  font-size: clamp(1.1rem, 5vw, 1.6rem); font-weight: 800;
  text-decoration: none; direction: ltr; display: inline-block; word-break: break-all;
}
.mail-box a.mail:hover { text-decoration: underline; }

/* ---------- 18. טוסט ---------- */
.toast {
  position: fixed; inset-inline: 0; bottom: 24px; margin-inline: auto;
  width: max-content; max-width: 90vw;
  background: var(--text); color: #fff; padding: 11px 22px; border-radius: 999px;
  font-size: .92rem; font-weight: 600; z-index: 300;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .22s, transform .22s;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 19. אנימציית גלילה ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
