/* Emir Design source-faithful runtime support */

:root {
  --marquee-animation-state: running;
}

/* Keep marquees running even when Wix left state paused */
[data-marquee-animation],
[data-marquee-animation] *,
.Qbdehy[data-marquee-animation] {
  --marquee-animation-state: running;
}

html[data-marquee-clicked="paused"] {
  --marquee-animation-state: paused;
}

@media (hover: hover) and (pointer: fine) {
  #comp-lxz21rc2,
  #comp-lxz21rgh,
  #comp-lxz21rkg,
  #comp-lxz21roe {
    transition: 0.3s ease-in-out, visibility;
  }

  #comp-lxz21rc2 > .inner-box,
  #comp-lxz21rgh > .inner-box,
  #comp-lxz21rkg > .inner-box,
  #comp-lxz21roe > .inner-box {
    transition: background-color 0.3s ease-in-out;
  }

  #comp-lxz21rc2:hover > .inner-box,
  #comp-lxz21rgh:hover > .inner-box,
  #comp-lxz21rkg:hover > .inner-box,
  #comp-lxz21roe:hover > .inner-box {
    background-color: rgb(255, 196, 238);
  }
}

/* Hero H1 entrance — force play (Wix ships these as paused) */
#comp-lxxcthvv3 {
  --motion-scale: 0.28;
  --motion-translate-x: 0%;
  --motion-translate-y: -36%;
  animation-delay: 1.8s, 1.8s !important;
}

#comp-lxxcthvv3:not([data-motion-enter="done"]),
#comp-lxxcthvv3[data-arch-motion="running"]:not([data-motion-enter="done"]) {
  animation-play-state: running !important;
}

/* Generic: unpause common motion enter animations when we mark them */
[data-arch-motion="running"]:not([data-motion-enter="done"]) {
  animation-play-state: running !important;
}

/* Supplied Emir Design identity. The compact header treatment crops the exact
   supplied lockup to its emblem; the complete lockup is retained in the footer. */
header .emir-logo-image {
  opacity: 0 !important;
}

.emir-header-brand {
  position: absolute;
  z-index: 10000;
  top: 58px;
  left: max(24px, calc((100vw - 1440px) / 2 + 40px));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e7cc87;
  text-decoration: none;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.emir-header-mark {
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 2px;
  background: #07192c;
  box-shadow: 0 6px 18px rgba(3, 15, 27, 0.18);
}

.emir-header-mark img {
  display: block;
  width: 112px;
  max-width: none;
  height: auto;
  transform: translate(-27px, -5px);
}

.emir-header-name {
  font: 600 14px/1.1 Arial, Helvetica, sans-serif;
}

.emir-footer-brand,
.emir-footer-brand a {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  width: auto !important;
  height: 48px !important;
  color: #e7cc87;
  text-decoration: none;
}

.emir-footer-mark {
  display: block;
  width: 48px;
  height: 48px;
  overflow: hidden;
}

.emir-footer-mark img {
  display: block;
  width: 94px;
  max-width: none;
  height: auto;
  transform: translate(-23px, -4px);
}

.emir-footer-name {
  font: 600 15px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
}

/* The Wix gallery endpoint is unavailable in the static replica. This stage
   uses the same four source images and measured live transform envelope. */
.emir-hero-root {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  overflow: hidden !important;
  isolation: isolate;
}

#comp-lxxcmmb0.emir-hero-motion {
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transition: transform 500ms ease-out, filter 500ms ease-out;
  will-change: transform;
}

/* The circular consultation control is a separate Wix grid item and must
   remain above the transformed gallery's new stacking context. */
#comp-mnn1ti9j {
  z-index: 5 !important;
}

.emir-hero-root > :not(.emir-hero-stage) {
  visibility: hidden !important;
  pointer-events: none !important;
}

.emir-hero-stage {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: transparent;
}

.emir-hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: none;
  pointer-events: none;
}

.emir-hero-slide.is-active,
.emir-hero-slide.is-entering {
  z-index: 2;
  opacity: 1;
}

.emir-hero-slide.is-leaving {
  z-index: 3;
  opacity: 1;
  transform: translate3d(-100%, 0, 0);
  transition: transform 900ms cubic-bezier(0.45, 0, 0.55, 1);
}

.emir-hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Preserve the live title's single-line, oversized treatment. */
#comp-lxxcthvv3 h1,
#comp-lxxcthvv3 h1 .wixui-rich-text__text {
  font-size: clamp(24px, 5.2vw, 75px) !important;
  line-height: 0.8 !important;
  white-space: nowrap;
}

/* Pointer events — Wix often sets none on c1dmp containers */
#c1dmp .c1dmp-container,
#c1dmp .c1dmp-container a,
#c1dmp .c1dmp-container button,
#c1dmp .c1dmp-container [role="button"],
.c1dmp-container {
  pointer-events: auto !important;
}

/* Gallery / header interactivity */
#pro-gallery-comp-lxxcmmb0,
#comp-lxxcmmb0,
[data-hook="hamburger-overlay-root"],
.wixui-hamburger-open-button,
.wixui-hamburger-close-button,
nav a,
header a,
header button {
  pointer-events: auto !important;
}

/* Hamburger overlay visibility */
[data-hook="hamburger-overlay-root"][data-arch-menu-open="true"],
[data-hook="hamburger-overlay-root"][data-visible="true"],
body[data-arch-menu-open="true"] [data-hook="hamburger-overlay-root"] {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 99999 !important;
}

[data-hook="hamburger-overlay-dialog"][data-arch-menu-open="true"],
body[data-arch-menu-open="true"] [data-hook="hamburger-overlay-dialog"] {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

[data-hook="hamburger-overlay-root"]:not([data-arch-menu-open="true"]):not([data-visible="true"]) {
  /* leave default Wix hidden state unless we open it */
}

body[data-arch-menu-open="true"] {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --marquee-animation-state: paused;
  }

  #comp-lxxcthvv3:not([data-motion-enter="done"]),
  [data-arch-motion="running"] {
    animation: none !important;
  }

  #comp-lxxcmmb0.emir-hero-motion,
  .emir-hero-stage {
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }

  .emir-hero-slide {
    transition: none !important;
    filter: none !important;
  }
}

@media (max-width: 750px) {
  .emir-header-brand {
    top: 48px;
    left: 16px;
    gap: 7px;
  }

  .emir-header-mark {
    width: 44px;
    height: 44px;
  }

  .emir-header-mark img {
    width: 86px;
    transform: translate(-21px, -4px);
  }

  .emir-header-name {
    font-size: 11px;
  }

  .emir-hero-root {
    min-height: 0;
  }

  #comp-lxxcthvv3 h1,
  #comp-lxxcthvv3 h1 .wixui-rich-text__text {
    font-size: clamp(17px, 5.2vw, 31px) !important;
    line-height: 0.8 !important;
    white-space: nowrap;
  }
}
