/* ===== Hero (self-contained; uses vars from landing.css) ===== */
.ha-plugin-wrapper .ha-hero-wrap{ position:relative; }
.ha-plugin-wrapper .ha-hero{
  width:100%;
  min-height:72vh;
  position:relative;
  overflow:hidden;
  background:var(--ha-bg);
}

.ha-plugin-wrapper .ha-media{ position:absolute; inset:0; overflow:hidden; }
.ha-plugin-wrapper .ha-video,.ha-plugin-wrapper .ha-poster{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.ha-plugin-wrapper .ha-poster{ opacity:0; transition:opacity .3s ease; }

.ha-plugin-wrapper .ha-content{
  position:relative; z-index:2;
  text-align:center;
  padding: clamp(16px, 3vw, 40px);
  max-width: min(900px, 92vw);
  margin: 0 auto;
}
.ha-plugin-wrapper .ha-hero h1{
  margin:0 0 16px;
  font-family: Oswald, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(28px, 6vw, 64px);
  font-weight:700;
  line-height:120%;
  text-transform:uppercase;
  color: var(--ha-text);
}
.ha-plugin-wrapper .ha-cta{
  display:inline-block; padding:.9rem 1.4rem;
  border-radius:999px; background:var(--ha-red); color:#fff;
  font-weight:700; text-decoration:none;
}
.ha-plugin-wrapper .ha-cta:hover{ filter:brightness(1.07); }

.ha-layer--fg{
  position:absolute; inset:-10%; z-index:1; pointer-events:none;
  background: radial-gradient(60% 40% at 70% 20%, rgba(0,0,0,0) 0%, rgba(0,0,0,.25) 100%);
}

/* Hint chip */
.ha-plugin-wrapper .ha-hero-hint{
  position:absolute; right:3vw; top:10vh; z-index:5;
  width:clamp(200px,20vw,360px); text-align:center; text-transform:uppercase;
}
.ha-plugin-wrapper .hero_head{
  margin:0;
  color:var(--ha-text);
  font-family: Oswald, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight:700; line-height:120%; text-transform:uppercase;
}
.ha-plugin-wrapper .hero_hint-sm{
  display:block; color:#F9EBEB;
  font-family: Lato, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(16px, 1vw, 16px);
  font-weight: 300;
  line-height: 145%;
  text-transform: capitalize;
  padding-top: 20px;
}
/* Control cluster layout */
.ha-plugin-wrapper .ha-hero-ctrl{
  display:grid;
  grid-template-columns: 55px 55px 55px;
  grid-template-rows: 55px 55px 55px;
  grid-template-areas:
    ".   up    ."
    "lt  .     rt"
    ".   dn    .";
  gap:0px;
  justify-content:center;
  align-items:center;
  margin-top:20px;
}

/* Place each button in the grid */
.ha-plugin-wrapper .ha-ctl[data-dir="up"]   { grid-area: up; }
.ha-plugin-wrapper .ha-ctl[data-dir="left"] { grid-area: lt; }
.ha-plugin-wrapper .ha-ctl[data-dir="right"]{ grid-area: rt; }
.ha-plugin-wrapper .ha-ctl[data-dir="down"] { grid-area: dn; }

/* Button look: soft circle, subtle border & shadow (no SVG filters) */
.ha-plugin-wrapper .ha-ctl{
  width:55px; height:55px;
  border-radius:50%;
  border:7px solid #d8d8d8;
  background:#f1f1f1;
  box-shadow: 0 1px 4px rgba(0,0,0,.22);
  display:grid; place-items:center;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.ha-plugin-wrapper .ha-ctl:hover{ transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,.28); }
.ha-plugin-wrapper .ha-ctl:active{ transform: translateY(0);  box-shadow: 0 2px 6px rgba(0,0,0,.24); }

/* Arrow icon */
.ha-plugin-wrapper .ha-ctl svg{
  width:22px; height:22px;
  stroke:#174D71; fill:none; stroke-width:2.6;
  stroke-linecap:round; stroke-linejoin:round;
  transition: none !important;
}

/* Just in case any earlier CSS tried to rotate on hover */
.ha-plugin-wrapper .ha-ctl:hover svg,
.ha-plugin-wrapper .ha-ctl:focus svg{ transform:none !important; }

.ha-plugin-wrapper .ha-light-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15), transparent 70%);
  mix-blend-mode: soft-light;
  transition: background-position 0.2s ease-out;
}

.ha-plugin-wrapper .ha-hero-slider {
  position: relative;
  overflow: hidden;
  height: 100vh;
  background: #000;
}
.ha-plugin-wrapper .ha-hero-slides {
  position: relative;
  height: 100%;
}

.ha-plugin-wrapper .ha-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
  z-index: 0;
}

.ha-plugin-wrapper .ha-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.ha-plugin-wrapper .ha-slide video,
.ha-plugin-wrapper .ha-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  visibility: visible;
}

.ha-plugin-wrapper .ha-slide.is-active video,
.ha-plugin-wrapper .ha-slide.is-active img {
  opacity: 1;
}

/* Position scrubber above hero content */
.ha-plugin-wrapper .ha-hero-scrubber {
  position: absolute;
  bottom: 15%; 
  left: 50%;
  transform: translateX(-50%);
  z-index: 10; 
  pointer-events: auto;
}

.ha-plugin-wrapper .scrubber-wrap {
  position: relative;
  width: 359px; 
  height: 66px;
}

.ha-plugin-wrapper .scrubber-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.ha-plugin-wrapper .scrubber-knob {
  position: absolute;
  width: 16px; 
  height: 16px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  z-index: 2;
}

.ha-plugin-wrapper .scrubber-btn {
  position: absolute;
  top: 0%;
  width: 26px;
  height: 26px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3;
}
.ha-plugin-wrapper .scrubber-btn.prev { left: 0; outline: none; }
.ha-plugin-wrapper .scrubber-btn.next { right: 0; outline: none; }

@media (max-width: 600px) {
  .ha-plugin-wrapper .scrubber-wrap {
    width: 240px;
    height: 44px;
  }
  .ha-plugin-wrapper .scrubber-knob {
    width: 12px;
    height: 12px;
  }
}

.ha-plugin-wrapper .ha-hero-overlay {
  font-family: Oswald, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  z-index: 5;
}

.ha-plugin-wrapper .ha-hero-headline {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.ha-plugin-wrapper .ha-hero-subhead {
  font-family: Lato;
  font-size: clamp(16px, 1.5vw, 22px);
  max-width: 700px;
  margin: 0 auto 16px;
  color: #F9EBEB;
  text-align: center;
  font-weight: 700;
  line-height: 145%;
}

.ha-plugin-wrapper .ha-hero-instruction {
  font-family: Lato;
  font-size: clamp(16px, 1.5vw, 22px);
  margin-bottom: 24px;
  opacity: 0.85;
}

.ha-plugin-wrapper .ha-hero-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  align-items: flex-end;
  gap: 32px;
  z-index: 20;
}

.ha-plugin-wrapper .ha-sound-btn,
.ha-plugin-wrapper .ha-scroll-down {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #F9EBEB;
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  text-transform: uppercase;
}

.ha-plugin-wrapper .ha-sound-btn img {
  width: 85px;
  height: auto;
  display: none;
}
.ha-plugin-wrapper .ha-sound-btn .icon-sound-off {
  display: inline;
}

.ha-plugin-wrapper .ha-hero-sound-headline {
  font-size: clamp(12px, 1vw, 16px);
  color: #FFF;
  text-align: center;
  font-family: Oswald;
  font-weight: 500;
  line-height: 120%;
  text-transform: uppercase;
}

/* Scroll Down inside cluster (no absolute) */
.ha-plugin-wrapper .ha-scroll-down {
  position: static;
  transform: none;
  bottom: auto;
  left: auto;
  margin: 0;
  opacity: 0.8;
  color: #F9EBEB;
  text-align: center;
  font-family: Oswald, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 120%;
  text-transform: uppercase;
}
.ha-plugin-wrapper .ha-scroll-down img {
  width: auto;
  height: auto;
  margin-top: 3px;
  animation: arrow-bounce 1.4s infinite ease-in-out;
}
@keyframes arrow-bounce {
  0%,20%,50%,80%,100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* ===== Floating Symptom Tags ===== */
.ha-plugin-wrapper .ha-labels {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 6;
  pointer-events: none;
  padding: 0 80px;
}

.ha-plugin-wrapper .ha-label,
.ha-plugin-wrapper .ha-label-2 {
  font-family: 'DeFonte', sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  position: relative;
  padding: 6px 14px;
  border-radius: 16px;
  overflow: hidden;
  animation: floatTag 3s ease-in-out infinite;
}

/* Glassy pill effect */
.ha-plugin-wrapper .ha-label::before,
.ha-plugin-wrapper .ha-label-2::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.08); 
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  z-index: -1;
}

/* Floating animation */
@keyframes floatTag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Slide-specific weights */
.ha-slide[data-index="0"] .ha-label,
.ha-slide[data-index="0"] .ha-label-2 { font-weight: 300; }
.ha-slide[data-index="1"] .ha-label,
.ha-slide[data-index="1"] .ha-label-2 { font-weight: 300; }
.ha-slide[data-index="2"] .ha-label,
.ha-slide[data-index="2"] .ha-label-2 { font-weight: 300; }
.ha-slide[data-index="3"] .ha-label,
.ha-slide[data-index="3"] .ha-label-2 { font-weight: 300; }


@media (max-width: 768px) {
  .ha-plugin-wrapper .ha-labels {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    bottom: 4%;
  }
  .ha-plugin-wrapper .ha-hero-scrubber {
    bottom: 24%;
  }
  .ha-plugin-wrapper .ha-hero-controls {
    gap: 40px;
    z-index: 20;
    width: 100%;
    justify-content: center;
  }
  .ha-plugin-wrapper .scrubber-knob {
    width: 25px !important;
    height: 25px !important;
  }
}

.ha-plugin-wrapper .scrubber-wrap {
  position: relative;
  width: 359px;
  height: 66px;
}

.ha-plugin-wrapper .scrubber-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.ha-plugin-wrapper .scrubber-path {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; 
  z-index: 2;
}

.ha-plugin-wrapper .scrubber-knob {
  position: absolute;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 3;
}

.ha-plugin-wrapper .scrubber-marker {
  position: absolute;
  width: 2px;         
  height: 12px;
  background: #fff !important;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.1s linear, transform 0.1s linear, background 0.1s linear;
  opacity: 0.5;
}