/* O&Y Studio — Premium FX Layer (v1)
   Cinematic, motion-rich upgrade — package auras, work rail, contact glass,
   scroll-driven section atmosphere. GPU-friendly, RTL-native, reduced-motion safe.
*/

/* ============================================================
   UNIFIED PAGE BACKGROUND — same look as the contact section,
   applied to the entire site. Body gets the deep navy base + two
   large drifting orbs (purple + cyan) + faint dotted grid.
   Particles drift on top. Every section is just transparent.
   ============================================================ */
html, body { background: #050510 !important; }

/* Layer 1 (z:-2): solid base + faint dotted grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(rgba(120,90,255,0.05) 1px, transparent 1px),
    #050510;
  background-size: 32px 32px, 64px 64px, auto;
  background-position: 0 0, 16px 16px, 0 0;
  pointer-events: none;
  z-index: -2;
}
/* Layer 2 (z:-1): ambient drifting orbs (the soft purple+cyan glow
   that gave the contact card its premium feel) */
body::after {
  content: "";
  position: fixed;
  inset: -10% 0 -10% 0;
  background:
    radial-gradient(520px 520px at 85% 12%, rgba(120, 90, 255, 0.32), transparent 65%),
    radial-gradient(460px 460px at 12% 78%, rgba(80, 200, 255, 0.26), transparent 65%),
    radial-gradient(360px 360px at 50% 50%, rgba(255, 140, 200, 0.10), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
  animation: ambient-shift 28s ease-in-out infinite alternate;
  transform: translate3d(0, var(--orb-y, 0px), 0);
  will-change: transform;
}
@keyframes ambient-shift {
  0%   { transform: translate3d(0, var(--orb-y, 0px), 0); }
  100% { transform: translate3d(-30px, calc(var(--orb-y, 0px) + 20px), 0); }
}

/* On phones lift the canvas significantly: lighter base, much brighter
   orbs centered inside the viewport, brighter dotted grid. */
@media (max-width: 880px) {
  html, body { background: #12132a !important; }
  body::after {
    background:
      radial-gradient(380px 380px at 75% 18%, rgba(160, 130, 255, 0.85), transparent 65%),
      radial-gradient(340px 340px at 25% 80%, rgba(110, 220, 255, 0.70), transparent 65%),
      radial-gradient(300px 300px at 50% 50%, rgba(255, 170, 220, 0.30), transparent 70%);
    filter: blur(34px);
  }
  body::before {
    background:
      radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
      radial-gradient(rgba(170,140,255,0.10) 1px, transparent 1px),
      #15163a;
    background-size: 26px 26px, 52px 52px, auto;
    background-position: 0 0, 13px 13px, 0 0;
  }
}

/* Strip every section's own background so the unified canvas shows */
.hero-stage,
.page,
.queue-strip,
.contact-wrap,
.maintenance,
.cta-strip,
footer.site,
.marquee {
  background: transparent !important;
}

/* The contact section now uses the same global background as
   everywhere else — kill its local orbs/grid/particles since they're
   now part of the body. Keep only the top hairline divider. */
.contact-wrap::before,
.contact-wrap::after,
.contact-grid,
.contact-particles {
  display: none !important;
}
.contact-wrap {
  background:
    linear-gradient(90deg, transparent 6%, rgba(255,255,255,0.18) 50%, transparent 94%) top center / 100% 1px no-repeat,
    transparent !important;
}

/* Footer: just a hairline above + transparent bg */
footer.site {
  background:
    linear-gradient(90deg, transparent 6%, rgba(255,255,255,0.12) 50%, transparent 94%) top center / 100% 1px no-repeat,
    transparent !important;
  border-top: none !important;
}

/* ============================================================
   NO HARD DIVIDERS — chapters dissolve into each other instead
   ============================================================ */
.ribbon-dark { border-bottom: none !important; }

/* Suppress every per-section hairline I had earlier */
#work::after, #pricing::after, #process::after,
.queue-strip::before, .queue-strip::after,
.maintenance::before,
.contact-wrap, footer.site {
  /* keep transparent backgrounds set above */
}
#work::after, #pricing::after, #process::after,
.queue-strip::before, .queue-strip::after,
.maintenance::before {
  display: none !important;
}
.contact-wrap, footer.site {
  background: transparent !important;
}

/* SOFT SECTION GLOW — each chapter blooms in as it scrolls into view.
   It's a tall radial halo behind the section that fades up on entry,
   creating a smooth atmospheric handoff instead of a hard line. */
.hero-stage,
.page,
.queue-strip,
.maintenance,
.contact-wrap {
  position: relative;
}
.page::before,
.queue-strip::before,
.maintenance::before,
.contact-wrap::before {
  content: "";
  position: absolute;
  top: -180px; left: 0; right: 0;
  height: 360px;
  background: radial-gradient(ellipse 70% 100% at 50% 50%,
    rgba(120,90,255,0.18), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 1100ms cubic-bezier(.22,.61,.36,1),
              transform 1100ms cubic-bezier(.22,.61,.36,1);
}
.page.in-view::before,
.queue-strip.in-view::before,
.maintenance.in-view::before,
.contact-wrap.in-view::before { opacity: 1; transform: translateY(0) scale(1); }

/* Alternate the bloom hue per section so the journey feels varied */
#work::before        { background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(120,90,255,0.20), transparent 60%) !important; }
.queue-strip::before { background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(80,200,255,0.18), transparent 60%) !important; }
#pricing::before     { background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(255,140,200,0.18), transparent 60%) !important; }
.maintenance::before { background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(120,90,255,0.18), transparent 60%) !important; }
#process::before     { background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(80,200,255,0.18), transparent 60%) !important; }
.contact-wrap::before{ background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(255,140,200,0.20), transparent 60%) !important; }

/* TOP SCROLL PROGRESS — subtle gradient line growing as you scroll */
.scroll-progress-line {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: var(--scroll-pct, 0%);
  background: linear-gradient(90deg, #b9a6ff, #4ec5ff, #ffb4e0);
  z-index: 99;
  box-shadow: 0 0 12px rgba(120,90,255,0.6);
  transition: width 80ms linear;
  pointer-events: none;
}

/* CURSOR LIGHT — a soft orb that follows the mouse on desktop */
@media (hover: hover) and (pointer: fine) {
  .cursor-light {
    position: fixed;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle,
      rgba(120,90,255,0.18),
      rgba(80,200,255,0.10) 35%,
      transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 400ms ease;
    opacity: 0;
    will-change: transform;
    mix-blend-mode: screen;
  }
  .cursor-light.on { opacity: 1; }
}
@media (hover: none), (pointer: coarse) {
  .cursor-light { display: none; }
}

/* Strip every section's own background so the unified canvas shows */
.hero-stage,
.page,
.queue-strip,
.contact-wrap,
.maintenance,
.cta-strip,
footer.site,
.marquee {
  background: transparent !important;
}

/* Topbar: blend into the unified canvas — no panel, no border. When the
   user scrolls down, add a very light frosted overlay just for legibility. */
.topbar {
  background: transparent !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.topbar.scrolled {
  background: rgba(10, 10, 24, 0.32) !important;
  backdrop-filter: blur(10px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(140%) !important;
}

/* Topbar pill nav: tone down to fit the calm canvas */
.topbar .nav-center {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}
.topbar .nav-center a.current {
  background: rgba(255,255,255,0.92) !important;
}

/* The contact section keeps its hairline divider only — no fill */
.contact-wrap {
  background:
    linear-gradient(90deg, transparent 6%, rgba(255,255,255,0.18) 50%, transparent 94%) top center / 100% 1px no-repeat,
    transparent !important;
}
/* Footer gets a subtle top hairline + transparent bg */
footer.site {
  background:
    linear-gradient(90deg, transparent 6%, rgba(255,255,255,0.12) 50%, transparent 94%) top center / 100% 1px no-repeat,
    transparent !important;
  border-top: none !important;
}

/* ============================================================
   GLOBAL FLOATING PARTICLES — fixed starfield drifting upward
   visible across the entire site (behind all content, above body bg)
   ============================================================ */
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-particles span {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  filter: blur(0.4px);
  box-shadow: 0 0 10px rgba(255,255,255,0.55), 0 0 22px rgba(120,90,255,0.4);
  animation: bg-particle-drift 18s linear infinite;
}
/* 60 particles, scattered across the viewport with NEGATIVE
   animation-delays so they're already mid-flight on page load —
   the screen feels populated from the very first paint. */
.bg-particles span:nth-child(1)  { left: 3%;  bottom: -10px; width: 3px; height: 3px; animation-delay: -2s;    animation-duration: 22s; }
.bg-particles span:nth-child(2)  { left: 7%;  bottom: -10px; width: 2px; height: 2px; animation-delay: -8s;    animation-duration: 18s; background: #b9a6ff; }
.bg-particles span:nth-child(3)  { left: 11%; bottom: -10px; width: 4px; height: 4px; animation-delay: -14s;   animation-duration: 26s; }
.bg-particles span:nth-child(4)  { left: 15%; bottom: -10px; width: 2px; height: 2px; animation-delay: -5s;    animation-duration: 20s; background: #4ec5ff; }
.bg-particles span:nth-child(5)  { left: 19%; bottom: -10px; width: 3px; height: 3px; animation-delay: -11s;   animation-duration: 24s; }
.bg-particles span:nth-child(6)  { left: 23%; bottom: -10px; width: 2px; height: 2px; animation-delay: -17s;   animation-duration: 19s; background: #b9a6ff; }
.bg-particles span:nth-child(7)  { left: 27%; bottom: -10px; width: 5px; height: 5px; animation-delay: -3.5s;  animation-duration: 28s; }
.bg-particles span:nth-child(8)  { left: 31%; bottom: -10px; width: 2px; height: 2px; animation-delay: -9.5s;  animation-duration: 21s; background: #4ec5ff; }
.bg-particles span:nth-child(9)  { left: 35%; bottom: -10px; width: 3px; height: 3px; animation-delay: -15.5s; animation-duration: 23s; }
.bg-particles span:nth-child(10) { left: 39%; bottom: -10px; width: 2px; height: 2px; animation-delay: -6.5s;  animation-duration: 17s; background: #b9a6ff; }
.bg-particles span:nth-child(11) { left: 43%; bottom: -10px; width: 4px; height: 4px; animation-delay: -12.5s; animation-duration: 25s; }
.bg-particles span:nth-child(12) { left: 47%; bottom: -10px; width: 2px; height: 2px; animation-delay: -18s;   animation-duration: 20s; background: #4ec5ff; }
.bg-particles span:nth-child(13) { left: 51%; bottom: -10px; width: 3px; height: 3px; animation-delay: -4s;    animation-duration: 22s; }
.bg-particles span:nth-child(14) { left: 55%; bottom: -10px; width: 2px; height: 2px; animation-delay: -10s;   animation-duration: 19s; background: #b9a6ff; }
.bg-particles span:nth-child(15) { left: 59%; bottom: -10px; width: 4px; height: 4px; animation-delay: -16s;   animation-duration: 27s; }
.bg-particles span:nth-child(16) { left: 63%; bottom: -10px; width: 2px; height: 2px; animation-delay: -7s;    animation-duration: 21s; background: #4ec5ff; }
.bg-particles span:nth-child(17) { left: 67%; bottom: -10px; width: 3px; height: 3px; animation-delay: -13s;   animation-duration: 24s; }
.bg-particles span:nth-child(18) { left: 71%; bottom: -10px; width: 2px; height: 2px; animation-delay: -1s;    animation-duration: 18s; background: #b9a6ff; }
.bg-particles span:nth-child(19) { left: 75%; bottom: -10px; width: 4px; height: 4px; animation-delay: -8.2s;  animation-duration: 26s; }
.bg-particles span:nth-child(20) { left: 79%; bottom: -10px; width: 2px; height: 2px; animation-delay: -14.2s; animation-duration: 20s; background: #4ec5ff; }
.bg-particles span:nth-child(21) { left: 83%; bottom: -10px; width: 2px; height: 2px; animation-delay: -19s;   animation-duration: 23s; }
.bg-particles span:nth-child(22) { left: 87%; bottom: -10px; width: 3px; height: 3px; animation-delay: -5.5s;  animation-duration: 25s; background: #b9a6ff; }
.bg-particles span:nth-child(23) { left: 91%; bottom: -10px; width: 2px; height: 2px; animation-delay: -11.2s; animation-duration: 19s; }
.bg-particles span:nth-child(24) { left: 95%; bottom: -10px; width: 4px; height: 4px; animation-delay: -16.5s; animation-duration: 28s; background: #4ec5ff; }
.bg-particles span:nth-child(25) { left: 5%;  bottom: -10px; width: 2px; height: 2px; animation-delay: -2.5s;  animation-duration: 21s; }
.bg-particles span:nth-child(26) { left: 13%; bottom: -10px; width: 3px; height: 3px; animation-delay: -9.2s;  animation-duration: 24s; background: #b9a6ff; }
.bg-particles span:nth-child(27) { left: 21%; bottom: -10px; width: 2px; height: 2px; animation-delay: -14.8s; animation-duration: 22s; background: #4ec5ff; }
.bg-particles span:nth-child(28) { left: 29%; bottom: -10px; width: 5px; height: 5px; animation-delay: -6s;    animation-duration: 29s; }
.bg-particles span:nth-child(29) { left: 37%; bottom: -10px; width: 2px; height: 2px; animation-delay: -20s;   animation-duration: 18s; background: #b9a6ff; }
.bg-particles span:nth-child(30) { left: 45%; bottom: -10px; width: 3px; height: 3px; animation-delay: -4.2s;  animation-duration: 26s; }
.bg-particles span:nth-child(31) { left: 53%; bottom: -10px; width: 2px; height: 2px; animation-delay: -10.5s; animation-duration: 20s; background: #4ec5ff; }
.bg-particles span:nth-child(32) { left: 61%; bottom: -10px; width: 3px; height: 3px; animation-delay: -16.2s; animation-duration: 23s; }
.bg-particles span:nth-child(33) { left: 69%; bottom: -10px; width: 2px; height: 2px; animation-delay: -7.5s;  animation-duration: 19s; background: #b9a6ff; }
.bg-particles span:nth-child(34) { left: 77%; bottom: -10px; width: 4px; height: 4px; animation-delay: -13.5s; animation-duration: 27s; }
.bg-particles span:nth-child(35) { left: 85%; bottom: -10px; width: 2px; height: 2px; animation-delay: -3s;    animation-duration: 21s; background: #4ec5ff; }
.bg-particles span:nth-child(36) { left: 93%; bottom: -10px; width: 3px; height: 3px; animation-delay: -8.8s;  animation-duration: 25s; background: #b9a6ff; }
.bg-particles span:nth-child(37) { left: 9%;  bottom: -10px; width: 2px; height: 2px; animation-delay: -15s;   animation-duration: 18s; }
.bg-particles span:nth-child(38) { left: 17%; bottom: -10px; width: 4px; height: 4px; animation-delay: -1.5s;  animation-duration: 28s; background: #b9a6ff; }
.bg-particles span:nth-child(39) { left: 25%; bottom: -10px; width: 2px; height: 2px; animation-delay: -7.8s;  animation-duration: 20s; }
.bg-particles span:nth-child(40) { left: 33%; bottom: -10px; width: 3px; height: 3px; animation-delay: -12.8s; animation-duration: 24s; background: #4ec5ff; }
.bg-particles span:nth-child(41) { left: 41%; bottom: -10px; width: 5px; height: 5px; animation-delay: -18.5s; animation-duration: 26s; }
.bg-particles span:nth-child(42) { left: 49%; bottom: -10px; width: 2px; height: 2px; animation-delay: -4.8s;  animation-duration: 19s; background: #b9a6ff; }
.bg-particles span:nth-child(43) { left: 57%; bottom: -10px; width: 3px; height: 3px; animation-delay: -10.8s; animation-duration: 22s; }
.bg-particles span:nth-child(44) { left: 65%; bottom: -10px; width: 2px; height: 2px; animation-delay: -17.5s; animation-duration: 21s; background: #4ec5ff; }
.bg-particles span:nth-child(45) { left: 73%; bottom: -10px; width: 4px; height: 4px; animation-delay: -2.8s;  animation-duration: 25s; }
.bg-particles span:nth-child(46) { left: 81%; bottom: -10px; width: 2px; height: 2px; animation-delay: -8.5s;  animation-duration: 17s; background: #b9a6ff; }
.bg-particles span:nth-child(47) { left: 89%; bottom: -10px; width: 3px; height: 3px; animation-delay: -14.5s; animation-duration: 23s; }
.bg-particles span:nth-child(48) { left: 97%; bottom: -10px; width: 2px; height: 2px; animation-delay: -6.2s;  animation-duration: 20s; background: #4ec5ff; }
.bg-particles span:nth-child(49) { left: 6%;  bottom: -10px; width: 4px; height: 4px; animation-delay: -19.5s; animation-duration: 28s; }
.bg-particles span:nth-child(50) { left: 14%; bottom: -10px; width: 2px; height: 2px; animation-delay: -3.8s;  animation-duration: 18s; background: #b9a6ff; }
.bg-particles span:nth-child(51) { left: 22%; bottom: -10px; width: 3px; height: 3px; animation-delay: -11.8s; animation-duration: 24s; }
.bg-particles span:nth-child(52) { left: 30%; bottom: -10px; width: 2px; height: 2px; animation-delay: -16.8s; animation-duration: 19s; background: #4ec5ff; }
.bg-particles span:nth-child(53) { left: 38%; bottom: -10px; width: 5px; height: 5px; animation-delay: -7.2s;  animation-duration: 27s; }
.bg-particles span:nth-child(54) { left: 46%; bottom: -10px; width: 2px; height: 2px; animation-delay: -13.2s; animation-duration: 21s; background: #b9a6ff; }
.bg-particles span:nth-child(55) { left: 54%; bottom: -10px; width: 4px; height: 4px; animation-delay: -1.8s;  animation-duration: 26s; }
.bg-particles span:nth-child(56) { left: 62%; bottom: -10px; width: 3px; height: 3px; animation-delay: -9.8s;  animation-duration: 22s; background: #4ec5ff; }
.bg-particles span:nth-child(57) { left: 70%; bottom: -10px; width: 2px; height: 2px; animation-delay: -15.8s; animation-duration: 20s; background: #b9a6ff; }
.bg-particles span:nth-child(58) { left: 78%; bottom: -10px; width: 3px; height: 3px; animation-delay: -5.2s;  animation-duration: 23s; }
.bg-particles span:nth-child(59) { left: 86%; bottom: -10px; width: 4px; height: 4px; animation-delay: -12.2s; animation-duration: 25s; background: #4ec5ff; }
.bg-particles span:nth-child(60) { left: 94%; bottom: -10px; width: 2px; height: 2px; animation-delay: -18.8s; animation-duration: 19s; background: #b9a6ff; }

@keyframes bg-particle-drift {
  0%   { transform: translate3d(0, 0, 0) scale(0.5); opacity: 0; }
  6%   { opacity: 0.95; }
  94%  { opacity: 0.95; }
  100% { transform: translate3d(40px, -110vh, 0) scale(1); opacity: 0; }
}

/* Lift every primary content surface above the particle layer */
body { position: relative; }
.topbar, .hero-stage, .page, .queue-strip, .maintenance,
.contact-wrap, footer.site, .cta-strip, .marquee {
  position: relative;
  z-index: 1;
}
.menu-drawer, .menu-backdrop { z-index: 100; }

@media (prefers-reduced-motion: reduce) {
  .bg-particles { display: none; }
}
@media (max-width: 880px) {
  /* On phones keep ~30 particles (half the desktop density) for battery */
  .bg-particles span:nth-child(n+31) { display: none; }
}

/* ============================================================
   GLOBAL ATMOSPHERE — section ambient orbs (drift behind content)
   ============================================================ */
.page { position: relative; }
.page::before,
.page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.35;
  will-change: transform, opacity;
}
.page::before {
  width: 520px; height: 520px;
  top: -120px; right: -120px;
  background: radial-gradient(circle, rgba(120, 90, 255, 0.55), transparent 70%);
  animation: orb-drift-a 22s ease-in-out infinite alternate;
}
.page::after {
  width: 460px; height: 460px;
  bottom: -160px; left: -100px;
  background: radial-gradient(circle, rgba(80, 200, 255, 0.42), transparent 70%);
  animation: orb-drift-b 28s ease-in-out infinite alternate;
}
.page > * { position: relative; z-index: 1; }

@keyframes orb-drift-a {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-60px, 80px, 0) scale(1.12); }
}
@keyframes orb-drift-b {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(80px, -50px, 0) scale(1.18); }
}

/* Hero ambient was redundant with the global body::after orbs and made
   the hero look slightly different from the rest of the page — disabled
   so atmosphere is uniform top-to-bottom. */
.hero-stage::before { display: none !important; }

/* Replace the legacy scroll-dot with a proper scroll cue */
.hero-stage .scroll-dot { display: none !important; }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: #d8d8e8;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease, box-shadow 280ms ease;
  animation: scroll-cue-bob 2.2s cubic-bezier(.45,.05,.55,.95) infinite;
}
.scroll-cue::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120,90,255,0.35), transparent 70%);
  opacity: 0;
  transition: opacity 320ms ease;
  z-index: -1;
}
.scroll-cue:hover {
  background: rgba(120,90,255,0.16);
  border-color: rgba(185,166,255,0.55);
  color: #fff;
  box-shadow: 0 0 24px rgba(120,90,255,0.45);
}
.scroll-cue:hover::before { opacity: 1; }
.scroll-cue-arrow {
  width: 18px;
  height: 18px;
  animation: scroll-cue-arrow 2.2s cubic-bezier(.45,.05,.55,.95) infinite;
}
@keyframes scroll-cue-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}
@keyframes scroll-cue-arrow {
  0%, 100% { transform: translateY(0);    opacity: 0.8; }
  50%      { transform: translateY(2px);  opacity: 1; }
}

@media (max-width: 880px) {
  .scroll-cue {
    bottom: 24px;
    width: 38px; height: 38px;
  }
  .scroll-cue-arrow { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue, .scroll-cue-arrow { animation: none !important; }
}
@keyframes hero-breath {
  0%   { opacity: 0.7; }
  100% { opacity: 1; }
}

/* Allow the hero's bottom bloom to bleed into the next section.
   The site.css overflow:hidden was clipping it; clip the floating
   thumbnails on their own container instead. */
.hero-stage { overflow: visible !important; }
.float-thumbs { overflow: hidden; }

/* CTA pills get a soft glow on hover */
.hero-cta-row .btn-pill {
  position: relative;
  overflow: visible;
}
.hero-cta-row .btn-pill::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 1920px;
  background: linear-gradient(135deg, rgba(120,90,255,0.6), rgba(80,200,255,0.6));
  filter: blur(14px);
  opacity: 0;
  z-index: -1;
  transition: opacity 300ms ease;
}
.hero-cta-row .btn-pill:hover::after { opacity: 0.85; }

/* ============================================================
   PRICING — premium auras, gradient borders, featured glow
   ============================================================ */
.pricing { position: relative; }
.pricing-grid {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
  border-radius: 0;
}

/* Card base — wrap each card in a subtle glow + gradient border on hover */
.price-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(120,90,255,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
  z-index: 0;
}
.price-card > * { position: relative; z-index: 1; }
.price-card:hover::before { opacity: 1; }

/* Conic-gradient border-glow on hover */
.price-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--ang, 0deg),
    rgba(120,90,255,0) 0deg,
    rgba(120,90,255,0.8) 80deg,
    rgba(80,200,255,0.8) 160deg,
    rgba(255,140,200,0.6) 240deg,
    rgba(120,90,255,0) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
  z-index: 2;
  animation: price-spin 6s linear infinite;
}
.price-card:hover::after { opacity: 0.75; }

@property --ang {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes price-spin {
  to { --ang: 360deg; }
}

/* Floating orbs around the pricing section */
.pricing::before,
.pricing::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.5;
  z-index: 0;
}
.pricing::before {
  width: 380px; height: 380px;
  top: 10%; left: -60px;
  background: radial-gradient(circle, rgba(120,90,255,0.5), transparent 70%);
  animation: orb-drift-a 18s ease-in-out infinite alternate;
}
.pricing::after {
  width: 340px; height: 340px;
  bottom: 5%; right: -40px;
  background: radial-gradient(circle, rgba(255,140,200,0.4), transparent 70%);
  animation: orb-drift-b 24s ease-in-out infinite alternate;
}
.pricing-grid { position: relative; z-index: 1; }

.pricing-grid-4 { background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent); }

/* 2×2 grid layout for the four service tiers — compact sizing */
.pricing-grid-2x2 {
  grid-template-columns: repeat(2, 1fr) !important;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  max-width: 1080px;
  margin: 0 auto;
}
.pricing-grid-2x2 .price-card {
  padding: 26px 22px 22px !important;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pricing-grid-2x2 .price-card:nth-child(2n) { border-right: none; }
.pricing-grid-2x2 .price-card:nth-last-child(-n+2) { border-bottom: none; }

/* Tighter typography inside the 2×2 cards */
.pricing-grid-2x2 .tier-num { font-size: 10px; margin-bottom: 14px; }
.pricing-grid-2x2 .tier-name { font-size: 24px !important; margin-bottom: 6px !important; }
.pricing-grid-2x2 .tier-deck { font-size: 13px !important; line-height: 1.45 !important; margin-bottom: 18px !important; }
.pricing-grid-2x2 .tier-price {
  font-size: 36px !important;
  letter-spacing: -0.5px !important;
  line-height: 1 !important;
  margin-bottom: 4px !important;
}
.pricing-grid-2x2 .tier-price .sub { font-size: 11px !important; }
.pricing-grid-2x2 .tier-price.tier-price-custom { font-size: 26px !important; }
.pricing-grid-2x2 .tier-meta {
  font-size: 10px !important;
  padding-bottom: 14px !important;
  margin-bottom: 14px !important;
}
.pricing-grid-2x2 ul { margin-bottom: 18px !important; }
.pricing-grid-2x2 ul li {
  font-size: 13px !important;
  line-height: 1.4 !important;
  padding: 7px 0 !important;
  grid-template-columns: 14px 1fr !important;
  gap: 10px !important;
}
.pricing-grid-2x2 ul li::before { font-size: 11px !important; }
.pricing-grid-2x2 .tier-cta {
  padding: 8px 16px !important;
  font-size: 12px !important;
}

@media (max-width: 720px) {
  .pricing-grid-2x2 { grid-template-columns: 1fr !important; max-width: 480px; }
  .pricing-grid-2x2 .price-card {
    padding: 22px 18px 18px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  .pricing-grid-2x2 .price-card:last-child { border-bottom: none !important; }
  .pricing-grid-2x2 .tier-name { font-size: 22px !important; }
  .pricing-grid-2x2 .tier-price { font-size: 32px !important; }
  .pricing-grid-2x2 .tier-price.tier-price-custom { font-size: 22px !important; }
}

/* Custom-tier price treatment */
.tier-price-custom {
  font-size: 36px !important;
  letter-spacing: -0.5px !important;
  line-height: 1.1 !important;
  background: linear-gradient(135deg, #b9a6ff, #4ec5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tier-price-custom .sub {
  -webkit-text-fill-color: #888;
  background: none;
}

/* "מותאם אישית" flag — distinct from "הכי מבוקש" */
.price-card .flag.flag-custom {
  background: linear-gradient(135deg, #7e6bff, #4ec5ff);
  color: #fff !important;
}

/* ============================================================
   BRANDS MARQUEE — sits at the bottom of the hero, above the fold
   ============================================================ */
.brands-marquee {
  position: absolute;
  left: 0; right: 0;
  bottom: 70px;
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  z-index: 2;
  /* Soft fade on each edge */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.brands-marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  white-space: nowrap;
  flex-wrap: nowrap;
  width: max-content;
  min-width: max-content;
  will-change: transform;
  /* Animation is JS-driven via rAF (see premium.js).
     CSS keyframe path kept as a noop fallback for prefers-reduced-motion. */
}
.brands-marquee-track:hover { animation-play-state: paused; }
.brands-item {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  flex: 0 0 auto;            /* never shrink — keeps natural width */
  font-family: Georgia, 'Times New Roman', 'Cardo', serif;
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 28px);
  letter-spacing: 0;
  color: #c4c4d4;
  font-weight: 400;
  opacity: 0.78;
  transition: color 200ms ease, opacity 200ms ease;
  white-space: nowrap;
}
.brands-item:hover { color: #fff; opacity: 1; }

.brands-sep {
  display: inline-block;
  flex: 0 0 4px;             /* fixed-width separator, never shrinks */
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6b6b85;
  opacity: 0.5;
}

@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* On mobile, take the marquee OUT of the hero overlay and let it flow
   below it as its own band — gives it room to breathe and ensures the
   animation actually runs on a tight viewport. */
/* On mobile, take the marquee OUT of the hero overlay and let it flow
   below it as its own band — gives it room to breathe and ensures the
   animation actually runs on a tight viewport. */
@media (max-width: 880px) {
  .brands-marquee {
    position: static;
    bottom: auto;
    margin: 36px 0 0;
    padding: 14px 0;
    width: 100%;
    overflow: hidden;
  }
  .brands-marquee-track {
    gap: 28px;
  }
  .brands-item { gap: 28px; font-size: 15px; }
  .brands-sep { width: 3px; height: 3px; }
}
@media (max-width: 480px) {
  .brands-marquee { margin-top: 28px; }
  .brands-item { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .brands-marquee-track { animation: none; }
}

/* ============================================================
   ABOUT — two-column: logo right, text left (RTL)
   ============================================================ */
.about-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}
.about-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: stretch;
}

/* Logo card (right column in RTL) */
.about-logo-side { display: flex; flex-direction: column; }
.about-logo-card {
  position: relative;
  isolation: isolate;
  background: linear-gradient(160deg, rgba(20,20,28,0.7), rgba(8,8,16,0.85));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.about-logo-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--ang, 0deg),
    rgba(120,90,255,0) 0deg,
    rgba(120,90,255,0.85) 90deg,
    rgba(80,200,255,0.75) 200deg,
    rgba(255,140,200,0.6) 300deg,
    rgba(120,90,255,0) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.6;
  animation: price-spin 12s linear infinite;
  pointer-events: none;
  z-index: 1;
}
.about-logo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(120,90,255,0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.about-logo-card > * { position: relative; z-index: 2; }
.about-logo-mark {
  width: 48px !important;
  height: 48px !important;
  font-size: 30px;
  margin-bottom: 14px;
  box-shadow: 0 0 30px rgba(255,255,255,0.25);
}
.about-logo-wordmark {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -3px;
  color: #fff;
  font-weight: 400;
  font-style: italic;
}
.about-logo-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #b8b8c8;
  margin-top: 4px;
}
.about-logo-meta {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888;
}

/* Text side (left column in RTL) */
.about-text-side {
  display: flex;
  align-items: center;
  padding: 8px 0;
}
.about-text-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--font-serif);
  font-size: 16.5px;
  line-height: 1.65;
  color: #d8d8e8;
  text-align: right;
}
.about-text-stack p { margin: 0; }
.about-text-stack p strong {
  color: #fff;
  font-weight: 600;
  font-family: var(--font-sans);
}
.about-text-stack p em {
  font-style: italic;
  background: linear-gradient(135deg, #b9a6ff, #4ec5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 880px) {
  .about-section { padding: 24px 16px 40px; }
  .about-split { grid-template-columns: 1fr; gap: 28px; }
  .about-logo-card { aspect-ratio: 4 / 3; padding: 32px; }
  .about-logo-mark { width: 40px !important; height: 40px !important; font-size: 24px; margin-bottom: 10px; }
  .about-logo-wordmark { font-size: clamp(56px, 14vw, 88px); }
  .about-text-side { font-size: 15.5px; }
}

/* ============================================================
   QUEUE / AVAILABILITY — premium glass card
   ============================================================ */
.queue-strip {
  padding: 32px 24px !important;
  background: transparent !important;
  border: none !important;
}
.queue-inner-card {
  position: relative;
  isolation: isolate;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 28px !important;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(20,20,28,0.7), rgba(8,8,16,0.85));
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  overflow: hidden;
}
.queue-inner-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--ang, 0deg),
    rgba(37,211,102,0) 0deg,
    rgba(37,211,102,0.6) 60deg,
    rgba(120,90,255,0.5) 180deg,
    rgba(80,200,255,0.5) 270deg,
    rgba(37,211,102,0) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.5;
  animation: price-spin 11s linear infinite;
  pointer-events: none;
  z-index: 1;
}
.queue-inner-card > * { position: relative; z-index: 2; }

/* Pulsing live indicator with two ripple rings */
.queue-pulse {
  position: relative;
  width: 16px; height: 16px;
  display: inline-flex;
  flex-shrink: 0;
}
.queue-pulse .queue-dot {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 12px rgba(37,211,102,0.9);
}
.queue-pulse .queue-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(37,211,102,0.7);
  opacity: 0;
  animation: queue-ripple 2.4s ease-out infinite;
}
.queue-pulse .queue-ring-2 { animation-delay: 1.2s; }
@keyframes queue-ripple {
  0%   { transform: scale(0.5); opacity: 0.85; }
  90%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

.queue-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.queue-text { display: flex; flex-direction: column; gap: 4px; }
.queue-label {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #d8d8e8;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.queue-live {
  background: linear-gradient(135deg, #25D366, #4ec5ff);
  color: #fff;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.queue-count-row {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.queue-count {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff, #b9a6ff 60%, #4ec5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.queue-cap {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #b8b8c8;
  letter-spacing: 0;
}

.queue-right {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-right: 0;
  flex: 1;
  justify-content: flex-end;
}
.queue-meta {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 360px;
}
.queue-cta-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: #e0e0ee;
  direction: rtl;
  text-align: right;
}
.queue-stats {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  direction: rtl;
}
.queue-stats span {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0;
  color: #c8c8d8;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.queue-stats strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  background: linear-gradient(135deg, #b9a6ff, #4ec5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.queue-stats em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0;
  color: #a0a0b4;
  font-weight: 400;
}
.queue-stats .dot-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.queue-cta {
  background: #25D366 !important;
  color: #000 !important;
  border-color: #25D366 !important;
  font-weight: 600;
  padding: 12px 22px !important;
  font-size: 14px !important;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  transition: transform 200ms ease, box-shadow 240ms ease, background 200ms linear !important;
}
.queue-cta:hover {
  background: #1ebe5a !important;
  border-color: #1ebe5a !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37,211,102,0.55);
}

@media (max-width: 880px) {
  .queue-inner-card { gap: 16px; padding: 18px 18px !important; }
  .queue-right { justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
  .queue-meta { max-width: 100%; }
  .queue-count { font-size: 32px; }
  .queue-cta-text { font-size: 12.5px; }
}

/* ============================================================
   MAINTENANCE — compact strip under the services grid
   ============================================================ */
.maint-strip {
  max-width: 1080px;
  margin: 28px auto 60px;
  padding: 24px 24px 22px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(20,20,28,0.6), rgba(8,8,16,0.78));
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.maint-strip::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--ang, 0deg),
    rgba(80,200,255,0) 0deg,
    rgba(80,200,255,0.6) 90deg,
    rgba(120,90,255,0.5) 200deg,
    rgba(80,200,255,0) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.45;
  animation: price-spin 9s linear infinite;
  pointer-events: none;
  z-index: 1;
}
.maint-strip > * { position: relative; z-index: 2; }

.maint-strip-head {
  text-align: center;
  margin-bottom: 18px;
  direction: rtl;
}
.maint-strip-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9994c8;
  margin-bottom: 8px;
}
.maint-strip-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: #fff;
  margin: 0 0 6px;
  font-weight: 400;
}
.maint-strip-title em {
  font-style: italic;
  background: linear-gradient(135deg, #b9a6ff, #4ec5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.maint-strip-deck {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.5;
  color: #b8b8c8;
  max-width: 60ch;
  margin: 0 auto;
}

.maint-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.maint-strip-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 280ms cubic-bezier(.22,.61,.36,1), border-color 280ms ease, background 280ms ease;
  direction: rtl;
}
.maint-strip-card:hover {
  transform: translateY(-2px);
  border-color: rgba(120,90,255,0.4);
  background: rgba(120,90,255,0.06);
}
.maint-strip-featured {
  background: linear-gradient(160deg, rgba(120,90,255,0.12), rgba(80,200,255,0.08));
  border-color: rgba(120,90,255,0.35);
}
.maint-strip-featured:hover {
  background: linear-gradient(160deg, rgba(120,90,255,0.18), rgba(80,200,255,0.12));
  border-color: rgba(120,90,255,0.55);
}

.maint-strip-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cdcfe5;
  margin-bottom: 4px;
}
.maint-strip-tag .badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  padding: 2px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7e6bff, #4ec5ff);
  color: #fff;
}
.maint-strip-price {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 4px 0 10px;
}
.maint-strip-price span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-right: 6px;
}
.maint-strip-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.maint-strip-card ul li {
  font-family: var(--font-serif);
  font-size: 12.5px;
  line-height: 1.45;
  color: #d0d0e0;
  padding: 4px 0;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 8px;
  align-items: baseline;
}
.maint-strip-card ul li::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 11px;
  color: #7e6bff;
}

@media (max-width: 720px) {
  .maint-strip { margin: 20px auto 40px; padding: 18px 14px 16px; }
  .maint-strip-grid { grid-template-columns: 1fr; gap: 10px; }
  .maint-strip-title { font-size: 18px; }
  .maint-strip-deck { font-size: 12px; }
}

/* Custom card gets its own subtle accent */
.price-card-custom { isolation: isolate; }
.price-card-custom::before {
  background: radial-gradient(circle at 50% 0%, rgba(80,200,255,0.10), transparent 60%) !important;
}
.price-card-custom::after {
  background: conic-gradient(
    from var(--ang, 0deg),
    rgba(80,200,255,0) 0deg,
    rgba(80,200,255,0.85) 90deg,
    rgba(120,90,255,0.75) 200deg,
    rgba(80,200,255,0) 360deg
  ) !important;
}

/* "הכי מבוקש" featured card — distinct stronger glow */
.price-card:has(.flag) {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent);
}
.price-card:has(.flag)::before {
  background: radial-gradient(circle at 50% 0%, rgba(255,200,100,0.14), transparent 60%);
  opacity: 0.7;
}
.price-card:has(.flag)::after {
  opacity: 0.45;
  background: conic-gradient(
    from var(--ang, 0deg),
    rgba(255,200,100,0) 0deg,
    rgba(255,200,100,0.9) 80deg,
    rgba(255,140,200,0.8) 200deg,
    rgba(255,200,100,0) 360deg
  );
}
.price-card:has(.flag):hover::after { opacity: 0.95; }

/* Hover lift */
.price-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.02);
}

/* Maintenance cards — subtle aura too */
.maint-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 400ms cubic-bezier(.22,.61,.36,1), box-shadow 400ms ease;
}
.maint-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--ang, 0deg),
    rgba(80,200,255,0) 0deg,
    rgba(80,200,255,0.7) 90deg,
    rgba(120,90,255,0.6) 200deg,
    rgba(80,200,255,0) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
  z-index: 2;
  animation: price-spin 8s linear infinite;
}
.maint-card:hover::before { opacity: 0.7; }
.maint-card:hover { transform: translateY(-4px); }
.maint-card.featured {
  box-shadow: 0 20px 60px rgba(255,255,255,0.08), 0 0 0 1px rgba(255,255,255,0.1);
}
.maint-card.featured:hover {
  box-shadow: 0 30px 80px rgba(255,255,255,0.16), 0 0 0 1px rgba(255,255,255,0.2);
}

/* ============================================================
   WORK RAIL — RTL horizontal scroll
   ============================================================ */
.showroom-rail {
  position: relative;
  padding: 32px 0 80px;
}
.showroom-rail-viewport {
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 12px 8px 24px;
  margin: 0 -8px;
  cursor: grab;
}
.showroom-rail-viewport.scrubbing {
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.showroom-rail-viewport::-webkit-scrollbar { display: none; }
.showroom-rail-viewport.dragging { cursor: grabbing; user-select: none; }

.showroom-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  gap: 28px;
  grid-template-columns: none !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 8px;
  width: max-content;
}

.showroom-row .work-card {
  flex: 0 0 auto;
  width: clamp(280px, 32vw, 420px);
  scroll-snap-align: center;
}

/* Cards inside the horizontal rail must always be visible — the global
   IntersectionObserver observes the window viewport, so cards that
   are scrolled horizontally off-screen never trigger and stay
   opacity:0. Force them visible regardless of the .reveal state. */
.showroom-row .work-card.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: transform 300ms cubic-bezier(.22,.61,.36,1) !important;
}

.showroom-row .work-card .media {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}

/* For cards that want the FULL screenshot visible (no crop) */
.showroom-row .work-card-contain .media {
  background: #fff;
}
.showroom-row .work-card-contain .media img {
  object-fit: contain !important;
  width: 100%;
  height: 100%;
}

/* Hover glow on work cards */
.showroom-row .work-card .media::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(120,90,255,0.6), rgba(80,200,255,0.6));
  filter: blur(20px);
  opacity: 0;
  z-index: -1;
  transition: opacity 400ms ease;
}
.showroom-row .work-card:hover .media::before { opacity: 0.7; }
.showroom-row .work-card:hover { transform: translateY(-6px); }

/* Rail controls — sit BELOW the row of cards, centered, not over them */
.rail-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 22px auto 0;
}
.rail-arrow {
  position: relative;
  z-index: 5;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(160deg, rgba(20,20,28,0.7), rgba(8,8,16,0.85));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, opacity 300ms ease, border-color 200ms ease, box-shadow 240ms ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.rail-arrow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  padding: 1px;
  background: conic-gradient(
    from var(--ang, 0deg),
    rgba(120,90,255,0) 0deg,
    rgba(120,90,255,0.7) 120deg,
    rgba(80,200,255,0.6) 240deg,
    rgba(120,90,255,0) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}
.rail-arrow:hover {
  background: linear-gradient(160deg, rgba(120,90,255,0.18), rgba(80,200,255,0.12));
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(120,90,255,0.4);
}
.rail-arrow:hover::before { opacity: 1; }
.rail-arrow:active { transform: translateY(0); }
/* Arrows stay enabled — at boundaries scrollBy is a no-op silently */
.rail-arrow svg { width: 22px; height: 22px; }

/* Rail progress indicator — also acts as a scrubber to navigate the rail */
.rail-progress {
  position: relative;
  height: 28px;            /* tall hit area for easy grabbing */
  margin: 28px auto 0;
  max-width: 420px;
  cursor: pointer;
  touch-action: none;       /* prevent the page from stealing the touch */
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  align-items: center;
}
.rail-progress::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset;
  transition: height 200ms ease, background 200ms ease;
}
.rail-progress:hover::before,
.rail-progress.dragging::before {
  height: 4px;
  background: rgba(255,255,255,0.14);
}
.rail-progress-bar {
  position: absolute;
  top: 50%; right: 0;
  height: 3px;
  width: 0%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(255,255,255,0.6), #ffffff);
  border-radius: 999px;
  transition: width 320ms cubic-bezier(.22,.61,.36,1), height 200ms ease;
  box-shadow: 0 0 8px rgba(255,255,255,0.45);
  pointer-events: none;
}
.rail-progress:hover .rail-progress-bar,
.rail-progress.dragging .rail-progress-bar { height: 4px; }
/* Draggable handle — sits at the leading edge of the filled bar */
.rail-progress-handle {
  position: absolute;
  top: 50%;
  /* In RTL the bar grows from right to left, so the leading edge is at left:auto, right: var(--w) */
  right: 0%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(50%, -50%);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.5), 0 0 14px rgba(255,255,255,0.7);
  transition: transform 220ms cubic-bezier(.22,.61,.36,1), right 320ms cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.rail-progress:hover .rail-progress-handle { transform: translate(50%, -50%) scale(1.18); }
.rail-progress.dragging .rail-progress-handle { transform: translate(50%, -50%) scale(1.25); transition: transform 80ms ease, right 0ms; }
.rail-progress.dragging .rail-progress-bar { transition: width 0ms; }

/* ============================================================
   "ADD YOUR PROJECT" CTA CARD
   ============================================================ */
.work-card-cta {
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.work-card-cta .media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0a0a0a 0%, #050505 100%);
  border: 1.5px dashed rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
  transition: border-color 400ms ease, background 400ms ease;
}
.work-card-cta:hover .media {
  border-color: rgba(120,90,255,0.7);
  background: linear-gradient(135deg, rgba(120,90,255,0.08), rgba(80,200,255,0.06));
}

.cta-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* Pulsing orb behind plus */
.cta-orb {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120,90,255,0.45), rgba(80,200,255,0.2) 50%, transparent 75%);
  filter: blur(20px);
  animation: cta-orb-pulse 3.4s ease-in-out infinite;
}
@keyframes cta-orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.2); opacity: 1; }
}

.cta-plus {
  position: relative;
  width: 64px;
  height: 64px;
  z-index: 2;
}
.cta-plus span {
  position: absolute;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 24px rgba(255,255,255,0.6), 0 0 48px rgba(120,90,255,0.6);
}
.cta-plus span:first-child {
  top: 50%; left: 0; right: 0; height: 4px;
  transform: translateY(-50%);
}
.cta-plus span:last-child {
  left: 50%; top: 0; bottom: 0; width: 4px;
  transform: translateX(-50%);
  transition: transform 500ms cubic-bezier(.22,.61,.36,1);
}
.work-card-cta:hover .cta-plus span:last-child {
  transform: translateX(-50%) rotate(90deg);
}

/* Shimmer sweep */
.cta-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  pointer-events: none;
}
.work-card-cta:hover .cta-shimmer {
  animation: shimmer-sweep 1.2s ease forwards;
}
@keyframes shimmer-sweep {
  to { transform: translateX(100%); }
}

.work-card-cta .meta h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.2px;
  transition: color 200ms ease;
}
.work-card-cta:hover .meta h3 {
  background: linear-gradient(135deg, #fff, #b9a6ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.work-card-cta .meta .tags { color: #b8b8b8; }
.work-card-cta .meta .year {
  font-size: 22px;
  color: #b9a6ff;
  transition: transform 300ms ease;
}
.work-card-cta:hover .meta .year { transform: translateX(-6px); }

/* ============================================================
   CONTACT PAGE — premium glass form redesign (contact.html)
   ============================================================ */
.contact-wrap {
  position: relative;
  /* Semi-transparent so the global particles drift through, with a soft
     gradient hairline marking the section as a distinct chapter. */
  background:
    linear-gradient(90deg, transparent 6%, rgba(255,255,255,0.18) 50%, transparent 94%) top center / 100% 1px no-repeat,
    rgba(5, 5, 16, 0.78) !important;
  color: #fff !important;
  overflow: hidden;
  margin-top: 96px;
  padding-top: 56px !important;
}
@media (max-width: 880px) {
  .contact-wrap { margin-top: 56px; padding-top: 36px !important; }
  .contact-wrap { background-position: top center; background-size: calc(100% - 32px) 1px; }
}
.contact-wrap::before,
.contact-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.55;
  z-index: 0;
}
.contact-wrap::before {
  width: 520px; height: 520px;
  top: -120px; right: -120px;
  background: radial-gradient(circle, rgba(120, 90, 255, 0.6), transparent 70%);
  animation: orb-drift-a 22s ease-in-out infinite alternate;
}
.contact-wrap::after {
  width: 460px; height: 460px;
  bottom: -160px; left: -100px;
  background: radial-gradient(circle, rgba(80, 200, 255, 0.5), transparent 70%);
  animation: orb-drift-b 28s ease-in-out infinite alternate;
}
.contact-inner { position: relative; z-index: 1; }
.contact-inner h1 { color: #fff !important; }
.contact-inner h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #b9a6ff, #4ec5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-inner .t-deck { color: #b8b8c8 !important; }
.contact-inner .side-meta { border-top-color: rgba(255,255,255,0.18) !important; }
.contact-inner .side-meta .row {
  color: #d8d8e8 !important;
  border-bottom-color: rgba(255,255,255,0.06) !important;
}
.contact-inner .side-meta .row span:last-child { color: #9994c8 !important; }

/* The form itself becomes a glass card with animated conic-gradient halo */
.contact-wrap form#contact-form {
  background: linear-gradient(160deg, rgba(20,20,28,0.78), rgba(8,8,16,0.92));
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px 36px 32px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 1px 0 rgba(255,255,255,0.08) inset;
  position: relative;
  z-index: 1;
  isolation: isolate;
}
.contact-wrap form#contact-form::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--ang, 0deg),
    rgba(120,90,255,0) 0deg,
    rgba(120,90,255,0.95) 90deg,
    rgba(80,200,255,0.85) 200deg,
    rgba(255,140,200,0.7) 300deg,
    rgba(120,90,255,0) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.55;
  animation: price-spin 9s linear infinite;
  pointer-events: none;
  z-index: 1;
}
.contact-wrap form#contact-form::after {
  /* Subtle radial sheen behind fields */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 0% 0%, rgba(120,90,255,0.15), transparent 50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
.contact-wrap form#contact-form > * { position: relative; z-index: 2; }
.contact-wrap form#contact-form .field { margin-bottom: 18px; position: relative; }
.contact-wrap form#contact-form .field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9994c8 !important;
  margin-bottom: 8px;
}
.contact-wrap form#contact-form .field input,
.contact-wrap form#contact-form .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  font-family: var(--font-sans);
  font-size: 15px;
  color: #fff !important;
  outline: none;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.contact-wrap form#contact-form .field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}
.contact-wrap form#contact-form .field input::placeholder,
.contact-wrap form#contact-form .field textarea::placeholder { color: #5a5a6a !important; }
.contact-wrap form#contact-form .field input:hover,
.contact-wrap form#contact-form .field textarea:hover {
  border-color: rgba(255,255,255,0.18) !important;
  background: rgba(255,255,255,0.04) !important;
}
.contact-wrap form#contact-form .field input:focus,
.contact-wrap form#contact-form .field textarea:focus {
  border-color: rgba(120,90,255,0.7) !important;
  background: rgba(120,90,255,0.06) !important;
  box-shadow: 0 0 0 4px rgba(120,90,255,0.12), 0 0 24px rgba(120,90,255,0.18);
}

.contact-wrap form#contact-form .submit-pill {
  width: 100%;
  margin-top: 8px;
  border-radius: 14px !important;
  border: none !important;
  background: linear-gradient(135deg, #7e6bff 0%, #4ec5ff 100%) !important;
  color: #fff !important;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  text-transform: none;
  padding: 18px 24px !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 300ms ease;
  box-shadow: 0 14px 40px rgba(120,90,255,0.35), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.contact-wrap form#contact-form .submit-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.25) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 700ms ease;
}
.contact-wrap form#contact-form .submit-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(120,90,255,0.55), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.contact-wrap form#contact-form .submit-pill:hover::after { transform: translateX(100%); }
.contact-wrap form#contact-form .submit-pill:active { transform: translateY(0); }
.contact-wrap form#contact-form .submit-pill:disabled { opacity: 0.7; cursor: wait; transform: none; }

@media (max-width: 720px) {
  .contact-wrap form#contact-form { padding: 26px 18px 22px; border-radius: 16px; }
}

/* ============================================================
   CONTACT — extra premium gadgets: status badge, particles, grid,
   trust badges
   ============================================================ */

/* Faint dotted grid floating in the background of the section */
.contact-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    radial-gradient(rgba(120,90,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px;
  background-position: 0 0, 16px 16px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  opacity: 0.7;
}

/* Floating particles */
.contact-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.contact-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  filter: blur(0.5px);
  box-shadow: 0 0 12px rgba(255,255,255,0.7), 0 0 24px rgba(120,90,255,0.5);
  animation: particle-drift 9s linear infinite;
}
.contact-particles span:nth-child(1) { left: 8%;  top: 90%; animation-delay: 0s;   animation-duration: 11s; }
.contact-particles span:nth-child(2) { left: 22%; top: 95%; animation-delay: 1.6s; animation-duration: 9s;  background: #b9a6ff; }
.contact-particles span:nth-child(3) { left: 36%; top: 88%; animation-delay: 3.2s; animation-duration: 13s; }
.contact-particles span:nth-child(4) { left: 52%; top: 96%; animation-delay: 4.8s; animation-duration: 10s; background: #4ec5ff; }
.contact-particles span:nth-child(5) { left: 66%; top: 92%; animation-delay: 0.6s; animation-duration: 12s; }
.contact-particles span:nth-child(6) { left: 78%; top: 96%; animation-delay: 2.4s; animation-duration: 9.5s; background: #b9a6ff; }
.contact-particles span:nth-child(7) { left: 88%; top: 90%; animation-delay: 5.2s; animation-duration: 11.5s; }
.contact-particles span:nth-child(8) { left: 14%; top: 86%; animation-delay: 6.4s; animation-duration: 10.5s; background: #4ec5ff; }
@keyframes particle-drift {
  0%   { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate3d(20px, -480px, 0) scale(1); opacity: 0; }
}

/* "זמינים עכשיו" status badge */
.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.28);
  color: #b8f3d0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  direction: rtl;
  position: relative;
  isolation: isolate;
}
.contact-status .dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 12px rgba(37,211,102,0.8);
  flex-shrink: 0;
}
.contact-status .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.45;
  animation: status-pulse 1.8s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50%      { transform: scale(2.2); opacity: 0; }
}

/* Trust badges row — 3 small premium cards */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 28px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(160deg, rgba(20,20,32,0.6), rgba(10,10,18,0.7));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: transform 280ms cubic-bezier(.22,.61,.36,1), border-color 280ms ease;
}
.trust-badge::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(120,90,255,0.5), rgba(80,200,255,0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}
.trust-badge:hover { transform: translateY(-3px); }
.trust-badge:hover::before { opacity: 1; }
.trust-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(120,90,255,0.2), rgba(80,200,255,0.18));
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: #b9a6ff;
  flex-shrink: 0;
}
.trust-icon svg { width: 18px; height: 18px; }
.trust-text { display: flex; flex-direction: column; line-height: 1.3; }
.trust-text strong {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.trust-text span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #9994c8;
  text-transform: uppercase;
}

/* The headline em (gradient italic accent) */
.contact-inner h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #b9a6ff, #4ec5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

@media (max-width: 720px) {
  .trust-badges { grid-template-columns: 1fr; gap: 10px; }
  .trust-badge { padding: 10px 12px; }
  .contact-status { font-size: 10px; padding: 6px 12px; }
}

/* ============================================================
   IN-PAGE CONTACT FORM (legacy single-page; kept for reuse)
   ============================================================ */
.contact-section { position: relative; padding: 32px 0 80px; }

.contact-form-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
}
.contact-form-wrap::before {
  content: "";
  position: absolute;
  inset: -40px -40px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(120,90,255,0.28), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(80,200,255,0.22), transparent 50%);
  filter: blur(40px);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
  animation: hero-breath 10s ease-in-out infinite alternate;
}

.contact-form {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, rgba(20,20,28,0.72), rgba(8,8,12,0.85));
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 44px 44px 36px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 1px 0 rgba(255,255,255,0.08) inset;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}
.contact-form .field { margin-bottom: 0; position: relative; }
.contact-form .field:nth-child(6),
.contact-form .field:has(textarea),
.contact-form .submit-pill { grid-column: 1 / -1; }

.contact-form .field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9994c8;
  margin-bottom: 8px;
}

.contact-form .field input,
.contact-form .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.contact-form .field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}
.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder { color: #5a5a6a; }
.contact-form .field input:hover,
.contact-form .field textarea:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}
.contact-form .field input:focus,
.contact-form .field textarea:focus {
  border-color: rgba(120,90,255,0.7);
  background: rgba(120,90,255,0.06);
  box-shadow: 0 0 0 4px rgba(120,90,255,0.12), 0 0 24px rgba(120,90,255,0.18);
}

.contact-form .submit-pill {
  width: 100%;
  margin-top: 6px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #7e6bff 0%, #4ec5ff 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  text-transform: none;
  padding: 18px 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 300ms ease;
  box-shadow: 0 14px 40px rgba(120,90,255,0.35), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.contact-form .submit-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.25) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 700ms ease;
}
.contact-form .submit-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(120,90,255,0.55), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.contact-form .submit-pill:hover::after { transform: translateX(100%); }
.contact-form .submit-pill:active { transform: translateY(0); }
.contact-form .submit-pill:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.contact-direct {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 36px auto 0;
  max-width: 760px;
}
.contact-direct-row { padding: 12px 0; }

@media (max-width: 720px) {
  .contact-form {
    grid-template-columns: 1fr;
    padding: 28px 20px 24px;
    border-radius: 16px;
  }
  .contact-form-wrap::before { inset: -20px -20px; }
}

/* ============================================================
   PROCESS — premium accordion (single column, expand on click)
   ============================================================ */
.process-accordion { padding: 24px 0 60px; }
.process-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.process-accordion-item {
  position: relative;
  isolation: isolate;
  background: linear-gradient(160deg, rgba(20,20,28,0.7), rgba(8,8,14,0.85));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 320ms ease, transform 320ms ease, box-shadow 320ms ease;
  /* override grid borders from base process-grid styles */
  padding: 0 !important;
}
/* Sweeping conic-gradient border glow */
.process-accordion-item::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--ang, 0deg),
    rgba(120,90,255,0) 0deg,
    rgba(120,90,255,0.85) 90deg,
    rgba(80,200,255,0.75) 200deg,
    rgba(120,90,255,0) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
  z-index: 2;
  animation: price-spin 7s linear infinite;
}
.process-accordion-item:hover::before,
.process-accordion-item.is-open::before { opacity: 0.85; }
.process-accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.process-accordion-item.is-open {
  border-color: rgba(120,90,255,0.35);
  box-shadow: 0 24px 60px rgba(120,90,255,0.18), 0 0 0 1px rgba(120,90,255,0.18) inset;
  background: linear-gradient(160deg, rgba(28,22,48,0.82), rgba(10,10,20,0.92));
}

/* Soft glow halo behind expanded item */
.process-accordion-item.is-open::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 50%, rgba(120,90,255,0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.step-header {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  text-align: right;
  font: inherit;
  position: relative;
  z-index: 1;
  transition: padding 280ms ease;
}
.step-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -1.5px;
  font-weight: 400;
  background: linear-gradient(135deg, #ffffff 0%, #b9a6ff 60%, #4ec5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  min-width: 64px;
  text-align: center;
  transition: transform 320ms cubic-bezier(.22,.61,.36,1);
}
.process-accordion-item:hover .step-num,
.process-accordion-item.is-open .step-num {
  transform: scale(1.08);
}
.step-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: #fff;
  font-weight: 400;
  margin: 0;
}
.step-chevron {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  position: relative;
  transition: background 280ms ease, border-color 280ms ease, transform 320ms cubic-bezier(.22,.61,.36,1);
}
.step-chevron::before,
.step-chevron::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transition: transform 320ms cubic-bezier(.22,.61,.36,1), opacity 280ms ease;
}
.step-chevron::before { /* horizontal */
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.step-chevron::after { /* vertical */
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.process-accordion-item.is-open .step-chevron {
  background: linear-gradient(135deg, #7e6bff 0%, #4ec5ff 100%);
  border-color: transparent;
  transform: rotate(180deg);
  box-shadow: 0 0 24px rgba(120,90,255,0.5);
}
.process-accordion-item.is-open .step-chevron::after { opacity: 0; }

/* Body collapse/expand using grid-rows trick (animatable) */
.step-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms cubic-bezier(.22,.61,.36,1);
  position: relative;
  z-index: 1;
}
.step-body-inner {
  overflow: hidden;
}
.process-accordion-item.is-open .step-body { grid-template-rows: 1fr; }

.step-body-inner p {
  margin: 0;
  padding: 0 28px 24px 28px;
  /* RTL alignment */
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.7;
  color: #d8d8e8;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 18px;
}

/* Reset legacy process-grid styles inside accordion */
.process-accordion .process-list .process-step {
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 16px;
}
.process-accordion .process-list .process-step:hover { background: linear-gradient(160deg, rgba(28,24,42,0.78), rgba(10,10,18,0.9)); }

/* Mobile tuning */
@media (max-width: 720px) {
  .step-header { padding: 18px 18px; gap: 14px; }
  .step-num { min-width: 50px; font-size: 32px; }
  .step-name { font-size: 17px; }
  .step-chevron { width: 30px; height: 30px; }
  .step-chevron::before { width: 12px; }
  .step-chevron::after  { height: 12px; }
  .step-body-inner p { padding: 16px 18px 20px 18px; font-size: 15px; }
}

/* ============================================================
   SCROLL CHOREOGRAPHY — section reveals via .in-view
   ============================================================ */
.why-card,
.process-step,
.maint-card,
.price-card,
.about-text-side > p,
.about-stat,
.contact-direct-row {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms cubic-bezier(.22,.61,.36,1), transform 800ms cubic-bezier(.22,.61,.36,1);
}
.in-view .why-card,
.in-view .process-step,
.in-view .maint-card,
.in-view .price-card,
.in-view .about-text-side > p,
.in-view .about-stat,
.in-view .contact-direct-row {
  opacity: 1;
  transform: translateY(0);
}
.in-view .why-card:nth-child(1),
.in-view .process-step:nth-child(1),
.in-view .price-card:nth-child(1),
.in-view .about-text-side > p:nth-child(1),
.in-view .about-stat:nth-child(1) { transition-delay: 80ms; }
.in-view .why-card:nth-child(2),
.in-view .process-step:nth-child(2),
.in-view .price-card:nth-child(2),
.in-view .about-text-side > p:nth-child(2),
.in-view .about-stat:nth-child(2) { transition-delay: 160ms; }
.in-view .why-card:nth-child(3),
.in-view .process-step:nth-child(3),
.in-view .price-card:nth-child(3) { transition-delay: 240ms; }
.in-view .why-card:nth-child(4),
.in-view .process-step:nth-child(4),
.in-view .price-card:nth-child(4) { transition-delay: 320ms; }
.in-view .process-step:nth-child(5) { transition-delay: 400ms; }
.in-view .process-step:nth-child(6) { transition-delay: 480ms; }

/* Centered ribbon variant */
.ribbon-dark.ribbon-center { justify-content: center; }
.ribbon-dark.ribbon-center .title { text-align: center; width: 100%; }

/* Breathing space + soft divider above the pricing section
   so it feels visually separate from the queue strip above */
#pricing {
  margin-top: 64px;
  padding-top: 24px;
}
#pricing::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 880px) {
  #pricing { margin-top: 40px; padding-top: 16px; }
  #pricing::after { left: 16%; right: 16%; }
}

/* Same separator above the Process section, and remove
   the line that sits below the title (border-bottom on ribbon) */
#process {
  margin-top: 64px;
  padding-top: 24px;
}
#process::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  pointer-events: none;
  z-index: 2;
}
#process > .ribbon-dark { border-bottom: none; }
@media (max-width: 880px) {
  #process { margin-top: 40px; padding-top: 16px; }
  #process::after { left: 16%; right: 16%; }
}

/* ============================================================
   GLOBAL SECTION RHYTHM
   Give every major section breathing room from the previous one
   and a soft top divider so the page reads as a sequence of
   distinct chapters, not a continuous slab.
   ============================================================ */

/* Hero → first section: dissolve into the unified canvas with a soft
   purple bloom (matches the per-chapter handoff used everywhere else) */
.hero-stage {
  padding-bottom: 80px !important;
}
.hero-stage::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -120px;
  width: 90vw;
  max-width: 1200px;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 60% 100% at 50% 50%,
    rgba(120,90,255,0.20),
    rgba(80,200,255,0.10) 45%,
    transparent 70%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  animation: hero-bleed 14s ease-in-out infinite alternate;
}
@keyframes hero-bleed {
  0%   { opacity: 0.7; transform: translateX(-50%) scale(1); }
  100% { opacity: 1;   transform: translateX(-50%) scale(1.06); }
}

/* The Work section bleeds into the hero — no spacing, no line above */
#work { margin-top: 0; padding-top: 0; }
#work > .ribbon-dark { border-bottom: none; }

/* ============================================================
   UNIFIED SECTION RHYTHM — equal spacing between every chapter
   ============================================================ */
#about,
.showroom-rail,
#pricing,
.maint-strip,
.queue-strip,
#process,
.contact-wrap {
  scroll-margin-top: 96px;
}

/* Override every previous per-section margin/padding rule with a single
   consistent rhythm. The first .page-wrap each chapter sits in carries
   the spacing. */
#about { margin-top: 80px !important; padding-top: 32px !important; padding-bottom: 32px !important; }
#about + .page,                                /* showroom right after about */
#pricing,
#process {
  margin-top: 80px !important;
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}
.queue-strip { margin: 80px 0 0 !important; padding: 32px 24px !important; }
.contact-wrap { margin-top: 80px !important; padding-top: 56px !important; padding-bottom: 56px !important; }

@media (max-width: 880px) {
  #about,
  #about + .page,
  #pricing,
  #process { margin-top: 56px !important; padding-top: 22px !important; padding-bottom: 22px !important; }
  .queue-strip { margin: 56px 0 0 !important; padding: 24px 16px !important; }
  .contact-wrap { margin-top: 56px !important; padding-top: 36px !important; padding-bottom: 36px !important; }
}

@media (max-width: 880px) {
  .hero-stage { padding-bottom: 48px !important; }
  .hero-stage::after { height: 220px; bottom: -80px; }
  #work { margin-top: 0; padding-top: 0; }
}

/* Make the queue/availability strip feel like its own band */
.queue-strip {
  margin-top: 80px;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
  position: relative;
  background: rgba(10, 10, 14, 0.55) !important;
}
.queue-strip::before,
.queue-strip::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  pointer-events: none;
}
.queue-strip::before { top: 0; }
.queue-strip::after  { bottom: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent); }
@media (max-width: 880px) {
  .queue-strip { margin-top: 48px; }
  .queue-strip::before, .queue-strip::after { left: 16%; right: 16%; }
}

/* Maintenance section gets a hairline above too */
#services > .page,
.maintenance {
  position: relative;
}
.maintenance {
  margin-top: 64px;
  padding-top: 28px !important;
}
.maintenance::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  pointer-events: none;
}
@media (max-width: 880px) {
  .maintenance { margin-top: 40px; }
  .maintenance::before { left: 16%; right: 16%; }
}

/* CTA strip and footer get their own breathing room */
.cta-strip {
  margin-top: 96px !important;
}
@media (max-width: 880px) {
  .cta-strip { margin-top: 60px !important; }
}

/* Hero headline — give descenders (g, y, p…) room so they aren't clipped */
.hero-headline.split-text { line-height: 1.18; }
.hero-headline.split-text .word { padding-bottom: 0.18em; }

/* Section title gradient sheen */
.ribbon-dark .title {
  background: linear-gradient(180deg, #ffffff 0%, #b8b8d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   FLOATING SCROLL CUE between sections (subtle gradient bleed)
   ============================================================ */
#why::before,
#about::before,
#services::before,
#work::before,
#process::before,
#contact::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120,90,255,0.5), rgba(80,200,255,0.5), transparent);
  z-index: 2;
  opacity: 0.6;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .page::before, .page::after,
  .pricing::before, .pricing::after,
  .hero-stage::before,
  .cta-orb, .cta-shimmer,
  .price-card::after, .maint-card::before,
  .contact-form-wrap::before {
    animation: none !important;
  }
  .why-card, .process-step, .maint-card, .price-card,
  .about-text-side > p, .about-stat, .contact-direct-row {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   MOBILE MENU — hamburger + slide-in drawer
   ============================================================ */
.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  position: relative;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
  padding: 0;
}
.menu-btn span {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 320ms cubic-bezier(.22,.61,.36,1), opacity 200ms ease, top 320ms cubic-bezier(.22,.61,.36,1);
}
.menu-btn span:nth-child(1) { transform: translate(-50%, calc(-50% - 6px)); }
.menu-btn span:nth-child(2) { /* middle */ }
.menu-btn span:nth-child(3) { transform: translate(-50%, calc(-50% + 6px)); }
.menu-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

.menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 90;
  opacity: 0;
  transition: opacity 320ms ease;
}
.menu-backdrop.open { opacity: 1; }

.menu-drawer {
  position: fixed;
  top: 0;
  /* RTL: drawer slides from the LEFT (opposite of brand on right) */
  left: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: linear-gradient(180deg, #0a0a14 0%, #050510 100%);
  border-right: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
  z-index: 100;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(-100%);
  transition: transform 360ms cubic-bezier(.22,.61,.36,1);
  overflow-y: auto;
}
.menu-drawer.open { transform: translateX(0); }

.menu-close {
  align-self: flex-end;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  position: relative;
  cursor: pointer;
}
.menu-close span {
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 1.5px;
  background: #fff;
  border-radius: 2px;
}
.menu-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.menu-close span:last-child  { transform: translate(-50%, -50%) rotate(-45deg); }

.menu-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.menu-nav a {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.3px;
  color: #fff;
  text-align: right;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 200ms ease, padding-right 280ms cubic-bezier(.22,.61,.36,1);
}
.menu-nav a:hover { color: #b9a6ff; padding-right: 8px; }
.menu-nav a:last-child { border-bottom: none; }

.menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}
.menu-actions .btn-pill {
  width: 100%;
  justify-content: center;
  padding: 14px 18px;
  font-size: 14px;
}
.menu-actions .menu-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-foot {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-align: right;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Hamburger: shown only on mobile, sits in the topbar between brand and actions */
.menu-btn { display: none; }
@media (max-width: 880px) {
  .menu-btn { display: inline-grid; place-items: center; }
}
body.menu-open { overflow: hidden; }

/* Mobile topbar: brand + actions on row 1, full nav on row 2 so all six
   links are reachable. Wraps cleanly on phones. */
@media (max-width: 880px) {
  .topbar {
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
  }
  .topbar .brand { flex-shrink: 0; order: 1; }
  .topbar .brand small { display: none; }
  .topbar .brand > span:not(.brand-bug) { font-size: 13px; }

  /* Hide the pill nav on mobile entirely */
  .topbar .nav-center { display: none !important; }

  .topbar .top-right { order: 2; gap: 6px; flex-shrink: 0; }
  .topbar .icon-btn { width: 30px; height: 30px; }
  .topbar .icon-btn svg { width: 13px; height: 13px; }
  .topbar .top-right .btn-pill {
    padding: 6px 12px;
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .topbar .brand > span:not(.brand-bug) { display: none; }
  .topbar .nav-center a { font-size: 10px; padding: 4px 8px; }
  .topbar .top-right .btn-pill { padding: 5px 10px; font-size: 10px; }
}

/* ============================================================
   MOBILE TUNING
   ============================================================ */
@media (max-width: 880px) {
  .page::before, .page::after { display: none; }
  .pricing::before, .pricing::after { display: none; }
  /* Smaller card so the peek of the next 1–2 cards is clearly visible
     — signals "there are more projects, swipe to see them". */
  .showroom-row .work-card { width: clamp(180px, 56vw, 240px); }
  .showroom-row { gap: 18px; }
  .showroom-rail { padding: 24px 0 60px; }
  .contact-form { padding: 24px 18px 22px; }
  .contact-form .field input,
  .contact-form .field textarea { font-size: 16px; } /* prevent iOS zoom */

  /* Smaller arrows on mobile */
  .rail-arrow { width: 44px; height: 44px; }
  .rail-arrow svg { width: 18px; height: 18px; }
  .rail-controls { gap: 12px; margin-top: 18px; }

  /* Swipe hint that fades after a few seconds — visual cue to scroll */
  .showroom-rail::after {
    content: "← החליקו לעוד פרויקטים";
    position: absolute;
    bottom: 76px;
    right: 16px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    pointer-events: none;
    animation: hint-fade 1.6s ease 1.2s forwards;
    direction: rtl;
  }
  @keyframes hint-fade {
    0%   { opacity: 0; transform: translateX(8px); }
    25%  { opacity: 1; transform: translateX(0); }
    75%  { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(-8px); }
  }
}

/* Override responsive.css that forces showroom to 1 col */
@media (max-width: 880px) {
  .showroom-row { grid-template-columns: none !important; display: flex !important; }
  .showroom-row .work-card .media { aspect-ratio: 16/10; }
}
