/* ============================================
   Hero Slider block
   ============================================ */

.hero-slider-block {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 32px;
}

.hero-slider-block .hero-slider {
    width: 100%;
    height: 560px;
    max-height: 85vh;
}

/* Full-height on mobile (variant) */
@media (max-width: 768px) {
    .hero-slider-block--full-mobile .hero-slider {
        height: 100vh;
        height: 100svh; /* small viewport height — better when mobile URL bar collapses */
        max-height: none;
    }
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
}

.hero-slide--overlay-none  .hero-slide__overlay { background: transparent; }
.hero-slide--overlay-light .hero-slide__overlay { background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.25)); }
.hero-slide--overlay-strong .hero-slide__overlay { background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.75)); }

.hero-slide__content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: #fff;
    padding: 40px 0;
}

.hero-slide__text {
    max-width: 640px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.hero-slide--align-center .hero-slide__text { margin: 0 auto; text-align: center; }
.hero-slide--align-right  .hero-slide__text { margin-left: auto; text-align: right; }

.hero-slide__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 12px;
    color: #fff;
}

.hero-slide__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.5;
    margin: 0 0 24px;
    color: rgba(255,255,255,0.92);
}

.hero-slide__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.hero-slide--align-center .hero-slide__ctas { justify-content: center; }
.hero-slide--align-right  .hero-slide__ctas { justify-content: flex-end; }

.hero-slide__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s, color 0.15s;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.hero-slide__btn--primary {
    background: var(--ibacma-primary, #0071e3);
    color: #fff;
}
.hero-slide__btn--primary:hover {
    background: var(--ibacma-secondary, #0077ed);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.hero-slide__btn--outline {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-color: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
}
.hero-slide__btn--outline:hover {
    background: #fff;
    color: var(--ibacma-primary, #0071e3);
    transform: translateY(-1px);
}

/* Swiper controls */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: var(--ibacma-primary, #0071e3);
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background 0.15s, transform 0.15s;
}
.hero-slider .swiper-button-prev:after,
.hero-slider .swiper-button-next:after { font-size: 16px; font-weight: 700; }
.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover { background: #fff; transform: scale(1.05); }

.hero-slider .swiper-pagination-bullet {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.55);
    opacity: 1;
    transition: all 0.2s;
}
.hero-slider .swiper-pagination-bullet-active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .hero-slide__content { padding: 20px 0; }
    .hero-slide__text { max-width: 100%; text-align: center; margin: 0 auto; }
    .hero-slide__ctas { justify-content: center; }
    .hero-slide__btn { width: 100%; max-width: 320px; min-height: 56px; font-size: 1.05rem; }
    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next { display: none; } /* touch-first navigation */
    .hero-slider .swiper-pagination { bottom: 16px; }
}
