html {
  scroll-behavior: auto !important;
}

/* ==========================================================================
   Page Transitions & Scroll Progress Indicator (מעברי עמודים ופס התקדמות גלילה)
   ========================================================================== */

/* פס התקדמות גלילה יוקרתי בראש העמוד */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  right: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #028db4 0%, #08b4de 60%, #4ae3ff 100%);
  box-shadow: 0 0 10px rgba(8, 180, 222, 0.7), 0 0 4px rgba(8, 180, 222, 0.4);
  z-index: 10001;
  pointer-events: none;
  transition: width 0.08s linear;
  will-change: width;
}

/* ==========================================================================
   מעבר עמודים חלק, מהיר ואצילי (Ultra-Smooth Instant Page Transitions)
   ========================================================================== */

/* הפעלת מנוע View Transitions טבעי בדפדפנים מודרניים */
@view-transition {
  navigation: auto;
}

/* מעבר עמודים מואץ חומרתית (GPU-Accelerated Crossfade) — קל, מהיר וללא תקיעות */
::view-transition-old(root) {
  animation: 130ms cubic-bezier(0.4, 0, 1, 1) both vtFadeOut;
}

::view-transition-new(root) {
  animation: 180ms cubic-bezier(0.16, 1, 0.3, 1) both vtFadeIn;
}

@keyframes vtFadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.996);
  }
}

@keyframes vtFadeIn {
  from {
    opacity: 0;
    transform: scale(1.002);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* נטרול אנימציית body בזמן View Transition למניעת הבהובים כפולים */
html:active-view-transition body {
  animation: none !important;
}

/* פס התקדמות דקיק, זוהר ומואץ חומרה בראש המסך (Top Silk Progress Line) */
.page-transition-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #08b3df 0%, #29c3e5 60%, #ffffff 100%);
  box-shadow: 0 0 10px rgba(8, 179, 223, 0.8), 0 0 4px rgba(41, 195, 229, 0.9);
  z-index: 10000001;
  pointer-events: none;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease;
  will-change: transform, opacity;
}

[dir="rtl"] .page-transition-progress {
  transform-origin: 100% 0;
}

.page-transition-progress.is-loading {
  opacity: 1;
  transform: scaleX(0.72);
}

.page-transition-progress.is-complete {
  opacity: 1;
  transform: scaleX(1);
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease 0.08s;
}

.page-transition-progress.is-hidden {
  opacity: 0 !important;
}

/* שכבת מעבר מעודנת (Fallback Overlay לדפדפנים ישנים) */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: rgba(243, 250, 255, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  will-change: opacity;
}

.page-transition-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* מעבר כניסה רך של גוף העמוד בטעינה ראשונית בלבד (Initial Direct Load) */
body {
  animation: pageEnter 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  transform: none !important;
  perspective: none !important;
}

@keyframes pageEnter {
  from {
    opacity: 0.8;
    filter: blur(1px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

/* נגישות — ביטול מלא של תנועות מעבר לפי העדפת המשתמש */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
  body {
    animation: none !important;
  }
  .page-transition-progress,
  .page-transition-overlay {
    display: none !important;
  }
}

/* ==========================================================================
   דרך ארץ גרופ — מנוע אנימציות יוקרתי, אנימציית טעינה ומיקרו-אינטראקציות
   Derech Eretz Group — Luxury Motion & Loading System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. אנימציית טעינה יוקרתית (Site Preloader)
   -------------------------------------------------------------------------- */
.site-preloader {
  display: none !important;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 380px;
}

.preloader-emblem {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* הילת זוהר עדינה מסביב ללוגו */
.preloader-halo {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1.5px solid rgba(8, 180, 222, 0.45);
  box-shadow: 0 0 25px rgba(8, 180, 222, 0.3), inset 0 0 20px rgba(8, 180, 222, 0.15);
  animation: preloaderHaloPulse 2.4s ease-in-out infinite;
}

.preloader-halo-spin {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #08b4de;
  border-left-color: rgba(8, 180, 222, 0.6);
  animation: preloaderSpin 1.8s cubic-bezier(0.68, -0.2, 0.27, 1.25) infinite;
}

.preloader-logo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  animation: preloaderLogoGleam 2.8s ease-in-out infinite;
}

.preloader-crown {
  width: 38px;
  height: 30px;
  margin-bottom: 12px;
  opacity: 0.9;
  filter: drop-shadow(0 0 8px rgba(8, 180, 222, 0.6));
  animation: crownFloat 3s ease-in-out infinite;
}

.preloader-brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.preloader-sub {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 500;
  color: #08b4de;
  margin-top: 4px;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
}

.preloader-motto {
  font-size: 14px;
  color: #9cbacf;
  margin-top: 10px;
  font-weight: 400;
}

/* פס התקדמות יוקרתי */
.preloader-meter {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 26px;
  position: relative;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #057d9c, #08b4de 70%, #ffffff 100%);
  border-radius: 4px;
  box-shadow: 0 0 12px #08b4de;
  transition: width 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.preloader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 220px;
  margin-top: 8px;
  font-size: 11px;
  color: #7b9eb8;
  font-family: monospace;
}

.preloader-indicator {
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   2. אנימציות שלדיות (Skeleton Shimmer Loading)
   -------------------------------------------------------------------------- */
.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    #e9f3f9 0%,
    #f8fcfe 40%,
    #e9f3f9 80%
  ) !important;
  background-size: 200% 100% !important;
  animation: skeletonSweep 1.6s ease-in-out infinite !important;
}

@keyframes skeletonSweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #ffffff;
  overflow: hidden;
  pointer-events: none;
}

.skeleton-photo {
  height: clamp(230px, 22vw, 330px);
  width: 100%;
  background: #dfeaf0;
}

.skeleton-copy {
  padding: 17px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-line {
  height: 18px;
  border-radius: 4px;
  background: #dfeaf0;
  width: 80%;
}

.skeleton-line.short {
  width: 45%;
  height: 14px;
}

/* --------------------------------------------------------------------------
   3. אנימציות טעינה לכפתורים וטפסים (Spinners & Interactive Loading)
   -------------------------------------------------------------------------- */
.btn-spinner {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
  vertical-align: middle;
  margin-inline-end: 8px;
  flex-shrink: 0;
}

.button.secondary .btn-spinner {
  border: 2px solid rgba(8, 180, 222, 0.25);
  border-top-color: #08b4de;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

.button.is-loading,
button.is-loading {
  opacity: 0.82;
  cursor: wait !important;
  pointer-events: none;
}

/* בדיקת לוחית רישוי עם אפקט זוהר פועם */
.license-plate.is-checking {
  animation: plateGlowPulse 1.2s ease-in-out infinite;
}

@keyframes plateGlowPulse {
  0%, 100% {
    box-shadow: 0 8px 15px rgba(7, 32, 48, 0.18), inset 0 2px 2px rgba(255, 255, 255, 0.65), 0 0 0 0 rgba(8, 180, 222, 0.6);
  }
  50% {
    box-shadow: 0 8px 15px rgba(7, 32, 48, 0.18), inset 0 2px 2px rgba(255, 255, 255, 0.65), 0 0 0 8px rgba(8, 180, 222, 0.25);
  }
}

/* --------------------------------------------------------------------------
   4. אנימציות הופעה בגלילה (Scroll Reveal Animations)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.reveal-fade.is-revealed {
  opacity: 1;
}

.reveal-left {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.is-revealed {
  opacity: 1;
  transform: scale(1);
}

/* עיכובי Stagger לכניסה מדורגת */
[data-stagger="1"] { transition-delay: 0.08s; }
[data-stagger="2"] { transition-delay: 0.16s; }
[data-stagger="3"] { transition-delay: 0.24s; }
[data-stagger="4"] { transition-delay: 0.32s; }
[data-stagger="5"] { transition-delay: 0.40s; }
[data-stagger="6"] { transition-delay: 0.48s; }

/* --------------------------------------------------------------------------
   5. מיקרו-אינטראקציות ועידון חוויית המשתמש (Micro-interactions)
   -------------------------------------------------------------------------- */

/* כתר ההירו צף ברכות */
.hero-crown {
  animation: crownFloat 4.2s ease-in-out infinite;
  will-change: transform;
}

@keyframes crownFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* אפקט ברק יוקרתי על כפתורים ראשיים במעבר עכבר */
.button.primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background 0.22s ease !important;
}

.button.primary::after {
  content: '';
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -70%;
  width: 50%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  opacity: 0;
}

.button.primary:hover::after {
  opacity: 1;
  animation: buttonShineSheen 0.85s ease-out forwards;
}

@keyframes buttonShineSheen {
  0% { left: -70%; }
  100% { left: 160%; }
}

.button:active {
  transform: scale(0.98) !important;
}

/* כרטיסי רכב — ריחוף יוקרתי, הגדלת תמונה והארה עדינה */
.vehicle-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease !important;
}

.vehicle-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(8, 180, 222, 0.16), 0 4px 12px rgba(13, 46, 83, 0.06);
  border-color: #4dc5e8 !important;
}

.vehicle-card .round {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.28s ease,
              color 0.28s ease,
              border-color 0.28s ease;
}

.vehicle-card:hover .round {
  transform: scale(1.08) translateX(-3px);
  background: #08b4de;
  color: #ffffff;
  border-color: #08b4de;
}

/* כרטיסי שירותים */
.service-card {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.32s ease,
              border-color 0.32s ease !important;
}

.service-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 30px rgba(8, 180, 222, 0.15) !important;
}

.service-card .round {
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.service-card:hover .round {
  background: #08b4de;
  color: #ffffff;
  transform: scale(1.1);
}

/* שלבי תהליך (Step cards) */
.step-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(8, 180, 222, 0.18), 0 4px 14px rgba(13, 46, 83, 0.06);
  border-color: rgba(8, 180, 222, 0.45);
}

.step-card .step-number {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  display: inline-flex;
}

.step-card:hover .step-number {
  transform: scale(1.08);
  background: linear-gradient(135deg, #08b4de 0%, #008db6 100%);
  border-color: #08b4de;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(8, 180, 222, 0.35);
}

/* תמונות אינסטגרם / גלריה */
.social-tile img {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.social-tile:hover img {
  transform: scale(1.08) !important;
}

/* הדר עליון במצב גלילה (Sticky Glass Header) */
.header {
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, height 0.3s ease;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 4px 24px rgba(13, 46, 83, 0.08);
  border-bottom-color: rgba(205, 229, 241, 0.85);
}

/* --------------------------------------------------------------------------
   6. כפתורים צפים (Floating WhatsApp & Back-To-Top)
   -------------------------------------------------------------------------- */
.floating-actions-wrap {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  z-index: 999980;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* כפתור WhatsApp צף */
.floating-whatsapp:not(.floating-actions-wrap .floating-whatsapp),
.whatsapp-widget:not(.floating-actions-wrap .whatsapp-widget),
.whatsapp-float:not(.floating-actions-wrap .whatsapp-float) {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  z-index: 999980;
}

.floating-whatsapp-btn,
.floating-whatsapp,
.whatsapp-widget,
.whatsapp-float {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2fe577 0%, #1ea955 100%);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(30, 169, 85, 0.4), 0 2px 6px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  outline: none;
}

.floating-whatsapp-btn:hover,
.floating-whatsapp:hover,
.whatsapp-widget:hover,
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 26px rgba(30, 169, 85, 0.5), 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff !important;
}

.floating-whatsapp-btn svg,
.floating-whatsapp svg,
.whatsapp-widget svg,
.whatsapp-float svg {
  width: 29px;
  height: 29px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.floating-whatsapp-btn svg path:first-child,
.floating-whatsapp svg path:first-child,
.whatsapp-widget svg path:first-child,
.whatsapp-float svg path:first-child {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-whatsapp-btn svg path:last-child,
.floating-whatsapp svg path:last-child,
.whatsapp-widget svg path:last-child,
.whatsapp-float svg path:last-child {
  fill: currentColor !important;
  stroke: none !important;
}

/* פעימת הילה סביב כפתור הוואטסאפ */
.floating-whatsapp-btn::before,
.floating-whatsapp::before,
.whatsapp-widget::before,
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(46, 229, 119, 0.6);
  background: transparent;
  animation: whatsappPulseRing 2.6s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
}

@keyframes whatsappPulseRing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  60%, 100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* בועת רמז לצד הוואטסאפ במעבר עכבר */
.floating-whatsapp-btn .whatsapp-tooltip,
.floating-whatsapp .whatsapp-tooltip,
.whatsapp-widget .whatsapp-tooltip,
.whatsapp-float .whatsapp-tooltip,
.floating-whatsapp-btn .floating-whatsapp-tooltip,
.floating-whatsapp .floating-whatsapp-tooltip,
.whatsapp-widget .floating-whatsapp-tooltip {
  position: absolute;
  inset-inline-start: 64px;
  top: 50%;
  transform: translateY(-50%) scale(0.92);
  background: #0d2e53;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
}

.floating-whatsapp-btn:hover .whatsapp-tooltip,
.floating-whatsapp-btn:focus-visible .whatsapp-tooltip,
.floating-whatsapp:hover .whatsapp-tooltip,
.floating-whatsapp:focus-visible .whatsapp-tooltip,
.whatsapp-widget:hover .whatsapp-tooltip,
.whatsapp-widget:focus-visible .whatsapp-tooltip,
.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus-visible .whatsapp-tooltip,
.floating-whatsapp-btn:hover .floating-whatsapp-tooltip,
.floating-whatsapp-btn:focus-visible .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* כפתור חזרה לראש העמוד */
.back-to-top-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #0d2e53;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(13, 46, 83, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.85);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s, background 0.2s;
  outline: none;
}

.back-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background: #08b4de;
  color: #ffffff;
  border-color: #08b4de;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(8, 180, 222, 0.3);
}

.back-to-top-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.back-to-top-btn:hover svg {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   7. אנימציות דיאלוג מודאלי (Vehicle Modal Popup)
   -------------------------------------------------------------------------- */
dialog#vehicle-dialog {
  opacity: 0;
  transform: scale(0.94) translateY(12px);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              overlay 0.28s allow-discrete,
              display 0.28s allow-discrete;
}

dialog#vehicle-dialog[open] {
  opacity: 1;
  transform: scale(1) translateY(0);
}

dialog#vehicle-dialog::backdrop {
  opacity: 0;
  transition: opacity 0.28s ease, backdrop-filter 0.28s ease;
}

dialog#vehicle-dialog[open]::backdrop {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   8. Keyframes נוספים
   -------------------------------------------------------------------------- */
@keyframes preloaderHaloPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.95;
    box-shadow: 0 0 35px rgba(8, 180, 222, 0.55);
  }
}

@keyframes preloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes preloaderLogoGleam {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15) contrast(1.05); }
}

/* --------------------------------------------------------------------------
   9. תמיכה בנגישות ובהפחתת תנועה (Reduced Motion)
   -------------------------------------------------------------------------- */
.reduce-motion .site-preloader,
@media (prefers-reduced-motion: reduce) {
  .site-preloader {
    display: none !important;
  }
  
  .reveal,
  .reveal-fade,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-crown,
  .floating-whatsapp-btn::before,
  .preloader-halo,
  .preloader-halo-spin,
  .skeleton-shimmer {
    animation: none !important;
  }

  .button.primary::after {
    display: none !important;
  }

  .vehicle-card,
  .service-card,
  .step-card {
    transition: none !important;
  }
}

/* תאימות למובייל */
@media (max-width: 600px) {
  .floating-actions-wrap,
  .floating-whatsapp:not(.floating-actions-wrap .floating-whatsapp),
  .whatsapp-widget:not(.floating-actions-wrap .whatsapp-widget),
  .whatsapp-float:not(.floating-actions-wrap .whatsapp-float) {
    bottom: 16px;
    inset-inline-start: 16px;
    gap: 10px;
  }
  
  .floating-whatsapp-btn,
  .floating-whatsapp,
  .whatsapp-widget,
  .whatsapp-float {
    width: 48px;
    height: 48px;
  }
  
  .floating-whatsapp-btn svg,
  .floating-whatsapp svg,
  .whatsapp-widget svg,
  .whatsapp-float svg {
    width: 25px;
    height: 25px;
  }
  
  .back-to-top-btn {
    width: 40px;
    height: 40px;
  }
  
  .preloader-brand {
    font-size: 21px;
  }
  
  .preloader-meter,
  .preloader-meta {
    width: 190px;
  }
}

/* --------------------------------------------------------------------------
   7. אנימציית מספרים במחשבון מימון (Financing Number Counter Animations)
   -------------------------------------------------------------------------- */
.result-value-wrap {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.calc-num-animate {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: color 0.22s ease, transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), text-shadow 0.22s ease;
  will-change: transform, color;
}

/* עלייה במספרים (UP) */
.calc-num-animate.is-num-up {
  color: #0093be !important;
  text-shadow: 0 0 16px rgba(0, 180, 222, 0.35);
  animation: numPulseUp 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes numPulseUp {
  0% { transform: translateY(0); }
  35% { transform: translateY(-3px) scale(1.025); }
  100% { transform: translateY(0) scale(1); }
}

/* ירידה במספרים (DOWN) */
.calc-num-animate.is-num-down {
  color: #06748f !important;
  text-shadow: 0 0 16px rgba(6, 116, 143, 0.25);
  animation: numPulseDown 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes numPulseDown {
  0% { transform: translateY(0); }
  35% { transform: translateY(3px) scale(0.985); }
  100% { transform: translateY(0) scale(1); }
}

/* אינדיקטור מגמה עולה/יורד */
.calc-trend-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  direction: ltr;
}

.calc-trend-badge.visible {
  opacity: 1;
  transform: scale(1);
}

.calc-trend-badge.trend-up {
  background: rgba(8, 180, 222, 0.12);
  color: #0081a3;
  border: 1px solid rgba(8, 180, 222, 0.3);
}

.calc-trend-badge.trend-down {
  background: rgba(14, 137, 172, 0.12);
  color: #076b84;
  border: 1px solid rgba(14, 137, 172, 0.3);
}

/* כפתורי בחירה מהירה (Presets) */
.calc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.preset-btn {
  background: #edf7fa;
  border: 1px solid #c2e1ed;
  color: #26556e;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: inherit;
  line-height: 1.3;
}

.preset-btn:hover {
  background: #def1f8;
  border-color: #08b4de;
  color: #006f8e;
  transform: translateY(-1px);
}

.preset-btn:active {
  transform: scale(0.97);
}

.preset-btn.active {
  background: linear-gradient(135deg, #08b4de, #008cb6);
  color: #ffffff;
  border-color: #008cb6;
  box-shadow: 0 2px 8px rgba(8, 180, 222, 0.35);
}

.calculator-form input[type="number"] {
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.calculator-form input[type="number"]:focus {
  border-color: #08b4de;
  box-shadow: 0 0 0 3px rgba(8, 180, 222, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .calc-num-animate {
    transition: none !important;
    animation: none !important;
  }
  .calc-num-animate.is-num-up,
  .calc-num-animate.is-num-down {
    animation: none !important;
  }
}

.reduce-motion .calc-num-animate {
  transition: none !important;
  animation: none !important;
}

/* ==========================================================================
   LIVING ANIMATIONS & AMBIENT MOTION SUITE (אנימציות חיות ותנועה אצילית)
   ========================================================================== */

/* 1. אטמוספירת אור מרחפת (Floating Ambient Light Orbs) */
@keyframes heroOrbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-35px, 45px) scale(1.14); }
  100% { transform: translate(30px, -25px) scale(0.96); }
}

@keyframes heroOrbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(45px, -40px) scale(1.18); }
  100% { transform: translate(-30px, 30px) scale(0.92); }
}

@keyframes ctaOrbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-45px, 35px) scale(1.2); }
  100% { transform: translate(35px, -30px) scale(0.94); }
}

/* 2. ריחוף עדין למספרי שלבים ואייקונים (Gentle Floating Physics) */
@keyframes floatStepNum {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

@keyframes floatBadgeLive {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* 3. שובל ברק מתכתי בלוחיות רישוי ובכרטיסים (Specular Reflection Sheen) */
@keyframes plateSheenSweep {
  0%, 65% { left: -140%; }
  100% { left: 190%; }
}

@keyframes cardShimmerGlint {
  0% { left: -130%; }
  100% { left: 170%; }
}

/* 4. נצנוץ הדרגתי לטקסט מודגש (Text Gradient Iridescent Shimmer) */
@keyframes textGradientShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* 5. נקודת רדאר פועמת חיה (Living Radar Pulse Beacon) */
@keyframes livingBeaconPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(8, 180, 222, 0.7), 0 0 8px rgba(8, 180, 222, 0.5);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 7px rgba(8, 180, 222, 0), 0 0 14px rgba(8, 180, 222, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(8, 180, 222, 0), 0 0 8px rgba(8, 180, 222, 0.5);
  }
}

@keyframes livingBeaconGreen {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.75), 0 0 8px rgba(37, 211, 102, 0.5);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0), 0 0 14px rgba(37, 211, 102, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 0 8px rgba(37, 211, 102, 0.5);
  }
}

/* 6. קו זרימת אנרגיה מונפש בשלבי ההתקדמות (Step Energy Flow Pulse) */
@keyframes stepFlowBeam {
  0% { transform: scaleX(0); opacity: 0.3; transform-origin: right; }
  50% { transform: scaleX(1); opacity: 1; transform-origin: right; }
  51% { transform-origin: left; }
  100% { transform: scaleX(0); opacity: 0.3; transform-origin: left; }
}

/* מחלקות עזר לאנימציות חיות */
.live-dot-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #08b4de;
  vertical-align: middle;
  margin-inline-end: 6px;
  animation: livingBeaconPulse 1.8s ease-in-out infinite;
}

.live-dot-green {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  vertical-align: middle;
  margin-inline-end: 6px;
  animation: livingBeaconGreen 1.8s ease-in-out infinite;
}

.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(8, 180, 222, 0.3);
  box-shadow: 0 4px 14px rgba(13, 46, 83, 0.05);
  font-size: 12.5px;
  font-weight: 700;
  color: #066d8e;
  margin-bottom: 14px;
  animation: floatBadgeLive 4s ease-in-out infinite;
}




/* ==========================================================================
   INTERACTIVE AUDIO SYSTEM & SOUND CONTROLS (מערכת צלילים אינטראקטיבית)
   ========================================================================== */

/* 1. כפתור שמע צף בפינת המסך (Floating Sound Toggle) - מבוטל */
.floating-sound-btn,
#sound-toggle-floating {
  display: none !important;
}

.floating-sound-btn:hover {
  background: #08b4de;
  color: #ffffff;
  border-color: #08b4de;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 22px rgba(8, 180, 222, 0.35);
}

.floating-sound-btn:active {
  transform: scale(0.95);
}

.floating-sound-btn .sound-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-sound-btn .sound-icon-wrap svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2.1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.floating-sound-btn .sound-icon-off {
  display: none;
}

.floating-sound-btn.is-muted .sound-icon-on {
  display: none;
}

.floating-sound-btn.is-muted .sound-icon-off {
  display: block;
}

.floating-sound-btn.is-muted {
  color: #8fa3b7;
  background: rgba(255, 255, 255, 0.85);
  border-color: #dbe7ef;
}

.floating-sound-btn.is-muted:hover {
  background: #0d2e53;
  color: #ffffff;
  border-color: #0d2e53;
  box-shadow: 0 8px 20px rgba(13, 46, 83, 0.25);
}

/* פסי אקולייזר גלי קול מונפשים (Sound Wave Bars) */
.sound-wave-bars {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 9px;
}

.sound-wave-bars i {
  display: block;
  width: 2px;
  height: 3px;
  background: #08b4de;
  border-radius: 1px;
  transition: height 0.15s ease, background 0.2s;
}

.floating-sound-btn:hover .sound-wave-bars i {
  background: #ffffff;
}

.floating-sound-btn:not(.is-muted) .sound-wave-bars i:nth-child(1) {
  animation: soundBarBounce 1.2s ease-in-out infinite 0.1s;
}
.floating-sound-btn:not(.is-muted) .sound-wave-bars i:nth-child(2) {
  animation: soundBarBounce 1.2s ease-in-out infinite 0.35s;
}
.floating-sound-btn:not(.is-muted) .sound-wave-bars i:nth-child(3) {
  animation: soundBarBounce 1.2s ease-in-out infinite 0.2s;
}

.floating-sound-btn.is-muted .sound-wave-bars {
  display: none;
}

@keyframes soundBarBounce {
  0%, 100% { height: 3px; }
  50% { height: 9px; }
}

/* טולטיפ לכפתור שמע */
.floating-sound-btn .sound-tooltip {
  position: absolute;
  inset-inline-start: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  background: #0d2e53;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 4px 14px rgba(13, 46, 83, 0.2);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
}

.floating-sound-btn:hover .sound-tooltip,
.floating-sound-btn:focus-visible .sound-tooltip {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* 3. טוסט חיווי שמע עליון (Floating Sound Toast) */
.sound-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px) scale(0.92);
  background: rgba(13, 46, 83, 0.94);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  z-index: 1000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  pointer-events: none;
  direction: rtl;
}

.sound-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}


/* התאמה למובייל */
@media (max-width: 600px) {
  .floating-sound-btn {
    width: 40px;
    height: 40px;
  }

  .floating-sound-btn .sound-icon-wrap svg {
    width: 17px;
    height: 17px;
  }

}
