.first-screen {
  min-height: 720px;
  text-align: center;
  padding-top: 200px;
  color: var(--c-hero-text);
}

.home .first-screen {
  padding-bottom: 80px;
}

.main-row {
  padding: 34px 0 8px;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

.main-row.show {
  opacity: 1;
}

.main-title {
  font-size: 50px;
}

.main-title-desc {
  color: var(--c-hero-text);
  font-size: 26px;
  font-weight: 700;
  margin-top: 10px;
}

.main-features-wrap {
  color: var(--c-black);
  display: flex;
  justify-content: center;
  padding: 30px 0 40px;
  border-radius: var(--r-md);
  opacity: 0;
  transition: all .25s ease-out;
}

.main-features-wrap.show {
  opacity: 1;
}

.main-features-wrap .item {
  font-size: 18px;
  font-weight: 700;
  padding: 0 10px;
  color: var(--c-hero-text);
  font-family: var(--ff-heading);
}

.main-features-wrap .item svg {
  display: block;
  margin-bottom: 14px;
  margin-left: auto;
  margin-right: auto
}

.first-screen .section-bg {
  background-color: var(--c-header-bg);
}

.ken-burns .slideshow-image {
  animation: kenburns 120s infinite linear;
}

.ken-burns .slideshow-image.active {
  z-index: 1;
}

.first-screen .section-bg img {
  filter: opacity(var(--header-bright)) blur(var(--header-blur));
}

.callback .section-bg {
  background-color: var(--c-callback-bg);
}

.callback .section-bg img {
  filter: opacity(var(--callback-bright));
}

.slideshow-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0 !important;
  transition: opacity 1.5s ease-in-out;
  background-color: #000;
}

.slideshow-image.active {
  opacity: 1 !important;
}

.ken-burns {
  transform: translateY(var(--parallax-y, 0px));
  will-change: transform;
}

.ken-burns img {
  width: 105%;
  margin-right: -5%;
  -webkit-animation: kenburns 120s infinite linear;
  -moz-animation: kenburns 120s infinite linear;
  animation: kenburns 120s infinite linear;
}

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  50% {
    transform: scale(1.1) translate(-5%, 0);
  }

  100% {
    transform: scale(1) translate(0, 0);
  }
}

#ajax-spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

#ajax-spinner-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#ajax-spinner {
  background: var(--spinner-bg, url()) no-repeat center center;
  background-size: 60px;
  width: 60px;
  height: 60px;
}

/* === Hero Style Variants (10) === */
.hero-style-classic{} /* default */

.hero-style-dark .first-screen::after{
  content:''; position:absolute; inset:0; z-index:0;
  background:rgba(0,0,0,.45); pointer-events:none;
}
.hero-style-dark .first-screen .main-title,
.hero-style-dark .first-screen .main-title-desc{text-shadow:0 2px 8px rgba(0,0,0,.5);}

.hero-style-split .main-row{gap:60px;}
.hero-style-split .main-title{font-size:46px;text-align:left;}
.hero-style-split .main-title-desc{font-size:22px;text-align:left;}

.hero-style-minimal .first-screen{padding-top:160px;min-height:600px;}
.hero-style-minimal .main-title{font-size:56px;max-width:800px;margin:0 auto;}
.hero-style-minimal .main-title-desc{font-size:20px;max-width:600px;margin:16px auto 0;}
.hero-style-minimal .main-features-wrap{display:none;}

.hero-style-gradient .first-screen::after{
  content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:linear-gradient(135deg,color-mix(in srgb,var(--c-primary) 60%,transparent) 0%,rgba(0,0,0,.3) 100%);
}

.hero-style-boxed .first-screen{padding-top:120px;}
.hero-style-boxed .main-row{
  background:rgba(255,255,255,.08); backdrop-filter:blur(12px);
  border-radius:var(--r-xl); padding:40px; border:1px solid rgba(255,255,255,.12);
}
.hero-style-boxed .main-features-wrap{background:rgba(255,255,255,.06);backdrop-filter:blur(8px);}

.hero-style-centered .first-screen{display:flex;flex-direction:column;justify-content:center;}
.hero-style-centered .main-row{flex-direction:column;text-align:center;gap:30px;}
.hero-style-centered .main-title{font-size:52px;max-width:700px;margin:0 auto;}
.hero-style-centered .main-title-desc{max-width:550px;margin:12px auto 0;}
.hero-style-centered .calc_totals{max-width:440px;margin:0 auto;}

.hero-style-overlay .first-screen{display:flex;align-items:center;min-height:100vh;padding-top:120px;}
.hero-style-overlay .first-screen::after{
  content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:rgba(0,0,0,.5);
}
.hero-style-overlay .main-title{font-size:60px;line-height:1.15;}
.hero-style-overlay .main-title-desc{font-size:22px;}

.hero-style-light .first-screen::after{
  content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:rgba(255,255,255,.3);
}
.hero-style-light .main-title,.hero-style-light .main-title-desc{color:var(--c-text);text-shadow:none;}
.hero-style-light .main-features-wrap .item{color:var(--c-text);}

.hero-style-aside .main-row{align-items:flex-start;}
.hero-style-aside .calc_totals{position:sticky;top:140px;}

.hero-style-full .first-screen{min-height:100vh;padding-top:140px;display:flex;flex-direction:column;justify-content:center;}
.hero-style-full .main-features-wrap{margin-top:auto;padding-bottom:20px;}
