/* 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);
}
.tips-numbered__card {
    max-width: 24rem;
}

.tips-numbered__thumb {
    width: 4rem;
    height: 4rem;
}

/* glossary zig — reserved for layout-only hooks; motion lives in Tailwind on @sem('row'). */

/* Layout / motion — colors stay in Blade / @sem */

.gallery-mosaic-row__tile {
  transition: transform 0.3s ease;
}

.gallery-mosaic-row__tile:hover {
  transform: translateY(-0.25rem);
}

.gallery-mosaic-row__media {
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
}

.gallery-mosaic-row__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-mosaic-row__img {
    object-fit: cover;
}
.gallery-mosaic-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* subscribe v16 — geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.mailing-counter__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-3xl {
    max-width: 48rem !important;
}

.mxw-xl {
    max-width: 36rem !important;
}

/* decorative background blobs — fixed sizing, placement and blur */
.mailing-counter__blob {
    width: 16rem;
    height: 16rem;
    filter: blur(64px);
}

.mailing-counter__blob--a {
    top: -4rem;
    inset-inline-start: -4rem;
    width: 18rem;
    height: 18rem;
}

.mailing-counter__blob--b {
    bottom: -5rem;
    inset-inline-end: -2.5rem;
    width: 22rem;
    height: 22rem;
}

.mailing-counter__blob--c {
    top: 33.333333%;
    inset-inline-end: 25%;
    width: 12rem;
    height: 12rem;
}

.mailing-counter__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.mailing-counter__subtitle {
    margin-bottom: 2.5rem;
}

.mailing-counter__row {
    flex-direction: column;
    gap: 1rem;
}

.mailing-counter__input {
    width: 100%;
    max-width: 20rem;
    padding: 0.75rem 1rem;
}

.mailing-counter__cta {
    padding: 0.75rem 2rem;
}

.mailing-counter__cta--hover {
    transition: transform 0.2s ease;
}

.mailing-counter__cta--hover:hover {
    transform: scale(1.05);
}

.mailing-counter__panel {
    padding: 2rem;
}

.mailing-counter__panel-title {
    font-size: 1.5rem;
}

@media (min-width: 640px) {
    .mailing-counter__row {
        flex-direction: row;
    }

    .mailing-counter__input {
        width: auto;
        flex: 1 1 0%;
    }
}

@media (min-width: 768px) {
    .mailing-counter__title {
        font-size: 3rem;
    }

    .mailing-counter__panel-title {
        font-size: 1.875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mailing-counter__cta--hover:hover {
        transform: none;
    }
}

