/* =========================================
   KKAFI — PAGE HERO BACKGROUNDS
   ========================================= */


/* BRAND / ABOUT HERO */
.page-hero--about {
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.55) 48%,
      rgba(0, 0, 0, 0.25) 100%
    ),
    var(--managed-hero-image, url("https://res.cloudinary.com/qdb78nxd/image/upload/v1793910459/kkafi/existing/7aa56bd56c7d799e9aaaa150c28572e4e503339b17a529369e5d4f075c7ed32d.png"));

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* PRODUCTS HERO */
.page-hero--sports {
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.55) 48%,
      rgba(0, 0, 0, 0.25) 100%
    ),
    var(--managed-hero-image, url("https://res.cloudinary.com/qdb78nxd/image/upload/v1793910876/kkafi/existing/d28bf75f1b5ccde5ba51fce06c235c886df1ab4e6f0b3b43c3bf93f00efa9434.png"));

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* CONTACT HERO */
.page-hero--contact {
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.55) 48%,
      rgba(0, 0, 0, 0.25) 100%
    ),
    url("https://res.cloudinary.com/qdb78nxd/image/upload/v1793910459/kkafi/existing/7aa56bd56c7d799e9aaaa150c28572e4e503339b17a529369e5d4f075c7ed32d.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* CONTACT VIDEO HERO */
.page-hero--contact-video {
  isolation: isolate;
  background: #0b0c0d;
}

.contact-hero__video {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.contact-hero__video[hidden], .guide-hero__video[hidden], .guide-hero__controls[hidden], .guide-hero__control[hidden] { display: none; }

.page-hero--contact-video::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .58) 49%, rgba(0, 0, 0, .24) 100%);
}

.page-hero--contact-video .container { z-index: 2; }
.page-hero--contact-video::after { z-index: 3; }

@media (max-width: 640px) {
  .contact-hero__video { object-position: 62% center; }
  .page-hero--contact-video::before { background: linear-gradient(180deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, .48)); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero__video { display: none; }
}

/* Guide hero carousel: two cinematic scenes with discreet bottom-right controls. */
.page-hero--guide-video { isolation: isolate; background: #101112; }
.guide-hero__media { position: absolute; z-index: 0; inset: 0; overflow: hidden; }
.guide-hero__track { display: flex; width: 300%; height: 100%; transform: translateX(0); transition: transform .62s cubic-bezier(.2,.76,.22,1); }
.guide-hero__video { display: block; width: 33.3333%; height: 100%; flex: 0 0 33.3333%; object-fit: cover; object-position: center; }
.page-hero--guide-video::before { display: block; z-index: 1; background: linear-gradient(90deg, rgba(8, 9, 11, .9) 0%, rgba(8, 9, 11, .66) 43%, rgba(8, 9, 11, .2) 76%, rgba(8, 9, 11, .12) 100%); opacity: 1; }
.page-hero--guide-video .container { z-index: 2; }
.guide-hero__controls { position: absolute; z-index: 3; right: clamp(16px, 3vw, 42px); bottom: 24px; display: flex; align-items: center; gap: 8px; }
.guide-hero__control { display: grid; width: 38px; height: 38px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: rgba(10,11,13,.58); color: #fff; backdrop-filter: blur(9px); }
.guide-hero__control:hover, .guide-hero__control:focus-visible { border-color: var(--red); background: var(--red); color: #fff; transform: translateY(-1px); }
.guide-hero__control svg { width: 18px; height: 18px; stroke-width: 2.25; }
.guide-hero__timer { --guide-progress: 0%; position: relative; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: conic-gradient(var(--red) var(--guide-progress), rgba(255,255,255,.3) 0); }
.guide-hero__timer::before { position: absolute; inset: 3px; content: ""; border-radius: inherit; background: rgba(10,11,13,.76); backdrop-filter: blur(9px); }
.guide-hero__timer span { position: relative; z-index: 1; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
@media (max-width: 640px) { .guide-hero__video { object-position: 62% center; } .page-hero--guide-video::before { background: linear-gradient(180deg, rgba(8, 9, 11, .78), rgba(8, 9, 11, .42)); } .guide-hero__controls { right: 16px; bottom: 17px; gap: 7px; } .guide-hero__control, .guide-hero__timer { width: 35px; height: 35px; } }
@media (prefers-reduced-motion: reduce) { .guide-hero__track { transition: none; } }
