

/* =========================================

   INOVI TELECOM — HERO SECTION

========================================= */



.inovi-hero {



  --inovi-blue: #0e5f9f;

  --inovi-blue-hover: #1478b5;



  box-sizing: border-box;



  position: relative;



  width: 100vw;



  max-width: 100vw;



  margin-left: calc(50% - 50vw);



  margin-right: calc(50% - 50vw);



  height: auto;



  min-height: max(600px, 100vh);

  min-height: max(600px, 100svh);



  overflow: hidden;



  isolation: isolate;



  font-family: "Montserrat", sans-serif;



  background: #05070a;



  color: #ffffff;

}





.inovi-hero * {



  box-sizing: border-box;

}





/* =========================================

   BACKGROUND VIDEO

========================================= */



.inovi-hero__media {



  position: absolute;



  inset: 0;



  z-index: -2;



  overflow: hidden;

}





.inovi-hero__video {



  position: absolute;



  width: 100%;

  height: 100%;



  object-fit: cover;



  object-position: center center;



  display: block;



  transform: scale(1.02);



  filter:

    brightness(.72)

    contrast(1.08)

    saturate(1.05);

}





/* =========================================

   VIDEO OVERLAY

========================================= */



.inovi-hero__overlay {



  position: absolute;



  inset: 0;



  background:

    linear-gradient(

      90deg,

      rgba(2,7,12,.90) 0%,

      rgba(2,7,12,.72) 25%,

      rgba(2,7,12,.30) 55%,

      rgba(2,7,12,.08) 100%

    );



  z-index: 1;

}





/* Bottom cinematic fade */



.inovi-hero__media::after {



  content: "";



  position: absolute;



  left: 0;

  right: 0;

  bottom: 0;



  height: 30%;



  background:

    linear-gradient(

      to top,

      rgba(2,5,8,.72),

      transparent

    );



  z-index: 2;

}





/* =========================================

   CONTENT CONTAINER

========================================= */



.inovi-hero__container {



  position: relative;



  width:

    min(1400px, calc(100% - 10vw));



  height: auto;



  min-height: inherit;



  margin: 0 auto;



  display: flex;



  align-items: center;

}





/* =========================================

   CONTENT

========================================= */



.inovi-hero__content {



  width:

    min(720px, 58vw);



  padding-top: 20px;



  animation:

    inoviHeroReveal

    1.1s

    cubic-bezier(.16,1,.3,1)

    both;

}





/* =========================================

   EYEBROW

========================================= */



.inovi-hero__eyebrow {



  display: flex;



  align-items: center;



  gap: 13px;



  margin-bottom: 24px;



  font-size: 12px;



  font-weight: 600;



  letter-spacing: .24em;



  text-transform: uppercase;



  color:

    rgba(255,255,255,.78);

}





.inovi-hero__eyebrow-line {



  width: 42px;



  height: 2px;



  border-radius: 20px;



  background:

    linear-gradient(

      90deg,

      var(--inovi-blue),

      #c43b70

    );

}





/* =========================================

   MAIN HEADING

========================================= */



.inovi-hero__title {



  margin: 0;



  max-width: 850px;



  font-family:

    "Montserrat",

    sans-serif;



  font-size:

    clamp(48px, 5.4vw, 88px);



  line-height: .98;



  font-weight: 700;



  letter-spacing: -.045em;



  color: #ffffff;

}





.inovi-hero__title span {



  display: block;



  background: none;



  -webkit-background-clip: initial;



  background-clip: initial;



  -webkit-text-fill-color: #ffffff;



  color: #ffffff;

}





/* =========================================

   DESCRIPTION

========================================= */



.inovi-hero__description {



  max-width: 570px;



  margin: 30px 0 0;



  font-size: 16px;



  line-height: 1.75;



  font-weight: 400;



  color:

    rgba(255,255,255,.76);

}





/* =========================================

   CTA AREA

========================================= */



.inovi-hero__actions {



  display: flex;



  align-items: center;



  gap: 14px;



  margin-top: 38px;

}





/* =========================================

   BUTTON BASE

========================================= */



.inovi-btn {



  position: relative;



  display: inline-flex;



  align-items: center;



  justify-content: center;



  gap: 20px;



  min-width: 178px;



  height: 54px;



  padding: 0 21px;



  border-radius: 5px;



  overflow: hidden;



  text-decoration: none;



  font-family:

    "Montserrat",

    sans-serif;



  font-size: 11px;



  font-weight: 700;



  letter-spacing: .10em;



  text-transform: uppercase;



  transition:

    transform .35s cubic-bezier(.16,1,.3,1),

    background .35s ease,

    border-color .35s ease,

    box-shadow .35s ease;

}





/* =========================================

   BUTTON TEXT

========================================= */



.inovi-btn__text {



  position: relative;



  z-index: 3;



  white-space: nowrap;

}





/* =========================================

   BUTTON ARROW

========================================= */



.inovi-btn__icon {



  position: relative;



  z-index: 3;



  display: flex;



  align-items: center;



  justify-content: center;



  width: 17px;



  height: 17px;



  flex: 0 0 17px;



  transition:

    transform .35s

    cubic-bezier(.16,1,.3,1);

}





.inovi-btn__icon svg {



  width: 17px;



  height: 17px;



  fill: none;



  stroke: currentColor;



  stroke-width: 1.5;



  stroke-linecap: round;



  stroke-linejoin: round;

}





/* =========================================

   PRIMARY BUTTON

========================================= */



.inovi-btn--primary {



  color: #ffffff;



  background:

    #0e5f9f;



  border:

    1px solid #0e5f9f;



  box-shadow:

    0 8px 25px

    rgba(14,95,159,.18);

}





/* Light sweep */



.inovi-btn--primary::before {



  content: "";



  position: absolute;



  top: 0;



  left: -120%;



  width: 80%;



  height: 100%;



  background:

    linear-gradient(

      90deg,

      transparent,

      rgba(255,255,255,.16),

      transparent

    );



  transform:

    skewX(-20deg);



  transition:

    left .65s ease;

}





.inovi-btn--primary:hover::before {



  left: 140%;

}





.inovi-btn--primary:hover {



  background:

    #1478b5;



  border-color:

    #1478b5;



  box-shadow:

    0 12px 30px

    rgba(14,95,159,.28);



  transform:

    translateY(-2px);

}





/* =========================================

   SECONDARY BUTTON

========================================= */



.inovi-btn--secondary {



  color: #ffffff;



  background:

    rgba(255,255,255,.025);



  border:

    1px solid

    rgba(255,255,255,.48);



  backdrop-filter:

    blur(5px);



  -webkit-backdrop-filter:

    blur(5px);

}





.inovi-btn--secondary:hover {



  color: #ffffff;



  background:

    rgba(255,255,255,.10);



  border-color:

    rgba(255,255,255,.85);



  transform:

    translateY(-2px);

}





/* =========================================

   ARROW HOVER

========================================= */



.inovi-btn:hover

.inovi-btn__icon {



  transform:

    translateX(5px);

}





/* =========================================

   CENTER SCROLL INDICATOR

========================================= */



.inovi-hero__scroll {

  position: absolute;

  left: 50%;

  bottom: 34px;

  z-index: 5;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 9px;

  transform: translateX(-50%);

  pointer-events: none;

  text-align: center;

}



.inovi-hero__scroll-label {

  color: rgba(255, 255, 255, .65);

  font-family: "Montserrat", sans-serif;

  font-size: 9px;

  font-weight: 600;

  letter-spacing: .20em;

  text-transform: uppercase;

  white-space: nowrap;

}



.inovi-hero__scroll-line {

  position: relative;

  width: 1px;

  height: 34px;

  overflow: hidden;

  background: rgba(255, 255, 255, .25);

}



.inovi-hero__scroll-line::after {

  position: absolute;

  top: -100%;

  left: 0;

  width: 1px;

  height: 15px;

  background: #ffffff;

  content: "";

  animation: inoviScrollVertical 1.8s cubic-bezier(.65, 0, .35, 1) infinite;

}





/* =========================================

   HERO ANIMATION

========================================= */



@keyframes inoviHeroReveal {



  from {



    opacity: 0;



    transform:

      translateY(35px);

  }



  to {



    opacity: 1;



    transform:

      translateY(0);

  }

}





@keyframes inoviScrollVertical {

  0% {

    transform: translateY(0);

    opacity: 0;

  }



  20%,

  80% {

    opacity: 1;

  }



  100% {

    transform: translateY(52px);

    opacity: 0;

  }

}





/* =========================================

   TABLET

========================================= */



@media (max-width: 1024px) {



  .inovi-hero {



      min-height:

        max(580px, 100vh);

      min-height:

        max(580px, 100svh);

  }





  .inovi-hero__container {



    width: 90%;



    min-height: inherit;

  }





  .inovi-hero__content {



    width:

      min(650px, 72vw);

  }





  .inovi-hero__title {



    font-size:

      clamp(44px, 7vw, 70px);

  }



}





/* =========================================

   MOBILE

========================================= */



@media (max-width: 767px) {



  .inovi-hero {



      min-height:

        max(560px, 100vh);

      min-height:

        max(560px, 100svh);

  }





  .inovi-hero__video {



    object-position:

      60% center;



    filter:

      brightness(.58)

      contrast(1.08)

      saturate(1.05);

  }





  .inovi-hero__overlay {



    background:

      linear-gradient(

        180deg,

        rgba(2,7,12,.45) 0%,

        rgba(2,7,12,.62) 48%,

        rgba(2,7,12,.94) 100%

      );

  }





  .inovi-hero__container {



    width:

      calc(100% - 40px);



    min-height: inherit;



    align-items: center;



    padding: 76px 0 90px;

  }





  .inovi-hero__content {



    width: 100%;



    padding: 0;

  }





  .inovi-hero__eyebrow {



    margin-bottom: 17px;



    font-size: 10px;



    letter-spacing: .18em;

  }





  .inovi-hero__eyebrow-line {



    width: 30px;

  }





  .inovi-hero__title {



    font-size:

      clamp(39px, 11vw, 58px);



    line-height: 1;



    letter-spacing: -.045em;

  }





  .inovi-hero__description {



    margin-top: 20px;



    max-width: 100%;



    font-size: 13px;



    line-height: 1.65;

  }





  /* Mobile buttons */



  .inovi-hero__actions {



    flex-direction: column;



    align-items: stretch;



    gap: 10px;



    margin-top: 20px;

  }





  .inovi-btn {



    width: 100%;



    min-width: 0;



    height: 48px;



    padding:

      0 20px;



    gap: 16px;

  }





  .inovi-hero__scroll {

    bottom: 28px;

    gap: 7px;

  }



  .inovi-hero__scroll-label {

    font-size: 8px;

    letter-spacing: .17em;

  }



  .inovi-hero__scroll-line {

    height: 27px;

  }





}





/* =========================================

   SMALL MOBILE

========================================= */



@media (max-width: 380px) {



  .inovi-hero {



      min-height:

        max(560px, 100vh);

      min-height:

        max(560px, 100svh);

  }





  .inovi-hero__container {



    padding-bottom: 90px;

  }





  .inovi-hero__title {



    font-size: 36px;

  }





  .inovi-hero__description {



    font-size: 12px;

  }



}





/* =========================================

   MOBILE LANDSCAPE

========================================= */



@media (max-width: 767px) and (max-height: 500px) {



  .inovi-hero {



      min-height:

        max(420px, 100vh);

      min-height:

        max(420px, 100svh);

  }





  .inovi-hero__container {



    align-items: center;



    padding: 24px 0 72px;

  }





  .inovi-hero__scroll {

    bottom: 20px;

  }





  .inovi-hero__eyebrow {



    margin-bottom: 12px;

  }





  .inovi-hero__title {



    font-size: 36px;

  }





  .inovi-hero__description {



    margin-top: 12px;



    font-size: 12px;



    line-height: 1.5;

  }





  .inovi-hero__actions {



    flex-direction: row;



    gap: 10px;



    margin-top: 16px;

  }





  .inovi-btn {



    height: 46px;



    padding: 0 12px;



    gap: 8px;



    font-size: 10px;

  }





}





/* Image backgrounds use the same sizing and cinematic treatment as the video. */
.inovi-hero__image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.02);
  filter: brightness(.72) contrast(1.08) saturate(1.05);
}
@media (max-width: 767px) {
  .inovi-hero__image {
    object-position: 60% center;
    filter: brightness(.58) contrast(1.08) saturate(1.05);
  }
}


/* Optional mobile-only background image. Desktop media remains unchanged. */
.inovi-hero__mobile-image {
  display: none;
}
@media (max-width: 767px) {
  .inovi-hero--has-mobile-image .inovi-hero__video,
  .inovi-hero--has-mobile-image .inovi-hero__image {
    display: none;
  }
  .inovi-hero__mobile-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    transform: none;
    filter: brightness(.58) contrast(1.08) saturate(1.05);
  }
}

/* Responsive background switch: mobile image is exclusive below 768px. */
.inovi-hero__media > img.inovi-hero__mobile-image {
  display: none !important;
}
@media screen and (max-width: 767px) {
  .inovi-hero--has-mobile-image .inovi-hero__media > .inovi-hero__video,
  .inovi-hero--has-mobile-image .inovi-hero__media > img.inovi-hero__image {
    display: none !important;
    visibility: hidden !important;
  }
  .inovi-hero--has-mobile-image .inovi-hero__media > img.inovi-hero__mobile-image {
    display: block !important;
    visibility: visible !important;
  }
}
@media screen and (min-width: 768px) {
  .inovi-hero__media > img.inovi-hero__mobile-image {
    display: none !important;
    visibility: hidden !important;
  }
}



/* =========================================================
   RESPONSIVE OVERRIDES — desktop, laptop, tablet and mobile
   Scoped to this plugin so the theme/Elementor styles remain untouched.
========================================================= */
.inovi-hero,
.inovi-hero * {
  box-sizing: border-box;
}

.inovi-hero {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: 0;
  min-height: clamp(560px, 100svh, 980px);
  height: auto;
  overflow: clip;
}

.inovi-hero__media {
  inset: 0;
  width: 100%;
  height: 100%;
}

.inovi-hero__video,
.inovi-hero__image,
.inovi-hero__mobile-image {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.inovi-hero__container {
  width: min(1400px, calc(100% - clamp(40px, 8vw, 160px)));
  min-height: inherit;
  padding-block: clamp(72px, 9vh, 120px);
}

.inovi-hero__content {
  width: min(720px, 62%);
  max-width: 100%;
  min-width: 0;
}

.inovi-hero__eyebrow {
  max-width: 100%;
  flex-wrap: wrap;
  font-size: clamp(9px, .8vw, 12px);
}

.inovi-hero__title {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(42px, 5.4vw, 88px);
  line-height: 1.02;
}

.inovi-hero__title span {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.inovi-hero__description {
  width: 100%;
  max-width: 570px;
  font-size: clamp(13px, 1.12vw, 16px);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.inovi-hero__actions {
  max-width: 100%;
  flex-wrap: wrap;
  gap: 12px;
}

.inovi-btn {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
}

.inovi-btn__text {
  white-space: normal;
  text-align: center;
}

.inovi-hero__scroll {
  max-width: calc(100% - 24px);
}

/* Smaller laptops and landscape tablets */
@media (max-width: 1024px) {
  .inovi-hero {
    min-height: max(560px, 88svh);
  }
  .inovi-hero__container {
    width: calc(100% - 64px);
    padding-block: 72px 88px;
  }
  .inovi-hero__content {
    width: min(680px, 78%);
  }
  .inovi-hero__title {
    font-size: clamp(42px, 6.5vw, 68px);
  }
  .inovi-hero__description {
    max-width: 540px;
  }
}

/* Tablets and large phones */
@media (max-width: 767px) {
  .inovi-hero {
    min-height: max(620px, 100svh);
    min-height: max(620px, 100vh);
  }
  .inovi-hero__container {
    width: calc(100% - 40px);
    min-height: inherit;
    padding: 88px 0 104px;
    align-items: center;
  }
  .inovi-hero__content {
    width: 100%;
    max-width: 620px;
    padding: 0;
  }
  .inovi-hero__eyebrow {
    gap: 9px;
    margin-bottom: 16px;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .14em;
  }
  .inovi-hero__eyebrow-line {
    flex: 0 0 26px;
    width: 26px;
  }
  .inovi-hero__title {
    font-size: clamp(36px, 8.4vw, 58px);
    line-height: 1.04;
    letter-spacing: -.04em;
  }
  .inovi-hero__description {
    max-width: 100%;
    margin-top: 18px;
    font-size: clamp(13px, 2.4vw, 15px);
    line-height: 1.65;
  }
  .inovi-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 360px);
    gap: 10px;
    margin-top: 24px;
  }
  .inovi-btn {
    display: flex;
    width: 100%;
    min-height: 48px;
    height: auto;
    padding: 13px 18px;
    gap: 12px;
    font-size: 10px;
    line-height: 1.35;
  }
  .inovi-btn__icon {
    flex: 0 0 17px;
  }
  .inovi-hero__scroll {
    bottom: 20px;
  }
  .inovi-hero__scroll-line {
    height: 24px;
  }
  .inovi-hero__image,
  .inovi-hero__video {
    object-position: 60% center;
  }
  .inovi-hero__mobile-image {
    object-position: center center;
  }
}

/* Standard/small phones */
@media (max-width: 480px) {
  .inovi-hero {
    min-height: max(600px, 100svh);
  }
  .inovi-hero__container {
    width: calc(100% - 36px);
    padding-top: 78px;
    padding-bottom: 92px;
  }
  .inovi-hero__title {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.06;
  }
  .inovi-hero__description {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.6;
  }
  .inovi-hero__actions {
    margin-top: 20px;
  }
}

/* Very narrow phones */
@media (max-width: 360px) {
  .inovi-hero {
    min-height: max(580px, 100svh);
  }
  .inovi-hero__container {
    width: calc(100% - 30px);
    padding-top: 70px;
    padding-bottom: 86px;
  }
  .inovi-hero__eyebrow {
    font-size: 9px;
    letter-spacing: .1em;
  }
  .inovi-hero__title {
    font-size: clamp(31px, 9vw, 36px);
  }
  .inovi-hero__description {
    font-size: 12px;
  }
  .inovi-btn {
    min-height: 46px;
    padding-inline: 14px;
    font-size: 9px;
  }
}

/* Short screens / mobile landscape: avoid clipping the content */
@media (max-width: 900px) and (max-height: 520px) {
  .inovi-hero {
    min-height: 520px;
  }
  .inovi-hero__container {
    padding: 64px 0 76px;
  }
  .inovi-hero__content {
    width: min(700px, 90%);
  }
  .inovi-hero__title {
    font-size: clamp(32px, 5vw, 46px);
  }
  .inovi-hero__description {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.5;
  }
  .inovi-hero__actions {
    flex-direction: row;
    width: auto;
    margin-top: 16px;
  }
  .inovi-btn {
    width: auto;
    min-height: 44px;
    padding: 10px 14px;
  }
  .inovi-hero__scroll {
    bottom: 12px;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .inovi-hero__content,
  .inovi-hero__scroll-line::after {
    animation: none !important;
  }
  .inovi-btn,
  .inovi-btn__icon {
    transition: none !important;
  }
}


/* =========================================================
   FINAL FIX — responsive hero image + isolated button hover
   Keep these rules last so theme/Elementor styles cannot
   override the hero media sizing or CTA colours.
========================================================= */

/* Make the media layer fill the hero on every viewport. */
.inovi-hero {
  position: relative;
  isolation: isolate;
}
.inovi-hero .inovi-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  z-index: -2;
}

/* Image and video share the same full-bleed responsive frame. */
.inovi-hero .inovi-hero__media > .inovi-hero__image,
.inovi-hero .inovi-hero__media > .inovi-hero__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 100%;
  min-height: 100%;
  max-width: none !important;
  object-fit: cover;
  object-position: center center;
}

/* Optional mobile image: full coverage, no intrinsic-size gaps. */
.inovi-hero .inovi-hero__media > .inovi-hero__mobile-image {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-width: 100%;
  min-height: 100%;
  max-width: none !important;
  object-fit: cover;
  object-position: center center;
}

/* Tablet crop */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .inovi-hero .inovi-hero__media > .inovi-hero__image,
  .inovi-hero .inovi-hero__media > .inovi-hero__video {
    object-position: 58% center;
  }
}

/* Mobile crop */
@media screen and (max-width: 767px) {
  .inovi-hero .inovi-hero__media > .inovi-hero__image,
  .inovi-hero .inovi-hero__media > .inovi-hero__video {
    object-position: 60% center;
  }
  .inovi-hero.inovi-hero--has-mobile-image .inovi-hero__media > .inovi-hero__image,
  .inovi-hero.inovi-hero--has-mobile-image .inovi-hero__media > .inovi-hero__video {
    display: none !important;
  }
  .inovi-hero.inovi-hero--has-mobile-image .inovi-hero__media > .inovi-hero__mobile-image {
    display: block !important;
    visibility: visible !important;
  }
}

/* Button colours are explicitly isolated from theme/Elementor hover rules. */
.inovi-hero a.inovi-btn,
.inovi-hero a.inovi-btn:link,
.inovi-hero a.inovi-btn:visited {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  line-height: 1.2;
  opacity: 1 !important;
}
.inovi-hero a.inovi-btn .inovi-btn__text,
.inovi-hero a.inovi-btn .inovi-btn__icon {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}
.inovi-hero a.inovi-btn--primary,
.inovi-hero a.inovi-btn--primary:link,
.inovi-hero a.inovi-btn--primary:visited {
  color: #ffffff !important;
  background: #0e5f9f !important;
  border: 1px solid #0e5f9f !important;
}
.inovi-hero a.inovi-btn--primary:hover,
.inovi-hero a.inovi-btn--primary:focus-visible {
  color: #ffffff !important;
  background: #1478b5 !important;
  border-color: #1478b5 !important;
}
.inovi-hero a.inovi-btn--secondary,
.inovi-hero a.inovi-btn--secondary:link,
.inovi-hero a.inovi-btn--secondary:visited {
  color: #ffffff !important;
  background: rgba(255,255,255,.025) !important;
  border: 1px solid rgba(255,255,255,.48) !important;
}
.inovi-hero a.inovi-btn--secondary:hover,
.inovi-hero a.inovi-btn--secondary:focus-visible {
  color: #ffffff !important;
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.9) !important;
}
.inovi-hero a.inovi-btn:hover .inovi-btn__text,
.inovi-hero a.inovi-btn:hover .inovi-btn__icon,
.inovi-hero a.inovi-btn:focus-visible .inovi-btn__text,
.inovi-hero a.inovi-btn:focus-visible .inovi-btn__icon {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* =========================================================
   FULL-WIDTH BREAKOUT — edge-to-edge viewport width
   Keeps the hero full bleed even inside boxed Elementor
   sections, columns, shortcode widgets and theme containers.
========================================================= */
.inovi-hero {
  position: relative !important;
  left: 50% !important;
  width: 100vw !important;
  min-width: 100vw !important;
  max-width: 100vw !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: translateX(-50%) !important;
  box-sizing: border-box !important;
}

/* Let the shortcode/widget wrapper show the full-bleed hero. */
.elementor-widget-shortcode:has(.inovi-hero),
.elementor-widget-html:has(.inovi-hero),
.elementor-widget-container:has(.inovi-hero),
.wp-block-shortcode:has(.inovi-hero) {
  width: 100% !important;
  max-width: none !important;
  overflow: visible !important;
}

/* Preserve full-bleed media while keeping inner copy aligned. */
.inovi-hero .inovi-hero__media {
  width: 100% !important;
  max-width: none !important;
}
.inovi-hero .inovi-hero__container {
  width: min(1400px, calc(100% - 10vw));
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .inovi-hero .inovi-hero__container {
    width: 90%;
  }
}
@media (max-width: 767px) {
  .inovi-hero .inovi-hero__container {
    width: calc(100% - 40px);
  }
}
@media (max-width: 480px) {
  .inovi-hero .inovi-hero__container {
    width: calc(100% - 36px);
  }
}
@media (max-width: 360px) {
  .inovi-hero .inovi-hero__container {
    width: calc(100% - 30px);
  }
}


/* =========================================================
   FINAL v1.1.0 — full viewport hero + 3 device image slots
   Desktop image/video is the default fallback.
   Tablet and mobile images replace it only at their
   respective breakpoints. All images cover the viewport.
========================================================= */
.inovi-hero {
  width: 100vw !important;
  min-width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: none !important;
  height: 100svh !important;
  min-height: 100svh !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

@supports (height: 100dvh) {
  .inovi-hero {
    height: 100dvh !important;
    min-height: 100dvh !important;
  }
}

.inovi-hero .inovi-hero__media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  overflow: hidden !important;
}

.inovi-hero .inovi-hero__media > .inovi-hero__image,
.inovi-hero .inovi-hero__media > .inovi-hero__video,
.inovi-hero .inovi-hero__media > .inovi-hero__tablet-image,
.inovi-hero .inovi-hero__media > .inovi-hero__mobile-image {
  position: absolute !important;
  inset: 0 !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center;
}

/* Device-specific sources are hidden until their breakpoint. */
.inovi-hero .inovi-hero__media > .inovi-hero__tablet-image,
.inovi-hero .inovi-hero__media > .inovi-hero__mobile-image {
  display: none !important;
}

/* Tablet: use its own image when one is configured. */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .inovi-hero.inovi-hero--has-tablet-image .inovi-hero__media > .inovi-hero__image,
  .inovi-hero.inovi-hero--has-tablet-image .inovi-hero__media > .inovi-hero__video {
    display: none !important;
  }
  .inovi-hero.inovi-hero--has-tablet-image .inovi-hero__media > .inovi-hero__tablet-image {
    display: block !important;
    object-position: center center !important;
  }
}

/* Mobile source takes priority over desktop and tablet. */
@media screen and (max-width: 767px) {
  .inovi-hero.inovi-hero--has-mobile-image .inovi-hero__media > .inovi-hero__image,
  .inovi-hero.inovi-hero--has-mobile-image .inovi-hero__media > .inovi-hero__video,
  .inovi-hero.inovi-hero--has-mobile-image .inovi-hero__media > .inovi-hero__tablet-image {
    display: none !important;
  }
  .inovi-hero.inovi-hero--has-mobile-image .inovi-hero__media > .inovi-hero__mobile-image {
    display: block !important;
    object-position: center center !important;
  }
}

/* Fluid image framing: no stretching or intrinsic image overflow. */
.inovi-hero .inovi-hero__media > img {
  object-fit: cover !important;
}

/* Full-height layout keeps content and scroll cue inside the hero. */
.inovi-hero .inovi-hero__container {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}
.inovi-hero .inovi-hero__scroll {
  z-index: 3;
}


/* =========================================================
   v1.1.1 — REMOVE ONLY THE TOP GAP ABOVE THE HERO
   The screenshot showed a blank strip before the hero. This
   clears top margin/padding only on Elementor wrappers that
   actually contain this shortcode. No hero sizing, media,
   typography, buttons or internal spacing is changed.
========================================================= */
body:has(.inovi-hero) .elementor-section:has(.inovi-hero),
body:has(.inovi-hero) .elementor-top-section:has(.inovi-hero),
body:has(.inovi-hero) .e-con:has(.inovi-hero),
body:has(.inovi-hero) .elementor-column:has(.inovi-hero),
body:has(.inovi-hero) .elementor-widget-shortcode:has(.inovi-hero),
body:has(.inovi-hero) .elementor-widget-html:has(.inovi-hero),
body:has(.inovi-hero) .elementor-widget-container:has(.inovi-hero) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/*
 * The page builder/theme can reserve a blank top band outside its
 * shortcode widget. Pull the hero up by that 40px band. A negative
 * margin (rather than transform) also keeps the following content in
 * the correct document flow. This is scoped to pages containing the hero.
 */
body:has(.inovi-hero) .inovi-hero {
  margin-top: -40px !important;
}

/* Keep the top-edge correction consistent on narrow screens too. */
@media screen and (max-width: 767px) {
  body:has(.inovi-hero) .inovi-hero {
    margin-top: -40px !important;
  }
}
