/* Hero v8 Animation Styles */

/* Initial fade — do NOT use Bootstrap .opacity-0 (it uses !important and blocks the animation end state) */
.hero-v8-fade--1,
.hero-v8-fade--2,
.hero-v8-fade--3,
.hero-v8-fade--4,
.hero-v8-fade--5 {
    opacity: 0;
}

.hero-v8-fade--1.animate-fade-in-up { animation-delay: 0.2s; }
.hero-v8-fade--2.animate-fade-in-up { animation-delay: 0.4s; }
.hero-v8-fade--3.animate-fade-in-up { animation-delay: 0.6s; }
.hero-v8-fade--4.animate-fade-in-up { animation-delay: 0.8s; }
.hero-v8-fade--5.animate-fade-in-up { animation-delay: 1s; }

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(0px);
    }
    75% {
        transform: translateY(10px);
    }
}

.animate-wave {
    animation: wave 3s ease-in-out infinite;
}

.hero-v8-decor-top {
    position: absolute;
    top: -5rem;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-v8-dot--1 { animation-delay: 0s; top: 5rem; left: 4rem; }
.hero-v8-dot--2 { animation-delay: 1s; top: 8rem; right: 5rem; }
.hero-v8-dot--3 { animation-delay: 2s; bottom: 6rem; left: 5rem; }
.hero-v8-dot--4 { animation-delay: 3s; bottom: 8rem; right: 4rem; }
.hero-v8-dot--5 { animation-delay: 4s; top: 50%; left: 25%; }
.hero-v8-dot--6 { animation-delay: 5s; top: 33%; right: 33%; }

.hero-v8-blob--delayed { animation-delay: 2s; }

.hero-v8-glow--top { top: 5rem; left: 5rem; }
.hero-v8-glow--bottom { bottom: 5rem; right: 5rem; }

/* Description max width when Bootstrap omits max-w-2xl */
.hero-v8-desc-max {
    max-width: 42rem;
}

.hero-testimonial-overlay__wave-line {
    height: var(--wave-h);
    animation-delay: var(--wave-d);
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
/* faq spotlight — layout + motion (no colors) */
.faq-spotlight__root {
  min-height: 100vh;
  min-height: 100dvh;
}

.faq-spotlight__cover {
  min-height: 0;
}

@media (min-width: 992px) {
  .faq-spotlight__cover {
    min-height: 100vh;
    min-height: 100dvh;
  }
}

.faq-spotlight__media {
  pointer-events: none;
}

.faq-spotlight__media-col {
  min-height: 14rem;
}

.faq-spotlight__media-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 992px) {
  .faq-spotlight__media-col {
    min-height: 100vh;
    min-height: 100dvh;
  }
}

.faq-spotlight__thumb {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
}

.faq-spotlight__thumb-face {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.faq-spotlight__thumb-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.faq-spotlight__panel--active {
  display: block;
}

.faq-spotlight__reveal-block {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-spotlight__reveal-block--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.faq-spotlight__reveal-item {
  opacity: 0;
  transform: translate3d(0, 1rem, 0) scale(0.98);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-spotlight__reveal-item--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(1) {
  transition-delay: 0.05s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(2) {
  transition-delay: 0.1s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(3) {
  transition-delay: 0.15s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(4) {
  transition-delay: 0.2s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(5) {
  transition-delay: 0.25s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(6) {
  transition-delay: 0.3s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(7) {
  transition-delay: 0.35s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(8) {
  transition-delay: 0.4s;
}

.faq-spotlight__panel--enter .faq-spotlight__panel-inner {
  animation: faq-spotlight-panel-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes faq-spotlight-panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-spotlight__reveal-block,
  .faq-spotlight__reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(n) {
    transition-delay: 0s;
  }

  .faq-spotlight__panel--enter .faq-spotlight__panel-inner {
    animation: none;
  }
}

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.content-full-frame {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-base-height {
    display: block;
    width: 100%;
    height: 16rem;
    min-height: 16rem;
    flex-shrink: 0;
    object-fit: cover;
}

/* cta slice — diagonal bottom edge + cover image */
.cta-slice__section {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 93%);
  padding-bottom: 5rem;
}

.cta-slice__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-slice__title-track {
  letter-spacing: 0.28em;
}

.cta-slice__tagline-track {
  letter-spacing: 0.14em;
}

.cta-slice__signature-track {
  letter-spacing: 0.22em;
}

@media (max-width: 767px) {
  .cta-slice__section {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 97%);
    padding-bottom: 3rem;
  }

  .cta-slice__title-track {
    letter-spacing: 0.16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-slice__section {
    clip-path: none;
    padding-bottom: 0;
  }
}

