/* ==========================================================================
   REINPE HERO SLIDER - CUSTOM SCOPED STYLES
   ========================================================================== */

.reinpe-hero-slider,
.reinpe-hero-slider * {
    box-sizing: border-box;
}

.reinpe-hero-slider {
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
    width: 100%;
    overflow: hidden;
    height: var(--reinpe-slider-height, 88vh);
}

.reinpe-slides {
    display: flex;
    height: 100%;
    transition: transform var(--reinpe-transition-duration, 0.6s) cubic-bezier(0.4, 0, 0.2, 1);
}

.reinpe-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.reinpe-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(var(--reinpe-overlay-angle, 90deg), var(--reinpe-overlay-start, rgba(12,24,48,0.92)) 50%, var(--reinpe-overlay-end, rgba(12,24,48,0.5)) 100%);
    z-index: 0;
}

.reinpe-slide-inner {
    width: 100%;
    max-width: 1284px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.reinpe-slide-content {
    max-width: 600px;
}

/* Microtext pill con blur */
.reinpe-slide-microtext {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 28px;
    padding: 10px 20px;
    border-radius: 100px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
}

.reinpe-slide-microtext .dot-sep {
    color: #32BABE;
}

.reinpe-slide-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.reinpe-slide-title span { 
    color: #32BABE; 
}

.reinpe-slide-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

.reinpe-slide-cta {
    display: inline-block;
    background: #0065FE;
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.reinpe-slide-cta:hover {
    background: #0052d4;
    transform: translateY(-2px);
}

/* Dots */
.reinpe-hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.reinpe-hero-dots .reinpe-hero-dot {
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    max-width: 8px !important;
    min-height: 8px !important;
    max-height: 8px !important;
    border-radius: 50% !important;
    background: var(--reinpe-dot-color, rgba(255,255,255,0.4)) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    box-shadow: none !important;
    flex: 0 0 8px !important;
    display: inline-block !important;
    -webkit-appearance: none;
    appearance: none;
}

.reinpe-hero-dots .reinpe-hero-dot.active {
    background: var(--reinpe-dot-color-active, #32BABE) !important;
    transform: scale(1.3);
}

/* Progress bar */
.reinpe-hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--reinpe-progress-color, #0065FE);
    border-radius: 0 2px 2px 0;
    animation: reinpe-progress var(--reinpe-autoplay-duration, 5s) linear infinite;
    z-index: 10;
}

@keyframes reinpe-progress {
    from { width: 0%; }
    to { width: 100%; }
}

/* TABLET */
@media (max-width: 1024px) {
    .reinpe-slide { padding: 48px; }
    .reinpe-slide-title { font-size: clamp(28px, 5vw, 42px); }
}

/* MOBILE */
@media (max-width: 768px) {
    .reinpe-hero-slider { height: var(--reinpe-slider-height-mobile, 85vh); }
    .reinpe-slide { padding: 32px 24px; align-items: flex-end; padding-bottom: 80px; }
    .reinpe-slide-content { max-width: 100%; }
    .reinpe-slide-microtext {
        font-size: 9px;
        padding: 8px 14px;
        margin-bottom: 20px;
        letter-spacing: 1px;
        gap: 6px;
        white-space: normal;
        flex-wrap: wrap;
        max-width: 100%;
    }
    .reinpe-slide-title { font-size: clamp(26px, 7vw, 36px); margin-bottom: 14px; }
    .reinpe-slide-subtitle { font-size: 15px; margin-bottom: 24px; }
    .reinpe-slide-cta { width: 100%; text-align: center; padding: 14px 24px; }
    .reinpe-hero-dots { bottom: 20px; }
}
