.hhe-hero {
  position: relative;
  width: 100%;
  height: 650px;
  min-height: 420px;
  overflow: hidden;
  background: #101827;
  color: var(--hhe-text, #fff);
  font-family: inherit;
  isolation: isolate;
}

.hhe-hero * { box-sizing: border-box; }

/* A hero occupying its own top-level container behaves as a full-width section.
   Ignore Elementor editor helper nodes when checking for other content. */
.elementor .e-con.e-parent:has(> .elementor-widget-hiperall_hero_elementor .hhe-fullwidth):not(:has(> .elementor-element:not(.elementor-widget-hiperall_hero_elementor))),
.elementor .e-con.e-parent:has(> .e-con-inner > .elementor-widget-hiperall_hero_elementor .hhe-fullwidth):not(:has(> .e-con-inner > .elementor-element:not(.elementor-widget-hiperall_hero_elementor))) {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
}
.elementor .e-con.e-parent > .e-con-inner:has(> .elementor-widget-hiperall_hero_elementor .hhe-fullwidth):not(:has(> .elementor-element:not(.elementor-widget-hiperall_hero_elementor))) {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
}
.elementor-widget-hiperall_hero_elementor:has(.hhe-fullwidth) {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: stretch;
}
.hhe-fullwidth {
  width: 100%;
  max-width: 100%;
}

.hhe-track,
.hhe-slide,
.hhe-bg-video,
.hhe-bg-image,
.hhe-overlay,
.hhe-video-placeholder {
  position: absolute;
  inset: 0;
}

.hhe-slide {
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  z-index: 0;
  transition: opacity var(--hhe-transition-speed, 700ms) ease,
              visibility var(--hhe-transition-speed, 700ms) ease,
              transform var(--hhe-transition-speed, 700ms) ease;
}

.hhe-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hhe-bg-image,
.hhe-bg-video {
  width: 100%;
  height: 100%;
}

.hhe-bg-image {
  background-repeat: no-repeat;
  background-position: var(--hhe-image-pos, center center);
  background-size: var(--hhe-image-size, cover);
  transform: scale(var(--hhe-image-scale, 1));
  transform-origin: center center;
  will-change: transform;
}

.hhe-bg-video {
  object-fit: cover;
  object-position: center center;
}

.hhe-bg-placeholder,
.hhe-video-placeholder {
  background: linear-gradient(120deg, #1c2938, #536578);
}

.hhe-overlay {
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(var(--hhe-slide-overlay-rgb, 7,17,31), var(--hhe-slide-overlay, .55)),
    rgba(var(--hhe-slide-overlay-rgb, 7,17,31), calc(var(--hhe-slide-overlay, .55) * .7)) 48%,
    transparent
  );
}

.hhe-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 64px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 90px);
}

.hhe-content-left { justify-content: flex-start; }
.hhe-content-center { justify-content: center; }
.hhe-content-right { justify-content: flex-end; }

.hhe-copy { width: min(570px, 58%); }
.hhe-align-center .hhe-copy { text-align: center; }
.hhe-align-right .hhe-copy { text-align: right; }

.hhe-eyebrow {
  font-size: clamp(11px, .95vw, 14px);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.hhe-title,
.hhe-highlight {
  margin: 0;
  color: var(--hhe-text, #fff);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  paint-order: stroke fill;
}

.hhe-title { font-size: clamp(42px, 5.3vw, 76px); }
.hhe-highlight { font-size: clamp(40px, 5.1vw, 72px); color: var(--hhe-slide-accent, var(--hhe-accent, #e51d2a)); }

.hhe-description {
  font-size: clamp(15px, 1.3vw, 20px);
  line-height: 1.5;
  max-width: 560px;
  margin: 15px 0 20px;
}

.hhe-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hhe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .025em;
  transition: transform .2s ease, background .2s ease;
}

.hhe-btn:hover { transform: translateY(-2px); }
.hhe-btn-1 { background: var(--hhe-slide-accent, var(--hhe-accent, #e51d2a)); color: var(--hhe-text, #fff) !important; }
.hhe-btn-2 { border: 2px solid rgba(255,255,255,.72); color: var(--hhe-text, #fff) !important; background: rgba(5,12,20,.15); }

/* Elementor button icons: supports Font Awesome icons and uploaded SVGs. */
.hhe-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 1;
}

.hhe-btn-icon svg {
  display: block;
  width: 1em;
  height: 1em;
}

.hhe-btn-1 .hhe-btn-icon {
  font-size: 18px;
}

.hhe-play {
  display: inline-flex;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 11px;
}

.hhe-play svg {
  width: 15px;
  height: 15px;
}

.hhe-feature-carousel {
  position: absolute;
  z-index: 4;
  top: clamp(34px, 8%, 70px);
  right: clamp(32px, 5.5vw, 90px);
  width: min(330px, 30vw);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hhe-feature-track { position: relative; min-height: 58px; }

.hhe-feature-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 7px 18px 7px 9px;
  border-radius: 999px;
  background: rgba(5,12,20,.65);
  border: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
  font-size: 15px;
  font-weight: 650;
  opacity: 0;
  transform: translateX(24px);
  visibility: hidden;
  transition: opacity var(--hhe-feature-speed, 500ms) ease,
              transform var(--hhe-feature-speed, 500ms) ease,
              visibility var(--hhe-feature-speed, 500ms);
}

.hhe-feature-item.is-feature-active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.hhe-feature-transition-fade .hhe-feature-item,
.hhe-feature-transition-fade .hhe-feature-item.is-feature-active {
  transform: none;
}

.hhe-feature-transition-scale .hhe-feature-item {
  transform: scale(.94);
}

.hhe-feature-transition-scale .hhe-feature-item.is-feature-active {
  transform: scale(1);
}

.hhe-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 9px;
  border-radius: 50%;
  background: #fff;
  color: #1b2936;
  line-height: 1;
}

.hhe-feature-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hhe-feature-icon i {
  display: block;
  font-size: 20px;
}

.hhe-feature-dots { display: flex; justify-content: flex-end; gap: 6px; padding-right: 4px; }
.hhe-feature-dots button { width: 6px; height: 6px; border: 0; border-radius: 50%; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.hhe-feature-dots button.is-active { width: 20px; border-radius: 10px; background: #fff; }

.hhe-quote {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 8%;
  max-width: 280px;
  text-align: center;
  color: #fff;
  font-family: cursive;
  font-size: clamp(19px, 2vw, 28px);
  font-style: italic;
  line-height: 1.25;
  transform: rotate(-7deg);
  text-shadow: 0 2px 10px #000;
}

.hhe-arrow {
  position: absolute;
  z-index: 7;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background-color: rgba(7,17,31,.35);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 21px 21px;
  box-shadow: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  appearance: none;
  -webkit-appearance: none;
  overflow: hidden;
  cursor: pointer;
}

.hhe-prev {
  left: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 5L8 12l7 7' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hhe-next {
  right: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hhe-arrow:hover { background-color: rgba(7,17,31,.68); }

.hhe-dots {
  position: absolute;
  z-index: 7;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hhe-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.5);
  padding: 0;
  cursor: pointer;
}

.hhe-dots button.is-active { width: 26px; background: #fff; }

.hhe-transition-slide .hhe-slide { transform: translateX(3%); }
.hhe-transition-slide .hhe-slide.is-active { transform: translateX(0); }
.hhe-transition-zoom .hhe-slide { transform: scale(1.035); }
.hhe-transition-zoom .hhe-slide.is-active { transform: scale(1); }

.hhe-anim-rise,
.hhe-anim-zoom,
.hhe-anim-fade { transition: transform .7s ease, opacity .7s ease; }

.hhe-slide:not(.is-active) .hhe-anim-rise { transform: translateY(22px); opacity: 0; }
.hhe-slide:not(.is-active) .hhe-anim-zoom { transform: scale(.96); opacity: 0; }
.hhe-slide:not(.is-active) .hhe-anim-fade { opacity: 0; }

.hhe-mode-video .hhe-bg-video { z-index: 0; }
.hhe-mode-video .hhe-overlay { z-index: 1; }
.hhe-mode-video .hhe-inner { z-index: 2; }
.hhe-mode-video .hhe-video-placeholder { display: none; z-index: 0; }
.hhe-mode-video.hhe-no-video .hhe-video-placeholder { display: block; }
.hhe-mode-video .hhe-copy { width: min(570px, 62%); }

@media (max-width: 1100px) {
  .hhe-feature-carousel { right: 28px; width: 280px; }
  .hhe-inner { width: calc(100% - 56px); gap: 20px; }
  .hhe-copy { width: min(560px, 62%); }
}

@media (max-width: 1024px) {
  .hhe-feature-carousel { top: 7%; right: 28px; width: 270px; }
  .hhe-feature-item { font-size: 13px; }
  .hhe-copy { width: min(560px, 60%); }
}

@media (max-width: 700px) {
  .hhe-hero { min-height: 500px; }
  .hhe-inner {
    width: calc(100% - 38px);
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    gap: 12px;
    padding: 35px 0 70px;
  }
  .hhe-copy { width: 100%; max-width: 560px; }
  .hhe-title { font-size: clamp(37px, 10vw, 58px); }
  .hhe-highlight { font-size: clamp(35px, 9vw, 54px); }
  .hhe-description { font-size: 15px; line-height: 1.45; margin: 12px 0; }
  .hhe-actions { gap: 9px; margin-top: 15px; flex-wrap: nowrap; }
  .hhe-btn { min-height: 48px; padding: 0 14px; gap: 10px; font-size: 11px; white-space: nowrap; }
  .hhe-feature-carousel {
    position: absolute;
    top: auto;
    right: 19px;
    bottom: 58px;
    left: 19px;
    width: auto;
    margin: 0;
  }
  .hhe-feature-track { min-height: 52px; }
  .hhe-feature-item { min-height: 52px; width: 100%; font-size: 12px; padding: 5px 12px 5px 6px; transform: translateX(18px); }
  .hhe-feature-transition-fade .hhe-feature-item,
  .hhe-feature-transition-fade .hhe-feature-item.is-feature-active { transform: none; }
  .hhe-feature-transition-scale .hhe-feature-item { transform: scale(.94); }
  .hhe-feature-transition-scale .hhe-feature-item.is-feature-active { transform: scale(1); }
  .hhe-feature-icon { width: 38px; height: 38px; flex-basis: 38px; padding: 8px; }
  .hhe-feature-dots { justify-content: center; padding: 2px 0 0; }
  .hhe-quote { display: block; max-width: 240px; right: 50%; transform: translateX(50%) rotate(-7deg); bottom: 60px; font-size: 18px; }
  .hhe-arrow { width: 36px; height: 36px; min-width: 36px; min-height: 36px; top: auto; bottom: 12px; transform: none; background-size: 17px 17px; }
  .hhe-prev { left: calc(50% - 55px); right: auto; }
  .hhe-next { right: calc(50% - 55px); left: auto; }
  .hhe-dots { bottom: 27px; }
  .hhe-overlay {
    background: linear-gradient(0deg,
      rgba(var(--hhe-slide-overlay-rgb, 7,17,31), calc(var(--hhe-slide-overlay, .55) * .78)),
      rgba(var(--hhe-slide-overlay-rgb, 7,17,31), var(--hhe-slide-overlay, .55))
    );
  }
  .hhe-bg-image { background-position: var(--hhe-image-pos-mobile, var(--hhe-image-pos, center center)); }
  .hhe-mode-video .hhe-overlay { background: linear-gradient(0deg,
      rgba(var(--hhe-slide-overlay-rgb, 7,17,31), calc(var(--hhe-slide-overlay, .55) * .78)),
      rgba(var(--hhe-slide-overlay-rgb, 7,17,31), var(--hhe-slide-overlay, .55))
    ); }
  .hhe-mode-video .hhe-copy { width: 100%; max-width: 560px; }
  .hhe-mobile-hide-eyebrow .hhe-eyebrow,
  .hhe-mobile-hide-title .hhe-title,
  .hhe-mobile-hide-highlight .hhe-highlight,
  .hhe-mobile-hide-description .hhe-description,
  .hhe-mobile-hide-button1 .hhe-btn-1,
  .hhe-mobile-hide-button2 .hhe-btn-2,
  .hhe-mobile-hide-mini .hhe-feature-carousel,
  .hhe-mobile-hide-quote .hhe-quote { display: none !important; }
  .hhe-hide-dots-mobile > .hhe-dots { display: none !important; visibility: hidden !important; pointer-events: none !important; }
}

/* -------------------------------------------------------------
   Mini feature display modes
   Keep the animated slider as the default. The static-list rules are
   scoped to the selected breakpoint and do not affect the main slider.
-------------------------------------------------------------- */
@media (min-width: 701px) {
  .hhe-feature-carousel[data-desktop-mode="list"] .hhe-feature-track {
    position: static;
    display: flex;
    flex-direction: column;
    gap: var(--hhe-feature-gap, 10px);
    min-height: 0 !important;
  }

  .hhe-feature-carousel[data-desktop-mode="list"] .hhe-feature-item,
  .hhe-feature-carousel[data-desktop-mode="list"] .hhe-feature-item.is-feature-active {
    position: relative !important;
    inset: auto !important;
    display: flex;
    width: 100%;
    height: auto;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition: none !important;
    animation: none !important;
  }

  .hhe-feature-carousel[data-desktop-mode="list"] .hhe-feature-dots {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .hhe-feature-carousel[data-mobile-mode="list"] {
    top: 18px;
    bottom: auto;
  }

  .hhe-feature-carousel[data-mobile-mode="list"] .hhe-feature-track {
    position: static;
    display: flex;
    flex-direction: column;
    gap: var(--hhe-feature-gap, 10px);
    min-height: 0 !important;
  }

  .hhe-feature-carousel[data-mobile-mode="list"] .hhe-feature-item,
  .hhe-feature-carousel[data-mobile-mode="list"] .hhe-feature-item.is-feature-active {
    position: relative !important;
    inset: auto !important;
    display: flex;
    width: 100%;
    height: auto;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition: none !important;
    animation: none !important;
  }

  .hhe-feature-carousel[data-mobile-mode="list"] .hhe-feature-dots {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hhe-hero * { transition: none !important; animation: none !important; }
}

/* Shared content slides sit above the continuous video and its overlay. */
.hhe-mode-video .hhe-track { z-index: 2; }

/* Per-slide accent takes precedence over widget-wide highlight/button colors. */
.elementor .elementor-widget-hiperall_hero_elementor .hhe-slide.hhe-custom-accent .hhe-highlight {
  color: var(--hhe-slide-accent);
}
.elementor .elementor-widget-hiperall_hero_elementor .hhe-slide.hhe-custom-accent .hhe-btn-1 {
  background-color: var(--hhe-slide-accent);
}
/* Entry animations also run on initial render and live editor refresh. */
@keyframes hhe-content-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hhe-content-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hhe-content-zoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.hhe-slide.is-active .hhe-anim-fade { animation: hhe-content-fade .7s ease both; }
.hhe-slide.is-active .hhe-anim-rise { animation: hhe-content-rise .7s ease both; }
.hhe-slide.is-active .hhe-anim-zoom { animation: hhe-content-zoom .7s ease both; }
.hhe-slide .hhe-anim-none { animation: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .hhe-slide.is-active .hhe-copy { animation: none !important; transition: none !important; }
}
/* Feature design presets: structural skins share the same carousel and device modes. */
.hhe-feature-copy { min-width: 0; display: block; }
.hhe-feature-title { display: block; overflow-wrap: anywhere; }
.hhe-feature-description { display: block; margin-top: 5px; font-size: .78em; font-weight: 400; line-height: 1.4; opacity: .85; overflow-wrap: anywhere; }
.hhe-feature-icon svg:not([fill="none"]) { fill: currentColor; }
.hhe-feature-carousel:not([data-feature-style="classic"]) .hhe-feature-item { line-height: 1.25; }

/* Roofing: separate white ribbons with an angled leading edge. */
.hhe-feature-carousel[data-feature-style="ribbons"] .hhe-feature-track { min-height: 90px; }
.hhe-feature-carousel[data-feature-style="ribbons"] .hhe-feature-item {
  min-height: 90px; padding: 16px 18px 16px 38px; gap: 16px;
  border-radius: 0; border: 0; border-inline-end: 4px solid var(--hhe-accent, #e51d2a);
  clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%);
  background: rgba(255,255,255,.95); color: #152130; backdrop-filter: blur(6px);
}
.hhe-feature-carousel[data-feature-style="ribbons"] .hhe-feature-icon { background: transparent; color: var(--hhe-accent); border-radius: 0; padding: 3px; }
.hhe-feature-carousel[data-feature-style="ribbons"] .hhe-feature-title { text-transform: uppercase; font-weight: 800; letter-spacing: .035em; }

/* Drywall: one continuous light panel, with ruled rows rather than separate cards. */
.hhe-feature-carousel[data-feature-style="panel"] .hhe-feature-track {
  min-height: 102px; background: rgba(248,249,250,.95); border-inline-start: 3px solid var(--hhe-accent);
  box-shadow: 0 12px 35px rgba(0,0,0,.12);
}
.hhe-feature-carousel[data-feature-style="panel"] .hhe-feature-item {
  min-height: 102px; padding: 20px; border: 0; border-radius: 0;
  background: transparent; color: #172530; backdrop-filter: none;
}
.hhe-feature-carousel[data-feature-style="panel"] .hhe-feature-item + .hhe-feature-item { border-top: 1px solid rgba(23,37,48,.16); }
.hhe-feature-carousel[data-feature-style="panel"] .hhe-feature-icon { background: transparent; color: var(--hhe-accent); border-radius: 0; padding: 5px; }

/* Tree Service: standalone round medallions with text directly over the hero. */
.hhe-feature-carousel[data-feature-style="medallions"] .hhe-feature-track { min-height: 80px; }
.hhe-feature-carousel[data-feature-style="medallions"] .hhe-feature-item {
  min-height: 80px; padding: 10px 0; gap: 18px; background: transparent; border: 0; border-radius: 0;
  color: #fff; backdrop-filter: none; text-shadow: 0 2px 8px rgba(0,0,0,.8);
}
.hhe-feature-carousel[data-feature-style="medallions"] .hhe-feature-icon {
  width: 60px; height: 60px; flex-basis: 60px; padding: 16px; background: #f8f4e8;
  color: var(--hhe-accent); border: 3px double currentColor; box-shadow: 0 4px 14px rgba(0,0,0,.2); text-shadow: none;
}
.hhe-feature-carousel[data-feature-style="medallions"] .hhe-feature-title { font-weight: 750; }

/* Concrete: dark squared plates, a solid icon block, and an accent baseline. */
.hhe-feature-carousel[data-feature-style="industrial"] .hhe-feature-track { min-height: 88px; }
.hhe-feature-carousel[data-feature-style="industrial"] .hhe-feature-item {
  min-height: 88px; padding: 0 18px 0 0; gap: 18px; border-radius: 2px; border: 1px solid rgba(255,255,255,.18);
  border-bottom: 3px solid var(--hhe-accent); background: rgba(13,22,29,.94); color: #fff;
  box-shadow: 5px 5px 0 rgba(0,0,0,.2); backdrop-filter: none;
}
.hhe-feature-carousel[data-feature-style="industrial"] .hhe-feature-icon {
  align-self: stretch; width: 66px; height: auto; min-height: 85px; flex-basis: 66px; padding: 20px;
  border-radius: 0; background: var(--hhe-accent); color: #fff;
}
.hhe-feature-carousel[data-feature-style="industrial"] .hhe-feature-title { text-transform: uppercase; letter-spacing: .04em; font-weight: 800; }

/* Centered trust seals: vertical composition with a large framed emblem. */
.hhe-feature-carousel[data-feature-style="seals"] .hhe-feature-track { min-height: 140px; }
.hhe-feature-carousel[data-feature-style="seals"] .hhe-feature-item {
  flex-direction: column; justify-content: center; text-align: center; gap: 10px; min-height: 140px;
  padding: 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.48);
  background: rgba(12,25,35,.64); color: #fff; box-shadow: inset 0 0 0 5px rgba(255,255,255,.05);
}
.hhe-feature-carousel[data-feature-style="seals"] .hhe-feature-icon {
  width: 58px; height: 58px; flex-basis: 58px; padding: 13px; border: 2px solid var(--hhe-accent);
  border-radius: 16px 16px 24px 24px; color: #fff; background: transparent;
}
.hhe-feature-carousel[data-feature-style="seals"] .hhe-feature-title { font-size: .93em; letter-spacing: .06em; text-transform: uppercase; }

/* A unified panel stays unified in static-list mode, including mobile. */
@media (min-width: 701px) {
  .hhe-feature-carousel[data-feature-style="panel"][data-desktop-mode="list"] .hhe-feature-track { gap: var(--hhe-feature-gap, 0px); }
}
@media (max-width: 700px) {
  .hhe-feature-carousel[data-feature-style="panel"][data-mobile-mode="list"] .hhe-feature-track { gap: var(--hhe-feature-gap, 0px); }
  .hhe-feature-carousel:not([data-feature-style="classic"]) .hhe-feature-item { max-width: 100%; }
  .hhe-feature-carousel[data-feature-style="ribbons"] .hhe-feature-item { min-height: 76px; padding: 12px 14px 12px 30px; }
  .hhe-feature-carousel[data-feature-style="medallions"] .hhe-feature-icon { width: 50px; height: 50px; flex-basis: 50px; padding: 12px; }
}
/* Overlapping grid cells size the animated track to the longest feature text. */
@media (min-width: 701px) {
  .hhe-feature-carousel:not([data-feature-style="classic"])[data-desktop-mode="slider"] .hhe-feature-track { display: grid; }
  .hhe-feature-carousel:not([data-feature-style="classic"])[data-desktop-mode="slider"] .hhe-feature-item { position: relative; inset: auto; grid-area: 1 / 1; width: 100%; }
}
@media (max-width: 700px) {
  .hhe-feature-carousel:not([data-feature-style="classic"])[data-mobile-mode="slider"] .hhe-feature-track { display: grid; }
  .hhe-feature-carousel:not([data-feature-style="classic"])[data-mobile-mode="slider"] .hhe-feature-item { position: relative; inset: auto; grid-area: 1 / 1; width: 100%; }
}
.hhe-feature-carousel[data-feature-style="ribbons"] .hhe-feature-icon i { font-size: 32px; }
.hhe-feature-carousel[data-feature-style="panel"] .hhe-feature-icon i { font-size: 28px; }
.hhe-feature-carousel[data-feature-style="medallions"] .hhe-feature-icon i { font-size: 26px; }
.hhe-feature-carousel[data-feature-style="industrial"] .hhe-feature-icon i { font-size: 26px; }
.hhe-feature-carousel[data-feature-style="seals"] .hhe-feature-icon i { font-size: 28px; }
@media (max-width: 700px) {
  .hhe-feature-carousel:not([data-feature-style="classic"])[data-mobile-mode="slider"] { top: 18px; bottom: auto; }
}
/* Horizontal List uses the same feature items and skins in a manual, static row. */
.hhe-feature-carousel[data-active-layout="horizontal"] {
  top: auto; bottom: 24px; right: 32px; left: auto;
  width: min(1240px, calc(100% - 64px));
}
.hhe-feature-carousel[data-active-layout="horizontal"] .hhe-feature-track {
  display: flex; flex-direction: row; align-items: stretch; gap: var(--hhe-feature-gap, 12px);
  min-height: 0; overflow-x: auto; overflow-y: hidden; padding-bottom: 8px;
  scroll-snap-type: x proximity; scrollbar-width: thin;
}
.hhe-feature-carousel[data-active-layout="horizontal"] .hhe-feature-item {
  position: relative; inset: auto; flex: 1 0 220px; width: auto; height: auto;
  opacity: 1; visibility: visible; transform: none; transition: none; animation: none;
  scroll-snap-align: start;
}
.hhe-feature-carousel[data-active-layout="horizontal"] .hhe-feature-dots { display: none !important; }
.hhe-feature-carousel[data-feature-style="panel"][data-active-layout="horizontal"] .hhe-feature-track { gap: var(--hhe-feature-gap, 0px); }
.hhe-feature-carousel[data-feature-style="panel"][data-active-layout="horizontal"] .hhe-feature-item + .hhe-feature-item {
  border-top: 0; border-inline-start: 1px solid rgba(23,37,48,.16);
}
@media (min-width: 701px) {
  .hhe-hero[data-hhe-feature-layout="horizontal"] .hhe-inner { height: calc(100% - var(--hhe-horizontal-reserve, 160px)); }
}
@media (max-width: 700px) {
  .hhe-feature-carousel[data-active-layout="horizontal"] { top: 18px; bottom: auto; right: 19px; left: 19px; width: auto; }
  .hhe-feature-carousel[data-active-layout="horizontal"] .hhe-feature-item { flex: 0 0 85%; }
}
/* Rotation preserves mobile centering and remains independent of content animations. */
.hhe-quote { color: var(--hhe-text, #fff); transform: translateX(var(--hhe-quote-x, 0%)) rotate(var(--hhe-quote-rotation, -7deg)); }
@media(max-width:700px) { .hhe-quote { --hhe-quote-x: 50%; } }
/* Feature border color stays visible even for presets with a borderless default. */

/* Let Elementor's height control remain live while accommodating long feature lists. */
.hhe-hero { min-height: max(420px, var(--hhe-required-height, 0px)); }
@media (max-width:700px) { .hhe-hero { min-height: max(500px, var(--hhe-required-height, 0px)); } }
/* Automatic mobile composition: compact features, readable copy, then the quote. */
.hhe-inner { padding: var(--hhe-padding-top, 0px) var(--hhe-padding-right, 0px) var(--hhe-padding-bottom, 0px) var(--hhe-padding-left, 0px); }
@media (max-width: 700px) {
  .hhe-inner {
    width: calc(100% - 36px); gap: 18px;
    padding: max(var(--hhe-mobile-feature-reserve, 24px), var(--hhe-padding-top, 0px)) var(--hhe-padding-right, 0px) max(64px, var(--hhe-padding-bottom, 0px)) var(--hhe-padding-left, 0px);
  }
  .hhe-copy { flex: 0 0 auto; min-width: 0; }
  .hhe-title { font-size: clamp(30px, 8.6vw, 42px); line-height: 1.04; }
  .hhe-highlight { font-size: clamp(29px, 8.3vw, 40px); line-height: 1.04; }
  .hhe-description { font-size: 14px; }
  .hhe-actions { flex-wrap: wrap; }
  .hhe-btn { min-height: 44px; padding: 0 13px; }
  .hhe-inner .hhe-quote {
    position: relative; inset: auto; flex: 0 0 auto; align-self: flex-end;
    width: 100%; max-width: 260px; margin: 0; text-align: right;
    font-size: 16px; line-height: 1.3;
    --hhe-quote-x: 0%; --hhe-quote-rotation: 0deg;
  }
  .hhe-feature-carousel,
  .hhe-feature-carousel[data-active-layout="horizontal"] { top: 18px; bottom: auto; left: 18px; right: 18px; width: auto; }
  .hhe-feature-carousel[data-feature-style] .hhe-feature-track { min-height: 0; }
  .hhe-feature-carousel[data-feature-style] .hhe-feature-item {
    min-height: 48px; padding: 7px 10px; gap: 9px; font-size: 11px; line-height: 1.25;
  }
  .hhe-feature-carousel[data-feature-style] .hhe-feature-icon {
    width: 30px; height: 30px; min-height: 30px; flex-basis: 30px; padding: 6px; align-self: center;
  }
  .hhe-feature-carousel[data-feature-style] .hhe-feature-icon i { font-size: 18px; }
  .hhe-feature-description { font-size: 10px; line-height: 1.3; margin-top: 3px; }
  .hhe-feature-carousel[data-mobile-mode="list"] .hhe-feature-track { gap: var(--hhe-feature-gap, 6px); }
  .hhe-feature-carousel[data-feature-style="ribbons"] .hhe-feature-item {
    min-height: 48px; padding: 7px 10px 7px 22px; gap: 8px;
    clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%); border-inline-end-width: 3px;
  }
  .hhe-feature-carousel[data-feature-style="medallions"] .hhe-feature-icon { padding: 5px; }
  .hhe-feature-carousel[data-feature-style="industrial"] .hhe-feature-item { padding: 0 8px 0 0; }
  .hhe-feature-carousel[data-feature-style="industrial"] .hhe-feature-icon { min-height: 48px; align-self: stretch; height: auto; }
  .hhe-feature-carousel[data-feature-style="seals"] .hhe-feature-item { flex-direction: row; text-align: left; min-height: 52px; gap: 9px; }
  .hhe-feature-carousel[data-feature-style="seals"] .hhe-feature-icon { border-radius: 8px; padding: 4px; }
  .hhe-feature-carousel[data-active-layout="horizontal"] .hhe-feature-item { flex: 0 0 172px; }
  .hhe-feature-carousel[data-active-layout="horizontal"] .hhe-feature-track { padding-bottom: 5px; scrollbar-width: none; }
  .hhe-feature-carousel[data-active-layout="horizontal"] .hhe-feature-track::-webkit-scrollbar { display: none; }
}

/* Horizontal List is a single row of equally sized, concise features. */
.hhe-feature-carousel[data-active-layout="horizontal"] .hhe-feature-track {
  overflow: visible; padding-bottom: 0; flex-wrap: nowrap;
}
.hhe-feature-carousel[data-active-layout="horizontal"] .hhe-feature-item {
  flex: 1 1 0; min-width: 0; width: 0;
}
.hhe-feature-carousel[data-active-layout="horizontal"] .hhe-feature-description { display: none; }
@media (max-width: 700px) {
  .hhe-feature-carousel[data-feature-style][data-active-layout="horizontal"] .hhe-feature-track { gap: 5px; }
  .hhe-feature-carousel[data-feature-style][data-active-layout="horizontal"] .hhe-feature-item {
    flex: 1 1 0; width: 0; min-width: 0; min-height: 70px;
    flex-direction: column; justify-content: center; align-items: center;
    padding: 7px 5px; gap: 5px; text-align: center; font-size: 10px; line-height: 1.15;
  }
  .hhe-feature-carousel[data-feature-style][data-active-layout="horizontal"] .hhe-feature-title {
    font-size: 10px; line-height: 1.15; letter-spacing: 0; overflow-wrap: normal; hyphens: auto;
  }
  .hhe-feature-carousel[data-feature-style][data-active-layout="horizontal"] .hhe-feature-icon {
    width: 25px; height: 25px; min-height: 25px; flex: 0 0 25px;
    align-self: center; padding: 4px;
  }
  .hhe-feature-carousel[data-feature-style][data-active-layout="horizontal"] .hhe-feature-icon i { font-size: 16px; }
  .hhe-feature-carousel[data-feature-style="ribbons"][data-active-layout="horizontal"] .hhe-feature-item {
    clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%); padding-inline-start: 10px;
  }
}

/* Stagger the feature contents without changing layout or carousel transitions. */
@keyframes hhe-feature-copy-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hhe-feature-icon-enter {
  from { opacity: 0; transform: scale(.78) rotate(-10deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hhe-feature-item { --hhe-entry-delay: 120ms; }
  .hhe-feature-carousel:not([data-active-layout="slider"]) .hhe-feature-item:nth-child(2) { --hhe-entry-delay: 260ms; }
  .hhe-feature-carousel:not([data-active-layout="slider"]) .hhe-feature-item:nth-child(n+3) { --hhe-entry-delay: 400ms; }
  .hhe-feature-carousel:not([data-active-layout="slider"]) .hhe-feature-copy,
  .hhe-feature-carousel[data-active-layout="slider"] .is-feature-active .hhe-feature-copy {
    animation: hhe-feature-copy-enter 650ms cubic-bezier(.2,.7,.25,1) var(--hhe-entry-delay) both;
  }
  .hhe-feature-carousel:not([data-active-layout="slider"]) .hhe-feature-icon,
  .hhe-feature-carousel[data-active-layout="slider"] .is-feature-active .hhe-feature-icon {
    animation: hhe-feature-icon-enter 700ms cubic-bezier(.2,.7,.25,1) var(--hhe-entry-delay) both;
  }
}

/* On phones, the compact feature modes follow the slide content. */
@media (max-width: 700px) {
  .hhe-hero:is([data-hhe-feature-layout="slider"], [data-hhe-feature-layout="horizontal"]) .hhe-inner {
    padding-bottom: max(var(--hhe-mobile-feature-bottom-reserve, 64px), var(--hhe-padding-bottom, 0px));
  }
  .elementor .elementor-widget-hiperall_hero_elementor .hhe-hero:is([data-hhe-feature-layout="slider"], [data-hhe-feature-layout="horizontal"]) .hhe-feature-carousel {
    top: auto; bottom: 64px; transform: none;
  }
}

/* Equal mobile CTAs share one row, including the outlined button. */
@media (max-width: 700px) {
  .hhe-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 8px; }
  .hhe-actions:has(> .hhe-btn:only-child) { grid-template-columns: minmax(0, 1fr); }
  .hhe-actions .hhe-btn {
    flex: 1 1 0; min-width: 0; width: 100%; min-height: 44px;
    padding: 8px 9px; gap: 7px; font-size: 11px; line-height: 1.2;
    white-space: normal; text-align: center;
  }
  .hhe-actions .hhe-play { width: 24px; height: 24px; flex: 0 0 24px; font-size: 9px; }
  .hhe-actions .hhe-play svg { width: 12px; height: 12px; }
}
